/* One shared alignment for the project heading, chapter strip, evidence and transport. */
.run-app {
  --run-bg:var(--as-stage,#fff);
  --run-panel:var(--as-stage-panel,#f2f6fc);
  --run-text:var(--as-ink,#162239);
  --run-muted:var(--as-muted,#506077);
  --run-accent:var(--as-accent,#2454d9);
  --run-bright:var(--run-accent);
  --run-line:#dce4ed;
  --run-gutter:clamp(24px,5.25vw,84px);
  --run-measure:1248px;
  position:relative;isolation:isolate;
  min-height:100svh;
  background:#fff;
  color:var(--run-text);
  font-family:Inter,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.run-app :where(a,button,input){font-family:inherit;}
.run-app :where(a,button,input):focus-visible {outline:2px solid var(--as-focus);outline-offset:4px;}
.run-top-inner,.run-title-inner,.run-console {
  width:min(calc(100% - var(--run-gutter) * 2),var(--run-measure));
  margin-inline:auto;
}
.run-top {position:relative;z-index:4;background:transparent;border-bottom:1px solid rgb(28 52 91 / .075);}
.run-top-inner {display:flex;align-items:center;gap:clamp(28px,4vw,64px);height:68px;}
.run-brand {display:inline-flex;align-items:center;gap:9px;font-weight:700;color:var(--run-text);font-size:1.5rem;letter-spacing:-.075em;line-height:1;}
.run-brand .sr-logomark {display:flex;align-items:center;justify-content:center;gap:2.5px;width:24px;height:23px;color:var(--run-accent);transform:skew(-16deg);}
.run-brand .sr-logomark i {display:block;flex:0 0 4px;border-radius:.7px;background:currentColor;height:12px;}
.run-brand .sr-logomark i:nth-child(2){height:18px}.run-brand .sr-logomark i:nth-child(3){height:23px}.run-brand .sr-logomark i:nth-child(4){height:15px}
.run-brand .sr-logodot {color:var(--run-accent);}
.run-brand:hover {color:var(--run-text);}
.run-top nav,.run-settings {display:flex;align-items:center;}
.run-top nav {gap:clamp(17px,2.4vw,37px);}
.run-top nav a {padding-block:11px;color:var(--run-muted);font-size:.895rem;font-weight:500;line-height:1.1;letter-spacing:-.016em;}
.run-top nav a[aria-current],.run-top nav a:hover {color:var(--run-text);}
.run-settings {margin-left:auto;gap:18px;}
.run-settings button,.run-stations button,.run-sample,.run-command button,.run-deck-link button {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  box-sizing:border-box;white-space:nowrap;border:0;border-radius:3px;
  color:var(--run-muted);background:transparent;padding:0;
  font:500 .875rem/1.2 Inter,Arial,sans-serif;cursor:pointer;
}
.run-settings button {min-height:36px;padding:4px;font-size:.84rem;}
.run-settings button i {display:block;width:13px;height:13px;border-radius:50%;background:var(--run-accent);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--run-line);margin-inline:2px 3px;}
.run-settings button:hover {color:var(--run-text);}
.run-workspace {border:0;border-radius:6px;background:var(--run-accent);color:var(--as-accent-ink,#fff);padding:10px 16px;font-size:.855rem;font-weight:600;line-height:1.1;}
.run-workspace:hover {background:color-mix(in srgb,var(--run-accent),#121a37 15%);color:var(--as-accent-ink,#fff);}
.run-main:focus {outline:none;}

/* The only decorative colour field is confined to the masthead. */
.run-titlebar {position:relative;overflow:hidden;}
.run-title-inner {position:relative;display:flex;align-items:center;min-height:clamp(147px,20vh,218px);}
.run-light {position:absolute;inset:0 0 auto;z-index:-1;height:calc(68px + clamp(147px,20vh,218px));overflow:hidden;pointer-events:none;mask-image:linear-gradient(to bottom,#000 0%,#000 74%,transparent 100%);}
.run-fold {position:absolute;right:-32vw;top:-7.8vw;width:161vw;max-width:none;height:auto;opacity:.85;user-select:none;}
.run-title {position:relative;z-index:1;max-width:79%;padding-block:25px 28px;}
.run-project {display:flex;align-items:center;gap:10px;color:var(--run-muted);font-size:.875rem;font-weight:500;letter-spacing:-.016em;line-height:1.2;margin:0 0 10px;}
.run-project span {color:#8a98b0;font-weight:400;}
.run-title h1 {margin:0;color:var(--run-text);font:500 clamp(2.5rem,4.4vw,4.6rem)/1.025 Inter,Arial,sans-serif;letter-spacing:-.067em;}
.run-console {position:relative;isolation:isolate;padding-bottom:clamp(20px,4vh,50px);background:var(--run-bg);}
.run-console-head,.run-deck {position:relative;display:flex;align-items:center;justify-content:space-between;}
.run-console-head {border-bottom:1px solid var(--run-line);gap:18px;}
.run-stations {display:flex;align-items:stretch;gap:clamp(22px,2.7vw,44px);}
.run-stations button {position:relative;min-height:48px;padding:0 1px;font-size:.91rem;color:var(--run-muted);letter-spacing:-.025em;}
.run-stations button[aria-pressed=true] {color:var(--run-accent);font-weight:600;}
.run-stations button[aria-pressed=true]::after {content:"";position:absolute;inset:auto 0 -1px;height:2px;background:var(--run-accent);border-radius:2px;}
.run-stations button:hover {color:var(--run-accent);}
.run-sample {font-size:.78rem;min-height:34px;color:var(--run-muted);padding:4px 1px;font-weight:400;}
.run-sample:hover {text-decoration:underline;text-underline-offset:3px;}
.run-sample-short {display:none;}
.run-visual {position:relative;isolation:isolate;min-width:0;overflow:hidden;background:var(--run-bg);container-type:inline-size;}
.run-deck {gap:clamp(16px,2vw,34px);border-top:1px solid var(--run-line);min-height:62px;}
.run-command,.run-scrub,.run-deck-link {display:flex;align-items:center;}
.run-command {gap:1px;}
.run-command button {border-radius:50%;width:33px;height:33px;}
.run-command button:hover,.run-command button:focus-visible {color:var(--run-text);background:var(--run-panel);}
.run-command .run-play {height:36px;width:auto;min-width:76px;justify-content:flex-start;padding-right:9px;margin-right:2px;color:var(--run-text);font-weight:550;border-radius:5px;}
.run-play [data-run-play-icon] {display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:color-mix(in srgb,var(--run-accent) 8%,#fff);color:var(--run-accent);}
.run-command .icon {width:15px;height:15px;}
.run-play .icon {width:13px;height:13px;}
.run-scrub {flex:1;gap:18px;min-width:0;}
.run-scrub input {appearance:none;width:100%;min-width:0;height:32px;padding:0;border:0;border-radius:3px;margin:0;box-shadow:none;background:transparent;cursor:pointer;}
.run-scrub input::-webkit-slider-runnable-track {height:3px;border-radius:3px;background:linear-gradient(to right,var(--run-accent) var(--pos,0%),var(--run-line) var(--pos,0%));}
.run-scrub input::-moz-range-track {height:3px;border-radius:3px;background:var(--run-line);}
.run-scrub input::-moz-range-progress {height:3px;background:var(--run-accent);}
.run-scrub input::-webkit-slider-thumb {appearance:none;width:9px;height:9px;margin-top:-3px;border-radius:50%;background:var(--run-accent);border:0;}
.run-scrub input::-moz-range-thumb {width:9px;height:9px;border-radius:50%;background:var(--run-accent);border:0;}
.run-scrub output {color:var(--run-muted);font:450 .75rem/1 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;width:69px;flex-shrink:0;}
.run-deck-link {justify-content:flex-end;min-width:105px;}
.run-deck-link a,.run-deck-link button {display:inline-flex;align-items:center;min-height:36px;color:var(--run-accent);font:550 .85rem/1.2 Inter,Arial,sans-serif;letter-spacing:-.02em;white-space:nowrap;}
.run-deck-link :is(a,button):hover {text-decoration:underline;text-underline-offset:4px;}
.run-deck-link [data-run-register],.run-app[data-chapter=results] [data-run-action=end] {display:none;}
.run-app[data-chapter=results] [data-run-register] {display:inline-flex;}
@media (min-width:801px) and (max-height:750px) {
  .run-light{height:180px}.run-top-inner{height:55px}.run-title-inner{min-height:125px}.run-title h1{font-size:clamp(2.5rem,4vw,3.35rem)}
  .run-stations button{min-height:42px}.run-deck{min-height:50px}
}
@media (max-width:800px) {
  .run-app{--run-gutter:24px}.run-top-inner{gap:24px;height:60px}.run-top nav{gap:17px}.run-settings{gap:12px}
  .run-title-inner{min-height:147px}.run-light{height:207px}.run-fold{width:180vw;right:-47vw;top:-7vw}.run-stations button{min-height:45px}
}
@media (max-width:650px) {
  .run-app{--run-gutter:18px}.run-top-inner{height:54px;gap:10px}
  .run-brand{font-size:1.31rem;gap:6px}.run-brand .sr-logomark{transform:skew(-16deg) scale(.9);transform-origin:left center}
  .run-top nav{display:none}.run-settings{gap:12px}.run-settings button{font-size:.8rem}.run-workspace{font-size:.8rem;padding:9px 11px}
  .run-title-inner{min-height:110px}.run-title{padding-block:18px 20px;max-width:90%}
  .run-title h1{font-size:clamp(2rem,7.6vw,2.7rem);letter-spacing:-.063em}.run-project{font-size:.78rem;gap:7px;margin-bottom:7px}
  .run-light{height:164px}.run-fold{width:230vw;right:-92vw;top:-12vw;opacity:.67}
  .run-console{padding-bottom:8px}.run-console-head{gap:8px}
  .run-stations{gap:19px}.run-stations button{font-size:.842rem;min-height:40px}
  .run-sample{font-size:.74rem}.run-sample-full{display:none}.run-sample-short{display:grid;gap:1px;text-align:right}.run-sample-kind{font-size:.63rem;line-height:1.1}
  .run-deck{min-height:60px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;padding-block:3px 1px;}
  .run-command{grid-area:1/1}.run-command .run-play{min-width:66px}.run-command button{height:32px;width:31px}
  .run-scrub{grid-column:1/-1;grid-row:2;gap:10px}.run-scrub input{height:17px}.run-scrub output{font-size:.705rem;flex-basis:59px;text-align:right}
  .run-deck-link{grid-column:2;grid-row:1;min-width:0}.run-deck-link a,.run-deck-link button{font-size:.79rem;min-height:33px}
}
@media (max-width:380px), (max-width:650px) and (max-height:680px) {
  .run-app{--run-gutter:13px}.run-top-inner{height:45px}.run-title-inner{min-height:74px}
  .run-title{padding-block:12px}.run-title h1{font-size:1.79rem}.run-project{font-size:.71rem;margin-bottom:4px}
  .run-settings button span{display:none}.run-settings button{min-width:26px}.run-settings{gap:9px}
  .run-light{height:119px}.run-fold{right:-105vw;opacity:.49}
  .run-stations{gap:14px}.run-stations button{min-height:35px;font-size:.8rem}.run-sample{font-size:.70rem}
  .run-command .run-play [data-run-play-text]{display:none}.run-command .run-play{min-width:30px;width:30px;padding:0}
}
@media(max-width:650px) {
  .run-command button {min-width:37px;height:37px;}
  .run-scrub input {height:23px;}
  .run-deck-link a,.run-deck-link button {min-height:37px;}
}
@media(max-width:380px), (max-width:650px) and (max-height:680px) {
  .run-command button {min-width:33px;height:34px;}
  .run-scrub input {height:19px;}
}

/* Product promise and case context occupy separate visual levels. */
.run-title h1{max-width:20ch}
@media(max-width:650px){.run-title h1>span{display:block}.run-title{max-width:100%}.run-title-inner{min-height:130px}.run-title h1{font-size:clamp(1.9rem,7.6vw,2.5rem);line-height:1.04}}
@media(max-width:380px),(max-width:650px) and (max-height:680px){.run-title-inner{min-height:88px}.run-title{padding-block:7px}.run-title h1{font-size:1.72rem;line-height:1.02}.run-project{font-size:.71rem;margin-bottom:4px}}
.run-console{padding-bottom:12px}
@media(min-width:801px) and (max-height:800px){.run-title-inner{min-height:100px}.run-title{padding-block:16px 19px}.run-title h1{font-size:3rem}.run-light{height:168px}}
.contact-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border:1px solid var(--as-line);border-radius:6px;background:var(--as-surface,#fff);color:var(--as-ink);font:550 .84rem/1.2 Inter,Arial,sans-serif;text-decoration:none;white-space:nowrap}
.contact-link:hover{color:var(--as-accent);border-color:var(--as-accent)}
.run-footer{width:min(calc(100% - var(--run-gutter)*2),var(--run-measure));margin:0 auto;display:flex;justify-content:space-between;gap:18px;padding:24px 0 32px;border-top:1px solid var(--as-line);color:var(--as-muted);font-size:12px}
.run-footer a{color:var(--as-accent);font-weight:550;text-underline-offset:3px}
@media(max-width:650px){.run-settings{gap:8px}.run-settings .contact-link{padding:7px 9px;font-size:.8rem;min-height:33px}.run-footer{flex-direction:column;gap:9px}}
@media(max-width:380px){.run-settings{gap:6px}.run-settings .contact-link{font-size:.75rem;padding:7px}.run-workspace{font-size:.75rem;padding-inline:8px}.run-brand{font-size:1.2rem}}
.run-top nav button{border:0;background:none;padding:11px 0;color:var(--run-muted);font:500 .895rem/1.1 Inter,Arial,sans-serif;letter-spacing:-.016em;cursor:pointer}
.run-top nav button:hover{color:var(--run-text)}
@media(min-width:651px){.run-top nav{gap:clamp(14px,1.9vw,28px)}.run-top-inner{gap:clamp(22px,3vw,44px)}}
