:root {
  color-scheme: light;
  --ink: #202a33;
  --muted: #52606b;
  --red: #c53322;
  --teal: #087a73;
  --field: #f0f3f5;
  --rule: #c6d0d7;
  --white: #fff;
  font-family: 'Source Sans 3',sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,h2,h3,p,ul,ol,dl,dd {
  margin: 0;
}
button,select {
  font: inherit;
  color: inherit;
}
button,select,summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  background: transparent;
  border: 0;
}
button,select {
  min-height: 44px;
}
button {
  line-height: 1.3;
}
a {
  color: var(--ink);
  text-underline-offset: 4px;
}
button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
button[aria-disabled="true"] {
  cursor: not-allowed;
  color: var(--muted);
  border-style: dashed;
}
button[aria-disabled="true"]:hover {
  background: transparent;
}
.page {
  max-width: 1360px;
  padding: 0 48px;
  margin: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--muted);
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 24px;
  color: var(--ink);
}
.site-header strong {
  font-weight: 600;
}
.intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: end;
  gap: 64px;
  padding: 42px 0 32px;
}
.intro h1 {
  font-family: 'Barlow Semi Condensed',sans-serif;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 600;
  margin-top: 10px;
}
.intro>p {
  font-size: 21px;
  max-width: 450px;
  color: var(--muted);
}
.eyebrow {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--muted);
}
.case-bar {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 26px;
}
.case-bar label {
  font-size: 16px;
  font-weight: 600;
  display: grid;
  gap: 6px;
  min-width: 0;
}
.case-bar p {
  font-size: 17px;
  color: var(--muted);
  max-width: 650px;
}
.select-control {
  position: relative;
  display: block;
  min-width: 0;
}
.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #71808b;
  border-radius: 7px;
  background: white;
  padding: 9px 46px 9px 12px;
  max-width: 100%;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
}
#instrument {
  background: var(--field);
  border-radius: 16px;
  padding: 26px 32px 20px;
  scroll-margin-top: 20px;
}
.view-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.view-buttons {
  display: flex;
  gap: 24px;
}
.view-buttons button {
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}
.view-buttons button[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.simulation-tag {
  font-size: 16px;
  color: var(--muted);
  white-space: nowrap;
}
.simulation-tag:before {
  content: '○';
  margin-right: 8px;
}
.authority-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}
.text-button {
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
  font-size: 16px;
  font-weight: 600;
}
.authority-key {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  padding: 8px 0 20px;
}
.authority-item {
  padding: 5px 8px 6px 0;
  border-bottom: 2px solid var(--rule);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}
.authority-item strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.authority-item.current {
  border-color: var(--ink);
  color: var(--ink);
}
.authority-item.current strong:after {
  content: ' · current';
  font-size: 16px;
}
.scene-grid {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(310px,1fr);
  gap: 32px;
  padding: 14px 0 24px;
  min-height: 525px;
}
.now {
  grid-column: 2;
  grid-row: 1;
  border-left: 1px solid var(--rule);
  padding-left: 30px;
}
.now h2 {
  font-family: 'Barlow Semi Condensed',sans-serif;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 600;
  margin: 12px 0;
}
.now .explanation {
  font-size: 20px;
  line-height: 1.5;
}
.arrangement-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}
.person {
  background: var(--ink);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}
.person.software {
  border: 2px solid var(--ink);
  background: transparent;
  border-radius: 5px;
  color: var(--ink);
}
.now-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: white;
  padding: 13px 17px;
  font-weight: 600;
  font-size: 18px;
  min-height: 52px;
  text-align: left;
}
.primary:after {
  content: '→';
  flex-shrink: 0;
}
.primary:hover {
  background: #354450;
  border-color: #354450;
}
.secondary {
  border: 1.5px solid #71808b;
  background: white;
  border-radius: 6px;
  padding: 10px 14px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}
