.ooda-training {
  --ooda-ink: #19374d;
  --ooda-text: #405c6c;
  --ooda-muted: #647985;
  --ooda-primary: #276f94;
  --ooda-primary-dark: #205f80;
  --ooda-line: #cfdee6;
  --ooda-soft: #eef7fa;
  width: 100%;
  color: var(--ooda-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.ooda-training,
.ooda-training * {
  box-sizing: border-box;
}

.ooda-training button,
.ooda-training input {
  font: inherit;
}

.ooda-training button {
  margin: 0;
  text-transform: none;
}

.ooda-training svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.ooda-training .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ooda-app-shell {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(circle at 8% 12%, rgb(129 203 232 / 22%), transparent 31rem), linear-gradient(160deg, #f6fbfd 0%, #eef5f8 55%, #e8f0f4 100%);
}

.ooda-weather-wash {
  position: absolute;
  inset: 0 0 auto;
  height: 18rem;
  opacity: .3;
  pointer-events: none;
  background-image: repeating-linear-gradient(112deg, transparent 0 38px, rgb(63 127 165 / 13%) 39px 40px, transparent 41px 80px);
  mask-image: linear-gradient(to bottom, black, transparent);
}

.ooda-page-frame {
  position: relative;
  width: min(calc(100% - 32px), 860px);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.ooda-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 24px;
}

.ooda-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17344b;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .14em;
}

.ooda-wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #78abc5;
  border-radius: 50%;
  color: #2c779e;
  font-size: .9rem;
  letter-spacing: 0;
}

.ooda-time-chip {
  border: 1px solid #cbdce5;
  border-radius: 999px;
  background: rgb(255 255 255 / 58%);
  padding: 7px 12px;
  color: #496678;
  font-size: .78rem;
  font-weight: 650;
}

.ooda-phase-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 auto 18px;
  padding: 0 16px;
}

.ooda-phase-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8a9ba6;
}

.ooda-phase-item:not(:last-child)::after {
  position: absolute;
  top: 17px;
  right: 12px;
  left: calc(50% + 20px);
  height: 1px;
  background: var(--ooda-line);
  content: '';
}

.ooda-phase-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #c8d7df;
  border-radius: 50%;
  background: #eff5f7;
}

.ooda-phase-icon svg {
  width: 15px;
  height: 15px;
}

.ooda-phase-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ooda-phase-copy strong {
  font-size: .78rem;
}

.ooda-phase-copy small {
  margin-top: 4px;
  font-size: .7rem;
}

.ooda-phase-item.is-active {
  color: #205f82;
}

.ooda-phase-item.is-active .ooda-phase-icon {
  border-color: #357fa5;
  background: #357fa5;
  color: #fff;
  box-shadow: 0 0 0 5px rgb(53 127 165 / 11%);
}

.ooda-phase-item.is-complete {
  color: #4b7185;
}

.ooda-phase-item.is-complete .ooda-phase-icon {
  border-color: #88aec2;
  background: #dcebf2;
  color: #23698e;
}

.ooda-training-card {
  min-height: 570px;
  border: 1px solid rgb(178 200 213 / 74%);
  border-radius: 28px;
  outline: none;
  background: rgb(255 255 255 / 91%);
  padding: clamp(28px, 6vw, 58px);
  box-shadow: 0 24px 70px rgb(38 74 96 / 10%), 0 3px 10px rgb(38 74 96 / 5%);
  backdrop-filter: blur(12px);
  animation: ooda-card-in 320ms ease-out;
}

@keyframes ooda-card-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.ooda-screen-header {
  max-width: 690px;
}

.ooda-eyebrow {
  margin: 0 0 13px;
  color: #357798;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .12em;
}

.ooda-screen-header h2 {
  margin: 0;
  color: var(--ooda-ink);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 750;
  line-height: 1.36;
  letter-spacing: -.035em;
}

.ooda-question {
  margin: 18px 0 0;
  color: #4f6675;
  font-size: 1.02rem;
  line-height: 1.8;
}

.ooda-lead-copy,
.ooda-support-copy {
  color: #4e6676;
  line-height: 1.9;
}

.ooda-start-screen {
  display: flex;
  min-height: 455px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ooda-start-screen .ooda-screen-header {
  max-width: 650px;
}

.ooda-start-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 16px;
  background: #d9edf5;
  color: #277396;
}

.ooda-start-mark svg {
  width: 21px;
}

.ooda-start-screen .ooda-lead-copy {
  margin: 24px 0 32px;
}

.ooda-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  cursor: pointer;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ooda-button:focus-visible,
.ooda-choice-card:has(input:focus-visible) {
  outline: 3px solid rgb(39 111 148 / 28%);
  outline-offset: 3px;
}

.ooda-button-primary {
  background: var(--ooda-primary);
  color: #fff;
  box-shadow: 0 7px 18px rgb(39 111 148 / 20%);
}

