/* 学员今日任务使用独立页面骨架，不继承全局顶部栏和模块侧边栏布局。 */
body.student-workbench-shell {
  --student-topbar-width: min(1380px, 100%);
  --student-outer-gutter: 18px;
  --student-side-width: 162px;
  --student-rail-content-width: 100%;
  --student-rail-right-gap: 12px;
  --student-topbar-block: 95px;
  --student-paper: #fffdf5;
  --student-paper-deep: #fff7e8;
  --student-ink: #5f5042;
  --student-ink-strong: #47382e;
  --student-muted: #948470;
  --student-blue: #39ace4;
  --student-blue-deep: #1685c1;
  --student-blue-soft: #ddf6ff;
  --student-green: #58cf67;
  --student-green-soft: #e8ffe8;
  --student-amber: #ffd45e;
  --student-amber-soft: #fff2c4;
  --student-coral: #e9795c;
  --student-coral-soft: #fff0e9;
  --student-line: #ead8a9;
  --student-card: rgba(255, 255, 250, 0.9);
  --student-card-solid: #fffefa;
  --student-shadow: 0 14px 30px rgba(96, 74, 46, 0.12);
  --student-shadow-soft: 0 8px 18px rgba(51, 137, 177, 0.12);
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle, rgba(255, 213, 94, 0.24) 1px, transparent 2px) 0 0 / 22px 22px,
    radial-gradient(circle, rgba(69, 174, 218, 0.16) 1px, transparent 2px) 11px 11px / 22px 22px,
    linear-gradient(180deg, var(--student-paper), var(--student-paper-deep));
  color: var(--student-ink);
  font-family: "Comic Sans MS", "Marker Felt", "Chalkboard SE", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.student-workbench-shell .app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

body.student-workbench-shell .sidebar,
body.student-workbench-shell .sidebar-backdrop,
body[data-shell-mode="student-workbench"] .app-shell > .main > .topbar,
body[data-shell-mode="student-workbench"] .app-shell > .sidebar,
body[data-shell-mode="student-workbench"] .sidebar-backdrop,
body[data-shell-mode="student-workbench"] .mobile-topbar-scrim,
body[data-shell-mode="student-workbench"] .mobile-topbar-panel {
  display: none !important;
}

body.student-workbench-shell .app-shell > .main {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: visible;
  background: transparent;
}

body.student-workbench-shell .view {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

body.student-workbench-shell .daily-task-module-content,
body.student-workbench-shell .daily-task-student-dashboard {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
}

body.student-workbench-shell .daily-task-student-workbench {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: var(--student-side-width) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "rail content";
  align-items: start;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(
    90deg,
    rgba(216, 243, 253, 0.98) 0 var(--student-side-width),
    transparent var(--student-side-width)
  );
}

body.student-workbench-shell .daily-task-student-workbench::before {
  content: none;
}

body.student-workbench-shell .daily-task-student-rail {
  all: unset;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  grid-area: rail;
  align-items: center;
  align-self: start;
  gap: 12px;
  width: var(--student-side-width);
  height: 100vh;
  padding: 16px 12px;
  overflow-y: auto;
  border-right: 4px dashed rgba(103, 184, 211, 0.35);
  background: linear-gradient(180deg, rgba(223, 246, 255, 0.98), rgba(205, 239, 252, 0.98));
}

body.student-workbench-shell .daily-task-capybara-brand {
  all: unset;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: var(--student-rail-content-width);
  text-align: center;
}

body.student-workbench-shell .daily-task-capybara-avatar {
  all: unset;
  box-sizing: border-box;
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(96, 74, 46, 0.16);
}

body.student-workbench-shell .daily-task-capybara-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.student-workbench-shell .daily-task-capybara-brand strong {
  display: block;
  color: var(--student-blue-deep);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.08;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.95);
}

body.student-workbench-shell .daily-task-capybara-nav {
  all: unset;
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  width: var(--student-rail-content-width);
}

body.student-workbench-shell .daily-task-capybara-nav-item {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 9px 6px;
  border: 2px solid rgba(232, 219, 184, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--student-ink-strong);
  text-align: center;
  box-shadow: 0 7px 16px rgba(51, 137, 177, 0.11);
  cursor: pointer;
}

body.student-workbench-shell .daily-task-capybara-nav-item.active {
  border-color: var(--student-green);
  background: linear-gradient(180deg, #f7fff5, #eaffea);
  box-shadow: inset 0 0 0 2px rgba(88, 207, 103, 0.28), 0 9px 16px rgba(54, 174, 73, 0.15);
}

body.student-workbench-shell .daily-task-capybara-nav-item.done::after {
  content: "✓";
  position: absolute;
  top: -10px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--student-green);
  color: #ffffff;
  font-size: 19px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(51, 137, 177, 0.12);
}

body.student-workbench-shell .daily-task-capybara-nav-item > span {
  display: block;
  font-size: 29px;
  line-height: 1;
}

body.student-workbench-shell .daily-task-capybara-nav-item strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

body.student-workbench-shell .daily-task-capybara-nav-item small,
body.student-workbench-shell .daily-task-capybara-nav-item em {
  display: none;
}

body.student-workbench-shell .student-workbench-main {
  all: unset;
  box-sizing: border-box;
  display: block;
  grid-area: content;
  min-width: 0;
  padding: 18px var(--student-outer-gutter);
}

body.student-workbench-shell .student-workbench-topbar {
  box-sizing: border-box;
  position: sticky;
  top: 12px;
  z-index: 40;
  display: grid;
  grid-area: topbar;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: var(--student-topbar-width);
  min-height: 0;
  margin: 0 auto 18px;
  padding: 9px;
  border: 3px solid #f0dfba;
  border-radius: 24px;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: 0 14px 30px rgba(96, 74, 46, 0.12);
  backdrop-filter: blur(12px);
}

body.student-workbench-shell .student-workbench-home-button {
  all: unset;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto;
  place-items: center;
  gap: 1px;
  width: 68px;
  height: 56px;
  padding: 5px 2px 4px;
  border: 2px solid rgba(224, 211, 181, 0.9);
  border-radius: 16px;
  background: #ffffff;
  color: #1f2933;
  box-shadow: 0 8px 16px rgba(45, 169, 66, 0.12);
  cursor: pointer;
}

body.student-workbench-shell .student-workbench-home-button svg,
body.student-workbench-shell .student-workbench-mobile-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.student-workbench-shell .student-workbench-home-button span {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

body.student-workbench-shell .student-workbench-module-nav {
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.05);
}

body.student-workbench-shell .student-workbench-module-group {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1 1 72px;
  min-width: 0;
}

body.student-workbench-shell .student-workbench-module-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 59;
  display: none;
  width: min(520px, calc(100vw - 48px));
  height: 14px;
}

body.student-workbench-shell .student-workbench-module-group:nth-last-child(-n + 3)::after {
  right: 0;
  left: auto;
}

body.student-workbench-shell .student-workbench-module-group:hover::after,
body.student-workbench-shell .student-workbench-module-group:focus-within::after {
  display: block;
}

body.student-workbench-shell .student-workbench-module-pill {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #344054;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.14;
  white-space: nowrap;
  cursor: pointer;
}

