:root {
  --blue: #2f8ff0;
  --blue-dark: #1f73d1;
  --blue-soft: #eaf4ff;
  --text: #2f3a4a;
  --muted: #7b8794;
  --line: #e6ebf2;
  --bg: #f1f4f8;
  --panel: #ffffff;
  --danger: #f26060;
  --green: #30b56a;
  --warning: #f3a23a;
  --sidebar: #ffffff;
  --sidebar-active: #eaf6ff;
  --shadow: 0 10px 28px rgba(36, 55, 85, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 1180px;
  color: var(--text);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 224px 1fr;
  grid-template-rows: 58px 1fr;
}

.topbar {
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  height: 58px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(28, 43, 64, .12);
  z-index: 10;
}

.brand {
  width: 340px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  font-size: 21px;
  font-weight: 700;
  color: #202733;
}

.brand-mark {
  width: 28px;
  height: 22px;
  display: inline-block;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(135deg, #1e9ee9, #73d1ff);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  left: 7px;
  top: 4px;
  border: 2px solid rgba(255,255,255,.9);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.top-tabs {
  height: 100%;
  display: flex;
}

.top-tab {
  min-width: 126px;
  border: 0;
  background: transparent;
  color: #2e3644;
  font-size: 18px;
  position: relative;
}

.top-tab.active {
  font-weight: 700;
}

.top-tab.active::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5577ff;
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
}

.user-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 18px;
  color: #2b3038;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dce3eb;
  display: inline-block;
}

.gear {
  color: #5d6673;
  font-size: 16px;
}

.sidebar {
  grid-row: 2;
  background: var(--sidebar);
  border-right: 1px solid #edf1f6;
  overflow: auto;
}

.side-logo {
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.clover {
  width: 76px;
  height: 64px;
  position: relative;
}

.clover span {
  position: absolute;
  width: 38px;
  height: 30px;
  background: #36a932;
  border-radius: 70% 20% 70% 20%;
}

.clover span:nth-child(1) { left: 0; top: 0; transform: rotate(-18deg); }
.clover span:nth-child(2) { right: 4px; top: 2px; transform: rotate(52deg); }
.clover span:nth-child(3) { left: 30px; bottom: 2px; transform: rotate(18deg); }

.school-name,
.org-name,
.platform-name {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.menu-section {
  margin: 6px 0;
}

.menu-title,
.menu-item {
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #4d5968;
}

.menu-title {
  font-size: 16px;
}

.menu-item {
  padding-left: 54px;
  height: 44px;
  font-size: 15px;
}

.menu-title.active {
  color: #4d5968;
  background: var(--sidebar-active);
}

.menu-item.active {
  color: #246dff;
  background: transparent;
}

.menu-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: currentColor;
}

.menu-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-arrow {
  margin-left: auto;
  color: #8b96a6;
  font-size: 15px;
}

.main {
  grid-column: 2;
  grid-row: 2;
  overflow: auto;
}

.crumb {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 30px;
  color: #2a3340;
  background: #fff;
}

.hamburger {
  border: 0;
  background: transparent;
  font-size: 20px;
}

#view {
  padding: 16px 30px 44px;
}

.role-float {
  position: fixed;
  right: 28px;
  top: 92px;
  z-index: 80;
}

.role-float-main {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(30, 112, 220, .28);
  font-weight: 700;
  cursor: pointer;
}

.role-float-main:hover {
  background: #1f83e9;
}

.role-float-menu {
  position: absolute;
  right: 0;
  top: 64px;
  width: 94px;
  padding: 6px;
  border: 1px solid #d8e0eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 43, 62, .18);
}

.role-float-menu::before {
  content: "";
  position: absolute;
  right: 20px;
  top: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid #d8e0eb;
  border-top: 1px solid #d8e0eb;
  transform: rotate(45deg);
}

.role-float-menu button {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #3f4b5f;
  font-weight: 600;
  cursor: pointer;
}

.role-float-menu button:hover {
  background: #f2f7ff;
  color: var(--blue);
}

.role-float-menu button.active {
  color: var(--blue);
  background: #eaf4ff;
}

.panel {
  background: var(--panel);
  border: 1px solid #edf1f6;
  margin-bottom: 16px;
}

.panel.padded {
  padding: 22px 24px;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 22px 28px;
  align-items: center;
}

.org-filter-grid {
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) minmax(220px, 0.85fr) auto;
  gap: 18px 22px;
}

.org-filter-grid .form-row {
  min-width: 0;
}

.org-filter-grid .input.wide,
.org-filter-grid .select.wide {
  width: 100%;
  min-width: 0;
}

.org-course-filter-grid {
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 18px 28px;
}

.org-course-filter-grid .form-row {
  min-width: 0;
}

.org-course-filter-grid .input.wide,
.org-course-filter-grid .select.wide {
  width: 100%;
  min-width: 0;
}

.org-course-filter-grid .filter-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 10px;
}

.storage-entry-page {
  padding-bottom: 76px;
}

.storage-identity-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.storage-section {
  margin-bottom: 18px;
  border: 1px solid #edf1f6;
  background: #fff;
}

.storage-section-title {
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid #edf1f6;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.storage-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 28px 66px;
  padding: 22px 26px 28px;
  align-items: start;
}

.storage-field {
  min-width: 0;
}

.storage-field label {
  display: block;
  margin-bottom: 12px;
  color: #3d4655;
  font-weight: 700;
}

.storage-field .input.wide,
.storage-field .select.wide {
  width: 100%;
  max-width: 330px;
}

.storage-static {
  min-height: 36px;
  display: flex;
  align-items: center;
  color: #101828;
}

.storage-upload-box,
.storage-logo-default {
  width: 166px;
  height: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #b9d3f4;
  border-radius: 4px;
  background: #fbfdff;
}

.storage-logo-default {
  position: relative;
  flex-direction: column;
  gap: 10px;
  background: #fbfdff;
}

.storage-logo-image {
  width: 104px;
  height: 104px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(31, 111, 229, .12);
}

