/* Sprint 7.5.18 - pilot ana akisi, erisilebilirlik ve uzun metin guvenligi */
.s706-pilot-flow {
  margin: 0 0 18px;
  border: 1px solid #d8e3f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 26, 53, 0.05);
  overflow: hidden;
}

.s706-pilot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  background: linear-gradient(110deg, #f2f7ff, #f7fbf8);
  border-bottom: 1px solid #e1e9f3;
}

.s706-pilot-copy,
.s706-pilot-copy > div,
.s706-phase-copy {
  min-width: 0;
}

.s706-pilot-copy {
  display: flex;
  align-items: center;
  gap: 11px;
}

.s706-pilot-copy > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #1f5fbf;
  background: #e2ecff;
  font-size: 14px;
  font-weight: 800;
}

.s706-pilot-copy strong,
.s706-pilot-copy small {
  display: block;
  overflow-wrap: anywhere;
}

.s706-pilot-copy strong {
  color: #0f1a35;
  font-size: 14px;
}

.s706-pilot-copy small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}

.s706-next-action,
.s706-retry {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #174ea6;
  border-radius: 9px;
  background: #174ea6;
  color: #fff;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.s706-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.s706-phase {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 104px;
  gap: 10px;
  padding: 15px;
  border: 0;
  border-right: 1px solid #e5eaf1;
  background: #fff;
  color: #0f1a35;
  text-align: left;
  cursor: pointer;
}

.s706-phase:last-child {
  border-right: 0;
}

.s706-phase:hover {
  background: #f8fbff;
}

.s706-phase-state {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background: #edf1f7;
  color: #607089;
  font-size: 12px;
  font-weight: 850;
}

.s706-phase.complete .s706-phase-state {
  color: #087f5b;
  background: #d9f8e7;
}

.s706-phase.blocked .s706-phase-state {
  color: #9a5b08;
  background: #fff0c8;
}

.s706-phase.current {
  box-shadow: inset 0 -3px #316bc4;
  background: #f7faff;
}

.s706-phase-copy strong,
.s706-phase-copy small,
.s706-phase-copy em {
  display: block;
  overflow-wrap: anywhere;
}

.s706-phase-copy strong {
  font-size: 12px;
  line-height: 1.3;
}

.s706-phase-copy small {
  margin-top: 4px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.4;
}

.s706-phase-copy em {
  margin-top: 7px;
  color: #526279;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
}

.s706-load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: #8d2d25;
  background: #fff4f2;
}

.s706-retry {
  min-height: 36px;
  color: #8d2d25;
  background: #fff;
  border-color: #e7aaa4;
}

body button:focus-visible,
body [role="button"]:focus-visible,
body a:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible {
  outline: 3px solid rgba(49, 107, 196, 0.34) !important;
  outline-offset: 2px !important;
}

.s47-context-popup strong,
.s47-context-popup small,
.s51-nav-item b,
.school-overview-table td,
.summary-card strong,
.summary-card small,
.program-view-scope strong,
.program-view-scope small {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .s706-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s706-phase:nth-child(2) {
    border-right: 0;
  }

  .s706-phase:nth-child(-n + 2) {
    border-bottom: 1px solid #e5eaf1;
  }
}

@media (max-width: 640px) {
  .s706-pilot-head {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .s706-next-action {
    width: 100%;
  }

  .s706-phases {
    grid-template-columns: minmax(0, 1fr);
  }

  .s706-phase {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }

  .s706-phase:last-child {
    border-bottom: 0;
  }

  .s706-load-error {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