body.student-workbench-shell .student-workbench-module-pill.active,
body.student-workbench-shell .student-workbench-module-group:hover .student-workbench-module-pill,
body.student-workbench-shell .student-workbench-module-group:focus-within .student-workbench-module-pill {
  border-color: #75c9e9;
  background: linear-gradient(180deg, #e6fbff, #caf0ff);
  color: var(--student-blue-deep);
  box-shadow: 0 6px 0 rgba(118, 198, 232, 0.24);
}

body.student-workbench-shell .student-workbench-module-panel {
  box-sizing: border-box;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: none;
  width: min(520px, calc(100vw - 48px));
  padding: 14px;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(16, 24, 40, 0.16);
}

body.student-workbench-shell .student-workbench-module-group:nth-last-child(-n + 3) .student-workbench-module-panel {
  right: 0;
  left: auto;
}

body.student-workbench-shell .student-workbench-module-group:hover .student-workbench-module-panel,
body.student-workbench-shell .student-workbench-module-group:focus-within .student-workbench-module-panel {
  display: block;
}

body.student-workbench-shell .student-workbench-module-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3e8ef;
}

body.student-workbench-shell .student-workbench-module-panel-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

body.student-workbench-shell .student-workbench-module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 360px;
  padding-top: 10px;
  overflow-y: auto;
}

body.student-workbench-shell .student-workbench-module-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 72px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #344054;
  text-decoration: none;
}

body.student-workbench-shell .student-workbench-module-link:hover,
body.student-workbench-shell .student-workbench-module-link.active {
  border-color: #a9dcef;
  background: #eaf8fe;
}

body.student-workbench-shell .student-workbench-module-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #a9dcef;
  border-radius: 8px;
  background: #eaf8fe;
  color: var(--student-blue-deep);
}

body.student-workbench-shell .student-workbench-module-link > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.student-workbench-shell .student-workbench-module-link strong {
  color: #344054;
  font-size: 13px;
  line-height: 1.25;
}

body.student-workbench-shell .student-workbench-module-link small {
  color: #667085;
  font-size: 11px;
  line-height: 1.3;
}

body.student-workbench-shell .student-workbench-account-zone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

body.student-workbench-shell .student-workbench-language {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 2px solid rgba(224, 211, 181, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

body.student-workbench-shell .student-workbench-language-button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 12px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

body.student-workbench-shell .student-workbench-language-button.active,
body.student-workbench-shell .student-workbench-language-button:disabled {
  background: #7ec4d8;
  color: #ffffff;
  cursor: default;
}

body.student-workbench-shell .student-workbench-notification-menu,
body.student-workbench-shell .student-workbench-account-menu {
  position: relative;
  min-width: 0;
}

body.student-workbench-shell .student-workbench-notification-trigger {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(202, 218, 226, 0.95);
  border-radius: 16px;
  background: #ffffff;
  color: #55473c;
  box-shadow: 0 8px 16px rgba(85, 96, 124, 0.08);
  cursor: pointer;
}

body.student-workbench-shell .student-workbench-account-trigger {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  padding: 6px 14px 6px 8px;
  border: 2px solid #bee7d0;
  border-radius: 18px;
  background: #f1fff1;
  color: #344054;
  box-shadow: 0 10px 20px rgba(90, 126, 156, 0.08);
  cursor: pointer;
}

body.student-workbench-shell .student-workbench-account-avatar {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #e3e8ef;
}

body.student-workbench-shell .student-workbench-account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

body.student-workbench-shell .student-workbench-account-brief {
  display: grid;
  gap: 1px;
  min-width: 0;
  text-align: left;
}

body.student-workbench-shell .student-workbench-account-brief strong,
body.student-workbench-shell .student-workbench-account-brief span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.student-workbench-shell .student-workbench-account-brief strong {
  color: #344054;
  font-size: 16px;
  line-height: 1.1;
}

body.student-workbench-shell .student-workbench-account-brief span {
  max-width: 150px;
  color: #62708a;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.1;
}

body.student-workbench-shell .student-workbench-account-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.student-workbench-shell .student-workbench-notification-popover,
body.student-workbench-shell .student-workbench-account-popover {
  box-sizing: border-box;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

body.student-workbench-shell .student-workbench-notification-popover {
  width: min(360px, calc(100vw - 48px));
}

body.student-workbench-shell .student-workbench-account-popover {
  width: min(390px, calc(100vw - 48px));
}

body.student-workbench-shell .student-workbench-notification-menu:hover .student-workbench-notification-popover,
body.student-workbench-shell .student-workbench-notification-menu:focus-within .student-workbench-notification-popover,
body.student-workbench-shell .student-workbench-account-menu:hover .student-workbench-account-popover,
body.student-workbench-shell .student-workbench-account-menu:focus-within .student-workbench-account-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.student-workbench-shell .student-workbench-account-menu:hover .student-workbench-account-chevron,
body.student-workbench-shell .student-workbench-account-menu:focus-within .student-workbench-account-chevron {
  transform: rotate(180deg);
}

body.student-workbench-shell .student-workbench-notification-head,
body.student-workbench-shell .student-workbench-account-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.student-workbench-shell .student-workbench-notification-head > span,
body.student-workbench-shell .student-workbench-account-profile .user-chip {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.student-workbench-shell .student-workbench-notification-head small,
body.student-workbench-shell .student-workbench-account-profile .user-chip span {
  color: #667085;
  font-size: 12px;
}

body.student-workbench-shell .student-workbench-notification-head > button,
body.student-workbench-shell .student-workbench-account-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d7e1e8;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}

body.student-workbench-shell .student-workbench-notification-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  color: var(--student-blue-deep);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

body.student-workbench-shell .student-workbench-account-profile {
  justify-content: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e8ef;
}

body.student-workbench-shell .student-workbench-account-section {
  display: grid;
  gap: 8px;
}

body.student-workbench-shell .student-workbench-account-section > span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

body.student-workbench-shell .student-workbench-account-section .identity-switcher {
  justify-content: flex-start;
  max-width: none;
}

body.student-workbench-shell .student-workbench-account-tenant {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.student-workbench-shell .student-workbench-feedback-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid #d7e1e8;
  border-radius: 8px;
  color: #344054;
  text-decoration: none;
}

body.student-workbench-shell .student-workbench-feedback-link > span:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.student-workbench-shell .student-workbench-feedback-link small {
  color: #667085;
  font-size: 11px;
}

body.student-workbench-shell .student-workbench-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.student-workbench-shell .student-workbench-mobile-scrim,
body.student-workbench-shell .student-workbench-mobile-panel {
  display: none;
}

body.student-workbench-shell .student-workbench-mobilebar {
  grid-area: topbar;
  display: none;
}

body.student-workbench-shell .capybara-student-page {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 16px;
  align-items: start;
  width: min(1380px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 0 0 36px;
}

body.student-workbench-shell .capybara-student-main-card,
body.student-workbench-shell .capybara-side-panel {
  overflow: hidden;
  border: 5px solid rgba(232, 203, 138, 0.72);
  border-radius: 38px;
  background: rgba(255, 253, 242, 0.95);
  box-shadow: 0 15px 0 rgba(235, 200, 123, 0.16), 0 24px 46px rgba(155, 111, 48, 0.13);
}

body.student-workbench-shell .capybara-student-main-card {
  min-width: 0;
  padding: 0 0 26px;
}

body.student-workbench-shell .capybara-student-main-head,
body.student-workbench-shell .capybara-side-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px 18px;
  border-bottom: 3px dashed var(--student-line);
}

body.student-workbench-shell .capybara-student-main-head h2,
body.student-workbench-shell .capybara-side-panel h2 {
  margin: 0;
  color: #1792c7;
  font-size: 30px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-student-main-head p,
body.student-workbench-shell .capybara-side-panel p {
  margin: 8px 0 0;
  color: var(--student-muted);
  font-size: 16px;
  font-weight: 800;
}

body.student-workbench-shell .capybara-student-main-head > span,
body.student-workbench-shell .capybara-side-panel-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 2px solid #a9dcef;
  border-radius: 999px;
  background: var(--student-blue-soft);
  color: #178cc1;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-student-hero {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 24px 8px;
}

body.student-workbench-shell .capybara-student-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

body.student-workbench-shell .capybara-date-line {
  margin: 0;
  color: #796a54;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.15;
}

body.student-workbench-shell .capybara-kicker {
  margin: 8px 0;
  color: #179d42;
  font-size: 16px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-student-hero h3 {
  margin: 0;
  color: var(--student-blue);
  font-size: 68px;
  font-weight: 950;
  line-height: 0.95;
  text-shadow: 0 5px 0 rgba(179, 224, 238, 0.72);
}

body.student-workbench-shell .capybara-blessing {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 14px;
  border: 4px solid #f8c864;
  border-radius: 999px;
  background: #fff4cd;
  color: #ba8124;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 0 rgba(250, 206, 74, 0.18);
}

body.student-workbench-shell .capybara-student-hero-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  margin: 0 10px 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(89, 126, 156, 0.12);
}

body.student-workbench-shell .capybara-student-hero-avatar img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  object-position: center;
}

body.student-workbench-shell .capybara-scene-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  margin: 12px 24px 0;
  padding: 0 26px 0 42px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--student-blue-deep), #46bce8);
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 10px 0 rgba(32, 174, 222, 0.12);
}