.ooda-button-primary:hover:not(:disabled) {
  background: var(--ooda-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.ooda-button-primary:disabled {
  cursor: not-allowed;
  opacity: .45;
  box-shadow: none;
}

.ooda-button-back {
  min-height: 44px;
  background: transparent;
  color: #5d7180;
}

.ooda-button-back:hover {
  background: #edf4f7;
  color: #31566b;
}

.ooda-button-outline {
  border-color: #9dbdcd;
  background: transparent;
  color: #285e79;
}

.ooda-button-outline:hover {
  background: #edf7fa;
}

.ooda-scenario-card {
  position: relative;
  margin-top: 30px;
  border: 1px solid #d4e2e9;
  border-radius: 20px;
  background: #f6fafb;
  padding: 25px 28px;
  color: #354f60;
  line-height: 1.8;
}

.ooda-scenario-card p {
  margin: 0 0 14px;
}

.ooda-scenario-card p:last-child {
  margin-bottom: 0;
  color: #245e7b;
  font-weight: 700;
}

.ooda-observe-photo {
  position: relative;
  height: 250px;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid #c8d9e2;
  border-radius: 20px;
  background: #dce7ec;
}

.ooda-observe-photo img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 50% 56%;
}

.ooda-observe-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgb(15 38 54 / 48%), transparent);
  content: '';
  pointer-events: none;
}

.ooda-observe-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 12px;
  color: #fff;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-shadow: 0 1px 3px rgb(0 0 0 / 35%);
}

.ooda-choice-list {
  display: grid;
  min-width: 0;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.ooda-choice-card {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  border: 1px solid #d6e1e7;
  border-radius: 15px;
  background: #fbfdfe;
  padding: 15px 17px;
  color: #304b5d;
  line-height: 1.6;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ooda-choice-card:hover {
  border-color: #91b6c9;
  transform: translateY(-1px);
}

.ooda-choice-card.is-selected {
  border-color: #4a8cac;
  background: #edf7fa;
  box-shadow: inset 3px 0 #4a8cac, 0 3px 12px rgb(58 119 150 / 8%);
  color: #1e526d;
}

.ooda-choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ooda-control {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1.5px solid #9bb3c1;
  border-radius: 5px;
  background: #fff;
}

.ooda-choice-card input[type='radio'] + .ooda-control {
  border-radius: 50%;
}

.ooda-choice-card input:checked + .ooda-control {
  border-color: #397f9f;
  background: #397f9f;
}

.ooda-choice-card input[type='checkbox']:checked + .ooda-control::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: '';
  transform: rotate(45deg);
}

.ooda-choice-card input[type='radio']:checked + .ooda-control::after {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
  content: '';
}

.ooda-feedback-box {
  display: block;
  margin-top: 18px;
  border: 1px solid #bdd9e6;
  border-radius: 15px;
  background: #f0f8fb;
  padding: 18px 20px;
  color: #3b586a;
  font-size: .91rem;
  line-height: 1.75;
}

.ooda-feedback-box p {
  margin: 7px 0 0;
}

.ooda-feedback-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #235e7d;
  font-weight: 750;
}

.ooda-feedback-title svg {
  width: 17px;
}

.ooda-feedback-selection {
  color: #367b9d;
  font-weight: 650;
}

.ooda-orientation-explainer {
  margin: 24px 0 4px;
  border-left: 3px solid #4f91b0;
  border-radius: 0 10px 10px 0;
  background: #f0f7fa;
  padding: 15px 17px;
  color: #496273;
  font-size: .91rem;
  line-height: 1.75;
}

.ooda-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.ooda-actions.is-end-only {
  justify-content: flex-end;
}

.ooda-actions.is-centered {
  justify-content: center;
}

.ooda-recap {
  margin: 24px 0 20px;
  border: 1px solid #d4e1e8;
  border-radius: 15px;
  background: #f7fafb;
  padding: 14px 17px;
}

.ooda-recap summary {
  color: #406278;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
}

.ooda-recap dl {
  display: grid;
  gap: 9px;
  margin: 16px 0 2px;
}

.ooda-recap dl div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 12px;
}

.ooda-recap dt {
  color: #397c9d;
  font-size: .77rem;
  font-weight: 750;
}

.ooda-recap dd {
  margin: 0;
  color: #5b707e;
  font-size: .8rem;
  line-height: 1.6;
}

.ooda-centered-screen {
  display: flex;
  min-height: 450px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ooda-centered-screen .ooda-screen-header {
  margin-inline: auto;
}

.ooda-act-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: #dcedf4;
  color: #2c7698;
}

.ooda-act-mark svg {
  width: 23px;
}

