.application-workspace { overflow-x: clip; }

@media (min-width: 1101px) {
  .application-mode-tabs { margin-right: -36px; }
}

.execution-directory { padding: 0; }
.execution-cohort-group { border-bottom: 1px solid #e2e8ea; }
.execution-cohort-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  background: #fff0f4;
  color: #9a4059;
  font-size: .72rem;
}
.execution-student-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: calc(100% - 16px);
  min-height: 58px;
  margin: 4px 8px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #14213d;
  text-align: left;
}
.execution-student-item:hover,
.execution-student-item.is-selected {
  border-color: #67c6a4;
  background: #effaf6;
  box-shadow: inset 3px 0 #29ae7a;
}
.execution-student-item > span:nth-child(2) { min-width: 0; }
.execution-student-item strong,
.execution-student-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.execution-student-item strong { color: #003057; font-size: .84rem; }
.execution-student-item small { margin-top: 4px; color: #718394; font-size: .67rem; }
.execution-student-item > b {
  border-radius: 999px;
  padding: 5px 8px;
  background: #f1f3f4;
  color: #6c7d87;
  font-size: .64rem;
}
.student-school-tabs {
  display: flex;
  gap: 8px;
  margin: -24px -34px 26px;
  padding: 13px 34px;
  overflow-x: auto;
  border-bottom: 1px solid #e1e7e9;
  background: #fbfcfc;
}
.student-school-tab {
  flex: 0 0 auto;
  min-width: 112px;
  max-width: 190px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--school-color) 60%, #d9e2e5);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, var(--school-color) 250%);
  color: #244b63;
  text-align: left;
}
.student-school-tab:hover,
.student-school-tab.is-selected {
  border-color: #dc6f91;
  box-shadow: inset 3px 0 #dc6f91;
}
.student-school-tab strong,
.student-school-tab small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-school-tab strong { font-size: .76rem; }
.student-school-tab small { margin-top: 4px; color: #718394; font-size: .62rem; }
.execution-detail-head { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid #e2e8ea; }
.execution-detail-head h4 { margin: 6px 0 4px; color: #003057; font-size: 1.8rem; }
.execution-detail-head p { margin: 0; color: #718394; font-size: .74rem; }

.application-mode-tabs {
  gap: 8px;
  margin: 0 0 28px !important;
  padding: 8px;
  overflow: visible;
  border: 1px solid #e1e7e9;
  border-radius: 22px;
  background: #faf8f4;
  box-shadow: 0 8px 26px rgba(20, 33, 61, .05);
}
.application-mode-tabs button {
  min-height: 82px;
  border: 1px solid #e4e9eb !important;
  border-radius: 15px;
  background: #fff !important;
}
.application-mode-tabs button:nth-child(1) { background: #fff8e9 !important; }
.application-mode-tabs button:nth-child(2) { background: #eef8f4 !important; }
.application-mode-tabs button:nth-child(3) { background: #fff1f5 !important; }
.application-mode-tabs button.is-active {
  border-color: #e98da6 !important;
  box-shadow: 0 6px 16px rgba(174, 68, 101, .10) !important;
}
.application-mode-tabs button.is-active::after {
  right: 18px;
  bottom: 6px;
  left: 18px;
  height: 3px;
}
.application-filterbar,
.execution-filters {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 33, 61, .035);
}
.execution-filters { grid-template-columns: minmax(260px, 1fr) repeat(3, auto) auto; }
.application-split { border-radius: 24px; }
.detail-hero { background: #f6fafb; }
.student-school-tabs {
  margin: 0 0 26px;
  padding: 12px;
  border: 1px solid #e0e7e9;
  border-radius: 17px;
  background: #faf9f7;
}
.student-school-tab {
  border-color: transparent;
  background: var(--school-color) !important;
  box-shadow: none;
}
.student-school-tab:hover,
.student-school-tab.is-selected {
  border-color: #d66d8c;
  background: var(--school-color) !important;
  box-shadow: inset 3px 0 #d66d8c;
}
.execution-detail-head {
  padding: 18px;
  border: 1px solid #e2e8ea;
  border-radius: 16px;
  background: #fffaf7;
}

@media (max-width: 1100px) {
  .application-mode-tabs { margin-right: 0 !important; margin-left: 0 !important; }
  .execution-filters { grid-template-columns: 1fr 1fr; }
  .student-school-tabs { margin: 0 0 24px; padding-right: 12px; padding-left: 12px; }
}

@media (max-width: 760px) {
  .application-mode-tabs { gap: 6px; padding: 6px; border-radius: 18px; }
  .application-mode-tabs button { min-height: 66px; border-radius: 12px; }
  .execution-filters { grid-template-columns: 1fr; }
  .student-school-tabs { margin: 0 0 22px; padding-right: 10px; padding-left: 10px; }
  .student-school-tab { min-width: 104px; }
}

.parent-plan-launch { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px 0 0; padding: 18px 0; border-top: 1px solid #dce6e8; }
.parent-plan-launch h4 { margin: 4px 0; color: #003057; font-size: 1.05rem; }
.parent-plan-launch p { max-width: 720px; margin: 0; color: #718394; line-height: 1.55; }
.parent-plan-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.parent-view-fields { background: #fbfaf7; }
.application-private-account { margin: 22px 24px; padding: 20px; border: 1px solid #e3dfe7; border-radius: 18px; background: #fbf8fc; }
.private-account-heading { margin-bottom: 16px; }
.private-account-heading h4 { margin: 4px 0; color: #003057; }
.private-account-heading p { margin: 0; color: #718394; font-size: .78rem; }
.private-account-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.private-account-form label { position: relative; display: grid; gap: 6px; color: #38536b; font-size: .75rem; font-weight: 700; }
.private-account-form input, .private-account-form textarea { min-width: 0; padding: 10px 11px; border: 1px solid #cbd9df; border-radius: 10px; background: #fff; font: inherit; }
.private-account-form label:has(textarea) { grid-column: 1 / -1; }
.private-account-form .primary-action { justify-self: start; }
.private-reveal { position: absolute; right: 8px; bottom: 8px; border: 0; background: #fff; color: #b84f68; cursor: pointer; font-size: .7rem; }
@media (max-width: 760px) {
  .parent-plan-launch { align-items: stretch; flex-direction: column; }
  .parent-plan-buttons { justify-content: stretch; }
  .parent-plan-buttons button { flex: 1; }
  .private-account-form { grid-template-columns: 1fr; }
  .private-account-form label:has(textarea) { grid-column: auto; }
}