body.student-workbench-shell .capybara-scene-ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -34px;
  width: 34px;
  height: 100%;
  background: var(--student-blue-deep);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

body.student-workbench-shell .capybara-task-path {
  margin: 18px 24px 10px;
  color: #6e563f;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
}

body.student-workbench-shell .capybara-dashed-divider {
  margin: 16px 24px;
  border-top: 4px dashed var(--student-line);
}

body.student-workbench-shell .capybara-progress-row {
  display: grid;
  gap: 12px;
  margin: 0 24px 18px;
}

body.student-workbench-shell .capybara-progress-row strong {
  display: block;
  color: var(--student-ink-strong);
  font-size: 18px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-progress-row span {
  color: var(--student-muted);
  font-size: 14px;
  font-weight: 800;
}

body.student-workbench-shell .capybara-progress-track {
  position: relative;
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f0e2, #ebe5d8);
}

body.student-workbench-shell .capybara-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--student-blue), #7ad3ef);
}

body.student-workbench-shell .capybara-task-list {
  display: grid;
  gap: 12px;
  padding: 0 24px;
}

body.student-workbench-shell .capybara-task-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(226px, 244px);
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 14px 16px;
  border: 3px solid rgba(214, 186, 129, 0.8);
  border-radius: 26px;
  background: linear-gradient(180deg, #fffdf7, #fffaf0);
  box-shadow: 0 9px 20px rgba(135, 101, 54, 0.08);
}

body.student-workbench-shell .capybara-task-card.todo {
  box-shadow: inset 6px 0 0 #4fb1dd, 0 9px 20px rgba(135, 101, 54, 0.08);
}

body.student-workbench-shell .capybara-task-card.pending_review,
body.student-workbench-shell .capybara-task-card.passed,
body.student-workbench-shell .capybara-task-card.completed,
body.student-workbench-shell .capybara-task-card.student-complete {
  border-color: rgba(88, 190, 104, 0.72);
  background: linear-gradient(180deg, #f6fff2, #ecfae8);
  box-shadow: inset 6px 0 0 var(--student-green), 0 9px 20px rgba(135, 101, 54, 0.08);
}

body.student-workbench-shell .capybara-task-card.revision_required,
body.student-workbench-shell .capybara-task-card.overdue {
  box-shadow: inset 6px 0 0 #ff8ea1, 0 9px 20px rgba(135, 101, 54, 0.08);
}

body.student-workbench-shell .capybara-task-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 2px rgba(214, 186, 129, 0.22);
  font-size: 26px;
  line-height: 1;
}

body.student-workbench-shell .capybara-task-copy strong {
  display: block;
  color: var(--student-ink-strong);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
}

body.student-workbench-shell .capybara-task-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

body.student-workbench-shell .capybara-task-title-row strong {
  min-width: 0;
}