.storage-inline-buttons,
.storage-inline-input {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.storage-inline-input span {
  color: #101828;
}

.storage-bottom-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid #dfe6f0;
  background: rgba(255,255,255,.98);
  box-shadow: 0 -6px 18px rgba(23,43,77,.08);
}

.lesson-back-panel {
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 22px;
}

.lesson-detail-back {
  height: 34px;
  border: 0;
  background: transparent;
  color: #101828;
  font-size: 15px;
}

.lesson-back-divider {
  width: 1px;
  height: 16px;
  margin-left: 14px;
  background: #d8e0eb;
}

.lesson-filter-panel {
  padding: 20px 22px;
}

.lesson-filter-grid {
  display: grid;
  grid-template-columns: auto minmax(320px, 420px) auto minmax(320px, 420px) 1fr;
  align-items: center;
  gap: 14px 18px;
}

.lesson-filter-grid label {
  color: #334054;
  font-weight: 700;
  white-space: nowrap;
}

.lesson-filter-grid .input.wide,
.lesson-filter-grid .select.wide {
  width: 100%;
}

.lesson-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lesson-list-panel {
  min-height: 430px;
}

.lesson-assign-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.lesson-detail-table table {
  min-width: 1120px;
}

.lesson-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 28px;
  color: #334054;
}

.lesson-pagination strong {
  color: #1677ff;
}

.lesson-pagination .page-size,
.lesson-pagination .page-input {
  height: 32px;
  min-width: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  background: #fff;
}

.lesson-pagination .page-input {
  min-width: 42px;
}

.lesson-pagination .page-arrow {
  color: #98a2b3;
}

.platform-filter-grid {
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr) minmax(280px, 1fr) auto;
  gap: 24px 30px;
}

.platform-filter-grid .form-row {
  min-width: 0;
}

.platform-filter-grid .input.wide,
.platform-filter-grid .select.wide {
  width: 100%;
  min-width: 0;
}

.platform-filter-grid .filter-actions {
  grid-column: 4;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-row label {
  min-width: 78px;
  font-weight: 700;
  color: #3f4b5f;
  text-align: right;
}

.input,
.select,
.textarea {
  height: 36px;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  padding: 0 12px;
  color: #3d4655;
  background: #fff;
  outline: none;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(47, 143, 240, .14);
}

.input.wide,
.select.wide {
  width: 330px;
}

.textarea {
  height: 98px;
  resize: vertical;
  padding-top: 10px;
}

.btn {
  height: 36px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 18px;
  background: #fff;
  color: #445066;
}

.btn.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn.primary:hover {
  background: var(--blue-dark);
}

.btn.danger {
  background: var(--danger);
  color: #fff;
}

.btn.ghost {
  border-color: #d8e0eb;
}

.btn.disabled,
.btn:disabled {
  color: #aab4c2;
  background: #eef3f8;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

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

.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.segmented {
  display: flex;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  overflow: hidden;
}

.segmented button {
  height: 36px;
  min-width: 82px;
  border: 0;
  border-right: 1px solid #d8e0eb;
  background: #fff;
  color: #3f4b5f;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button.active {
  background: var(--blue);
  color: #fff;
}

.tabs {
  display: flex;
  border-bottom: 2px solid #e1e7f0;
  margin-bottom: 18px;
}

.tabs button {
  min-width: 104px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #2d3a4d;
}

.tabs button.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  margin-bottom: -2px;
}

.table-wrap {
  background: #fff;
  overflow: auto;
}

.sticky-action-table {
  position: relative;
}

.sticky-action-table th:last-child,
.sticky-action-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  box-shadow: -10px 0 18px rgba(23, 43, 77, 0.08);
}

.sticky-action-table th:last-child {
  z-index: 3;
  background: #f7f9fc;
}

.sticky-action-table tr:hover td:last-child {
  background: #f8fbff;
}

.sticky-action-table td:last-child {
  overflow: visible;
}

.org-schedule-table table {
  min-width: 1520px;
}

.org-schedule-table th:nth-last-child(2),
.org-schedule-table td:nth-last-child(2) {
  width: 96px;
  min-width: 96px;
}

.org-schedule-table th:last-child,
.org-schedule-table td:last-child,
.org-schedule-table .org-operation-cell {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.org-course-table table {
  min-width: 1880px;
}

.org-course-table {
  padding-bottom: 130px;
}

.org-course-table tr.menu-open-row td {
  position: relative;
  z-index: 20;
  background: #fff;
}

.org-course-table tr.menu-open-row td:last-child {
  position: sticky;
  right: 0;
  z-index: 40;
}

.school-schedule-table table {
  min-width: 1540px;
}

.teacher-mobile-stage {
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 18px 0 34px;
  background: #eef3fb;
}

.teacher-phone {
  width: 430px;
  min-height: 760px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, #f6faff 0%, #eef5ff 42%, #ffffff 100%);
  border: 1px solid #d5e2f3;
  box-shadow: 0 18px 48px rgba(32, 54, 86, 0.18);
  padding: 18px 14px 72px;
}

.teacher-phone-header,
.teacher-schedule-top,
.schedule-month-row,
.teacher-bottom-tabs,
.course-card-head,
.course-card-row,
.course-card-actions {
  display: flex;
  align-items: center;
}

.teacher-phone-header,
.teacher-schedule-top,
.schedule-month-row {
  justify-content: space-between;
}

.teacher-phone-header {
  font-size: 16px;
  color: #24324a;
}

.phone-capsule {
  min-width: 88px;
  padding: 6px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 2px 8px rgba(37, 56, 88, .12);
  text-align: center;
}

.teacher-date {
  margin: 32px 10px 18px;
  color: #13243d;
}

.teacher-date strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
}

.teacher-date span {
  font-size: 16px;
}

.teacher-work-card {
  margin: 12px 0;
  padding: 18px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 22px rgba(32,54,86,.08);
}

.teacher-work-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #1f2d44;
}

.teacher-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 10px;
}

.teacher-app {
  border: 0;
  background: transparent;
  color: #4f5f76;
  text-align: center;
  cursor: pointer;
}

.teacher-app.active {
  color: #2f80ed;
}

.app-icon {
  width: 54px;
  height: 54px;
  display: block;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a96ff, #2f80ed);
  box-shadow: 0 8px 16px rgba(47,128,237,.24);
}