.ooda-decision-panel {
  width: min(100%, 590px);
  margin-top: 28px;
  border: 1px solid #bcd5e2;
  border-radius: 18px;
  background: linear-gradient(145deg, #f5fbfd, #eaf5f9);
  padding: 23px 26px;
}

.ooda-decision-panel span {
  display: block;
  margin-bottom: 8px;
  color: #66808e;
  font-size: .78rem;
}

.ooda-decision-panel strong {
  color: #1d5e7d;
  font-size: 1.15rem;
  line-height: 1.55;
}

.ooda-support-copy {
  margin: 20px 0 0;
  font-size: .9rem;
}

.ooda-result-kicker {
  margin-bottom: 20px;
  border: 1px solid #bfd6e0;
  border-radius: 999px;
  padding: 5px 13px;
  color: #4b7d95;
  font-size: .78rem;
  font-weight: 700;
}

.ooda-result-panel {
  display: flex;
  width: min(100%, 620px);
  align-items: flex-start;
  gap: 15px;
  margin-top: 27px;
  border-radius: 18px;
  background: #ecf5f8;
  padding: 22px;
  color: #365567;
  text-align: left;
  line-height: 1.8;
}

.ooda-result-panel svg {
  width: 23px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: #3a7e9e;
}

.ooda-result-panel p {
  margin: 0;
}

.ooda-neutral-note {
  display: flex;
  width: min(100%, 620px);
  flex-direction: column;
  gap: 7px;
  margin-top: 17px;
  color: var(--ooda-muted);
  font-size: .85rem;
  line-height: 1.65;
}

.ooda-neutral-note strong {
  color: #314f60;
}

.ooda-journey {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin-top: 28px;
  overflow-x: auto;
  padding: 3px 2px 12px;
  scrollbar-color: #9fbac8 #e5eef2;
}

.ooda-journey-item {
  display: flex;
  min-width: 126px;
  flex: 1 1 0;
  flex-direction: column;
  gap: 11px;
  border: 1px solid #d8e3e8;
  border-radius: 15px;
  background: #fbfdfe;
  padding: 15px 13px;
}

.ooda-journey-item.is-emphasized {
  border-color: #9fc5d7;
  background: var(--ooda-soft);
}

.ooda-journey-phase {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #d9e4e9;
  padding-bottom: 9px;
}

.ooda-journey-phase strong {
  color: #277294;
  font-size: .9rem;
}

.ooda-journey-phase span {
  margin-top: 3px;
  color: #7c8e99;
  font-size: .72rem;
}

.ooda-journey-item p {
  margin: 0;
  color: var(--ooda-text);
  font-size: .78rem;
  line-height: 1.55;
}

.ooda-journey > .ooda-journey-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  align-self: center;
  color: #789bae;
}

.ooda-closing-message {
  margin-top: 34px;
  border-radius: 18px;
  background: #173b54;
  padding: 27px 29px;
  color: #e5f0f5;
  line-height: 1.85;
}

.ooda-closing-message p {
  margin: 0 0 15px;
}

.ooda-closing-message strong {
  color: #fff;
  font-size: 1.05rem;
}

.ooda-orient-feedback {
  margin-top: 14px;
  border: 1px solid #bfd7e2;
  border-radius: 16px;
  background: var(--ooda-soft);
  padding: 19px 21px;
  color: #4b6675;
  line-height: 1.7;
}

.ooda-orient-feedback strong {
  color: #286d8d;
  font-size: .88rem;
}

.ooda-orient-feedback p {
  margin: 6px 0 0;
  font-size: .86rem;
}

.ooda-completion-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.ooda-page-frame footer {
  padding: 23px 0 0;
  color: #79909d;
  text-align: center;
  font-size: .68rem;
  letter-spacing: .14em;
}

@media (max-width: 680px) {
  .ooda-app-shell {
    min-height: 100svh;
    border-radius: 18px;
  }

  .ooda-page-frame {
    width: min(calc(100% - 22px), 860px);
    padding-top: 14px;
  }

  .ooda-topbar {
    margin-bottom: 14px;
  }

  .ooda-wordmark {
    font-size: .67rem;
  }

  .ooda-phase-progress {
    margin-bottom: 12px;
    padding: 0 4px;
  }

  .ooda-phase-item {
    justify-content: center;
  }

  .ooda-phase-copy {
    display: none;
  }

  .ooda-phase-item:not(:last-child)::after {
    right: -15px;
    left: calc(50% + 22px);
  }

  .ooda-training-card {
    min-height: calc(100svh - 140px);
    border-radius: 22px;
    padding: 27px 20px;
  }

  .ooda-start-screen {
    min-height: calc(100svh - 210px);
  }

  .ooda-screen-header h2 {
    font-size: 1.65rem;
  }

  .ooda-question {
    font-size: .97rem;
  }

  .ooda-observe-photo {
    height: 210px;
  }

  .ooda-scenario-card {
    padding: 21px;
  }

  .ooda-choice-card {
    min-height: 62px;
    padding: 14px 13px;
  }

  .ooda-actions {
    align-items: stretch;
  }

  .ooda-actions .ooda-button-primary {
    flex: 1;
  }

  .ooda-recap dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .ooda-journey {
    margin-right: -20px;
    padding-right: 20px;
  }

  .ooda-journey-item {
    min-width: 150px;
  }

  .ooda-completion-actions {
    flex-direction: column;
  }

  .ooda-completion-actions > * {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ooda-training *,
  .ooda-training *::before,
  .ooda-training *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