body.student-workbench-shell .capybara-task-title-row em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 2px solid #55bd68;
  border-radius: 999px;
  background: #ffffff;
  color: #278b45;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-task-mode {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 2px solid rgba(22, 153, 199, 0.4);
  border-radius: 999px;
  background: var(--student-blue-soft);
  color: var(--student-blue-deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-task-mode.attachment {
  border-color: rgba(214, 186, 129, 0.8);
  background: #fff6df;
  color: #806039;
}

body.student-workbench-shell .capybara-task-copy span {
  display: block;
  margin-top: 6px;
  color: var(--student-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

body.student-workbench-shell .capybara-task-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 3px solid #1699c7;
  border-radius: 16px;
  background: #1ea1cf;
  color: #ffffff;
  box-shadow: 0 8px 0 rgba(31, 117, 152, 0.18);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-task-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  width: 100%;
}

body.student-workbench-shell .capybara-task-action.quick-complete,
body.student-workbench-shell .capybara-task-action.completed {
  border-color: #45b958;
  background: #59c96d;
  color: #ffffff;
  box-shadow: 0 8px 0 rgba(48, 145, 67, 0.18);
}

body.student-workbench-shell .capybara-task-action.undo-complete {
  border-color: #e5c478;
  background: #fffaf0;
  color: #765936;
  box-shadow: 0 8px 0 rgba(187, 147, 74, 0.14);
}

body.student-workbench-shell .capybara-task-action.undo-complete:hover {
  border-color: #d8ad4f;
  background: #fff4d7;
}

body.student-workbench-shell .capybara-task-action[aria-busy="true"] {
  opacity: 0.72;
  cursor: wait;
}

body.student-workbench-shell .capybara-task-action.secondary {
  border-color: #e8cf97;
  background: #ffffff;
  color: #6b5139;
  box-shadow: 0 8px 0 rgba(226, 196, 141, 0.12);
}

body.student-workbench-shell .capybara-task-action.archived {
  border-color: #d9d4ca;
  background: #f6f3ec;
  color: #8a7b6c;
  box-shadow: none;
}

body.student-workbench-shell .capybara-task-review-note {
  grid-column: 1 / -1;
  color: #6b7c48;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

body.student-workbench-shell .capybara-task-message {
  grid-column: 2 / -1;
  color: #b42318;
  font-size: 12px;
  font-weight: 850;
}

body.student-workbench-shell .capybara-task-message:empty {
  display: none;
}

body.student-workbench-shell .capybara-task-message.ok {
  color: #278b45;
}

body.student-workbench-shell .capybara-empty-task {
  display: grid;
  gap: 6px;
  margin: 0 24px;
  padding: 18px 18px 20px;
  border: 3px dashed var(--student-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--student-muted);
}

body.student-workbench-shell .capybara-empty-task strong {
  color: #1792c7;
  font-size: 18px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-student-aside {
  min-width: 0;
}

body.student-workbench-shell .capybara-side-panel {
  padding-bottom: 8px;
}

body.student-workbench-shell .capybara-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px 8px;
}

body.student-workbench-shell .capybara-summary-strip > span {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 100px;
  padding: 16px 12px;
  border: 3px solid rgba(232, 203, 138, 0.68);
  border-radius: 24px;
  background: #fffef8;
  color: var(--student-muted);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(135, 101, 54, 0.08);
}

body.student-workbench-shell .capybara-summary-strip strong {
  color: var(--student-ink-strong);
  font-size: 38px;
  font-weight: 950;
  line-height: 1;
}

body.student-workbench-shell .capybara-checklist {
  display: grid;
  gap: 12px;
  padding: 8px 24px 18px;
}

body.student-workbench-shell .capybara-checklist article {
  padding: 16px 16px 14px;
  border: 3px dashed var(--student-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

body.student-workbench-shell .capybara-checklist strong {
  display: block;
  color: #1792c7;
  font-size: 18px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-checklist span {
  display: block;
  margin-top: 8px;
  color: var(--student-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

body.student-workbench-shell .capybara-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

body.student-workbench-shell .capybara-quick-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid #e8cf97;
  border-radius: 16px;
  background: #ffffff;
  color: #6b5139;
  box-shadow: 0 8px 18px rgba(135, 101, 54, 0.08);
}

@media (max-width: 1320px) {
  body.student-workbench-shell .capybara-student-hero h3 {
    font-size: 58px;
  }
}

@media (max-width: 1180px) {
  body.student-workbench-shell .student-workbench-account-brief span {
    display: none;
  }

  body.student-workbench-shell .student-workbench-module-nav {
    gap: 3px;
    padding-inline: 6px;
  }

  body.student-workbench-shell .student-workbench-module-pill {
    padding-inline: 6px;
    font-size: 14px;
  }

}

@media (max-width: 1080px) {
  body.student-workbench-mobile-panel-open {
    overflow: hidden;
  }

  body.student-workbench-shell {
    --student-side-width: 78px;
    --student-rail-content-width: 100%;
    --student-rail-right-gap: 6px;
    --student-topbar-block: 56px;
  }

  body.student-workbench-shell .student-workbench-main {
    padding: 8px;
  }

  body.student-workbench-shell .student-workbench-topbar {
    display: none;
  }

  body.student-workbench-shell .student-workbench-mobilebar {
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: 38px 38px minmax(0, 1fr) 58px 58px;
    gap: 6px;
    align-items: center;
    width: auto;
    min-height: var(--student-topbar-block);
    margin: -8px -8px 10px;
    padding: 7px;
    border-bottom: 3px dashed rgba(103, 184, 211, 0.35);
    background: rgba(223, 246, 255, 0.95);
  }

  body.student-workbench-shell .student-workbench-mobilebar > strong {
    overflow: hidden;
    color: var(--student-blue-deep);
    font-size: 14px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.student-workbench-shell .student-workbench-mobile-icon,
  body.student-workbench-shell .student-workbench-mobilebar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 9px;
    border: 2px solid rgba(224, 211, 181, 0.86);
    border-radius: 12px;
    background: #ffffff;
    color: var(--student-ink-strong);
    font-size: 12px;
    font-weight: 900;
  }

  body.student-workbench-shell .student-workbench-mobile-icon {
    width: 38px;
    padding: 0;
  }

  body.student-workbench-shell .student-workbench-mobile-scrim:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 79;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(31, 41, 51, 0.34);
  }

  body.student-workbench-shell .student-workbench-mobile-panel:not([hidden]) {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    width: min(390px, 88vw);
    padding: 14px;
    overflow-y: auto;
    border-left: 3px solid #f0dfba;
    background: #fffdf5;
    box-shadow: -20px 0 48px rgba(74, 58, 47, 0.18);
  }

  body.student-workbench-shell .student-workbench-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--student-line);
  }

  body.student-workbench-shell .student-workbench-mobile-panel-head > div,
  body.student-workbench-shell .student-workbench-mobile-panel-head > div > span {
    display: grid;
    gap: 2px;
  }

  body.student-workbench-shell .student-workbench-mobile-panel-head span {
    color: var(--student-muted);
    font-size: 12px;
  }

  body.student-workbench-shell .student-workbench-mobile-panel-head > button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    background: #ffffff;
    color: var(--student-ink-strong);
    font-size: 22px;
  }

  body.student-workbench-shell .student-workbench-mobile-module-groups {
    display: grid;
    gap: 16px;
    padding-top: 14px;
  }

  body.student-workbench-shell .student-workbench-mobile-module-group {
    display: grid;
    gap: 8px;
  }

  body.student-workbench-shell .student-workbench-mobile-module-group > strong {
    color: var(--student-blue-deep);
    font-size: 13px;
  }

  body.student-workbench-shell .student-workbench-mobile-module-group > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.student-workbench-shell .student-workbench-mobile-module-link {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 9px;
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    background: #ffffff;
    color: #344054;
    text-decoration: none;
  }

  body.student-workbench-shell .student-workbench-mobile-module-link.active {
    border-color: #75c9e9;
    background: #eaf8fe;
    color: var(--student-blue-deep);
  }

  body.student-workbench-shell .student-workbench-mobile-module-link > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  body.student-workbench-shell .student-workbench-mobile-module-link small {
    overflow: hidden;
    color: #667085;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.student-workbench-shell .student-workbench-mobile-account-profile {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 14px 0;
  }

  body.student-workbench-shell .student-workbench-mobile-account-avatar {
    display: block;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
  }

  body.student-workbench-shell .student-workbench-mobile-account-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.student-workbench-shell .student-workbench-mobile-account-profile > span {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  body.student-workbench-shell .student-workbench-mobile-account-profile small {
    overflow: hidden;
    color: #667085;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.student-workbench-shell .student-workbench-mobile-account-section,
  body.student-workbench-shell .student-workbench-mobile-account-actions {
    display: grid;
    gap: 10px;
    padding-top: 14px;
  }

  body.student-workbench-shell .student-workbench-mobile-account-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.student-workbench-shell .student-workbench-mobile-account-actions a,
  body.student-workbench-shell .student-workbench-mobile-account-actions button,
  body.student-workbench-shell .student-workbench-mobile-tenant-controls > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
  }

  body.student-workbench-shell .student-workbench-mobile-tenant-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
  }

  body.student-workbench-shell .student-workbench-mobile-tenant-controls > label,
  body.student-workbench-shell .student-workbench-mobile-tenant-controls > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    background: #ffffff;
  }

  body.student-workbench-shell .student-workbench-mobile-tenant-controls select {
    min-width: 0;
    max-width: 180px;
  }

  body.student-workbench-shell .daily-task-student-rail {
    gap: 8px;
    padding: 10px 6px;
  }

  body.student-workbench-shell .daily-task-capybara-avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.student-workbench-shell .daily-task-capybara-brand strong {
    font-size: 13px;
  }

  body.student-workbench-shell .daily-task-capybara-nav {
    gap: 8px;
  }

  body.student-workbench-shell .daily-task-capybara-nav-item {
    min-height: 62px;
    padding: 5px 3px;
    border-radius: 16px;
  }

  body.student-workbench-shell .daily-task-capybara-nav-item > span {
    font-size: 21px;
  }

  body.student-workbench-shell .daily-task-capybara-nav-item strong {
    font-size: 12px;
  }

  body.student-workbench-shell .daily-task-capybara-nav-item.done::after {
    top: -7px;
    right: -5px;
    width: 23px;
    height: 23px;
    font-size: 15px;
  }

  body.student-workbench-shell .capybara-student-page {
    grid-template-columns: minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-student-main-card,
  body.student-workbench-shell .capybara-side-panel {
    border-width: 3px;
    border-radius: 28px;
  }

  body.student-workbench-shell .capybara-student-hero h3 {
    font-size: 50px;
  }
}

@media (max-width: 560px) {
  body.student-workbench-shell {
    --student-side-width: 78px;
    --student-rail-content-width: 100%;
    --student-rail-right-gap: 6px;
  }

  body.student-workbench-shell .student-workbench-main {
    padding: 8px;
  }

  body.student-workbench-shell .daily-task-student-rail {
    padding: 10px 6px;
  }

  body.student-workbench-shell .daily-task-capybara-avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.student-workbench-shell .daily-task-capybara-brand strong {
    font-size: 13px;
  }

  body.student-workbench-shell .daily-task-capybara-nav-item {
    min-height: 62px;
    padding: 5px 3px;
    border-radius: 16px;
  }

  body.student-workbench-shell .daily-task-capybara-nav-item > span {
    font-size: 21px;
  }

  body.student-workbench-shell .daily-task-capybara-nav-item strong {
    font-size: 12px;
  }

  body.student-workbench-shell .student-workbench-mobilebar {
    grid-template-columns: 34px 34px minmax(0, 1fr) 50px 50px;
    gap: 5px;
    margin-inline: -8px;
  }

  body.student-workbench-shell .student-workbench-mobile-icon,
  body.student-workbench-shell .student-workbench-mobilebar button {
    min-height: 34px;
    padding-inline: 7px;
  }

  body.student-workbench-shell .student-workbench-mobile-icon {
    width: 34px;
    padding: 0;
  }

  body.student-workbench-shell .capybara-student-main-head,
  body.student-workbench-shell .capybara-side-panel-head {
    flex-wrap: wrap;
    padding: 16px 14px 14px;
  }

  body.student-workbench-shell .capybara-student-main-head h2,
  body.student-workbench-shell .capybara-side-panel h2 {
    font-size: 25px;
  }

  body.student-workbench-shell .capybara-student-hero {
    flex-wrap: wrap;
    padding: 16px 14px 8px;
  }

  body.student-workbench-shell .capybara-date-line {
    font-size: 18px;
  }

  body.student-workbench-shell .capybara-kicker {
    font-size: 13px;
  }

  body.student-workbench-shell .capybara-student-hero h3 {
    font-size: 36px;
  }

  body.student-workbench-shell .capybara-student-hero-avatar {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  body.student-workbench-shell .capybara-student-hero-avatar img {
    width: 60px;
    height: 60px;
  }

  body.student-workbench-shell .capybara-scene-ribbon {
    width: calc(100% - 28px);
    min-height: 48px;
    margin: 12px 14px 0;
    padding: 8px 14px;
    border-radius: 0 22px 22px 0;
    font-size: 16px;
    line-height: 1.25;
  }

  body.student-workbench-shell .capybara-scene-ribbon::before {
    left: -24px;
    width: 24px;
  }

  body.student-workbench-shell .capybara-task-path {
    margin: 14px 14px 8px;
    font-size: 17px;
  }

  body.student-workbench-shell .capybara-dashed-divider,
  body.student-workbench-shell .capybara-progress-row {
    margin-right: 14px;
    margin-left: 14px;
  }

  body.student-workbench-shell .capybara-task-list,
  body.student-workbench-shell .capybara-summary-strip,
  body.student-workbench-shell .capybara-checklist,
  body.student-workbench-shell .capybara-quick-actions {
    padding-right: 14px;
    padding-left: 14px;
  }

  body.student-workbench-shell .capybara-task-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 12px;
    border-radius: 20px;
  }

  body.student-workbench-shell .capybara-task-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.student-workbench-shell .capybara-task-action {
    grid-column: auto;
  }

  body.student-workbench-shell .capybara-task-message {
    grid-column: 1 / -1;
  }

  body.student-workbench-shell .capybara-summary-strip {
    grid-template-columns: 1fr;
  }

  body.student-workbench-shell .capybara-quick-actions button {
    flex: 1 1 calc(50% - 5px);
  }
}

body.student-workbench-shell .capybara-student-main-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: stretch;
}

body.student-workbench-shell .capybara-student-main-head-actions > span,
body.student-workbench-shell .capybara-student-calendar-summary > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid #a9dcef;
  border-radius: 999px;
  background: var(--student-blue-soft);
  color: #178cc1;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-student-main-head-actions button,
body.student-workbench-shell .capybara-student-calendar-head > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid #8fd4ee;
  border-radius: 16px;
  background: var(--student-blue-soft);
  color: var(--student-blue-deep);
  box-shadow: 0 8px 16px rgba(51, 137, 177, 0.11);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
}

body.student-workbench-shell .capybara-student-main-head-actions button:hover,
body.student-workbench-shell .capybara-student-main-head-actions button:focus-visible,
body.student-workbench-shell .capybara-student-calendar-head > button:hover,
body.student-workbench-shell .capybara-student-calendar-head > button:focus-visible {
  border-color: #1699c7;
  background: #ccefff;
}

body.student-workbench-shell .capybara-student-date-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin: 14px 24px 0;
  padding-top: 16px;
  border-top: 3px dashed var(--student-line);
}