.app-icon.team,
.app-icon.people {
  background: linear-gradient(135deg, #ffcf66, #ff9f2f);
}

.app-icon.swap,
.app-icon.map {
  background: linear-gradient(135deg, #8d89ff, #6258d9);
}

.app-icon.money,
.app-icon.form,
.app-icon.pin {
  background: linear-gradient(135deg, #3cc8ed, #1aa7d2);
}

.empty-schedule-illustration {
  height: 170px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 72% 38%, rgba(47,128,237,.16) 0 28px, transparent 29px),
    linear-gradient(135deg, rgba(47,128,237,.12), rgba(255,255,255,.5));
}

.teacher-bottom-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  justify-content: space-around;
  background: #fff;
  color: #b2bac8;
  border-top: 1px solid #e8edf5;
}

.teacher-bottom-tabs strong {
  color: #2f80ed;
}

.schedule-phone {
  background: #fff;
}

.teacher-schedule-top {
  height: 44px;
  font-size: 16px;
}

.phone-back {
  border: 0;
  background: transparent;
  color: #1f2d44;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.schedule-month-row {
  margin: 18px 12px;
  color: #1f2d44;
  font-size: 16px;
}

.teacher-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 6px;
  padding: 0 14px 18px;
}

.teacher-calendar strong,
.teacher-calendar button {
  height: 34px;
  border: 0;
  background: transparent;
  color: #202b3d;
  text-align: center;
  font-weight: 700;
}

.teacher-calendar button {
  position: relative;
  border-radius: 17px;
}

.teacher-calendar button.has-course::after {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #2f80ed;
}

.teacher-calendar button.selected {
  background: #4a96ff;
  color: #fff;
}

.teacher-course-card,
.teacher-hidden-notice {
  margin: 18px 14px 0;
  border-radius: 12px;
  background: #f8fbff;
  box-shadow: 0 8px 22px rgba(32,54,86,.08);
}

.teacher-course-card {
  padding: 16px;
}

.teacher-course-card-disabled {
  background: #fbfcff;
}

.course-card-head,
.course-card-row {
  justify-content: space-between;
  min-height: 42px;
  border-bottom: 1px solid #e6edf6;
  color: #667085;
}

.course-location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  min-height: 48px;
  padding: 9px 0;
  border-bottom: 1px solid #e6edf6;
  color: #667085;
}

.course-location-grid div {
  display: grid;
  gap: 4px;
}

.course-location-grid strong {
  color: #334054;
  line-height: 1.35;
}

.course-card-row:last-of-type {
  border-bottom: 0;
}

.course-card-head strong,
.course-card-row strong {
  color: #334054;
}

.course-card-actions {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  justify-content: space-between;
}

.teacher-action {
  height: 38px;
  min-width: 92px;
  border: 0;
  border-radius: 8px;
  background: #e9f2ff;
  color: #2f80ed;
  font-weight: 700;
  cursor: pointer;
}

.teacher-action.primary {
  background: #2f80ed;
  color: #fff;
}

.teacher-action.secondary {
  background: #eef4ff;
}

.teacher-action.done {
  background: #e7f7ef;
  color: #207a4a;
}

.teacher-hidden-notice {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #ffd8b5;
  background: #fff8ed;
  box-shadow: none;
  color: #9a4f0f;
  font-size: 13px;
  line-height: 1.5;
}

.teacher-hidden-notice strong {
  display: block;
  margin-bottom: 6px;
  color: #7a3b07;
}

.teacher-hidden-notice p {
  margin: 4px 0 0;
}

.teacher-exception-inline {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff4f4;
  border: 1px solid #ffcaca;
  color: #b04444;
  font-size: 12px;
  line-height: 1.45;
}

.teacher-exception-inline p {
  margin: 0;
}

.teacher-action.disabled,
.teacher-action:disabled {
  cursor: not-allowed;
  color: #98a2b3;
  background: #eef1f5;
}

.teacher-scenario-panel {
  width: 276px;
  margin-top: 10px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbe5f2;
  box-shadow: 0 12px 32px rgba(32,54,86,.12);
}

.teacher-scenario-panel h3 {
  margin: 0 0 8px;
  color: #1f2d44;
  font-size: 16px;
}

.teacher-scenario-panel p {
  margin: 0 0 14px;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.teacher-scenario-options {
  display: grid;
  gap: 8px;
}

.teacher-scenario-options button {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #d8e3f1;
  border-radius: 8px;
  background: #f8fbff;
  color: #344054;
  text-align: left;
  cursor: pointer;
}

.teacher-scenario-options button strong {
  font-size: 14px;
}

.teacher-scenario-options button span {
  color: #667085;
  font-size: 12px;
}

.teacher-scenario-options button.active {
  border-color: #2f80ed;
  background: #eef6ff;
  color: #1d64c8;
}

.btn.soft {
  background: #8fc2fb;
  color: #fff;
}

.attendance-center-panel {
  overflow: hidden;
}

.attendance-filter-panel {
  margin-bottom: 14px;
  padding: 18px 22px 16px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: #fff;
}

.attendance-filter-tabs {
  display: flex;
  gap: 34px;
  margin-bottom: 18px;
  border-bottom: 1px solid #dde5f0;
}

.attendance-filter-tabs button {
  position: relative;
  padding: 0 0 13px;
  border: 0;
  background: transparent;
  color: #1f2d44;
  font-size: 15px;
  cursor: pointer;
}

.attendance-filter-tabs button.active {
  color: #2f80ed;
}

.attendance-filter-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #2f80ed;
}

.attendance-filter-row,
.attendance-export-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.attendance-filter-row {
  justify-content: space-between;
}

.attendance-filter-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334054;
}

.attendance-filter-row .select {
  min-width: 270px;
}

.attendance-date-range {
  width: 330px;
  color: #98a2b3;
}

.attendance-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.attendance-export-row {
  margin-top: 16px;
}

.attendance-export-hint {
  color: #667085;
  font-size: 13px;
}

.attendance-center-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--blue);
  background: #f4f8ff;
  color: #526276;
}

