:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #24314b;
  background: #f5f7fb;
  font-synthesis: none;
  --blue: #246bfd;
  --muted: #8c97ab;
  --line: #edf0f6;
  --shadow: 0 5px 24px #253e6905;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.7px;
  line-height: 1.5;
  font-weight: 700;
}
h2 {
  font-size: 16px;
  line-height: 1.5;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.8;
}
small {
  font-size: 11px;
}
b {
  font-weight: 600;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #183465;
  font-weight: 750;
  font-size: 23px;
  letter-spacing: 1px;
}
.brand > .icon {
  color: var(--blue);
  width: 34px;
  height: 34px;
  fill: var(--blue);
  stroke: none;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #a1aabb;
  margin-top: 6px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: white;
  border-right: 1px solid #e9edf5;
  display: flex;
  flex-direction: column;
  padding: 31px 18px 20px;
  z-index: 30;
}
.sidebar > .brand {
  padding: 0 10px;
}
.org-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 35px 0 30px;
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 11px;
  white-space: nowrap;
}
.org-switch .icon {
  width: 16px;
}
.org-switch .badge {
  font-size: 9px;
  padding: 2px 4px;
}
.nav-caption {
  color: #a3acbc;
  font-size: 10px;
  margin: 0 15px 13px;
  letter-spacing: 1px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: none;
  text-align: left;
  padding: 13px 16px;
  color: #69768e;
  border-radius: 9px;
  font-size: 13px;
  position: relative;
}
.nav-item .icon {
  width: 19px;
}
.nav-item:hover {
  background: #f4f7fd;
  color: var(--blue);
}
.nav-item.active {
  background: #eaf1ff;
  color: #246bfd;
  font-weight: 650;
}
.nav-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #ffb559;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.help-card {
  background: linear-gradient(130deg, #f3f7ff, #f8faff);
  padding: 15px 12px;
  border-radius: 10px;
  font-size: 11px;
  color: #647b9a;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}
.help-card .icon {
  width: 17px;
}
.help-card small {
  grid-column: 1/-1;
  color: #98a7bc;
  font-size: 10px;
}
.sidebar-bottom > .nav-item {
  margin-top: 12px;
}
.main-wrap {
  margin-left: 232px;
  width: calc(100% - 232px);
}
.topbar {
  height: 82px;
  background: #ffffffef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  border-bottom: 1px solid #eef1f6;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.breadcrumb {
  font-size: 12px;
  color: #9aa4b6;
}
.breadcrumb span {
  padding: 0 13px;
  color: #c5cdd8;
}
.breadcrumb b {
  color: #4f5f78;
}
.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
}
.top-date {
  color: #8a97ad;
  font-size: 11px;
}
.view-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6580a8;
}
.view-switch .icon {
  width: 13px;
}
.notification {
  border: 0;
  background: none;
  color: #8090a8;
  position: relative;
  padding: 3px;
}
.notification:after {
  content: "";
  position: absolute;
  right: 3px;
  top: 2px;
  width: 5px;
  height: 5px;
  background: #ff8b72;
  border: 2px solid white;
  border-radius: 50%;
}
.avatar {
  height: 34px;
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 650;
}
.teacher-avatar {
  background: #fff1e2;
  color: #b78d64;
}
.user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: -7px;
}
.user-meta small {
  font-size: 10px;
  color: #a0aabc;
}
.user-meta b {
  font-size: 11px;
}
.main-wrap main {
  max-width: 1600px;
  margin: auto;
  padding: 19px 34px 25px;
}
.demo-notice {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #91a0b7;
  margin-bottom: 24px;
}
.live-dot {
  background: #36bda1;
  width: 5px;
  height: 5px;
  display: inline-block;
  border-radius: 50%;
  flex-shrink: 0;
}
.notice-secondary {
  margin-left: auto;
  font-size: 10px;
  color: #a3adbe;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 27px;
}
.eyebrow {
  color: #9aaac3;
  letter-spacing: 2px;
  font-size: 9px;
  font-weight: 600;
  display: block;
  margin-bottom: 7px;
}
.page-heading p {
  color: #97a1b4;
  font-size: 11px;
  margin-top: 7px;
}
.btn {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 550;
  min-height: 37px;
  transition: background 0.15s;
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 10px #246bfd16;
}
.btn.primary:hover {
  background: #1459e8;
}
.btn.soft {
  background: #eef4ff;
  color: #246bfd;
  border-color: #e1eafe;
}
.btn.text {
  background: transparent;
  color: #6481a9;
  padding: 7px 8px;
}
.btn.full {
  width: 100%;
}
.text-btn {
  border: 0;
  background: none;
  color: #5b83b9;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
}
.text-btn .icon {
  width: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
  margin-bottom: 23px;
}
.metric {
  padding: 20px 22px 18px;
  background: #fff;
  border: 1px solid #eef1f7;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #78849b;
}
.icon-box {
  height: 37px;
  width: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
}
.blue {
  background: #eaf2ff;
  color: #3f7ffb;
}
.purple {
  background: #f1ecff;
  color: #9571e6;
}
.teal {
  background: #e7f8f3;
  color: #39b498;
}
.orange {
  background: #fff1e7;
  color: #eea25a;
}
.pink {
  background: #fbeef2;
  color: #d18fa6;
}
.metric-number {
  font-size: 35px;
  color: #243651;
  letter-spacing: -1px;
  font-weight: 650;
  margin: 8px 0;
}
.metric-number small {
  font-size: 11px;
  color: #a1adbf;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 8px;
}
.metric p {
  font-size: 10px;
  color: #9ba6b9;
}
.dashboard-middle {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 22px;
  margin-bottom: 23px;
}
.panel {
  background: white;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 23px 17px;
  gap: 10px;
}
.section-head p {
  font-size: 10px;
  color: #a1aabb;
  margin-top: 5px;
}
.section-head > p {
  font-size: 11px;
}
.chart-legend {
  font-size: 9px;
  color: #9ba7b9;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.chart-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #689bff;
}
.chart-legend i:nth-of-type(2) {
  background: #74d2bd;
  margin-left: 8px;
}
.chart-legend i:nth-of-type(3) {
  background: #ffc490;
  margin-left: 8px;
}
.bar-chart {
  height: 190px;
  margin: 8px 27px 0;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 43px,
    #f1f4f8 44px,
    #f1f4f8 45px
  );
  padding-top: 12px;
}
.chart-column {
  height: 100%;
  flex: 1;
  text-align: center;
  position: relative;
  padding-bottom: 24px;
}
.bar-group {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 9px;
  max-width: 105px;
  margin: 0 auto;
}
.bar {
  width: 22px;
  max-width: 25%;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  position: relative;
}
.bar span {
  position: absolute;
  top: -16px;
  font-size: 9px;
  color: #9ba9bd;
  left: 0;
  right: 0;
}
.bluebar {
  background: linear-gradient(#5f95ff, #98bbff);
}
.tealbar {
  background: linear-gradient(#62cbb2, #b4e9dd);
}
.orangebar {
  background: linear-gradient(#ffbd85, #ffdbbb);
}
.chart-column > small {
  display: block;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  font-size: 10px;
  color: #8f9db3;
}
.chart-foot {
  border-top: 1px solid #f4f6f9;
  font-size: 9px;
  color: #b1b9c7;
  padding: 12px 23px;
  margin-top: 8px;
}
.todo-row {
  display: flex;
  width: calc(100% - 40px);
  margin: 0 20px;
  align-items: center;
  gap: 12px;
  background: white;
  border: 0;
  border-top: 1px solid #f3f5f9;
  text-align: left;
  font-size: 11px;
  padding: 13px 0;
  color: #728097;
}
.todo-row .icon-box {
  height: 31px;
  width: 31px;
  border-radius: 9px;
}
.todo-row .icon-box .icon {
  width: 16px;
}
.todo-row > b {
  margin-left: auto;
  font-size: 17px;
  color: #53647f;
  font-weight: 600;
}
.todo-row > .icon {
  width: 13px;
  color: #bdc6d3;
}
.todo-panel .section-head > .icon {
  color: #aab8cc;
  width: 18px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 500;
  background: #f8fafe;
  color: #9aa6ba;
  padding: 14px 22px;
}
td {
  padding: 18px 22px;
  border-bottom: 1px solid #f2f4f8;
  color: #69778f;
}
tr:last-child td {
  border-bottom: 0;
}
td b {
  color: #465572;
  font-size: 11px;
}
td small {
  display: block;
  color: #a2aebf;
  font-size: 9px;
  margin-top: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 9px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}
.badge.green {
  background: #eaf8f2;
  color: #3daf88;
}
.badge.blue {
  background: #edf3ff;
  color: #5c8bdb;
}
.badge.orange {
  background: #fff4e9;
  color: #de9a5a;
}
.badge.gray {
  background: #f1f4f8;
  color: #8d9aaf;
}
.green-text {
  color: #39b68f;
  font-weight: 600;
}
.desktop-footer {
  padding: 7px 34px 22px;
  color: #bac2d0;
  font-size: 9px;
  max-width: 1600px;
  margin: auto;
}
.desktop-footer span {
  float: right;
}
.mobile-nav,
.quick-mobile {
  display: none;
}
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.filter-left {
  display: flex;
  gap: 10px;
}
select,
input,
textarea {
  border: 1px solid #e4eaf3;
  border-radius: 7px;
  background: white;
  color: #53647c;
  font-size: 12px;
  padding: 10px 12px;
  outline: none;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #8ab2ff;
  box-shadow: 0 0 0 3px #246bfd0c;
}
select {
  min-width: 120px;
}
input::placeholder,
textarea::placeholder {
  color: #b4bdcb;
}
.search {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e6ebf3;
  border-radius: 7px;
  padding-left: 11px;
}
.search .icon {
  width: 15px;
  color: #a3b0c3;
}
.search input {
  border: 0;
  background: transparent;
  width: 220px;
  padding: 10px;
  font-size: 11px;
  box-shadow: none;
}
.class-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.class-card {
  padding: 23px;
}
.class-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.class-card h2 {
  font-size: 18px;
}
.class-card p {
  font-size: 11px;
  margin-top: 7px;
}
.class-stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #f0f3f8;
  margin: 20px 0;
  padding-top: 20px;
}
.class-stats span {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #98a5b9;
  gap: 9px;
}
.class-stats b {
  font-size: 22px;
  color: #435573;
}
.muted {
  color: #98a5b8;
}
.small {
  font-size: 11px;
}
.count {
  color: #9baac0;
  font-size: 12px;
  margin-left: 6px;
}
.student-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.row-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.row-actions .btn {
  font-size: 10px;
  min-height: 29px;
  padding: 6px 10px;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.mini-stats > div {
  padding: 17px 22px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: white;
}
.mini-stats span {
  font-size: 11px;
  color: #93a0b4;
}
.mini-stats b {
  display: block;
  margin-top: 9px;
  font-size: 25px;
  color: #385780;
}
.mini-stats small {
  font-size: 10px;
  margin-left: 7px;
  color: #a2aec0;
}
.info-banner {
  border: 1px solid #e0eaff;
  border-radius: 9px;
  background: #f0f5ff;
  padding: 13px 17px;
  font-size: 11px;
  color: #6685b5;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.8;
  margin-bottom: 19px;
}
.info-banner .btn {
  margin-left: auto;
}
.info-banner b {
  font-weight: 600;
}
.empty {
  text-align: center;
  padding: 53px 25px;
  color: #96a4b9;
}
.empty > .icon {
  width: 38px;
  height: 38px;
  color: #c0d4f1;
  margin-bottom: 15px;
}
.empty h3 {
  font-weight: 500;
  font-size: 14px;
  color: #7185a2;
}
.empty p {
  font-size: 11px;
  margin: 10px 0 19px;
}
.errors-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.error-card,
.practice-card {
  border-top: 1px solid #eff3f8;
  padding: 20px 23px;
}
.error-card h3 {
  margin: 15px 0 8px;
  font-size: 20px;
}
.error-card p,
.practice-card p {
  font-size: 11px;
  margin-bottom: 13px;
}
.error-card del {
  color: #e48d88;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.report-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 23px;
  align-items: start;
}
.student-selector .section-head {
  padding-bottom: 15px;
}
.student-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-top: 1px solid #f4f6f9;
  background: white;
  padding: 14px 17px;
  width: 100%;
  text-align: left;
}
.student-choice.selected {
  background: #eef4ff;
}
.student-choice b {
  display: block;
  font-size: 11px;
}
.student-choice small {
  display: block;
  font-size: 9px;
  color: #9ba8bb;
  margin-top: 5px;
}
.student-choice .badge {
  margin-left: auto;
  font-size: 8px;
}
.report-preview {
  padding: 10px 12px 23px;
}
.report-preview .section-head h2 {
  font-size: 23px;
}
.timeline {
  margin: 18px 24px 20px;
  padding-left: 20px;
}
.timeline-item {
  position: relative;
  padding: 0 0 25px 24px;
  border-left: 2px solid #e8edf5;
}
.timeline-item:last-child {
  padding-bottom: 5px;
}
.timeline-dot {
  position: absolute;
  left: -6px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4f89ff;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #d7e5ff;
}
.timeline-item small {
  color: #99a7ba;
  font-size: 11px;
}
.timeline-item p {
  color: #4d5e79;
  font-size: 13px;
  margin-top: 6px;
}
.ratings {
  margin: 10px 25px 25px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.ratings > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 12px;
  color: #8a98ae;
}
.stars {
  color: #ffb747;
  letter-spacing: 6px;
}
.stars > span {
  color: #e5eaf2;
}
.report-actions {
  display: flex;
  gap: 13px;
  margin: 0 25px 14px;
}
.report-preview > .small {
  margin: 0 25px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
  margin-bottom: 22px;
}
.padded {
  padding: 25px;
}
.padded h2 {
  margin: 13px 0;
}
.padded p {
  font-size: 12px;
  margin-bottom: 20px;
}
.integration-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f1f4f8;
  font-size: 11px;
}
.integration-row:last-child {
  border: 0;
}
.audit-list {
  padding: 0 24px 20px;
}
.audit-list > div {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  border-top: 1px solid #f3f5f8;
  padding: 12px 0;
}
.audit-list small {
  margin-left: auto;
  color: #a0adbf;
}
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 14px 22px;
  border-radius: 10px;
  background: #23334eea;
  color: white;
  font-size: 13px;
  max-width: 90vw;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  line-height: 1.8;
  box-shadow: 0 8px 30px #1e365b30;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(660px, 94vw);
  max-height: 90vh;
  box-shadow: 0 24px 100px #10275230;
  color: #334661;
}
dialog::backdrop {
  background: #182c4c6b;
  backdrop-filter: blur(4px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.modal-body {
  padding: 24px 25px 28px;
}
.icon-btn {
  border: 0;
  background: #f4f7fb;
  border-radius: 8px;
  padding: 6px;
  color: #8c9cb2;
}
.modal-body form > label,
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  margin-bottom: 18px;
  color: #73829b;
}
.modal-body form > p {
  font-size: 12px;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.8;
}
.checkbox-label {
  flex-direction: row !important;
  align-items: center;
}
.checkbox-label input {
  width: 17px;
  height: 17px;
}
.profile-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.avatar.large {
  width: 60px;
  height: 60px;
  font-size: 23px;
  border-radius: 18px;
}
.profile-top p {
  font-size: 12px;
  color: #91a0b7;
  margin-top: 5px;
}
.profile-top > .badge {
  margin-left: auto;
}
.profile-details {
  margin-bottom: 25px;
}
.profile-details > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid #f2f4f8;
  font-size: 12px;
}
.profile-details dt {
  color: #a0adc0;
}
.profile-details dd {
  margin: 0;
  color: #61738d;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.upload-area {
  border: 1px dashed #b9d1f5;
  border-radius: 10px;
  background: #f7faff;
  padding: 20px;
  text-align: center;
  align-items: center;
}
.upload-area small {
  color: #9aaac0;
}
.upload-area .icon {
  color: #6d9de4;
}
.upload-area input {
  max-width: 100%;
  font-size: 11px;
}
.question-fields,
.review-question {
  border: 1px solid #e8edf6;
  border-radius: 10px;
  padding: 18px;
  margin: 20px 0;
}
.question-fields legend,
.review-question legend {
  font-size: 11px;
  color: #7c92b1;
  padding: 0 7px;
}
.question-fields label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  color: #7e8ca5;
  margin-bottom: 12px;
}
.question-fields .form-grid label {
  margin-bottom: 12px;
}
.review-question h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.review-question p {
  font-size: 12px;
  margin-bottom: 15px;
}
.review-question > label {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #9aa7b9;
}
.radio-group {
  display: flex;
  gap: 20px;
  margin: 15px 0 20px;
  font-size: 12px;
}
.radio-group label {
  display: flex;
  gap: 7px;
  align-items: center;
}
.radio-group input {
  accent-color: var(--blue);
}
.submit-space {
  margin-top: 20px;
}
.homework-image {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: auto;
}
.practice-question {
  padding: 20px 0;
  border-bottom: 1px solid #edf1f6;
}
.practice-question > b {
  font-size: 19px;
  font-weight: 500;
}
.answer-space {
  height: 36px;
}
.practice-question details {
  font-size: 12px;
  color: #91a1b8;
}
.practice-question summary {
  cursor: pointer;
  color: #6790c9;
}
.parent-shell {
  max-width: 680px;
  margin: 30px auto;
  padding: 15px;
}
.parent-shell > .muted {
  margin: 20px 0;
  font-size: 12px;
}
.parent-shell > .btn {
  margin-top: 20px;
}
.parent-report {
  padding: 20px 0;
  border-bottom: 1px solid #e8edf6;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
}
.login-intro {
  padding: 55px 9%;
  background:
    radial-gradient(ellipse at 40% 60%, #edf4ff 10%, transparent 70%),
    linear-gradient(140deg, #f1f6ff, #e7effe);
  display: flex;
  flex-direction: column;
  position: relative;
}
.login-intro > .brand {
  margin-bottom: 100px;
}
.login-intro h1 {
  font-size: 48px;
  line-height: 1.6;
  letter-spacing: -1px;
  color: #244675;
  margin: 15px 0 20px;
}
.login-intro > p {
  font-size: 15px;
  color: #8b9fbc;
  line-height: 2.2;
}
.intro-cards {
  display: flex;
  gap: 28px;
  margin-top: 50px;
  color: #7392bd;
  font-size: 12px;
}
.intro-cards span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.intro-cards .icon {
  width: 17px;
}
.login-intro > small {
  color: #a1b1c9;
  margin-top: auto;
  padding-top: 60px;
  font-size: 10px;
}
.login-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.login-card {
  max-width: 340px;
  width: 100%;
}
.mini-brand {
  display: none;
}
.login-card h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.login-card > .muted {
  font-size: 12px;
  margin-bottom: 35px;
}
.login-card label {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 23px;
  color: #8393ac;
}
.login-card input {
  padding: 14px;
  border-radius: 8px;
}
.login-card .btn {
  height: 46px;
}
.login-tip {
  font-size: 10px;
  color: #aab5c5;
  margin-top: 30px;
  line-height: 2;
  text-align: center;
}
.login-tip code {
  color: #859dbc;
  font-family: monospace;
  font-size: 10px;
}
.form-error {
  color: #de817a;
  font-size: 12px;
  min-height: 20px;
  margin-bottom: 10px;
}
.loading {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  color: #8aa0c0;
}
.app-mode .sidebar {
  display: none;
}
.app-mode .main-wrap {
  margin-left: 0;
  width: 100%;
  max-width: 900px;
  margin: auto;
}
.app-mode .mobile-nav {
  display: flex;
}
.app-mode .main-wrap main {
  padding-bottom: 95px;
}
.app-mode .desktop-footer {
  display: none;
}
.app-mode .breadcrumb {
  display: none;
}
.app-mode .topbar {
  padding: 0 24px;
}
.app-mode .quick-mobile {
  display: block;
}
.app-mode .page-heading h1 {
  font-size: 23px;
}
.app-mode .metrics {
  grid-template-columns: repeat(2, 1fr);
}
.app-mode .dashboard-middle {
  grid-template-columns: 1fr;
}
.app-mode .mobile-nav {
  left: 0;
}
.app-mode .class-cards {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 901px) {
  .app-mode .mobile-nav {
    left: 50%;
    transform: translateX(-50%);
    max-width: 900px;
  }
  .app-mode .quick-mobile {
    margin-top: 25px;
  }
  .app-mode .quick-mobile h2 {
    margin-bottom: 15px;
  }
  .app-mode .shortcut-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .app-mode .shortcut-grid button {
    border: 0;
    background: white;
    padding: 13px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    border-radius: 10px;
  }
}
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fffffff5;
  backdrop-filter: blur(15px);
  border-top: 1px solid #ebeff6;
  padding: 10px 9px max(12px, env(safe-area-inset-bottom));
  justify-content: space-around;
}
.mobile-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #a2aec0;
  background: none;
  border: 0;
  font-size: 10px;
  min-width: 49px;
}
.mobile-nav button.active {
  color: #246bfd;
}
.mobile-nav .icon {
  width: 21px;
  height: 21px;
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-wrap {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .sidebar .brand {
    font-size: 20px;
  }
  .org-switch {
    font-size: 10px;
  }
  .main-wrap main {
    padding: 20px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 16px;
  }
  .metric p {
    font-size: 9px;
  }
  .dashboard-middle {
    gap: 16px;
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, 1fr);
  }
  .chart-legend {
    display: none;
  }
  .class-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-date {
    display: none;
  }
  .page-heading h1 {
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .main-wrap {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 65px;
    padding: 0 19px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .breadcrumb > span,
  .breadcrumb > b {
    display: none;
  }
  .breadcrumb {
    font-size: 0;
  }
  .breadcrumb:before {
    content: "✦ 启星托管";
    font-size: 20px;
    color: #2457a9;
    font-weight: 700;
  }
  .top-actions {
    gap: 10px;
  }
  .user-meta,
  .notification,
  .top-date {
    display: none;
  }
  .top-actions .view-switch {
    font-size: 10px;
  }
  .main-wrap main,
  .app-mode .main-wrap main {
    padding: 16px 16px 95px;
  }
  .demo-notice {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .notice-secondary {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 19px;
    flex-direction: column;
    gap: 15px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading h1,
  .app-mode .page-heading h1 {
    font-size: 22px;
    line-height: 1.6;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.9;
  }
  .page-heading > .btn {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 34px;
  }
  .metrics,
  .app-mode .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 17px;
  }
  .metric {
    padding: 15px;
    border-radius: 11px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric-top .icon-box {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .metric-top .icon {
    width: 17px;
  }
  .metric-number {
    font-size: 30px;
    margin: 7px 0;
  }
  .metric p {
    font-size: 8px;
    line-height: 1.8;
  }
  .dashboard-middle,
  .app-mode .dashboard-middle {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 17px;
  }
  .section-head {
    padding: 18px 17px 14px;
  }
  .section-head h2 {
    font-size: 14px;
  }
  .section-head p {
    font-size: 9px;
  }
  .bar-chart {
    height: 145px;
    margin: 4px 22px 0;
  }
  .chart-foot {
    font-size: 8px;
    padding: 10px 17px;
  }
  .todo-row {
    padding: 12px 0;
  }
  .todo-panel {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
  .desktop-footer {
    display: none;
  }
  .quick-mobile {
    display: block;
    margin-top: 22px;
  }
  .quick-mobile h2 {
    margin-bottom: 14px;
  }
  .shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .shortcut-grid button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 8px;
    background: white;
    border: 1px solid #edf1f7;
    border-radius: 10px;
    font-size: 11px;
  }
  .shortcut-grid .icon-box {
    height: 33px;
    width: 33px;
  }
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .filter-left > select {
    flex: 1;
    width: 50%;
    min-width: 0;
  }
  .search input {
    width: 100%;
  }
  .search {
    width: 100%;
  }
  .class-cards,
  .app-mode .class-cards {
    grid-template-columns: 1fr;
  }
  .class-card {
    padding: 20px;
  }
  .class-stats {
    margin: 15px 0;
    padding-top: 15px;
  }
  .mini-stats {
    gap: 8px;
  }
  .mini-stats > div {
    padding: 11px 10px;
  }
  .mini-stats span {
    font-size: 9px;
  }
  .mini-stats b {
    font-size: 22px;
  }
  .mini-stats small {
    margin-left: 4px;
    font-size: 8px;
  }
  th,
  td {
    padding: 14px 15px;
  }
  table {
    font-size: 10px;
  }
  .info-banner {
    font-size: 10px;
    padding: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .info-banner > .icon {
    width: 17px;
  }
  .info-banner > span {
    flex: 1;
  }
  .info-banner .btn {
    padding: 3px 8px;
    min-height: 25px;
    font-size: 10px;
  }
  .errors-layout,
  .report-layout,
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .student-selector {
    max-height: 190px;
    overflow: auto;
  }
  .student-selector .section-head {
    position: sticky;
    top: 0;
    background: white;
    padding: 12px 16px;
  }
  .student-choice {
    padding: 10px 15px;
  }
  .report-preview {
    padding: 6px 3px 20px;
  }
  .report-preview .section-head h2 {
    font-size: 20px;
  }
  .timeline {
    margin-left: 16px;
    margin-right: 16px;
  }
  .timeline-item p {
    font-size: 12px;
  }
  .report-actions {
    margin-left: 17px;
    margin-right: 17px;
    gap: 10px;
  }
  .report-actions .btn {
    flex: 1;
    font-size: 10px;
    padding: 10px;
  }
  .report-preview > .small {
    font-size: 9px;
  }
  .ratings {
    margin-left: 17px;
    margin-right: 17px;
  }
  .ratings > div {
    font-size: 11px;
  }
  .padded {
    padding: 19px;
  }
  .integration-row {
    font-size: 10px;
    align-items: center;
  }
  .integration-row .badge {
    font-size: 8px;
  }
  .settings-grid h2 {
    font-size: 14px;
  }
  .settings-grid p {
    font-size: 11px;
  }
  .login-layout {
    display: block;
    background: linear-gradient(160deg, #eff5ff 0, white 50%);
    min-height: 100vh;
  }
  .login-intro {
    display: none;
  }
  .login-panel {
    min-height: 100vh;
    padding: 35px;
  }
  .login-card {
    max-width: 390px;
  }
  .mini-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #246bfd;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 50px;
  }
  .mini-brand .icon {
    fill: #246bfd;
    stroke: none;
    width: 32px;
    height: 32px;
  }
  .login-card h2 {
    font-size: 27px;
  }
  .form-grid {
    gap: 10px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-head {
    padding: 17px 20px;
  }
  .modal-head h2 {
    font-size: 15px;
  }
  dialog {
    max-height: 92dvh;
    border-radius: 14px;
  }
  .modal-body .info-banner {
    font-size: 10px;
  }
  .modal-body form > label,
  .form-grid label {
    font-size: 11px;
  }
  .modal-body input,
  .modal-body textarea,
  .modal-body select {
    font-size: 12px;
    width: 100%;
  }
  .radio-group input,
  .checkbox-label input {
    width: auto !important;
  }
  .radio-group {
    flex-direction: column;
    gap: 15px;
  }
  .question-fields,
  .review-question {
    padding: 14px;
  }
  .profile-details > div {
    grid-template-columns: 85px 1fr;
    font-size: 11px;
  }
  .profile-top {
    gap: 12px;
  }
  .profile-top h2 {
    font-size: 20px;
  }
  .profile-top p {
    font-size: 10px;
  }
  .profile-details dd {
    line-height: 1.8;
  }
  .profile-details dt {
    line-height: 1.8;
  }
  #toast {
    bottom: 90px;
    font-size: 11px;
    width: max-content;
    max-width: 90vw;
  }
  .parent-shell {
    margin-top: 10px;
  }
  .parent-shell .brand {
    font-size: 20px;
  }
  .app-mode .topbar {
    justify-content: space-between;
  }
  .app-mode .topbar:before {
    content: "✦ 启星托管";
    font-size: 20px;
    color: #2457a9;
    font-weight: 700;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  dialog[open] {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: none;
    box-shadow: none;
    overflow: visible;
    border: 0;
  }
  dialog .modal-head,
  dialog .modal-actions,
  dialog .no-print,
  dialog .small {
    display: none !important;
  }
  dialog .modal-body {
    padding: 20px;
  }
  dialog::backdrop {
    background: white;
  }
  .answer-space {
    height: 70px;
  }
  .practice-question {
    break-inside: avoid;
  }
  .practice-question details {
    display: none;
  }
}
.student-mobile-list {
  display: none;
}
.teacher-management {
  margin-bottom: 22px;
}
@media (max-width: 760px) {
  .student-table {
    display: none;
  }
  .student-mobile-list {
    display: block;
  }
  .mobile-student-card {
    padding: 17px;
    border-top: 1px solid #eff3f8;
  }
  .mobile-student-card p {
    margin: 12px 0;
    font-size: 10px;
  }
  .mobile-student-card .student-cell b {
    font-size: 13px;
  }
  .mobile-student-card .student-cell small {
    display: block;
    font-size: 9px;
    color: #9aa8bd;
    margin-top: 5px;
  }
}
@media (max-width: 760px) {
  .quick-mobile {
    margin: 6px 0 21px;
  }
  .quick-mobile h2 {
    font-size: 14px;
  }
  .shortcut-grid {
    gap: 8px;
  }
  .shortcut-grid button {
    padding: 12px 7px;
    font-size: 10px;
  }
  .page-heading {
    margin-bottom: 16px;
  }
  .page-heading h1 {
    font-size: 21px;
  }
  .metric {
    padding: 13px 15px;
  }
  .metric-number {
    font-size: 28px;
  }
  .metric p {
    font-size: 8px;
  }
}
