html body #root #main-content .teacher-home-workbench {
  --teacher-home-line: var(--ink-300, #c4c9d1);
  --teacher-home-accent: #1646ae;
  --ios-primary: var(--teacher-home-accent);
  --ios-primary-text: #fff;
}
html body #root #main-content .teacher-home-workbench > .role-home-heading {
  align-items: center;
  gap: 16px;
  padding-block-end: 20px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-inline-size: 0;
  margin: 24px 0 0;
  border: 1px solid var(--teacher-home-line);
  border-radius: var(--ios-radius-md);
  background: var(--ios-panel);
  overflow: hidden;
}
html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div {
  min-inline-size: 0;
  padding: 18px 20px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div + div {
  border-inline-start: 1px solid var(--teacher-home-line);
}
html body #root #main-content .teacher-home-workbench .teacher-home-metrics dt {
  margin: 0;
  color: var(--ios-secondary);
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-metrics dd {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 8px 0 0;
}
html body #root #main-content .teacher-home-workbench .teacher-home-metric-value {
  --ui-font-size: 28px;
  --ui-font-weight: var(--fw-strong);
  color: var(--teacher-home-accent);
  font-size: 28px;
  font-weight: var(--fw-strong);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
html body #root #main-content .teacher-home-workbench :is(.teacher-home-metric-unit, .teacher-home-metrics small) {
  color: var(--ios-secondary);
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-metrics small {
  flex-basis: 100%;
  margin-block-start: 2px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  align-items: start;
  gap: 20px;
  margin-block-start: 20px;
}
html body #root #main-content .teacher-home-workbench :is(.teacher-home-current, .teacher-home-opportunities) {
  min-inline-size: 0;
  border: 1px solid var(--teacher-home-line);
  border-radius: var(--ios-radius-md);
  background: var(--ios-panel);
  overflow: hidden;
}
html body #root #main-content .teacher-home-workbench :is(.teacher-home-section-heading, .teacher-home-opportunities > header) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 22px 24px;
  border-block-end: 1px solid var(--teacher-home-line);
}
html body #root #main-content .teacher-home-workbench :is(.teacher-home-section-heading, .teacher-home-opportunities) h2 {
  --text-card-title: 18px;
  margin: 0;
  color: var(--ios-ink);
  font-size: 18px;
  line-height: 1.5;
}
html body #root #main-content .teacher-home-workbench .teacher-home-section-heading p {
  margin: 6px 0 0;
  color: var(--ios-secondary);
  font-size: 14px;
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 12px 16px;
  padding: 16px 24px;
  border-block-end: 1px solid var(--teacher-home-line);
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-selector[data-submission-choice=false] {
  grid-template-columns: minmax(0, 1fr);
}
html body #root #main-content .teacher-home-workbench .teacher-home-selector-field {
  display: grid;
  gap: 6px;
  min-inline-size: 0;
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-selector-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-inline-size: 0;
}
html body #root #main-content .teacher-home-workbench .teacher-home-selector-heading > label {
  margin: 0;
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-selector-count {
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-selector-value {
  display: flex;
  align-items: center;
  min-block-size: 44px;
  min-inline-size: 0;
  margin: 0;
  color: var(--ios-ink);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-selector select {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  text-overflow: ellipsis;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task {
  min-inline-size: 0;
  padding: 24px;
  color: var(--ios-ink);
  overflow-wrap: anywhere;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task + .teacher-home-task {
  border-block-start: 1px solid var(--teacher-home-line);
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 10px 16px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-activity {
  flex: 1 1 220px;
  min-inline-size: 0;
  margin: 0;
  color: var(--ios-secondary);
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-activity > span {
  margin-inline-end: 10px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-status {
  flex: 0 0 auto;
  max-inline-size: 100%;
  padding: 4px 10px;
  border-radius: 6px;
  background: #eef2fb;
  color: var(--teacher-home-accent);
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-status[data-tone=action] {
  background: #fff5e6;
  color: var(--ios-warning);
}
html body #root #main-content .teacher-home-workbench :is(.teacher-home-task > h3, .teacher-home-focused-heading > h3) {
  --text-card-title: 18px;
  margin: 12px 0 8px;
  color: var(--ios-ink);
  font-size: 18px;
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-focused-heading {
  margin-block-end: 8px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-focused-heading > h3 {
  flex: 1 1 220px;
  min-inline-size: 0;
  margin: 0;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-guidance {
  margin: 0;
  color: var(--ios-secondary);
  line-height: 1.7;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress {
  margin-block-start: 20px;
  padding: 16px;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  background: #f7f8fb;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress > header > span {
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-inline-size: 0;
  padding: 8px 4px;
  text-align: center;
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > li::after {
  content: "";
  position: absolute;
  inset-block-start: 24px;
  inset-inline-start: calc(50% + 20px);
  inline-size: calc(100% - 32px);
  block-size: 2px;
  background: #d4dae5;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > li:last-child::after {
  display: none;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-node {
  display: grid;
  place-items: center;
  inline-size: 32px;
  block-size: 32px;
  border: 1px solid #d4dae5;
  border-radius: 50%;
  background: #edf0f5;
  font-variant-numeric: tabular-nums;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-node > svg {
  inline-size: 18px;
  block-size: 18px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-copy {
  display: grid;
  gap: 4px;
  min-inline-size: 0;
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > .done .teacher-home-progress-node {
  border-color: #b9c9ee;
  background: #edf2fc;
  color: var(--teacher-home-accent);
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > .done::after {
  background: #a1b6e6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > .active {
  color: var(--teacher-home-accent);
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > .active .teacher-home-progress-node {
  border-color: var(--teacher-home-accent);
  background: var(--teacher-home-accent);
  color: #fff;
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > .active .teacher-home-progress-copy {
  --ui-font-weight: var(--fw-strong);
  font-weight: var(--fw-strong);
}
html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > .stopped .teacher-home-progress-node {
  border-color: var(--ios-danger);
  color: var(--ios-danger);
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-block-start: 20px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-footer dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  min-inline-size: 0;
  margin: 0;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-footer dl > div {
  display: grid;
  gap: 4px;
  min-inline-size: 0;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-footer :is(dt, dd) {
  margin: 0;
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-footer dt {
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-footer dd {
  color: var(--ios-ink);
  font-variant-numeric: tabular-nums;
}
html body #root #main-content .teacher-home-workbench .teacher-home-deadline-note {
  display: inline-block;
  margin-inline-start: 8px;
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-task-footer > .btn {
  flex: 0 0 auto;
  max-inline-size: 100%;
}
html body #root #main-content .teacher-home-workbench .teacher-home-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 48px) 24px;
  text-align: center;
}
html body #root #main-content .teacher-home-workbench .teacher-home-empty-icon {
  display: grid;
  place-items: center;
  inline-size: 52px;
  block-size: 52px;
  border-radius: 14px;
  background: #eef2fb;
  color: var(--teacher-home-accent);
}
html body #root #main-content .teacher-home-workbench .teacher-home-empty-icon svg {
  inline-size: 24px;
  block-size: 24px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-empty > h3 {
  --text-card-title: 20px;
  margin: 2px 0 0;
  color: var(--ios-ink);
}
html body #root #main-content .teacher-home-workbench .teacher-home-empty > p {
  max-inline-size: 34em;
  margin: 0;
  color: var(--ios-secondary);
  line-height: 1.8;
}
html body #root #main-content .teacher-home-workbench .teacher-home-empty > .btn {
  margin-block-start: 6px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities > header {
  padding: 22px 20px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities > header > span {
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities ul {
  margin: 0;
  padding: 0 20px;
  list-style: none;
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities li {
  padding-block: 20px;
  overflow-wrap: anywhere;
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities li + li {
  border-block-start: 1px solid var(--teacher-home-line);
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities h3 {
  --text-card-title: 16px;
  margin: 0 0 10px;
  color: var(--ios-ink);
  line-height: 1.6;
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities li > p {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--ios-secondary);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
html body #root #main-content .teacher-home-workbench .teacher-home-opportunities > .btn {
  inline-size: calc(100% - 40px);
  margin: 0 20px 20px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-no-opportunities {
  padding: 24px 20px;
}
html body #root #main-content .teacher-home-workbench .teacher-home-no-opportunities p {
  margin: 0;
  color: var(--ios-secondary);
  line-height: 1.8;
}
html body #root #main-content .teacher-home-workbench .teacher-home-tasks-dialog > .dialog {
  display: flex;
  flex-direction: column;
  inline-size: min(900px, 100%);
  max-inline-size: 100%;
  max-block-size: 100%;
  min-inline-size: 0;
  overflow: hidden;
}
html body #root #main-content .teacher-home-workbench .teacher-home-tasks-dialog > .dialog > header {
  flex: 0 0 auto;
}
html body #root #main-content .teacher-home-workbench .teacher-home-tasks-dialog .dialog-body {
  display: flex;
  flex-direction: column;
  min-block-size: 0;
  overflow: hidden;
  padding: 0;
}
html body #root #main-content .teacher-home-workbench .teacher-home-tasks-dialog-content {
  min-block-size: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
html body #root #main-content .teacher-home-workbench .teacher-home-dialog-intro {
  margin: 0;
  padding: 16px 24px;
  border-block-end: 1px solid var(--teacher-home-line);
  color: var(--ios-secondary);
}
html body #root #main-content .teacher-home-workbench .teacher-home-tasks-dialog .dialog-body > footer {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding: 16px 24px;
  border-block-start: 1px solid var(--teacher-home-line);
}
html body #root #main-content .teacher-home-workbench :is(h2, h3, p, time, .btn) {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  html body #root #main-content .teacher-home-workbench .teacher-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 850px) {
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div:nth-child(3n+1) {
    border-inline-start: 0;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div:nth-child(n+4) {
    border-block-start: 1px solid var(--teacher-home-line);
  }
}
@media (max-width: 600px) {
  html body #root #main-content .teacher-home-workbench > .role-home-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-layout {
    gap: 16px;
    margin-block-start: 16px;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block-start: 16px;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div {
    padding: 16px;
    border-inline-start: 0;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div:nth-child(2n) {
    border-inline-start: 1px solid var(--teacher-home-line);
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div:nth-child(2n+1) {
    border-inline-start: 0;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div:nth-child(n+3) {
    border-block-start: 1px solid var(--teacher-home-line);
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-metrics > div:last-child {
    grid-column: 1 / -1;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-progress-selector {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-progress {
    padding: 12px;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    margin-block-start: 12px;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > li {
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: 12px;
    text-align: start;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-progress-flow > li::after {
    inset-block-start: calc(50% + 19px);
    inset-inline-start: 19px;
    inline-size: 2px;
    block-size: calc(100% - 33px);
  }
  html body #root #main-content .teacher-home-workbench :is(.teacher-home-section-heading, .teacher-home-task, .teacher-home-dialog-intro) {
    padding: 16px;
  }
  html body #root #main-content .teacher-home-workbench .teacher-home-task-footer {
    align-items: start;
  }
}