.attendance-center-note strong {
  color: #1f3f75;
}

.sign-range-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #dbeaff;
  border-radius: 4px;
  background: #f7faff;
  color: #3f4b5f;
  line-height: 1.6;
}

.sign-range-summary span {
  color: #65758a;
}

.sign-range-form {
  margin-top: 8px;
}

.sign-radius-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sign-radius-control span {
  color: #3f4b5f;
}

.attendance-center-table table {
  min-width: 1760px;
}

.attendance-center-table th,
.attendance-center-table td {
  white-space: nowrap;
}

.status-pass,
.status-wait {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.status-pass {
  color: #1d7a43;
  background: #e8f7ee;
}

.status-wait {
  color: #667085;
  background: #f2f4f7;
}

.attendance-sync-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #b7e2ca;
  border-left: 4px solid #23a55a;
  border-radius: 8px;
  background: #f3fbf6;
}

.attendance-sync-card strong {
  display: block;
  margin-bottom: 6px;
  color: #1d6940;
}

.attendance-sync-card p {
  margin: 0;
  color: #526276;
}

.attendance-sync-meta {
  display: grid;
  gap: 4px;
  min-width: 260px;
  color: #334054;
  font-size: 13px;
}

.attendance-sync-card.muted-card {
  border-color: #d7dde5;
  border-left-color: #98a2b3;
  background: #f8fafc;
}

.timetable-adjust-panel {
  margin-bottom: 20px;
}

.timetable-adjust-tabs {
  display: inline-flex;
  margin-bottom: 16px;
}

.timetable-adjust-filter {
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr) auto;
  align-items: center;
}

.timetable-adjust-toolbar {
  margin-bottom: 18px;
}

.timetable-adjust-table table {
  min-width: 1520px;
}

.timetable-adjust-table th:last-child,
.timetable-adjust-table td:last-child {
  width: 160px;
  min-width: 160px;
}

.danger-text {
  color: #ff4d4f;
}

.timetable-adjust-modal {
  width: 760px;
}

.timetable-adjust-modal-body {
  padding-bottom: 8px;
}

.course-modal-label.required::before {
  content: "*";
  margin-right: 4px;
  color: #ff4d4f;
}

.course-modal-label.required {
  color: #3f4b5f;
}

.timetable-time-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.teacher-select-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 8px;
  border: 1px solid #d8e0eb;
  border-radius: 6px;
  background: #f2f4f7;
  color: #3d4655;
}

.teacher-select-pill span {
  color: #98a2b3;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th,
td {
  height: 52px;
  border-bottom: 1px solid #e6ebf2;
  padding: 0 14px;
  text-align: left;
  white-space: nowrap;
}

th {
  background: #f7f9fc;
  color: #596678;
  font-weight: 700;
}

tr:hover td {
  background: #f8fbff;
}

.link {
  color: #1f83f2;
  background: transparent;
  border: 0;
  padding: 0;
  margin-right: 12px;
}

.muted {
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 3px;
  background: #eef3f8;
  color: #607086;
}

.status.ok { background: #e9f8ef; color: #1b8a50; }
.status.warn { background: #fff4df; color: #9a651a; }
.status.wait { background: #eaf4ff; color: #1f73d1; }
.status.reject { background: #fff0f0; color: #d14545; }

.schedule-shell {
  background: #fff;
  padding: 22px 22px 28px;
}

.schedule-board {
  width: 100%;
  box-sizing: border-box;
}

.radio-line {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 22px;
}

.radio-line strong {
  min-width: 86px;
  text-align: right;
}

.hint-bar {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: #d7e8ff;
  color: #2c3c54;
  margin-bottom: 12px;
  border-radius: 3px;
}

.schedule-hint {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
}

.schedule-grid-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  margin-bottom: 14px;
  border: 1px solid #cfd6df;
}

.schedule-grid {
  width: 100%;
  min-width: 1180px;
  table-layout: fixed;
  border-collapse: collapse;
}

.schedule-grid th,
.schedule-grid td {
  border: 1px solid #cfd6df;
  height: 48px;
  text-align: center;
  background: #fff;
  padding: 0 8px;
}

.schedule-grid th:first-child,
.schedule-grid td:first-child {
  width: 118px;
}

.lesson-time-btn {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #4b5565;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lesson-time-btn:hover {
  color: var(--blue);
  background: #f4f8ff;
}

.schedule-grid .slot {
  height: 84px;
  color: #606b7a;
  vertical-align: middle;
  cursor: pointer;
}

.schedule-grid .slot.disabled {
  cursor: default;
  background: #fbfcfe;
}

.schedule-grid .empty-club {
  color: #aeb8c6;
  font-weight: 500;
}

.club-cell-action {
  min-height: 40px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #344256;
  font-weight: 700;
  cursor: pointer;
}

.club-cell-action:hover {
  color: var(--blue);
}

.club-cell-action.placeholder {
  color: #8a95a4;
  font-weight: 600;
}

.club-cell-action.placeholder:hover {
  color: var(--blue);
}

.schedule-grid .slot.selected {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  background: #f7fbff;
}

.schedule-add-row {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  margin: 0 0 86px;
}

.cell-card {
  line-height: 1.55;
  text-align: left;
  color: #2e3a4d;
  font-size: 13px;
}

.date-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.date-row label {
  font-weight: 700;
}

.date-picker-wrap {
  position: relative;
}

.date-range {
  width: 330px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #a5afbf;
  cursor: pointer;
  background: #fff;
}

.date-range.focused {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(47, 145, 242, .12);
}

.date-value {
  color: #2f3a4f;
}

.date-placeholder {
  color: #b8c0cc;
}

.date-separator {
  color: #2f3a4f;
  padding: 0 8px;
}

.date-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  z-index: 40;
  width: 806px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 4px;
  box-shadow: 0 8px 26px rgba(22, 41, 68, .12);
}

.date-popover::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
  transform: rotate(45deg);
}

.calendar-panel {
  padding: 22px 20px 18px;
}

.calendar-panel + .calendar-panel {
  border-left: 1px solid #e7edf5;
}

.calendar-title {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  color: #6a7280;
  font-size: 15px;
  margin-bottom: 18px;
}

.calendar-title strong {
  text-align: center;
  color: #5d6470;
  font-size: 20px;
  font-weight: 500;
}

.calendar-title span:first-child {
  text-align: left;
}

.calendar-title span:last-child {
  text-align: right;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f7;
  color: #3e4755;
  font-size: 15px;
  text-align: center;
}

.calendar-grid {
  row-gap: 6px;
  padding-top: 10px;
}

.calendar-day {
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #59616d;
  font-size: 15px;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled) {
  background: #eef6ff;
  color: var(--blue);
}

.calendar-day.muted {
  color: #b8c0cc;
  cursor: default;
}

.calendar-day.in-range {
  background: #eef6ff;
  color: #2378d7;
}

.calendar-day.selected {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.center-actions {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.modal-layer,
.drawer-layer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 100;
}

.hidden {
  display: none !important;
}

.modal {
  width: 640px;
  min-height: 220px;
  max-height: calc(100vh - 48px);
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05);
  border-radius: 2px;
  overflow: hidden;
}

.modal.large {
  width: 920px;
}

.modal.club-modal {
  width: 760px;
}

.modal.course-pick-modal {
  width: 1120px;
}

.modal.lesson-modal {
  width: 720px;
}

.modal.lesson-teacher-modal {
  width: 720px;
}

.modal-header {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid #f0f0f0;
  color: rgba(0, 0, 0, .85);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, .45);
  font-size: 22px;
  line-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: color .2s, background-color .2s;
}

.modal-close:hover {
  color: rgba(0, 0, 0, .75);
  background: rgba(0, 0, 0, .04);
}

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

.modal .btn {
  min-width: 72px;
  height: 32px;
  padding: 4px 15px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.5715;
}

.modal .btn.primary {
  background: #1677ff;
  border-color: #1677ff;
}

.modal .btn.primary:hover {
  background: #4096ff;
  border-color: #4096ff;
}

.modal .btn.ghost {
  border-color: #d9d9d9;
  color: rgba(0, 0, 0, .88);
}

.modal .btn.ghost:hover {
  border-color: #4096ff;
  color: #4096ff;
}

.modal .btn.danger {
  background: #ff4d4f;
  border-color: #ff4d4f;
}

.club-select-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.club-select-tools .input {
  width: 250px;
}

.club-table-wrap {
  border: 1px solid #d8e0eb;
  max-height: 440px;
  overflow: auto;
}

.club-table {
  width: 100%;
  border-collapse: collapse;
}

.club-table th,
.club-table td {
  height: 48px;
  border-bottom: 1px solid #e7edf4;
  text-align: left;
  padding: 0 14px;
  color: #344256;
}

.club-table th {
  background: #f6f8fb;
  color: #64748b;
  font-weight: 700;
}

.club-table th:first-child,
.club-table td:first-child {
  width: 34px;
  text-align: center;
}

.club-table .link + .link {
  margin-left: 12px;
}

.weekday-row,
.lesson-time-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 28px;
}

