.stage09-shell {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(35, 102, 255, .08), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
  border-top: 1px solid rgba(20, 38, 74, .08);
  border-bottom: 1px solid rgba(20, 38, 74, .08);
  padding: clamp(2rem, 4vw, 4.5rem) 0;
}

.stage09-loading,
.stage09-alert {
  border: 1px solid rgba(22, 48, 86, .12);
  border-radius: 24px;
  background: #fff;
  padding: 1.25rem;
  color: #49617d;
}

.stage09-layout {
  display: grid;
  gap: 1.25rem;
}

.stage09-continue-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .7fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(20, 38, 74, .12);
  border-radius: 30px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 60px rgba(28, 50, 93, .11);
  padding: clamp(1.15rem, 3vw, 2rem);
}

.stage09-continue-card h2 {
  margin: .25rem 0 .55rem;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  letter-spacing: -.04em;
}

.stage09-continue-card p {
  margin: 0;
  color: #49617d;
}

.stage09-current {
  display: grid;
  gap: .25rem;
  border-radius: 22px;
  background: #eff5ff;
  padding: 1rem;
}

.stage09-current span,
.stage09-current small,
.stage09-panel-head span,
.stage09-recent-list span {
  color: #65758d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stage09-current strong {
  color: #14264a;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.stage09-primary {
  justify-self: end;
  white-space: nowrap;
}

.stage09-reason {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(20, 38, 74, .08);
  padding-top: .85rem;
  font-size: .95rem;
}

.stage09-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr);
  gap: 1rem;
}

.stage09-panel {
  border: 1px solid rgba(20, 38, 74, .12);
  border-radius: 26px;
  background: #fff;
  padding: 1.15rem;
  min-width: 0;
}

.stage09-progress-panel {
  grid-row: span 2;
}

.stage09-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stage09-panel-head h3 {
  margin: 0;
  color: #14264a;
  font-size: 1.08rem;
}

.stage09-steps {
  display: grid;
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stage09-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  border-radius: 18px;
  background: #f7f9fd;
  padding: .75rem;
}

.stage09-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #dce8ff;
  color: #174da6;
  font-weight: 900;
}

.stage09-step strong,
.stage09-step span,
.stage09-step small {
  display: block;
}

.stage09-step strong {
  color: #14264a;
}

.stage09-step span {
  color: #49617d;
  font-weight: 750;
}

.stage09-step small {
  color: #72809a;
  overflow-wrap: anywhere;
}

.stage09-step.is-complete .stage09-step-index,
.stage09-step.is-in-progress .stage09-step-index {
  background: #dff8ea;
  color: #0b7a43;
}

.stage09-step.is-review-required .stage09-step-index,
.stage09-step.is-blocked .stage09-step-index {
  background: #fff1d8;
  color: #a05a00;
}

.stage09-recent-list {
  display: grid;
  gap: .7rem;
}

.stage09-recent-list a {
  display: grid;
  gap: .2rem;
  border-radius: 18px;
  background: #f7f9fd;
  padding: .8rem;
  color: inherit;
  text-decoration: none;
}

.stage09-recent-list strong {
  color: #14264a;
  overflow-wrap: anywhere;
}

.stage09-change-list {
  display: grid;
  gap: .65rem;
}

.stage09-change {
  border-radius: 18px;
  background: #f7f9fd;
  padding: .85rem;
}

.stage09-change.is-actionable,
.stage09-change.is-blocked-external {
  background: #fff7e8;
}

.stage09-change strong {
  color: #14264a;
}

.stage09-change p,
.stage09-orchestrator p,
.stage09-ai-panel p,
.stage09-muted {
  margin: .35rem 0 0;
  color: #596b84;
}

.stage09-orchestrator form {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
}

.stage09-orchestrator label {
  display: grid;
  gap: .35rem;
  color: #344660;
  font-weight: 750;
}

.stage09-orchestrator-result {
  display: grid;
  gap: .35rem;
  margin-top: 1rem;
  border-radius: 18px;
  background: #eff5ff;
  padding: 1rem;
}

.stage09-orchestrator-result strong {
  color: #14264a;
  font-size: 1.02rem;
}

.stage09-facts {
  display: grid;
  gap: .55rem;
  margin: 0;
}

.stage09-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(20, 38, 74, .08);
  padding-bottom: .45rem;
}

.stage09-facts dt {
  color: #65758d;
  font-weight: 800;
}

.stage09-facts dd {
  margin: 0;
  color: #14264a;
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .stage09-continue-card,
  .stage09-grid {
    grid-template-columns: 1fr;
  }

  .stage09-primary {
    justify-self: start;
  }
}

@media (max-width: 390px) {
  .stage09-shell {
    padding: 1.5rem 0;
  }

  .stage09-continue-card,
  .stage09-panel {
    border-radius: 20px;
    padding: .95rem;
  }

  .stage09-panel-head,
  .stage09-facts div {
    display: grid;
    justify-content: stretch;
  }

  .stage09-facts dd {
    text-align: left;
  }

  .stage09-step {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    padding: .65rem;
  }

  .stage09-step-index {
    width: 1.75rem;
    height: 1.75rem;
  }

  .stage09-primary,
  .stage09-orchestrator-result .button,
  .stage09-orchestrator button {
    width: 100%;
    white-space: normal;
  }
}