body.student-workbench-shell .capybara-student-date-links button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 4px;
  border: 0;
  background: transparent;
  color: #607985;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
}

body.student-workbench-shell .capybara-student-date-links button svg {
  flex: 0 0 auto;
}

body.student-workbench-shell .capybara-student-date-links button span {
  display: inline;
}

body.student-workbench-shell .capybara-student-date-links button strong {
  color: var(--student-coral);
  font-size: 1.08em;
  font-weight: 950;
}

body.student-workbench-shell .capybara-student-date-links button:hover,
body.student-workbench-shell .capybara-student-date-links button:focus-visible {
  color: var(--student-blue-deep);
}

body.student-workbench-shell .capybara-student-calendar-page {
  box-sizing: border-box;
  width: min(1210px, 100%);
  min-width: 0;
  margin: 0 0 0 auto;
  padding: 0 0 36px;
}

body.student-workbench-shell .capybara-student-calendar-card {
  overflow: hidden;
  border: 5px solid rgba(232, 203, 138, 0.72);
  border-radius: 38px;
  background: rgba(255, 253, 242, 0.95);
  box-shadow: 0 15px 0 rgba(235, 200, 123, 0.16), 0 24px 46px rgba(155, 111, 48, 0.13);
}

body.student-workbench-shell .capybara-student-calendar-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 24px 18px;
  border-bottom: 3px dashed var(--student-line);
}

