body { overflow-wrap: anywhere; }
header a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #498fe4; outline-offset: 4px; }
.intro { max-width: 72ch; }
.demo-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 12px; }
.demo-nav button, .secondary { color: #16375d; background: #e5edf6; }
.demo-nav button[aria-pressed="true"] { color: white; background: #143d68; }
.workspace { padding: clamp(16px, 4vw, 36px); border: 1px solid #cad7e7; background: white; border-radius: 14px; }
.workspace h3 { font-size: clamp(22px, 4vw, 32px); }
.workspace p { max-width: 70ch; }
.workspace select { max-width: 32rem; }
.timeline { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.timeline li { padding: 6px 11px; background: #eef3f8; border-radius: 6px; }
.timeline [aria-current="step"] { color: white; background: #174a7f; }
.stage { padding: clamp(12px, 3vw, 22px); margin: 16px 0; background: #f5f8fc; border-left: 4px solid #498ac5; }
.stage h4 { margin: 0; font-size: 1.15rem; }
.stage dl { margin-bottom: 0; }
.stage dt { font-weight: 700; margin-top: 10px; }
.stage dd { margin: 0; }
.stage input { max-width: 12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.result { padding: 12px; background: #e4edf7; border-radius: 6px; margin-top: 14px; }
.result:empty { display: none; }
.stage dl + button, .stage dl + form { margin-top: 14px; }
button:disabled { opacity: .65; cursor: default; }