.weekday-row strong,
.lesson-time-row strong {
  width: 76px;
  text-align: right;
  color: #3f4b5f;
}

.weekday-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3f4b5f;
}

.lesson-time-row .input {
  width: 150px;
}

.operation-cell {
  min-width: 360px;
  white-space: nowrap;
}

.org-operation-cell {
  min-width: 360px;
}

.org-course-operation {
  min-width: 190px;
  position: relative;
  overflow: visible;
}

.school-operation-cell {
  min-width: 420px;
}

.operation-cell .link {
  margin-right: 12px;
}

.mini-cover {
  width: 68px;
  height: 42px;
  border-radius: 3px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6px 8px;
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(135deg, #45b4ff, #2378e8);
}

.course-action-menu {
  position: absolute;
  right: 28px;
  top: 42px;
  width: 150px;
  padding: 10px 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 45, 72, .16);
  border: 1px solid #edf1f6;
  z-index: 30;
}

.course-action-menu.fixed-menu {
  position: fixed;
  right: auto;
  z-index: 120;
}

.course-action-menu::after {
  content: "";
  position: absolute;
  right: 46px;
  top: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #edf1f6;
  border-top: 1px solid #edf1f6;
  transform: rotate(45deg);
}

.course-action-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--blue);
  text-align: left;
  padding: 9px 18px;
  font-size: 14px;
  cursor: pointer;
}

.course-action-menu button:hover {
  background: #f4f8ff;
}

.course-action-menu .danger-text {
  color: #f05b5b;
}

.course-action-menu .muted-menu-item {
  color: #a8b4c4;
}

.course-pick-body {
  padding-top: 0;
}

.course-pick-tabs {
  display: flex;
  margin: -4px 0 24px;
}

.course-pick-tabs button {
  min-width: 124px;
  height: 38px;
  border: 1px solid #d8e0eb;
  background: #fff;
  color: #334155;
}

.course-pick-tabs button:first-child {
  border-radius: 4px 0 0 4px;
}

.course-pick-tabs button:last-child {
  border-left: 0;
  border-radius: 0 4px 4px 0;
}

.course-pick-tabs button.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.course-pick-filter {
  display: grid;
  grid-template-columns: auto 150px auto 150px auto 150px auto 150px 70px 70px;
  gap: 14px 10px;
  align-items: center;
  margin-bottom: 20px;
}

.course-pick-filter label {
  color: #3f4b5f;
  font-weight: 700;
  white-space: nowrap;
}

.course-pick-filter .input,
.course-pick-filter .select {
  width: 150px;
  height: 38px;
}

.course-pick-table {
  min-height: 340px;
  border-top: 1px solid #e5ebf2;
  border-bottom: 1px solid #e5ebf2;
  overflow: auto;
}

.course-pick-table table {
  width: 100%;
}

.course-pick-table th,
.course-pick-table td {
  height: 48px;
}

.course-pick-table th:first-child,
.course-pick-table td:first-child {
  width: 42px;
  text-align: center;
}

.course-pick-pagination {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #64748b;
}

.course-pick-pagination strong {
  color: var(--blue);
}

