/* [project]/src/app/globals.css [app-client] (css) */
html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Microsoft YaHei, sans-serif;
}

.workspace-layout {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.workspace-layout > .ant-layout {
  min-width: 0;
  min-height: 0;
}

.workspace-main {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.workspace-sider, .workspace-sider .ant-layout-sider-children {
  flex-direction: column;
  display: flex;
}

.workspace-brand {
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 18px;
  display: flex;
  overflow: hidden;
}

.workspace-brand > span {
  color: #fff;
  background: #1677ff;
  border-radius: 8px;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 18px;
  font-weight: 700;
  display: grid;
}

.workspace-logo {
  object-fit: contain;
  border-radius: 8px;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.workspace-brand .ant-typography {
  white-space: nowrap;
  display: block;
}

.workspace-brand .ant-typography-secondary {
  margin-top: 2px;
  font-size: 11px;
}

.workspace-sider .ant-menu {
  flex: 1;
}

.workspace-sider-footer {
  border-top: 1px solid var(--ant-color-border-secondary);
  padding: 12px 16px 16px;
}

.workspace-user-menu {
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 4px 0;
  display: flex;
}

.workspace-sider-footer .workspace-user-menu {
  text-align: left;
  justify-content: flex-start;
  padding-inline: 0;
}

.workspace-user-menu .ant-avatar {
  flex: none;
}

.workspace-user-menu > span:last-child {
  text-overflow: ellipsis;
  overflow: hidden;
}

.workspace-header {
  background: var(--ant-color-bg-container);
  border-bottom: 1px solid var(--ant-color-border-secondary);
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  display: flex;
}

.workspace-header.ant-layout-header {
  background: var(--ant-color-bg-container);
  padding-inline: 24px;
}

.cohort-selector {
  max-width: min(360px, 45vw);
  color: var(--ant-color-text);
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  display: inline-flex;
}

.workspace-header .cohort-selector {
  text-align: center;
  justify-content: center;
  padding-inline: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.cohort-selector-label {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.cohort-selector-status, .cohort-menu-status, .cohort-page-status {
  margin-inline-end: 0;
  font-size: 12px;
  font-weight: 400;
}

.cohort-page-status {
  vertical-align: 1px;
  margin-inline-start: 8px;
}

.cohort-menu-item {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  display: flex;
}

.cohort-menu-item > span:first-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.cohort-selector .anticon {
  color: var(--ant-color-text-tertiary);
  font-size: 12px;
}

.workspace-content {
  flex: 1;
  min-height: 0;
  padding: 24px;
  overflow: auto;
}

.workspace-content-inner {
  flex-direction: column;
  min-height: 100%;
  display: flex;
}

.workspace-footer {
  color: var(--ant-color-text-tertiary);
  text-align: center;
  background: none;
  flex: none;
  margin-top: auto;
  padding: 20px 24px 4px;
}

.page-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
  display: flex;
}

.page-header > div:first-child > h2.ant-typography {
  color: #000000e0;
  margin: 0 12px 0 0;
  font-family: AlibabaSans, -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Microsoft YaHei, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.page-header > div:first-child > span.ant-typography {
  color: #000000e0;
  margin-top: 8px;
  font-family: AlibabaSans, -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Microsoft YaHei, sans-serif;
  font-size: 14px;
  line-height: 1.5714;
  display: block;
}

.workspace-content-inner > .ant-card.section-card, .overview-board-shell > .ant-card.section-card {
  margin-top: 16px;
}

.page-header + .ant-card.section-card {
  margin-top: 0;
}

.ant-alert.alert-gap {
  margin-block: 16px;
}

.reason-modal-warning .ant-alert-icon {
  align-self: flex-start;
  margin-top: 3px;
}

.filter-row {
  width: 100%;
  margin-bottom: 16px;
}

.mapping-row {
  margin-top: 16px;
  margin-bottom: 16px;
}

.roster-import-modal .mapping-row {
  margin-inline: 0 !important;
}

.field-mapping-item {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.field-mapping-label {
  line-height: 22px;
}

.ant-card.workbook-preview {
  margin-top: 16px;
}

.ant-card.workbook-preview .ant-table-tbody > tr:last-child > td {
  border-bottom: none;
}

.cohort-actions-column {
  white-space: nowrap;
}

.cohort-actions-column .ant-space {
  gap: 0 !important;
}

.cohort-actions-column .ant-btn-link {
  padding-inline: 3px;
}

.cohort-actions-column .ant-btn-link .anticon + span {
  margin-inline-start: 3px;
}

.public-query-qr-preview {
  place-items: center;
  display: grid;
}

.public-query-qr-preview .ant-qrcode {
  flex: none;
  display: flex;
}

.public-query-qr-download-source {
  pointer-events: none;
  position: fixed;
  inset: auto auto 0 -10000px;
}

.export-card-col {
  align-items: stretch;
  display: flex;
}

.export-card {
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: flex;
}

.export-card > .ant-card-body {
  flex: 1;
}

.whitelist-card-title {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  width: 100%;
  display: flex;
}

.whitelist-card-title .ant-typography {
  font-size: 13px;
  font-weight: 400;
}

.student-total-count {
  white-space: nowrap;
  margin-inline-start: auto;
}

.cohort-workflow-shell {
  background: var(--ant-color-bg-layout);
  min-height: 100vh;
}

.cohort-not-found {
  background: var(--ant-color-bg-layout);
  place-items: center;
  min-height: 100vh;
  display: grid;
}

.cohort-workflow-header {
  z-index: 10;
  box-sizing: border-box;
  border-bottom: 1px solid var(--ant-color-border-secondary);
  background: var(--ant-color-bg-container);
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 10px 24px;
  display: grid;
  position: sticky;
  top: 0;
}

.cohort-workflow-brand {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.cohort-workflow-brand > img, .cohort-workflow-brand > span {
  object-fit: contain;
  border-radius: 9px;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.cohort-workflow-brand > span {
  background: var(--ant-color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.cohort-workflow-brand .ant-typography {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.cohort-workflow-brand .ant-typography-secondary {
  margin-top: 2px;
  font-size: 11px;
}

.cohort-workflow-title {
  text-align: center;
  min-width: 240px;
}

.cohort-workflow-title h3.ant-typography {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 520px;
  margin: 0;
  font-size: 20px;
  overflow: hidden;
}

.cohort-workflow-title > .ant-space {
  margin-top: 3px;
}

.cohort-workflow-header > .ant-btn {
  justify-self: end;
}

.cohort-workflow-notice {
  width: 100%;
  min-height: 36px;
  color: var(--ant-color-warning-text);
  background: var(--ant-color-warning-bg);
  border-bottom: 1px solid var(--ant-color-border-secondary);
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  display: flex;
  overflow: hidden;
}

.cohort-workflow-notice > .anticon {
  flex: none;
}

.cohort-workflow-notice-viewport {
  text-align: center;
  white-space: nowrap;
  flex: auto;
  min-width: 0;
  overflow: hidden;
}

.cohort-workflow-notice-viewport.is-overflow {
  text-align: left;
}

.cohort-workflow-notice-track {
  display: inline-block;
}

.cohort-workflow-notice-track.is-overflow {
  padding-inline-end: 48px;
  animation: 18s linear infinite cohort-workflow-notice-scroll;
}

.cohort-workflow-notice:hover .cohort-workflow-notice-track {
  animation-play-state: paused;
}

@keyframes cohort-workflow-notice-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.cohort-workflow-content {
  width: min(1680px, 100% - 48px);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.cohort-workflow-archived, .cohort-workflow-shell .cohort-workflow-steps-card {
  margin-bottom: 16px;
}

.cohort-workflow-stage-card > .ant-card-body {
  min-height: 360px;
}

.cohort-roster-review-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
  display: flex;
}

.cohort-roster-review-header > div:first-child {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.cohort-roster-review-actions {
  justify-content: center;
  margin-top: 16px;
  display: flex;
}

.workflow-step-actions {
  justify-content: center;
  display: flex;
}

.embedded-section-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 0;
  display: flex;
}

.embedded-section-header h4.ant-typography {
  margin: 0 0 4px;
}

.class-sizing-input-row {
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 4px 12px;
  display: grid;
}

.class-sizing-input-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  display: grid;
}

.class-sizing-number-input {
  justify-self: start;
  width: 150px;
}

.class-sizing-input-compact .class-sizing-number-input {
  flex: 0 0 150px;
}

.class-sizing-input-row > .ant-typography:last-child {
  grid-column: 2;
  margin-inline-start: 0;
}

.class-sizing-input-compact {
  width: 220px;
}

.class-sizing-input-compact .ant-input-number {
  flex: 1;
  min-width: 0;
}

.class-sizing-input-compact .class-sizing-unit-input {
  width: 52px;
}

.strategy-preset-group.ant-radio-group {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  display: grid;
}

.strategy-preset-option.ant-radio-wrapper {
  box-sizing: border-box;
  border: 1px solid var(--ant-color-border-secondary);
  background: var(--ant-color-bg-container);
  border-radius: 10px;
  align-items: flex-start;
  min-height: 84px;
  margin: 0;
  padding: 16px 18px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.strategy-preset-option.ant-radio-wrapper:hover {
  border-color: var(--ant-color-primary-border);
  background: var(--ant-color-primary-bg);
}

.strategy-preset-option.ant-radio-wrapper-checked {
  border-color: var(--ant-color-primary);
  background: var(--ant-color-primary-bg);
  box-shadow: 0 0 0 1px var(--ant-color-primary-border);
}

.strategy-preset-option.ant-radio-wrapper > .ant-radio {
  align-self: flex-start;
  margin-top: 4px;
}

.strategy-preset-content {
  white-space: normal;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-inline-start: 4px;
  display: flex;
}

.strategy-preset-title {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.strategy-preset-title .ant-tag {
  margin-inline-end: 0;
}

.strategy-preset-content strong {
  color: var(--ant-color-text);
  font-size: 16px;
  line-height: 24px;
}

.strategy-preset-content > span {
  color: var(--ant-color-text-secondary);
  line-height: 22px;
}

.strategy-preset-option.ant-radio-wrapper-disabled .strategy-preset-content strong, .strategy-preset-option.ant-radio-wrapper-disabled .strategy-preset-content > span {
  color: var(--ant-color-text-disabled);
}

.basic-strategy-option {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.basic-strategy-option .ant-switch {
  flex: none;
  margin-top: 2px;
}

.basic-strategy-content {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.special-rule-editor {
  border: 1px solid var(--ant-color-border-secondary);
  background: var(--ant-color-fill-quaternary);
  border-radius: 10px;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  display: flex;
}

.special-rule-input-row {
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  display: grid;
}

.candidate-quality-tags {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.candidate-rule-locator {
  white-space: normal;
  cursor: pointer;
  height: auto;
  transition: box-shadow .2s, filter .2s;
}

.candidate-rule-locator:hover {
  filter: brightness(.96);
  box-shadow: 0 0 0 2px #52c41a2e;
}

.candidate-rule-locator:focus-visible {
  outline: 2px solid var(--ant-color-primary);
  outline-offset: 2px;
}

.candidate-diagnostic-list {
  margin: 0;
  padding-inline-start: 20px;
}

.candidate-diagnostic-list li + li {
  margin-top: 4px;
}

.cohort-workflow-stage-card .overview-board-card {
  margin-top: 0;
}

.class-students {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 8px;
  margin-top: 14px;
  display: grid;
}

.class-students .ant-typography {
  min-width: 0;
  font-size: var(--student-font-size, 14px);
}

.class-students .ant-badge {
  margin-right: 4px;
}

.class-students .anticon {
  color: #1677ff;
  margin-left: 4px;
}

.class-student-item {
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  display: flex;
}

.class-student-item-manual {
  cursor: pointer;
  border-radius: 5px;
  padding: 2px 4px;
  transition: background-color .2s, box-shadow .2s;
}

.class-student-item-manual:hover {
  background: #e6f4ff;
  box-shadow: 0 0 0 1px #91caff;
}

.class-student-item-manual.class-student-item-locked {
  cursor: not-allowed;
  color: #00000073;
  box-shadow: none;
  background: #fafafa;
}

.manual-adjustment-board {
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 12px;
}

.manual-adjustment-footer {
  justify-content: center;
  padding-top: 4px;
  display: flex;
}

.class-student-item-highlighted {
  z-index: 2;
  outline-offset: 1px;
  color: #ad4e00;
  background: #fff1b8;
  border: 1px solid #fa8c16;
  border-radius: 5px;
  outline: 2px solid #fa8c16;
  padding: 2px 4px;
  font-weight: 700;
  animation: .45s ease-in-out 5 student-locate-flash;
  position: relative;
  box-shadow: 0 0 0 4px #fa8c1647;
}

@keyframes student-locate-flash {
  0%, 100% {
    background: #fff1b8;
    outline-color: #fa8c16;
    box-shadow: 0 0 0 4px #fa8c1647;
  }

  50% {
    color: #a8071a;
    background: #ffec3d;
    outline-color: #f5222d;
    box-shadow: 0 0 0 8px #f5222d52;
  }
}

@media (prefers-reduced-motion: reduce) {
  .class-student-item-highlighted {
    animation: none;
  }
}

.class-student-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.class-student-rule-icon {
  color: #52c41a;
  vertical-align: -.08em;
  margin-left: 4px;
  font-size: .9em;
  display: inline-flex;
}

.class-student-academic {
  flex: none;
  margin-left: auto;
}

.student-tooltip {
  color: #1f1f1f;
  white-space: normal;
  overflow-wrap: anywhere;
  width: min(420px, 100vw - 32px);
  min-width: 0;
  max-width: calc(100vw - 32px);
  font-size: 18px;
  line-height: 1.8;
}

.class-students .ant-tag {
  margin-inline-end: 0;
  padding-inline: 4px;
  font-size: 11px;
  line-height: 18px;
}

.metric-tooltip {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
}

.metric-tooltip strong {
  margin-bottom: 4px;
  display: block;
}

.balance-chart-card .ant-card-body {
  padding: 16px 20px 12px;
}

.balance-chart-meta {
  color: var(--ant-color-text-secondary);
  justify-content: flex-end;
  margin-bottom: 4px;
  font-size: 12px;
  display: flex;
}

.balance-chart-meta span {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.balance-legend-dot {
  border-radius: 50%;
  width: 8px;
  height: 8px;
  display: inline-block;
}

.balance-legend-male {
  background: #1677ff;
}

.balance-legend-female {
  background: #eb2f96;
}

.balance-legend-line {
  border-top: 2px dashed #8c8c8c;
  width: 18px;
  display: inline-block;
}

.balance-chart-scroll {
  width: 100%;
  overflow: auto hidden;
}

.balance-chart-stage {
  min-width: 100%;
  position: relative;
}

.balance-chart-svg {
  width: 100%;
  min-width: 760px;
  height: 248px;
  display: block;
  overflow: visible;
}

.balance-axis-label, .balance-axis-tick, .balance-class-label {
  fill: var(--ant-color-text-tertiary);
  font-size: 11px;
}

.balance-grid-line {
  stroke: var(--ant-color-border-secondary);
  stroke-width: 1px;
}

.balance-average-line {
  stroke: #8c8c8c;
  stroke-dasharray: 5 4;
  stroke-width: 1.5px;
}

.balance-chart-bar {
  cursor: pointer;
  outline: none;
}

.balance-chart-bar:focus .balance-bar-male, .balance-chart-bar:hover .balance-bar-male {
  filter: brightness(.9);
}

.balance-chart-bar:focus .balance-bar-female, .balance-chart-bar:hover .balance-bar-female {
  filter: brightness(.92);
}

.balance-bar-male {
  fill: #1677ff;
}

.balance-bar-female {
  fill: #eb2f96;
}

.balance-chart-tooltip {
  z-index: 2;
  color: #1f1f1f;
  pointer-events: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  width: max-content;
  min-width: 220px;
  max-width: 280px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.7;
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  box-shadow: 0 10px 28px #0003;
}

.balance-chart-tooltip strong {
  margin-bottom: 2px;
  font-size: 15px;
  display: block;
}

.balance-chart-card .ant-empty {
  margin: 16px 0 8px;
}

.password-gate {
  box-sizing: border-box;
  background: var(--ant-color-bg-layout);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 100vh;
  padding: 32px 20px;
  display: flex;
}

.password-gate-brand {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  display: flex;
}

.password-gate-logo, .password-gate-logo-fallback {
  object-fit: contain;
  border-radius: 12px;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  display: grid;
}

.password-gate-logo-fallback {
  background: var(--ant-color-primary);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.password-gate-brand > .ant-typography:first-of-type {
  font-size: 18px;
}

.password-gate-brand > .ant-typography-secondary {
  font-size: 13px;
}

.password-card {
  width: min(460px, 100%);
  margin: 0;
}

.login-shell {
  isolation: isolate;
  box-sizing: border-box;
  background: var(--ant-color-fill-quaternary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-vanta-background {
  z-index: -1;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.login-vanta-background:after {
  content: "";
  background: #ffffff8f;
  position: absolute;
  inset: 0;
}

.login-vanta-background canvas {
  display: block;
  inset: 0;
  position: absolute !important;
}

.login-card {
  z-index: 1;
  background: #ffffffeb;
  width: min(420px, 100%);
  position: relative;
}

.login-footer {
  z-index: 1;
  color: var(--ant-color-text-tertiary);
  text-align: center;
  margin-top: 16px;
  position: relative;
}

.login-card .ant-typography {
  margin-bottom: 4px;
}

.login-brand {
  text-align: center;
  align-items: center;
  width: 100%;
}

.login-brand-mark {
  width: 88px;
  height: 88px;
  color: var(--ant-color-primary);
  background: none;
  border-radius: 0;
  place-items: center;
  margin-bottom: 8px;
  font-size: 42px;
  font-weight: 700;
  display: grid;
  overflow: hidden;
}

.login-brand-mark img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.settings-logo-preview {
  border: 1px dashed var(--ant-color-border);
  background: var(--ant-color-fill-quaternary);
  border-radius: 8px;
  place-items: center;
  width: 96px;
  height: 96px;
  display: grid;
  overflow: hidden;
}

.settings-logo-preview img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.login-background-options.ant-radio-group {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  display: grid;
}

.login-background-options .ant-radio-button-wrapper {
  border: 1px solid var(--ant-color-border);
  white-space: normal;
  border-radius: 8px;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  height: auto;
  min-height: 116px;
  padding: 8px;
  line-height: 1.5;
  display: flex;
  overflow: hidden;
}

.login-background-options .ant-radio-button-wrapper:before {
  display: none;
}

.login-background-options .ant-radio-button-wrapper-checked {
  border-color: var(--ant-color-primary);
  box-shadow: 0 0 0 2px var(--ant-color-primary-bg);
}

.login-background-preview {
  background: var(--ant-color-fill-quaternary);
  border-radius: 5px;
  height: 76px;
  display: block;
  overflow: hidden;
}

.login-background-preview img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.login-background-none {
  height: 100%;
  color: var(--ant-color-text-tertiary);
  place-items: center;
  font-size: 12px;
  display: grid;
}

@media (min-width: 1600px) {
  .class-students {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .class-board-row > .class-board-col {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media (max-width: 1024px) {
  .login-background-options.ant-radio-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .workspace-content {
    padding: 16px;
  }

  .workspace-header.ant-layout-header {
    padding-inline: 12px;
  }

  .cohort-selector {
    display: none;
  }

  .page-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .class-students, .login-background-options.ant-radio-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .balance-chart-card .ant-card-body {
    padding-inline: 12px;
  }

  .balance-chart-meta {
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .balance-chart-tooltip {
    position: fixed;
    top: auto;
    bottom: 16px;
    left: 50% !important;
  }

  .cohort-workflow-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
    position: static;
  }

  .cohort-workflow-brand {
    display: none;
  }

  .cohort-workflow-title {
    text-align: left;
    min-width: 0;
  }

  .cohort-workflow-title h3.ant-typography {
    max-width: none;
  }

  .cohort-workflow-content {
    width: calc(100% - 24px);
    padding-top: 12px;
  }

  .cohort-workflow-steps-card .ant-steps-item-content {
    display: none;
  }

  .cohort-workflow-stage-card > .ant-card-body {
    padding: 16px 12px;
  }

  .cohort-roster-review-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .strategy-preset-group.ant-radio-group {
    grid-template-columns: 1fr;
  }

  .embedded-section-header {
    flex-direction: column;
    gap: 12px;
  }

  .class-sizing-input-grid {
    grid-template-columns: 1fr;
  }

  .class-sizing-input-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .class-sizing-input-row > .ant-typography:last-child {
    grid-column: 1;
  }

  .class-sizing-input-compact {
    width: 100%;
  }

  .special-rule-input-row {
    grid-template-columns: 1fr auto;
  }

  .special-rule-input-row > .ant-select {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media print {
  .ant-layout-sider, .workspace-header {
    display: none !important;
  }

  .workspace-content {
    padding: 0;
  }
}

.balance-chart-group-hint {
  color: var(--ant-color-text-tertiary);
  justify-content: center;
  gap: 12px;
  margin: -2px 0 2px;
  font-size: 11px;
  display: flex;
}

.balance-group-hint-gender, .balance-group-hint-academic {
  border-radius: 4px;
  padding: 1px 6px;
}

.balance-group-hint-gender {
  color: #1677ff;
  background: #1677ff1a;
}

.balance-group-hint-academic {
  color: #722ed1;
  background: #722ed11a;
}

.balance-academic-average-line {
  stroke: #722ed1;
}

@media (max-width: 768px) {
  .balance-chart-group-hint {
    justify-content: flex-start;
  }
}

.combined-balance-chart .balance-chart-stage {
  width: 100% !important;
}

.combined-balance-chart .balance-chart-svg {
  min-width: 0;
}

.class-board-row {
  align-items: stretch;
}

.class-board-row > .class-board-col {
  align-items: stretch;
  display: flex;
}

.class-board-row > .class-board-col > .ant-card {
  width: 100%;
}

.class-board-card .ant-card-head-title, .class-board-card .ant-card-extra, .class-board-card .ant-card-extra .ant-typography {
  font-size: var(--student-font-size, 14px);
}

.class-board-card .class-board-count {
  color: #1677ff;
  font-weight: 600;
}

.class-board-card .ant-card-head .ant-tag {
  font-size: max(10px, calc(var(--student-font-size, 14px) - 3px));
}

.runs-board-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.student-font-size-control {
  flex: none;
}

.overview-board-shell:fullscreen .runs-board-panel {
  flex-direction: column;
  width: 100%;
  min-width: 1280px;
  height: calc(100vh - 16px);
  min-height: 720px;
  display: flex;
  overflow: visible;
}

.overview-board-shell:fullscreen .runs-board-toolbar {
  flex: none;
  margin-bottom: 8px;
}

.overview-board-shell:fullscreen .runs-board-panel > .class-board-row {
  flex: 1;
  min-height: 0;
}

.overview-board-shell:fullscreen {
  box-sizing: border-box;
  background: var(--ant-color-bg-layout, #f5f5f5);
  width: 100vw;
  height: 100vh;
  padding: 8px;
  position: relative;
  overflow: auto;
}

.overview-board-shell:fullscreen .overview-board-card {
  flex-direction: column;
  width: 100%;
  min-width: 1280px;
  height: calc(100vh - 16px);
  min-height: 720px;
  margin-top: 0;
  display: flex;
  overflow: hidden;
}

.overview-board-shell:fullscreen .overview-board-card > .ant-card-head {
  flex: none;
  min-height: 44px;
  padding-inline: 12px;
}

.overview-board-shell:fullscreen .overview-board-card > .ant-card-head .ant-card-head-title, .overview-board-shell:fullscreen .overview-board-card > .ant-card-head .ant-card-extra {
  padding-block: 6px;
}

.overview-board-shell:fullscreen .overview-board-card > .ant-card-body {
  flex: 1;
  min-height: 0;
  padding: 8px;
  overflow: visible;
}

.overview-board-shell:fullscreen .class-board-row {
  grid-template-columns: repeat(var(--fullscreen-class-columns), minmax(0, 1fr));
  grid-template-rows: repeat(var(--fullscreen-class-rows), minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  height: 100%;
  display: grid;
  margin: 0 !important;
}

.overview-board-shell:fullscreen .class-board-row > .class-board-col {
  min-width: 0;
  height: auto;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.overview-board-shell:fullscreen .class-board-row > .class-board-col > .ant-card {
  flex-direction: column;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-head {
  flex: none;
  min-height: 34px;
  padding-inline: 6px;
}

.overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-head .ant-card-head-title, .overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-head .ant-card-extra {
  font-size: var(--student-font-size, 16px);
  padding-block: 3px;
}

.overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-head .ant-space {
  gap: 3px !important;
}

.overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-head .ant-tag {
  font-size: max(10px, calc(var(--student-font-size, 16px) - 3px));
  margin-inline-end: 0;
  padding-inline: 3px;
  line-height: 15px;
}

.overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-body {
  flex: 1;
  min-height: 0;
  padding: 6px;
  overflow: hidden;
}

.overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-body > .ant-space {
  gap: 2px !important;
}

.overview-board-shell:fullscreen .class-board-col > .ant-card > .ant-card-body > .ant-space .ant-tag {
  margin-inline-end: 0;
  padding-inline: 3px;
  font-size: 9px;
  line-height: 14px;
}

.overview-board-shell:fullscreen .class-students {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 2px 4px;
  margin-top: 4px;
}

.overview-board-shell:fullscreen .class-students .ant-typography {
  font-size: var(--student-font-size, 16px);
  line-height: 22px;
}

.overview-board-shell:fullscreen .class-students .ant-badge {
  margin-right: 2px;
}

.overview-board-shell:fullscreen .class-students .ant-tag {
  padding-inline: 2px;
  font-size: 9px;
  line-height: 14px;
}

.overview-print-layout {
  display: none;
}

@page {
  size: A4 portrait;
  margin: 12mm;
}

@media print {
  html, body {
    background: #fff !important;
  }

  .ant-layout-sider, .workspace-header, .workspace-footer, .workspace-content-inner > :not(.overview-print-layout), .ant-drawer, .ant-modal-root {
    display: none !important;
  }

  .workspace-layout, .workspace-main, .workspace-content {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  .overview-print-layout {
    color: #111;
    display: block !important;
  }

  .cohort-workflow-shell {
    background: #fff !important;
    min-height: 0 !important;
    display: block !important;
  }

  .cohort-workflow-shell > :not(.overview-print-layout) {
    display: none !important;
  }

  .print-class-page {
    break-after: page;
    page-break-after: always;
    page-break-inside: avoid;
    min-height: 250mm;
  }

  .print-class-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .print-class-title {
    margin: 0 0 4mm;
    font-size: 20pt;
    line-height: 1.3;
  }

  .print-class-meta {
    color: #555;
    margin-bottom: 6mm;
    font-size: 10pt;
  }

  .print-student-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 8mm;
    display: grid;
  }

  .print-student-row {
    white-space: nowrap;
    border-bottom: .2mm solid #ddd;
    grid-template-columns: 14mm 6mm minmax(0, 1fr);
    gap: 1mm;
    min-width: 0;
    padding: 1mm 0;
    font-size: 8.5pt;
    line-height: 1.25;
    display: grid;
  }

  .print-student-row span {
    white-space: nowrap;
    text-overflow: clip;
    min-width: 0;
    overflow: hidden;
  }

  .print-student-row span:nth-child(2) {
    text-align: center;
  }

  .print-student-row span:nth-child(3) {
    text-align: left;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/