.secondary:hover {
  background: #e7ecef;
}
.permission {
  font-size: 17px;
  margin-top: 18px;
  color: var(--muted);
}
.permission strong {
  color: var(--ink);
  font-weight: 600;
}
.decision-facts {
  margin-top: 20px;
  font-size: 17px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 13px 16px;
}
.decision-facts li {
  list-style: none;
  padding: 5px 0;
  display: flex;
  gap: 9px;
}
.fact-symbol {
  min-width: 18px;
  font-weight: 700;
}
.complete {
  color: var(--teal);
}
.alert {
  color: var(--red);
}
.muted {
  color: var(--muted);
}
.presentation {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.route {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  list-style: none;
  padding: 0;
  margin: 2px 0 24px;
}
.route li {
  position: relative;
  text-align: center;
  min-width: 0;
}
.route li:after {
  content: '';
  position: absolute;
  height: 0;
  border-top: 2px dashed #85919a;
  left: calc(50% + 23px);
  right: calc(-50% + 23px);
  top: 22px;
}
.route li:last-child:after {
  display: none;
}
.route li.past:after {
  border-style: solid;
  border-width: 3px;
  border-color: var(--teal);
}
.route button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 0 1px;
  font-weight: 600;
  font-size: 18px;
}
.station-circle {
  border: 2px solid #7a8791;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: var(--field);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  z-index: 1;
}
.past .station-circle {
  border-color: var(--teal);
  color: var(--teal);
  background: white;
}
.active .station-circle {
  border: 3px solid var(--ink);
  color: var(--ink);
  background: white;
}
.has-issue .active .station-circle {
  border-color: var(--red);
  color: var(--red);
}
.route-status {
  font-weight: 400;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
  min-height: 40px;
}
.record-shell {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 48px 20px;
  min-height: 312px;
}
.record-shell:before {
  content: '';
  position: absolute;
  left: var(--anchor,50%);
  top: -15px;
  height: 28px;
  width: 1px;
  background: var(--ink);
  transition: left .6s ease;
}
.record {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 405px;
  box-shadow: 0 2px 1px #202a3308;
  transform: translateX(var(--travel,0));
  transition: transform .6s ease;
}
.record-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.record h3 {
  font-family: 'Barlow Semi Condensed',sans-serif;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 16px;
}
.pill {
  border: 1.5px solid currentColor;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 16px;
  line-height: 1.4;
  display: inline-block;
  font-weight: 600;
}
.record-fact {
  background: var(--field);
  border-radius: 6px;
  padding: 12px 13px;
  font-size: 18px;
  line-height: 1.45;
}
.record-fact strong {
  display: block;
  font-weight: 600;
}
.effects {
  list-style: none;
  padding: 0;
  margin-top: 17px;
}
.effects li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 9px;
  font-size: 17px;
  line-height: 1.3;
}
.effects small {
  font: inherit;
  display: block;
  color: var(--muted);
  font-size: 16px;
  margin-top: 2px;
}
.record .text-button {
  margin-top: 12px;
}
.return-path {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 0;
  font-size: 17px;
  color: var(--muted);
  border-top: 2px dashed #87949d;
  margin-right: 12px;
}
.return-path.open {
  color: var(--red);
  border-color: var(--red);
}
.return-path p {
  line-height: 1.35;
}
.return-path strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.return-path .owner {
  margin-left: auto;
  text-align: right;
  font-size: 16px;
  max-width: 180px;
}
.transport {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.transport-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.transport-buttons button {
  padding: 10px 14px;
  border: 1.5px solid #7a8791;
  border-radius: 6px;
  background: white;
  font-size: 17px;
  font-weight: 600;
}
.transport p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.35;
}
.boundary-note {
  font-size: 16px;
  color: var(--muted);
  max-width: 850px;
  margin: 20px 0 24px;
}
.scope-note {
  max-width: 850px;
  color: var(--muted);
  font-size: 17px;
}
.scope-note summary {
  cursor: pointer;
  min-height: 44px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.scope-note p {
  margin: 12px 0;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding: 25px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--muted);
}
@media (forced-colors: active) {
  select { appearance: auto; -webkit-appearance: auto; }
  .select-chevron { display: none; }
}
.system-heading {
  font-family: 'Barlow Semi Condensed',sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
.system-intro {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}
.function-list {
  display: grid;
  gap: 8px;
}
.function-list details {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: white;
  padding: 0 14px;
}
.function-list summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  min-height: 48px;
}
.function-list ul {
  padding: 0 0 13px;
  list-style: none;
}
.function-list li {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  margin-top: 10px;
  line-height: 1.35;
  font-size: 17px;
}
.function-list li span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-top: 2px;
}
.contract {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  font-size: 17px;
}
.contract dl {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 12px;
  margin-top: 10px;
}
.contract dt {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}
.contract dd {
  min-width: 0;
}
.history {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}
.history li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 18px;
}
.history li>span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 3px;
}
.text-state {
  font-size: 18px;
  margin-bottom: 20px;
}
.text-state p {
  margin: 8px 0;
}
.text-record-fact strong {
  display: block;
}
.text-state .effects {
  margin-bottom: 14px;
}
.record-table {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 13px;
  margin: 20px 0;
  font-size: 18px;
}
.record-table dt {
  font-size: 17px;
  color: var(--muted);
  font-weight: 600;
}
.record-table dd {
  overflow-wrap: anywhere;
}
.sheet-section {
  margin: 26px 0;
}
.sheet-section h3 {
  font-family: 'Barlow Semi Condensed',sans-serif;
  font-size: 27px;
  font-weight: 600;
  margin-bottom: 14px;
}
.sheet-section p {
  margin: 10px 0;
}
.receipts {
  list-style: none;
  padding: 0;
}
.receipts li {
  margin: 12px 0;
  padding: 12px;
  background: var(--field);
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 24px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 5;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
dialog {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 25px 30px;
  color: var(--ink);
  background: white;
  max-width: 750px;
  width: calc(100% - 40px);
  max-height: 85vh;
  overflow: auto;
}
dialog::backdrop {
  background: #202a334d;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.sheet-head h2 {
  font-family: 'Barlow Semi Condensed',sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
}
.sheet-head button {
  border: 1px solid #7a8791;
  border-radius: 5px;
  padding: 8px 12px;
  flex-shrink: 0;
  font-size: 17px;
}
.authority-explanation {
  display: grid;
  gap: 18px;
  margin: 20px 0;
}
.authority-explanation dt {
  font-weight: 700;
  font-size: 20px;
}
.authority-explanation dd {
  font-size: 19px;
  margin-top: 3px;
}
.hidden,[hidden] {
  display: none!important;
}
@media(min-width:1100px) {
  .record-shell {
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media(max-width:1099px) {
  .page {
    padding: 0 30px;
  }
  .intro {
    gap: 32px;
  }
  .intro h1 {
    font-size: 44px;
  }
  .intro>p {
    font-size: 20px;
  }
  #instrument {
    padding: 22px 24px 20px;
  }
  .simulation-tag {
    display: none;
  }
  .scene-grid {
    grid-template-columns: minmax(0,1fr) minmax(285px,1fr);
    gap: 24px;
  }
  .now {
    padding-left: 24px;
  }
  .record-shell {
    padding: 10px 0 20px;
  }
  .record-shell:before {
    left: 50%;
  }
  .record {
    transform: none;
  }
  .route {
    gap: 0;
  }
  .route button {
    font-size: 16px;
  }
  .route li:after {
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    top: 18px;
  }
  .station-circle {
    width: 36px;
    height: 36px;
  }
  .route-status {
    display: none;
  }
  .return-path .owner {
    display: none;
  }
  .record-head {
    flex-wrap: wrap;
  }
  .authority-key {
    gap: 12px;
  }
  .authority-item {
    font-size: 16px;
  }
  .authority-item.current strong:after {
    display: none;
  }
  .now h2 {
    font-size: 31px;
  }
  .transport {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .case-bar {
    align-items: flex-end;
  }
  .case-bar p {
    font-size: 16px;
  }
  .case-bar label {
    min-width: 300px;
  }
}
@media(max-width:699px) {
  .page {
    padding: 0 20px;
  }
  .site-header {
    padding: 18px 0;
    gap: 14px;
  }
  .site-header>span {
    max-width: 160px;
    text-align: right;
    line-height: 1.3;
  }
  .brand {
    font-size: 22px;
    gap: 7px;
  }
  .intro {
    display: block;
    padding: 27px 0 23px;
  }
  .intro h1 {
    font-size: 39px;
    margin: 5px 0 12px;
  }
  .intro>p {
    font-size: 19px;
    line-height: 1.45;
  }
  .case-bar {
    display: block;
    margin-bottom: 18px;
  }
  .case-bar label {
    min-width: 0;
  }
  .case-bar select {
    width: 100%;
    font-size: 17px;
  }
  .case-bar p {
    margin-top: 10px;
  }
  #instrument {
    padding: 15px 16px 18px;
    border-radius: 12px;
    scroll-margin-top: 10px;
  }
  .view-bar {
    padding-bottom: 12px;
  }
  .view-buttons {
    width: 100%;
    gap: 15px;
    justify-content: space-between;
  }
  .view-buttons button {
    font-size: 16px;
    line-height: 1.2;
    max-width: 85px;
  }
  .authority-header {
    padding-top: 9px;
    align-items: flex-start;
  }
  .authority-header .eyebrow {
    padding-top: 8px;
    max-width: 90px;
  }
  .authority-header .text-button {
    max-width: 155px;
    text-align: right;
    line-height: 1.3;
  }
  .authority-key {
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
    padding: 3px 0 10px;
  }
  .authority-item {
    padding: 3px 0 7px;
  }
  .authority-item strong {
    font-size: 16px;
  }
  .authority-item span {
    display: none;
  }
  .authority-item.current {
    border-bottom-width: 3px;
  }
  .scene-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px 0 20px;
    min-height: 0;
  }
  .now {
    padding: 0;
    border: 0;
  }
  .now h2 {
    font-size: 32px;
    margin: 9px 0;
  }
  .now .explanation {
    font-size: 19px;
    line-height: 1.5;
  }
  .now-actions {
    margin-top: 17px;
  }
  .primary {
    font-size: 18px;
    line-height: 1.35;
    padding: 12px 13px;
  }
  .permission {
    font-size: 17px;
    margin-top: 14px;
  }
  .decision-facts {
    margin-top: 16px;
  }
  .presentation {
    border-top: 1px solid var(--rule);
    padding-top: 18px;
  }
  .route {
    display: none;
  }
  .mobile-context {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-context .station-circle {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
  .record-shell {
    min-height: 0;
    padding: 0 0 20px;
  }
  .record-shell:before {
    display: none;
  }
  .record {
    padding: 16px;
    border-radius: 8px;
    max-width: 100%;
  }
  .record-head {
    font-size: 16px;
    gap: 7px;
  }
  .record h3 {
    font-size: 28px;
  }
  .record-fact {
    font-size: 18px;
  }
  .return-path {
    font-size: 17px;
  }
  .return-path .owner {
    display: none;
  }
  .transport-buttons {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    width: 100%;
  }
  .transport-buttons button {
    font-size: 16px;
    padding: 10px 4px;
    white-space: nowrap;
    min-height: 48px;
  }
  .transport {
    gap: 12px;
  }
  .boundary-note {
    margin-top: 16px;
    font-size: 16px;
  }
  .scope-note {
    font-size: 17px;
  }
  .scope-note summary {
    font-size: 17px;
  }
  .contract dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .contract dd {
    margin-bottom: 9px;
  }
  .record-table {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .record-table dd {
    margin-bottom: 10px;
  }
  dialog {
    padding: 20px;
    width: calc(100% - 28px);
    max-height: 90vh;
  }
  .sheet-head {
    gap: 10px;
  }
  .sheet-head h2 {
    font-size: 29px;
  }
  .sheet-head button {
    padding: 8px;
  }
  footer {
    margin-top: 26px;
  }
  .record-head .pill {
    max-width: 100%;
  }
}
@media(min-width:700px) {
  .mobile-context {
    display: none;
  }
}
.record-shell:before {
  display: none;
}
.record-leader {
  position: absolute;
  left: 0;
  top: -20px;
  width: 100%;
  height: 32px;
  color: var(--ink);
}
.mobile-history {
  display: none;
}
@media(max-width:699px) {
  .intro {
    padding: 22px 0 20px;
  }
  .intro h1 {
    font-size: 34px;
    margin-bottom: 0;
  }
  .intro>p {
    display: none;
  }
  .record-leader {
    display: none;
  }
  .mobile-history {
    display: block;
    margin-bottom: 16px;
  }
  .mobile-history summary {
    font-size: 16px;
    font-weight: 600;
    min-height: 44px;
    cursor: pointer;
    padding: 9px 0;
  }
  .mobile-history .history {
    margin: 12px 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}