body.student-workbench-shell .capybara-student-calendar-head p {
  margin: 0;
  color: var(--student-blue-deep);
  font-size: 13px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-student-calendar-head h2 {
  margin: 2px 0 0;
  color: #1792c7;
  font-size: 30px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-student-calendar-head span {
  display: block;
  margin-top: 6px;
  color: var(--student-muted);
  font-size: 15px;
  font-weight: 800;
}

body.student-workbench-shell .capybara-student-calendar-head > button {
  border-color: #e8cf97;
  background: #ffffff;
  color: #6b5139;
  box-shadow: 0 8px 0 rgba(226, 196, 141, 0.12);
}

body.student-workbench-shell .capybara-student-calendar-body {
  display: grid;
  gap: 14px;
  padding: 18px 24px 26px;
}

body.student-workbench-shell .capybara-student-calendar-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

body.student-workbench-shell .capybara-student-calendar-card .student-task-filter-stack {
  display: grid;
  gap: 8px;
}

body.student-workbench-shell .capybara-student-calendar-card .task-filter-bar,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-date-filter {
  border: 2px solid rgba(224, 211, 181, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 7px 16px rgba(51, 137, 177, 0.08);
}

body.student-workbench-shell .capybara-student-calendar-card .task-filter-bar {
  width: 100%;
  padding: 5px;
}

body.student-workbench-shell .capybara-student-calendar-card .segmented {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 2px solid rgba(224, 211, 181, 0.9);
  border-radius: 16px;
  background: #ffffff;
}

body.student-workbench-shell .capybara-student-calendar-card .task-filter-bar .segment,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-view-mode .segment,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-date-view .segment {
  min-height: 34px;
  padding: 6px 11px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #6b5139;
  box-shadow: none;
  font-size: 13px;
  font-weight: 900;
}

body.student-workbench-shell .capybara-student-calendar-card .task-filter-bar .segment.active,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-view-mode .segment.active,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-date-view .segment.active {
  background: var(--student-blue);
  color: #ffffff;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-date-filter {
  margin: 0;
  padding: 10px 12px;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-date-jumper input {
  min-height: 40px;
  border: 2px solid rgba(224, 211, 181, 0.9);
  border-radius: 14px;
  background: #ffffff;
  color: var(--student-ink-strong);
  font-weight: 850;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-date-jumper .icon-button,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-date-jumper .secondary-button {
  min-height: 40px;
  border: 2px solid #e8cf97;
  border-radius: 14px;
  background: #ffffff;
  color: #6b5139;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-panel,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-overdue-panel {
  padding: 14px;
  border: 3px solid rgba(214, 186, 129, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 9px 20px rgba(135, 101, 54, 0.06);
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-grid {
  gap: 8px;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-grid.week-view,
body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-grid.month-view {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: visible;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-day {
  min-width: 0;
  padding: 9px;
  border: 2px solid #eadcb7;
  border-radius: 13px;
  background: #fffefa;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-day.today {
  border-color: var(--student-blue);
  background: #eefaff;
  box-shadow: inset 0 0 0 2px rgba(57, 172, 228, 0.12);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-day-head {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  margin-bottom: 7px;
  color: var(--student-muted);
  font-size: 12px;
  font-weight: 850;
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-day-head strong {
  color: var(--student-ink-strong);
  font-size: 16px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-event {
  border-radius: 8px;
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 0;
  padding: 7px;
  border: 0;
  border-left: 4px solid var(--student-blue);
  border-radius: 8px;
  background: var(--student-blue-soft);
  color: var(--student-ink-strong);
  box-shadow: none;
  text-align: left;
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event::before {
  content: none;
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.file {
  border-left-color: var(--student-amber);
  background: var(--student-amber-soft);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.revision {
  border-left-color: var(--student-coral);
  background: var(--student-coral-soft);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.done {
  border-left-color: var(--student-green);
  background: var(--student-green-soft);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event:hover,
body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event:focus-visible {
  border-color: transparent;
  border-left-color: var(--student-blue);
  box-shadow: 0 5px 12px rgba(83, 67, 48, 0.09);
  transform: translateY(-1px);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.file:hover,
body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.file:focus-visible {
  border-left-color: var(--student-amber);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.revision:hover,
body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.revision:focus-visible {
  border-left-color: var(--student-coral);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.done:hover,
body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event.done:focus-visible {
  border-left-color: var(--student-green);
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event strong {
  overflow: visible;
  color: var(--student-ink-strong);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: clip;
}

body.student-workbench-shell .capybara-student-calendar-card .student-calendar-task-event small {
  overflow: visible;
  color: var(--student-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: clip;
}

body.student-workbench-shell .capybara-student-calendar-card .daily-task-overdue-list .task-preview-card {
  border: 3px solid rgba(214, 186, 129, 0.72);
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf7, #fffaf0);
  box-shadow: 0 9px 20px rgba(135, 101, 54, 0.06);
}

body.student-workbench-shell .capybara-student-calendar-card .task-preview-card .primary-button {
  border-color: #1699c7;
  background: #1ea1cf;
  color: #ffffff;
}

body.student-workbench-shell .capybara-student-calendar-card .task-preview-card .secondary-button {
  border-color: #e8cf97;
  background: #ffffff;
  color: #6b5139;
}

@media (max-width: 900px) {
  body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-grid.week-view,
  body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-grid.month-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-day {
    min-height: 170px;
  }
}

@media (max-width: 560px) {
  body.student-workbench-shell .capybara-student-main-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.student-workbench-shell .capybara-student-main-head-actions button {
    flex: 1 1 150px;
  }

  body.student-workbench-shell .capybara-student-date-links {
    gap: 8px;
    margin-right: 14px;
    margin-left: 14px;
  }

  body.student-workbench-shell .capybara-student-date-links button {
    width: 100%;
    min-height: 36px;
    font-size: 15px;
  }

  body.student-workbench-shell .capybara-student-calendar-card {
    border-width: 3px;
    border-radius: 28px;
  }

  body.student-workbench-shell .capybara-student-calendar-head,
  body.student-workbench-shell .capybara-student-calendar-body {
    padding-right: 14px;
    padding-left: 14px;
  }

  body.student-workbench-shell .capybara-student-calendar-head > button {
    width: 100%;
  }

  body.student-workbench-shell .capybara-student-calendar-summary {
    align-items: stretch;
  }

  body.student-workbench-shell .capybara-student-calendar-summary .daily-task-view-mode {
    width: 100%;
  }

  body.student-workbench-shell .capybara-student-calendar-summary .daily-task-view-mode .segment {
    flex: 1 1 0;
  }

  body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-grid.week-view,
  body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-grid.month-view {
    grid-template-columns: minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-student-calendar-card .daily-task-calendar-day.placeholder {
    display: none;
  }
}

body.student-workbench-shell .capybara-date-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

body.student-workbench-shell .capybara-date-switcher {
  display: inline-grid;
  grid-template-columns: 36px minmax(0, 176px) 36px;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: min(260px, 100%);
  max-width: 100%;
}

body.student-workbench-shell .capybara-date-switcher button,
body.student-workbench-shell .capybara-date-today {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 40px;
  padding: 0 9px;
  border: 2px solid #e8cf97;
  border-radius: 14px;
  background: #ffffff;
  color: #6b5139;
  box-shadow: 0 6px 0 rgba(226, 196, 141, 0.12);
  cursor: pointer;
}

body.student-workbench-shell .capybara-date-switcher button {
  box-sizing: border-box;
  width: 36px;
  min-width: 0;
  padding: 0;
}

body.student-workbench-shell .capybara-date-switcher button:hover,
body.student-workbench-shell .capybara-date-switcher button:focus-visible,
body.student-workbench-shell .capybara-date-today:hover,
body.student-workbench-shell .capybara-date-today:focus-visible {
  border-color: var(--student-blue);
  color: var(--student-blue-deep);
}

body.student-workbench-shell .capybara-date-switcher input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 4px 8px;
  border: 2px solid #e4cd97;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #796a54;
  font: inherit;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  color-scheme: light;
}

body.student-workbench-shell .capybara-date-switcher input:focus {
  border-color: var(--student-blue);
  outline: 3px solid rgba(57, 172, 228, 0.18);
  outline-offset: 2px;
}

body.student-workbench-shell .capybara-date-switcher input::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

body.student-workbench-shell .capybara-date-day-count {
  font-size: 24px;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-date-today {
  display: inline-flex;
  width: auto;
  color: var(--student-blue-deep);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-student-hero h3.selected-date {
  font-size: 42px;
}

@media (max-width: 560px) {
  body.student-workbench-shell .capybara-date-line {
    gap: 7px;
  }

  body.student-workbench-shell .capybara-date-switcher {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 4px;
    width: 100%;
  }

  body.student-workbench-shell .capybara-date-switcher button {
    min-width: 36px;
    min-height: 38px;
    padding: 0;
  }

  body.student-workbench-shell .capybara-date-switcher input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    font-size: 17px;
  }

  body.student-workbench-shell .capybara-date-day-count {
    font-size: 17px;
  }

  body.student-workbench-shell .capybara-student-hero h3.selected-date {
    font-size: 28px;
  }
}

/* 学员首页按已确认的水豚预览组织课程、任务与当日概览。 */
body.student-workbench-shell .student-workbench-module-nav {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.student-workbench-shell .capybara-student-main-card,
body.student-workbench-shell .capybara-side-panel {
  border: 4px solid #f0e2c3;
  border-radius: 34px;
  background:
    radial-gradient(circle, rgba(255, 216, 112, 0.16) 1px, transparent 2px) 0 0 / 18px 18px,
    var(--student-card);
  box-shadow: var(--student-shadow);
}

body.student-workbench-shell .capybara-student-main-card {
  padding-bottom: 0;
  container-name: student-home-main;
  container-type: inline-size;
}

body.student-workbench-shell .capybara-student-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 24px 8px;
}

body.student-workbench-shell .capybara-student-hero-toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  align-items: center;
}

body.student-workbench-shell .capybara-student-hero-toolbar .capybara-date-line {
  flex: 1 1 370px;
  color: var(--student-ink);
  font-size: 24px;
}

body.student-workbench-shell .capybara-student-hero-copy {
  min-width: 0;
}

body.student-workbench-shell .capybara-student-hero h3,
body.student-workbench-shell .capybara-student-hero h3.selected-date {
  color: #249bd1;
  font-size: 58px;
  font-weight: 900;
  line-height: 0.98;
  text-shadow: none;
  -webkit-text-stroke: 0;
  filter: none;
}

body.student-workbench-shell .capybara-blessing {
  border-color: var(--student-amber);
  background: var(--student-amber-soft);
  box-shadow: 0 8px 0 rgba(255, 212, 94, 0.2);
}

body.student-workbench-shell .capybara-student-hero-avatar {
  justify-self: end;
  margin: 0 10px 0 0;
  box-shadow: var(--student-shadow-soft);
}

body.student-workbench-shell .capybara-home-section {
  margin: 16px 24px 0;
}

body.student-workbench-shell .capybara-home-course-section {
  padding: 14px 0;
  border-top: 3px dashed var(--student-line);
  border-bottom: 3px dashed var(--student-line);
}

body.student-workbench-shell .capybara-home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body.student-workbench-shell .capybara-home-section-head > div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

body.student-workbench-shell .capybara-home-section-head h2 {
  margin: 0;
  color: var(--student-ink-strong);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

body.student-workbench-shell .capybara-home-section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--student-blue-soft);
  color: var(--student-blue-deep);
}

body.student-workbench-shell .capybara-home-section-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.student-workbench-shell .capybara-home-section-count {
  flex: 0 0 auto;
  padding: 3px 10px;
  border: 2px solid #b4dfef;
  border-radius: 999px;
  background: #f2fbff;
  color: var(--student-blue-deep);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-home-course-list {
  display: grid;
  gap: 10px;
}

body.student-workbench-shell .capybara-home-course-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 10px 14px;
  border: 3px solid #f0dfba;
  border-left: 7px solid var(--student-blue);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--student-ink);
  box-shadow: 0 8px 0 rgba(229, 216, 186, 0.34);
}

body.student-workbench-shell .capybara-home-course-time {
  display: grid;
  gap: 1px;
  color: var(--student-blue-deep);
}

body.student-workbench-shell .capybara-home-course-time strong {
  font-size: 21px;
  font-weight: 950;
}

body.student-workbench-shell .capybara-home-course-time span {
  color: var(--student-muted);
  font-size: 12px;
  font-weight: 850;
}

body.student-workbench-shell .capybara-home-course-copy,
body.student-workbench-shell .capybara-home-course-related {
  min-width: 0;
}

body.student-workbench-shell .capybara-home-course-copy > strong {
  display: block;
  color: var(--student-ink-strong);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.3;
  white-space: normal;
}

body.student-workbench-shell .capybara-home-course-copy > span {
  display: block;
  margin-top: 3px;
  color: var(--student-muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

body.student-workbench-shell .capybara-home-course-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--student-blue-deep);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
}

body.student-workbench-shell .capybara-home-course-link svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.student-workbench-shell .capybara-home-course-related {
  display: grid;
  gap: 6px;
  padding-left: 14px;
  border-left: 3px dashed var(--student-line);
}

body.student-workbench-shell .capybara-home-course-related-label {
  color: #a9781a;
  font-size: 13px;
  font-weight: 850;
}

body.student-workbench-shell .capybara-home-course-related strong {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  color: var(--student-ink-strong);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

body.student-workbench-shell .capybara-home-course-related strong > span {
  min-width: 0;
  white-space: normal;
}

body.student-workbench-shell .capybara-home-course-related em {
  flex: 0 0 auto;
  padding: 1px 7px;
  border: 2px solid #9fd9ee;
  border-radius: 999px;
  background: #eaf8fd;
  color: var(--student-blue-deep);
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-home-course-related em.post-class {
  border-color: #e6c672;
  background: #fff7d9;
  color: #986d14;
}

body.student-workbench-shell .capybara-home-course-related small {
  color: var(--student-muted);
  font-size: 13px;
  font-weight: 850;
}

body.student-workbench-shell .capybara-home-course-empty {
  padding: 14px;
  border: 3px dashed var(--student-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--student-muted);
  font-weight: 850;
}

body.student-workbench-shell .capybara-home-task-section {
  margin-top: 14px;
}

body.student-workbench-shell .capybara-home-task-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

body.student-workbench-shell .capybara-home-task-progress > span {
  color: var(--student-muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

body.student-workbench-shell .capybara-progress-track {
  height: 18px;
  background: #f1ead9;
}

body.student-workbench-shell .capybara-home-task-section .capybara-task-list {
  padding: 14px 0 4px;
}

body.student-workbench-shell .capybara-home-task-section .capybara-empty-task {
  margin: 14px 0 4px;
}

body.student-workbench-shell .capybara-task-card {
  min-height: 88px;
  padding: 12px 16px;
  border: 3px solid #f0dfba;
  border-left: 8px solid var(--student-blue);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 0 rgba(229, 216, 186, 0.28);
}

body.student-workbench-shell .capybara-task-card.todo {
  box-shadow: 0 5px 0 rgba(229, 216, 186, 0.28);
}

body.student-workbench-shell .capybara-task-card.pending_review,
body.student-workbench-shell .capybara-task-card.passed,
body.student-workbench-shell .capybara-task-card.completed,
body.student-workbench-shell .capybara-task-card.student-complete {
  border-color: #76d482;
  border-left-width: 8px;
  background: var(--student-green-soft);
  box-shadow: 0 6px 0 rgba(88, 207, 103, 0.16);
}

body.student-workbench-shell .capybara-task-card.revision_required,
body.student-workbench-shell .capybara-task-card.overdue {
  border-left-color: #ff8ea1;
  box-shadow: 0 5px 0 rgba(229, 216, 186, 0.28);
}

body.student-workbench-shell .capybara-task-icon {
  border: 2px solid rgba(232, 219, 184, 0.85);
  background: #ffffff;
  box-shadow: none;
}

body.student-workbench-shell .capybara-task-copy strong {
  font-size: 17px;
}

body.student-workbench-shell .capybara-task-copy {
  min-width: 0;
}

body.student-workbench-shell .capybara-task-copy span {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 850;
}

body.student-workbench-shell .capybara-side-panel {
  padding-bottom: 20px;
}

body.student-workbench-shell .capybara-side-panel-head {
  padding: 20px 20px 18px;
}

body.student-workbench-shell .capybara-side-panel h2 {
  color: var(--student-blue-deep);
}

body.student-workbench-shell .capybara-summary-strip {
  gap: 9px;
  padding: 18px 20px 8px;
}

body.student-workbench-shell .capybara-summary-strip > span {
  min-width: 0;
  min-height: 0;
  padding: 13px 8px;
  border: 3px solid #f0dfba;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  box-shadow: none;
}

body.student-workbench-shell .capybara-summary-strip strong {
  display: block;
  font-size: 30px;
}

body.student-workbench-shell .capybara-checklist {
  gap: 10px;
  padding: 10px 20px;
}

body.student-workbench-shell .capybara-checklist article {
  padding: 13px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

body.student-workbench-shell .capybara-checklist strong {
  color: var(--student-blue-deep);
  font-size: 16px;
}

body.student-workbench-shell .capybara-checklist span {
  margin-top: 4px;
}

body.student-workbench-shell .capybara-quick-actions {
  gap: 8px;
  padding: 8px 20px 0;
}

body.student-workbench-shell .capybara-quick-actions button {
  flex: 1 1 90px;
  min-height: 40px;
  border-radius: 14px;
  color: var(--student-ink-strong);
}

body.student-workbench-shell .capybara-student-date-links {
  gap: 20px;
  margin: 24px 24px 0;
  padding: 20px 2px 30px;
}

body.student-workbench-shell .capybara-student-date-links button {
  min-height: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 950;
}

@container student-home-main (max-width: 640px) {
  body.student-workbench-shell .capybara-home-course-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-home-course-related {
    grid-column: 1 / -1;
    padding-top: 10px;
    padding-left: 0;
    border-top: 3px dashed var(--student-line);
    border-left: 0;
  }

  body.student-workbench-shell .capybara-task-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-task-actions,
  body.student-workbench-shell .capybara-task-message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  body.student-workbench-shell .capybara-student-hero h3,
  body.student-workbench-shell .capybara-student-hero h3.selected-date {
    font-size: 52px;
  }

  body.student-workbench-shell .capybara-home-course-card {
    grid-template-columns: 72px minmax(0, 0.75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 860px) {
  body.student-workbench-shell .capybara-student-hero {
    grid-template-columns: minmax(0, 1fr) 82px;
    padding: 16px 14px 8px;
  }

  body.student-workbench-shell .capybara-student-hero-toolbar {
    align-items: flex-start;
  }

  body.student-workbench-shell .capybara-student-hero-toolbar .capybara-student-main-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.student-workbench-shell .capybara-student-hero h3,
  body.student-workbench-shell .capybara-student-hero h3.selected-date {
    font-size: 42px;
  }

  body.student-workbench-shell .capybara-student-hero-avatar {
    width: 82px;
    height: 82px;
    margin-right: 0;
  }

  body.student-workbench-shell .capybara-student-hero-avatar img {
    width: 60px;
    height: 60px;
  }

  body.student-workbench-shell .capybara-home-section,
  body.student-workbench-shell .capybara-student-date-links {
    margin-right: 14px;
    margin-left: 14px;
  }

  body.student-workbench-shell .capybara-home-course-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-home-course-related {
    grid-column: 1 / -1;
    padding-top: 10px;
    padding-left: 0;
    border-top: 3px dashed var(--student-line);
    border-left: 0;
  }

  body.student-workbench-shell .capybara-home-task-section .capybara-task-list {
    padding-inline: 0;
  }

  body.student-workbench-shell .capybara-task-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-task-actions,
  body.student-workbench-shell .capybara-task-message {
    grid-column: 1 / -1;
  }

  body.student-workbench-shell .capybara-student-date-links {
    padding-bottom: 24px;
  }
}

@media (max-width: 560px) {
  body.student-workbench-shell .capybara-student-main-card,
  body.student-workbench-shell .capybara-side-panel {
    border-width: 3px;
    border-radius: 28px;
  }

  body.student-workbench-shell .capybara-student-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-student-hero-avatar {
    display: none;
  }

  body.student-workbench-shell .capybara-student-hero-toolbar .capybara-date-line {
    flex-basis: 100%;
    font-size: 17px;
  }

  body.student-workbench-shell .capybara-student-hero h3,
  body.student-workbench-shell .capybara-student-hero h3.selected-date {
    font-size: 34px;
  }

  body.student-workbench-shell .capybara-home-course-card {
    grid-template-columns: minmax(0, 1fr);
  }

  body.student-workbench-shell .capybara-home-course-time {
    display: flex;
    gap: 8px;
    align-items: baseline;
  }

  body.student-workbench-shell .capybara-home-course-related {
    grid-column: 1;
  }

  body.student-workbench-shell .capybara-home-task-progress {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  body.student-workbench-shell .capybara-task-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 11px;
    border-radius: 22px;
  }

  body.student-workbench-shell .capybara-summary-strip {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    overflow-x: auto;
  }

  body.student-workbench-shell .capybara-student-date-links button {
    width: auto;
  }
}