.course-pick-pagination .page-size,
.course-pick-pagination .page-input {
  min-width: 72px;
  height: 34px;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.course-pick-pagination .page-input {
  min-width: 42px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}

.course-create-layout {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 16px;
  align-items: end;
}

.course-modal {
  width: 760px;
}

.course-modal-form {
  width: 620px;
  margin: 0 auto;
}

.course-modal-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 16px;
  align-items: start;
  margin: 20px 0;
}

.course-modal-label {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: 700;
  color: #3f4b5f;
}

.course-modal-control {
  width: 440px;
}

.lesson-teacher-form {
  width: 520px;
}

.lesson-teacher-form .course-modal-row {
  grid-template-columns: 96px 1fr;
  margin: 22px 0;
}

.lesson-teacher-form .course-modal-control {
  width: 330px;
}

.lesson-teacher-readonly {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: #4f5b6f;
}

.select-card {
  width: 440px;
  min-height: 40px;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  background: #fff;
  color: #3d4655;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  text-align: left;
}

.select-card:hover,
.select-card:focus {
  border-color: var(--blue);
}

.select-card.placeholder {
  color: #a5afbd;
}

.select-card .select-action {
  color: var(--blue);
  font-weight: 700;
  margin-left: 16px;
}

.course-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.course-action {
  height: 34px;
  min-width: 118px;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  background: #fff;
  color: #415064;
}

.course-action.primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.course-action:disabled {
  color: #aeb8c6;
  background: #eef3f8;
  cursor: not-allowed;
}

.course-summary {
  width: 440px;
  min-height: 40px;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  padding: 9px 12px;
  color: #3d4655;
  background: #fbfdff;
}

.course-summary.placeholder {
  color: #a5afbd;
}

.course-modal-control .input {
  width: 440px;
}

.course-modal-control .input:disabled {
  color: #b8c2d0;
  background: #fbfcfe;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.course-modal-control .input:disabled::placeholder {
  color: #c4ccd8;
}

.combo-wrap {
  position: relative;
  width: 440px;
}

.combo-wrap .input {
  width: 440px;
}

.combo-list {
  position: absolute;
  top: 42px;
  left: 0;
  width: 440px;
  max-height: 190px;
  overflow: auto;
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(36, 55, 85, .16);
  z-index: 4;
  padding: 6px;
}

.combo-option {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #2f3a4a;
  text-align: left;
  padding: 0 12px;
}

.combo-option:hover,
.combo-option.active {
  background: #f1f4f8;
}

.combo-empty {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #98a3b3;
}

.course-mode {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 38px;
  margin-bottom: 10px;
}

.course-mode label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-weight: 600;
}

.course-mode label.disabled {
  color: #c2cad6;
  font-weight: 500;
  cursor: not-allowed;
}

.course-mode input {
  margin: 0;
}

.course-mode label.disabled input {
  opacity: .55;
}

.drawer {
  position: absolute;
  right: 0;
  top: 0;
  width: 610px;
  height: 100%;
  overflow: auto;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px 28px;
}

.drawer-header {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.info-box {
  border: 1px solid #dfe6f0;
  border-radius: 4px;
  padding: 18px;
  margin: 16px 0;
  line-height: 2.4;
}

.teacher-check-preview {
  margin: 12px 0 0 116px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.teacher-check-preview.ok {
  color: #1b8a50;
  background: #e9f8ef;
}

.teacher-check-preview.warn {
  color: #9a5b12;
  background: #fff7e6;
  border: 1px solid #ffe1a8;
}

.teacher-check-preview.conflict,
.schedule-check-card.conflict {
  color: #d14545;
  background: #fff0f0;
  border-color: #ffd1d1;
}

.conflict-detail {
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  line-height: 2;
  color: #3f4b5f;
}

.validation-summary {
  margin-bottom: 16px;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  line-height: 1.8;
}

.schedule-check-card {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dfe6f0;
  border-radius: 4px;
  line-height: 1.8;
}

.schedule-check-card.ok {
  color: #1b8a50;
  background: #e9f8ef;
  border-color: #cdebd8;
}

.schedule-check-card p {
  margin: 6px 0 0;
  color: #3f4b5f;
}

.detail-page {
  background: #fff;
  padding: 22px 28px 40px;
}

.back-line {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.audit-title-line {
  gap: 10px;
  margin-bottom: 8px;
}

.icon-back {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1f83f2;
  cursor: pointer;
}

.icon-back:hover {
  background: #eef6ff;
}

.icon-back svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audit-mini-status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 3px;
  background: #eaf4ff;
  color: #1f73d1;
  font-size: 13px;
  font-weight: 500;
}

.detail-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin: 18px 0 26px;
}

.detail-tabs button {
  height: 46px;
  min-width: 118px;
  border: 0;
  background: #fff;
  color: #2c3646;
}

.detail-tabs button.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  margin-bottom: -2px;
}

.audit-summary-page {
  position: relative;
  padding-bottom: 150px;
}

.audit-info-list {
  max-width: 980px;
  display: grid;
  gap: 28px;
  padding: 2px 0 8px;
}

.audit-info-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: start;
}

.audit-info-label {
  padding-top: 8px;
  color: #43536b;
  font-weight: 700;
  text-align: right;
  line-height: 1.4;
}

.audit-info-content {
  min-height: 36px;
  display: flex;
  align-items: center;
  color: #1f2d44;
  line-height: 1.6;
}

.audit-docs-inline {
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.audit-doc-thumb {
  width: 156px;
  height: 156px;
  border-radius: 5px;
  font-size: 15px;
}

.audit-teacher-review-section {
  display: grid;
  gap: 28px;
  padding-top: 4px;
}

.audit-teacher-review-section + .audit-teacher-review-section {
  margin-top: 8px;
  padding-top: 30px;
  border-top: 1px solid #edf1f6;
}

.audit-teacher-group-title {
  margin-left: 210px;
  color: #1f2d44;
  font-size: 16px;
  font-weight: 700;
}

.audit-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.audit-summary-card {
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid #dfe6f0;
  border-radius: 4px;
  background: #f8fbff;
  display: grid;
  gap: 8px;
}

.audit-summary-card strong {
  color: #596678;
}

.audit-summary-card span {
  color: #223047;
  font-weight: 700;
}

.audit-license-row {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) 220px;
  gap: 26px;
  align-items: start;
  margin-bottom: 28px;
}

.audit-license-info {
  min-height: 120px;
  padding: 18px 20px;
  border: 1px solid #dfe6f0;
  border-radius: 4px;
  background: #fff;
  line-height: 2.1;
  color: #344054;
}

.audit-license-thumb {
  width: 220px;
  height: 140px;
}

.teacher-audit-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 14px;
}

.teacher-audit-check-item {
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dfe6f0;
  border-radius: 4px;
  background: #fff;
}

.audit-check-copy {
  display: grid;
  gap: 8px;
}

.audit-check-copy strong {
  color: #223047;
}

.audit-check-copy span {
  color: #667085;
  line-height: 1.55;
}

.audit-fixed-spacer {
  height: 0;
}

.audit-fixed-actions {
  position: fixed;
  left: 254px;
  right: 30px;
  bottom: 0;
  z-index: 70;
  margin: 0;
  padding: 16px 28px;
  border-top: 1px solid #dfe6f0;
  border-left: 1px solid #edf1f6;
  border-right: 1px solid #edf1f6;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -8px 22px rgba(23, 43, 77, .08);
}

.audit-direct-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  margin: 18px 0 20px;
}

.kv-grid {
  display: grid;
  grid-template-columns: 160px 1fr 160px 1fr;
  gap: 22px 18px;
  align-items: start;
}

.kv-label {
  font-weight: 700;
  color: #596678;
  text-align: right;
}

.image-placeholder {
  width: 150px;
  height: 96px;
  background: linear-gradient(135deg, #e7edf4, #f7f9fc);
  border: 1px dashed #c3cfdd;
  border-radius: 3px;
}

.sub-tabs {
  display: flex;
  border-bottom: 1px solid #dfe6f0;
  margin: -6px 0 18px;
}

.sub-tabs span {
  min-width: 120px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid #dfe6f0;
  border-bottom: 0;
  background: #f6f8fb;
  color: #6a7482;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sub-tabs span.active {
  background: #fff;
  color: var(--blue);
}

.org-info-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 380px;
  gap: 48px;
  align-items: start;
  margin-bottom: 34px;
}

.org-field-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px 18px;
  align-items: start;
  line-height: 1.8;
}

.evidence-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.evidence-item {
  display: grid;
  grid-template-columns: 150px 190px;
  gap: 14px;
  align-items: start;
}

.evidence-item strong,
.file-line strong {
  color: #596678;
  text-align: right;
  line-height: 1.6;
}

.evidence-thumb {
  width: 190px;
  height: 120px;
  border-radius: 5px;
  border: 1px solid #dce4ef;
  color: #607086;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
}

.evidence-thumb.logo {
  color: #70bde8;
  font-size: 38px;
  background:
    radial-gradient(circle at 58% 38%, rgba(112,189,232,.42) 0 14px, transparent 15px),
    linear-gradient(135deg, #f7fbff, #e8f5fd);
}

.evidence-thumb.id-photo,
.evidence-thumb.id-card {
  background: linear-gradient(135deg, #eee2d1, #8b6c4e);
  color: rgba(255,255,255,.85);
}

.evidence-thumb.id-card {
  background: linear-gradient(135deg, #f5f0e7, #d5b78f);
}

.evidence-thumb.license {
  background: linear-gradient(135deg, #f4f1e8, #d6cab9);
  color: #9a5d4e;
}

.evidence-thumb.paper {
  background: linear-gradient(135deg, #f8f9fb, #b9c0c9);
}

.evidence-thumb.certs {
  background:
    linear-gradient(90deg, rgba(57,128,205,.22) 50%, rgba(255,255,255,.25) 50%),
    linear-gradient(135deg, #f5e9ca, #6ba2d8);
}

.evidence-thumb.honor {
  background: linear-gradient(135deg, #31527d, #e9c25e);
  color: #fff;
}

.file-line {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: start;
}

.teacher-base-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px 18px;
  align-items: start;
  max-width: 620px;
  margin-bottom: 26px;
}

.teacher-doc-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.teacher-detail-section {
  padding-bottom: 34px;
}

.teacher-detail-section + .teacher-detail-section {
  padding-top: 30px;
  border-top: 1px solid #edf1f6;
}

.teacher-detail-heading {
  margin: 0 0 24px 150px;
  color: #1f2d44;
  font-size: 16px;
  font-weight: 700;
}

.teacher-doc-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
}

.teacher-doc-row > strong {
  color: #596678;
  text-align: right;
  line-height: 1.6;
}

.teacher-doc-content {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.teacher-thumb {
  width: 125px;
  height: 125px;
  font-size: 13px;
}

.audit-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 22px;
  margin-top: 12px;
}

.choice-grid.compact {
  grid-template-columns: repeat(3, minmax(160px, 210px));
}

.choice-card {
  min-height: 96px;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #fff;
  color: #5b6472;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.choice-card span {
  color: #9aa5b4;
}

.choice-card.active {
  background: #2f6df6;
  border-color: #2f6df6;
  color: #fff;
}

.choice-card.active span {
  color: rgba(255,255,255,.9);
}

.course-start-section + .course-start-section {
  margin-top: 22px;
}

.course-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 26px;
}

.course-step {
  position: relative;
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: #c7c7c7;
}

.course-step.active {
  background: #2f6df6;
}

.course-step::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 20px solid #c7c7c7;
  z-index: 2;
}

.course-step.active::after {
  border-left-color: #2f6df6;
}

.course-step:last-child::after {
  display: none;
}

.course-meta-row {
  display: flex;
  gap: 18px;
  margin: 10px 0 26px;
  color: #2f3b4d;
}

.course-form-row {
  margin: 16px 0;
}

.course-form-row.vertical {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.course-form-row.vertical label {
  text-align: left;
}

.required {
  color: #f34b4b;
}

.course-hint {
  margin-left: 130px;
  color: #f21d1d;
  line-height: 1.8;
}

.course-textarea {
  width: 490px;
  height: 78px;
}

.course-wide-textarea {
  width: 100%;
  min-height: 110px;
}

.grade-cascade-row {
  align-items: flex-start;
}

.grade-cascade-control {
  width: 440px;
}

.grade-select-value {
  width: 440px;
  min-height: 38px;
  border: 1px solid #2f8ff0;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 14px;
  text-align: left;
  box-shadow: 0 0 0 2px rgba(47, 143, 240, .08);
}

.select-caret {
  color: #98a2b3;
  font-size: 15px;
}

.grade-cascade-panel {
  width: 440px;
  height: 214px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 43, 64, .12);
  overflow: hidden;
}

.grade-stage-list,
.grade-level-list {
  display: flex;
  flex-direction: column;
}

.grade-stage-list {
  border-right: 1px solid #e1e7f0;
  background: #f7f9fc;
}

.grade-stage-list button,
.grade-level-list button {
  height: 42px;
  border: 0;
  background: transparent;
  color: #475467;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  text-align: left;
}

.grade-stage-list button.active,
.grade-level-list button.active,
.grade-stage-list button:hover,
.grade-level-list button:hover {
  background: #eef2f7;
  color: #26364d;
}

.radio-dot {
  width: 15px;
  height: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 15px;
}

.grade-level-list button.active .radio-dot {
  border-color: #2f8ff0;
  box-shadow: inset 0 0 0 4px #fff;
  background: #2f8ff0;
}

.stage-arrow {
  margin-left: auto;
  color: #98a2b3;
  font-size: 22px;
  line-height: 1;
}

.course-media-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.cover-template-grid {
  width: 624px;
  display: grid;
  grid-template-columns: repeat(3, 194px);
  gap: 10px;
  margin-left: 128px;
  margin-bottom: 12px;
}

.cover-template-card {
  position: relative;
  height: 108px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  padding: 12px;
  text-align: left;
  font-weight: 700;
}

.cover-template-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 52%);
}

.cover-template-card strong,
.cover-template-card span {
  position: relative;
  z-index: 1;
}

.cover-template-card strong {
  display: block;
  font-size: 18px;
}

.cover-template-card span {
  display: block;
  margin-top: 48px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
}

.cover-template-card.selected::after {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  color: #ff7a1a;
  background: #fff;
  font-weight: 700;
}

.cover-template-card.default {
  background: linear-gradient(135deg, #5f6f86, #9aa7b8);
}

.cover-template-card.tech {
  background: linear-gradient(135deg, #ffab4a, #ff7d2e);
}

.cover-template-card.art,
.cover-template-card.school {
  background: linear-gradient(135deg, #28cf8c, #12b76a);
}

.cover-template-card.sport,
.cover-template-card.health {
  background: linear-gradient(135deg, #45b4ff, #2172e8);
}

.cover-template-card.general {
  background: linear-gradient(135deg, #fb786f, #ef4444);
}

.cover-demo {
  width: 170px;
  height: 102px;
  margin-left: 128px;
  background: linear-gradient(135deg, #48aef5, #2172e8);
  color: #fff;
  padding: 16px;
  font-weight: 700;
  position: relative;
}

.cover-demo span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.45);
}

.upload-box {
  width: 238px;
  height: 135px;
  border: 1px dashed #cfd8e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d8898;
  font-size: 34px;
}

.step-footer {
  position: sticky;
  bottom: 0;
  margin-top: 30px;
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #fff;
  box-shadow: 0 -6px 18px rgba(23, 43, 77, .08);
}

.confirm-text {
  font-size: 16px;
  color: #2f3b4d;
  padding: 12px 0;
}

.toast {
  position: fixed;
  left: 50%;
  top: 74px;
  transform: translateX(-50%);
  z-index: 200;
  min-width: 428px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.toast-success {
  border: 1px solid #c8e8bf;
  background: #f0faea;
  color: #52c41a;
}

.toast-error {
  border: 1px solid #ffccc7;
  background: #fff2f0;
  color: #ff4d4f;
}

.toast-warning {
  border: 1px solid #ffe58f;
  background: #fffbe6;
  color: #faad14;
}

.toast-info {
  border: 1px solid #91d5ff;
  background: #e6f7ff;
  color: #1890ff;
}

.toast-status-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  border-radius: 50%;
  background: #52c41a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.toast-success .toast-status-icon {
  background: #52c41a;
}

.toast-error .toast-status-icon {
  background: #ff4d4f;
}

.toast-warning .toast-status-icon {
  background: #faad14;
}

.toast-info .toast-status-icon {
  background: #1890ff;
}

.toast-app {
  min-width: auto;
  max-width: 300px;
  min-height: 38px;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 19px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(20, 28, 42, .14);
}

.toast-app .toast-status-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  font-size: 10px;
}

.toast-app.toast-success {
  border: 1px solid #b7eb8f;
  background: rgba(246, 255, 237, .96);
  color: #389e0d;
}

.toast-app.toast-error {
  border: 1px solid #ffa39e;
  background: rgba(255, 241, 240, .96);
  color: #cf1322;
}

.toast-app.toast-warning {
  border: 1px solid #ffe58f;
  background: rgba(255, 251, 230, .96);
  color: #ad6800;
}

.toast-app.toast-info {
  border: 1px solid #91d5ff;
  background: rgba(230, 247, 255, .96);
  color: #096dd9;
}

.readonly-note {
  background: #f7faff;
  border: 1px solid #dbeaff;
  color: #516377;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 3px;
}

.platform-reject-textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
}

.block-warning {
  padding: 12px 14px;
  border: 1px solid #ffd7d7;
  border-radius: 4px;
  background: #fff6f6;
  color: #5d6574;
  line-height: 1.7;
}

.block-warning strong {
  color: #b63a3a;
}

.block-warning p {
  margin: 6px 0 0;
}

.reject-box {
  background: #fff6f6;
  color: #b63a3a;
  border: 1px solid #ffd7d7;
  padding: 12px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.reject-reason-text {
  color: #3f4b5f;
  line-height: 1.8;
  padding: 8px 0;
}

.checkbox {
  width: 16px;
  height: 16px;
}
