:root {
  --ink: #243B32;
  --muted: #647269;
  --forest: #07543F;
  --forest2: #087454;
  --lime: #FFD4A6;
  --paper: #F7F8F6;
  --line: #E3E9E4;
  --white: #fff;
  --green: #087454;
  --red: #BD3838;
  --accent: #F47721;
  --accent-strong: #C7480B;
  --accent-hover: #A93808;
  --accent-soft: #FFF0E1;
  --accent-ink: #99400E;
  --green-soft: #E9F5EF;
  --font:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
.task-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.share-exam {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px;
  margin-bottom: 13px;
}
.share-exam h3 {
  margin-bottom: 5px;
}
.share-exam p {
  font-size: 11px;
  margin-bottom: 12px;
}
.exam-intro {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
}
.exam-intro h2 {
  font-size: 25px;
  margin: 12px 0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button {
  border: 0;
}
a {
  color: inherit;
}
svg.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
button .icon {
  width: 18px;
  height: 18px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  font-weight: 650;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
}
.mono {
  font-variant-numeric: tabular-nums;
}
.app-shell {
  min-height: 100vh;
  padding-left: 242px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 242px;
  background: var(--forest);
  color: #dbe4dc;
  display: flex;
  flex-direction: column;
  padding: 34px 22px 20px;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 38px;
}
.brand-mark {
  background: var(--lime);
  color: var(--forest);
  font-size: 27px;
  font-weight: 750;
  line-height: 42px;
  text-align: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  letter-spacing: -4px;
  padding-right: 4px;
}
.brand-mark span {
  color: var(--muted);
}
.brand-name {
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 650;
  color: #fff;
  line-height: 1.2;
}
.brand-name small {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 7px;
}
.nav-caption {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0 15px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  color: #adc3b6;
  text-align: left;
  border-radius: 9px;
  padding: 12px 15px;
  font-size: 13px;
  transition: background 0.15s;
}
.nav button.active {
  background: var(--lime);
  color: var(--forest);
  font-weight: 650;
}
.nav button:hover:not(.active) {
  background: #ffffff0c;
  color: #fff;
}
.nav-count {
  margin-left: auto;
  border-radius: 5px;
  line-height: 19px;
  min-width: 20px;
  text-align: center;
  font-size: 11px;
  background: #ffffff12;
}
.active .nav-count {
  background: #bdd58e;
}
.sidebar-spacer {
  flex: 1;
  min-height: 35px;
}
.side-note {
  border: 1px solid #ffffff18;
  background: #ffffff05;
  padding: 17px;
  border-radius: 12px;
  margin-bottom: 23px;
  position: relative;
  overflow: hidden;
}
.side-note .icon {
  color: var(--lime);
  margin-bottom: 12px;
}
.side-note h4 {
  color: #eaf2e5;
  font-size: 12px;
  font-weight: 500;
}
.side-note p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
  line-height: 1.8;
}
.side-footer {
  border-top: 1px solid #ffffff16;
  padding: 18px 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5ecdf;
  color: var(--forest);
  font-weight: 650;
  flex-shrink: 0;
}
.side-footer .avatar {
  background: #41604b;
  color: #e3f0db;
}
.side-footer strong {
  font-size: 12px;
  color: #e1ebdd;
  display: block;
}
.side-footer small {
  font-size: 10px;
  color: var(--muted);
}
.side-footer button {
  margin-left: auto;
  color: var(--muted);
  background: none;
  padding: 5px;
}
.topbar {
  height: 79px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  gap: 15px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 11px;
  align-items: center;
}
.breadcrumb strong {
  font-weight: 500;
  color: #4a5c50;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.today-label {
  font-size: 12px;
  color: var(--muted);
}
.divider {
  height: 20px;
  width: 1px;
  background: var(--line);
}
.icon-button {
  border: 1px solid var(--line);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  color: var(--muted);
}
.online-dot {
  width: 7px;
  height: 7px;
  background: #78a875;
  border-radius: 100%;
  display: inline-block;
  margin-right: 7px;
}
.main {
  padding: 34px 40px 36px;
  max-width: 1590px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}
.heading-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 15px;
  line-height: 1.6;
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 3px 5px #07543F0a;
}
.btn-primary:hover {
  background: #2b5645;
}
.btn-light {
  border-color: var(--line);
  background: white;
  color: #55685a;
}
.btn-light:hover {
  background: #f3f6ed;
}
.btn-lime {
  background: var(--lime);
  color: var(--forest);
}
.btn-quiet {
  background: transparent;
  color: var(--muted);
  padding: 5px 8px;
  font-size: 12px;
}
.btn-danger {
  color: var(--red);
  background: #fff3ee;
}
.btn-sm {
  padding: 6px 11px;
  font-size: 11px;
  border-radius: 6px;
}
.welcome-banner {
  background: #e9eee2;
  border-radius: 14px;
  min-height: 177px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.welcome-copy {
  z-index: 1;
  position: relative;
}
.welcome-copy h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 5px 0 8px;
}
.welcome-copy p {
  font-size: 12px;
  color: var(--muted);
  max-width: 410px;
  line-height: 1.9;
}
.welcome-copy .eyebrow {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2.5px;
}
.welcome-art {
  width: 270px;
  height: 154px;
  position: absolute;
  right: 12px;
  bottom: 0;
}
.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
.banner-pill span {
  width: 4px;
  height: 4px;
  background: #8aab62;
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 27px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  padding: 19px 20px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4e9;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.stat-icon.blue {
  background: #edf3f7;
  color: #7c9eab;
}
.stat-icon.gold {
  background: #f8f3e9;
  color: #b09b64;
}
.stat-icon.purple {
  background: #f1edf6;
  color: #9c88af;
}
.stat-number {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 9px;
}
.stat-number small {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 5px;
  color: var(--muted);
}
.stat-foot {
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}
.stat-foot strong {
  font-weight: 500;
  color: var(--muted);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(270px, 1fr);
  gap: 23px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 23px 17px;
  gap: 12px;
}
.panel-header h2 {
  font-size: 15px;
}
.panel-header p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.section-link {
  background: none;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.section-link .icon {
  width: 14px;
  height: 14px;
}
.task-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 18px 23px;
  border-top: 1px solid #f0f2ec;
}
.subject-icon {
  width: 42px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3e9;
  color: var(--muted);
  border-radius: 10px;
  flex-shrink: 0;
}
.subject-icon.Mathematics {
  background: #eef1f8;
  color: #8a94b1;
}
.subject-icon.Physics {
  background: #f4eef8;
  color: #a08bb2;
}
.subject-icon.Business,
.subject-icon.Accounting {
  background: #f8f2e5;
  color: #b29d69;
}
.subject-icon.Chemistry {
  background: #e9f3f1;
  color: #6a9a91;
}
.task-detail {
  flex: 1;
  min-width: 0;
}
.task-title {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-meta {
  color: var(--muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.task-side {
  text-align: right;
  flex-shrink: 0;
}
.task-side p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  line-height: 1.8;
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
  background: #edf4e7;
  color: var(--muted);
  gap: 5px;
}
.badge.blue {
  background: #edf2f8;
  color: #7b93ad;
}
.badge.gray {
  background: #f0f2ee;
  color: var(--muted);
}
.badge.red {
  background: #fcf0eb;
  color: #ba7d69;
}
.badge.gold {
  background: #fcf5df;
  color: #b59441;
}
.badge.dot:before {
  content: "";
  width: 4px;
  height: 4px;
  display: block;
  background: currentColor;
  border-radius: 50%;
}
.chart-body {
  padding: 4px 23px 18px;
}
.chart-summary {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 27px;
  font-weight: 550;
  margin-top: 2px;
}
.chart-summary small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.chart {
  height: 147px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  padding: 16px 3px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 32px,
    #f2f4ed 33px,
    #f2f4ed 34px
  );
}
.chart-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  height: 100%;
  position: relative;
}
.chart-bar {
  width: 17px;
  max-height: 108px;
  background: #dfe9d4;
  border-radius: 5px 5px 0 0;
  min-height: 2px;
}
.chart-column:last-child .chart-bar {
  background: #718f59;
}
.chart-labels {
  display: flex;
  justify-content: space-around;
  font-size: 9px;
  color: var(--muted);
  margin-top: 10px;
}
.chart-value {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 3px;
}
.classes-strip {
  margin-top: 25px;
}
.class-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.class-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px;
  position: relative;
}
.class-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: #8b9d6f;
  border-radius: 0 3px 3px 0;
}
.class-card:nth-child(3n + 2):before {
  background: #94a9bd;
}
.class-card:nth-child(3n + 3):before {
  background: #c3ac7a;
}
.class-card h3 {
  font-size: 13px;
  margin: 12px 0 3px;
}
.class-card p {
  font-size: 10px;
  color: var(--muted);
}
.class-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
}
.mini-avatars {
  display: flex;
  padding-left: 6px;
}
.mini-avatars span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -6px;
  background: #edf1e6;
  color: var(--muted);
  font-size: 8px;
}
.program-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
}
.page-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 28px;
  letter-spacing: 0.3px;
}
.demo-banner {
  background: #f0f1db;
  color: var(--muted);
  padding: 8px 20px;
  font-size: 11px;
  text-align: center;
  border-bottom: 1px solid #e8e9d0;
}
.demo-banner button {
  background: none;
  text-decoration: underline;
  color: inherit;
  font-size: 11px;
  padding: 0 8px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}
.search-field .icon {
  position: absolute;
  left: 13px;
  top: 12px;
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.search-field input {
  padding-left: 37px;
}
.field,
input,
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #e1e7dc;
  border-radius: 7px;
  padding: 10px 11px;
  color: #3a4c3e;
  font-size: 12px;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #91ad6e;
  outline-offset: 1px;
}
input[type="checkbox"] {
  accent-color: var(--forest);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--forest);
}
select {
  cursor: pointer;
}
.toolbar select {
  width: auto;
  min-width: 140px;
}
.tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  background: #eaece4;
  border-radius: 8px;
  width: fit-content;
}
.tabs button {
  padding: 7px 15px;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.tabs button.active {
  color: #37583a;
  background: #fff;
  box-shadow: 0 1px 4px #00000008;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  background: #fafbf8;
  padding: 12px 20px;
  border-block: 1px solid var(--line);
}
td {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f2eb;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person .avatar {
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.table-secondary {
  color: var(--muted);
  font-size: 10px;
}
.progress-track {
  width: 90px;
  height: 5px;
  background: #edf1e6;
  border-radius: 10px;
  margin-top: 6px;
}
.progress-fill {
  height: 100%;
  background: #a8be8a;
  border-radius: 10px;
}
.score {
  font-size: 17px;
  font-weight: 550;
  color: var(--muted);
}
.score.low {
  color: #ba8a53;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.assignment-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.assignment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.assignment-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.assignment-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.assignment-stats {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  font-size: 11px;
  color: var(--muted);
}
.assignment-stats strong {
  font-size: 18px;
  color: var(--muted);
  font-weight: 550;
  margin-right: 3px;
}
.assignment-bottom {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 10px;
  color: var(--muted);
}
.word-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px;
}
.word-card h3 {
  font-size: 19px;
  line-height: 1.4;
  margin-top: 13px;
  font-weight: 550;
  letter-spacing: -0.3px;
}
.word-card .translation {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.word-sentence {
  font-size: 12px;
  line-height: 1.9;
  background: #f7f8f3;
  border-left: 2px solid #bdceab;
  padding: 12px 14px;
  margin: 15px 0 12px;
  color: var(--muted);
  font-family: Georgia, var(--font);
}
.word-card footer {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 11px;
  color: var(--muted);
}
.chip.active {
  background: var(--forest);
  color: #eaf3dd;
  border-color: var(--forest);
}
.empty {
  padding: 55px 25px;
  text-align: center;
  color: var(--muted);
}
.empty .icon {
  width: 37px;
  height: 37px;
  color: #b7c3a6;
  margin-bottom: 12px;
}
.empty h3 {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 7px;
}
.empty p {
  font-size: 12px;
  max-width: 400px;
  margin: 0 auto 17px;
  line-height: 1.9;
}
.alert {
  border-radius: 8px;
  padding: 11px 14px;
  background: #f4f6e9;
  border: 1px solid #e7edcf;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.alert.error {
  background: #fdf1ed;
  border-color: #f1dacf;
  color: #b37764;
}
.alert.success {
  background: #edf6e8;
  color: var(--muted);
  border-color: #deebd6;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #10251c66;
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px;
  animation: fade-in 0.15s;
}
.modal {
  background: #fff;
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 25px 80px #0e241d33;
  overflow: auto;
}
.modal.wide {
  max-width: 860px;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px 28px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.modal-head h2 {
  font-size: 18px;
}
.modal-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.modal-body {
  padding: 24px 28px;
}
.modal-footer {
  padding: 18px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--line);
  background: #fcfdf9;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-field {
  display: block;
  margin-bottom: 17px;
}
.form-grid .form-field {
  margin: 0;
}
.form-field > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
  font-weight: 550;
}
.form-field small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.full {
  grid-column: 1/-1;
}
.form-section {
  font-size: 12px;
  font-weight: 650;
  margin: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.form-section:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 205px;
  overflow: auto;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  cursor: pointer;
  font-size: 11px;
  background: #fafcf7;
}
.word-choice {
  width: calc(50% - 4px);
  align-items: flex-start;
  line-height: 1.7;
}
.word-choice strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.word-choice small {
  color: var(--muted);
  font-size: 10px;
}
.task-summary {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 12px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  padding: 13px 22px;
  background: var(--forest);
  color: white;
  box-shadow: 0 5px 30px #10251c26;
  z-index: 200;
  font-size: 12px;
  max-width: 90vw;
  animation: toast-in 0.2s;
}
.toast.error {
  background: #a56550;
}
.loading-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: white;
}
.login-art {
  background: var(--forest);
  padding: 52px 60px;
  color: #f3f6e8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-art .brand {
  padding: 0;
}
.login-art h1 {
  font-size: 47px;
  line-height: 1.45;
  font-weight: 550;
  letter-spacing: -1.5px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}
.login-art h1 em {
  font-style: normal;
  color: var(--lime);
}
.login-art > div > p {
  color: var(--muted);
  line-height: 2.1;
  font-size: 13px;
  margin-top: 23px;
  max-width: 330px;
}
.login-art .welcome-art {
  position: relative;
  right: auto;
  width: 100%;
  height: 260px;
  opacity: 0.9;
  margin-top: 10px;
}
.login-art footer {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 25px;
}
.login-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
  position: relative;
}
.login-box {
  width: 100%;
  max-width: 370px;
}
.login-box h2 {
  font-size: 27px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.login-box > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 28px;
}
.login-box .tabs {
  margin-bottom: 25px;
  width: 100%;
  gap: 4px;
}
.login-box .tabs button {
  flex: 1;
}
.login-box .btn {
  width: 100%;
  padding: 12px;
}
.login-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 25px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.login-bottom button {
  color: var(--muted);
  background: none;
  font-size: 11px;
  margin-top: 7px;
}
.login-badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 16px;
}
.student-main {
  max-width: 1150px;
}
.student-welcome {
  background: #e8edde;
  padding: 30px;
  border-radius: 14px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}
.student-welcome h2 {
  font-size: 25px;
  font-weight: 550;
  position: relative;
  z-index: 1;
}
.student-welcome p {
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.student-welcome .welcome-art {
  opacity: 0.65;
  height: 145px;
}
.student-score {
  font-size: 36px;
  font-weight: 550;
  margin: 15px 0 5px;
  color: var(--forest);
}
.student-score small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.exam-layout {
  max-width: 850px;
  margin: 0 auto;
}
.exam-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 18px;
}
.exam-clock {
  background: #ecf2e2;
  border: 1px solid #dce6cc;
  border-radius: 9px;
  padding: 10px 17px;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
}
.exam-clock.urgent {
  background: #fff0e9;
  color: #b97858;
  border-color: #f3d7c8;
}
.exam-progress {
  height: 5px;
  background: #e5eadb;
  border-radius: 10px;
  margin: 10px 0 25px;
  overflow: hidden;
}
.exam-progress > div {
  height: 100%;
  background: #88a761;
  border-radius: 10px;
  transition: width 0.2s;
}
.question-card {
  padding: 25px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 17px;
}
.question-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}
.question-card h3 {
  font-size: 16px;
  margin-bottom: 14px;
}
.question-prompt {
  font-family: Georgia, var(--font);
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  background: #f5f7f0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 19px;
}
.question-prompt mark {
  background: #dfecc1;
  color: #3e5b28;
  padding: 1px 3px;
  border-radius: 3px;
}
.choice-label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 12px 15px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  margin-top: 9px;
}
.choice-label:has(input:checked) {
  border-color: var(--muted);
  background: #f1f6e8;
}
.exam-sticky {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 17px 22px;
  border-radius: 11px;
  position: sticky;
  bottom: 15px;
  box-shadow: 0 5px 25px #1735230b;
}
.save-indicator {
  font-size: 11px;
  color: var(--muted);
}
.save-indicator.warning {
  color: #b57d57;
}
.result-hero {
  text-align: center;
  background: #eaf0de;
  border: 1px solid #dfe8ce;
  border-radius: 13px;
  padding: 30px;
  margin-bottom: 24px;
}
.result-hero h2 {
  font-size: 18px;
}
.result-number {
  font-size: 65px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -3px;
  color: #4d6c32;
  margin-top: 10px;
}
.result-number small {
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 5px;
}
.result-hero p {
  font-size: 12px;
  color: var(--muted);
}
.answer-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  margin-bottom: 12px;
  padding: 20px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.answer-row > .icon {
  color: var(--muted);
}
.answer-row.wrong > .icon {
  color: #bb8a67;
}
.answer-row strong {
  font-size: 13px;
  font-weight: 550;
}
.answer-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.9;
}
.answer-row small {
  font-size: 10px;
  color: var(--muted);
}
.mistake-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px;
}
.mistake-card h3 {
  font-size: 20px;
  font-weight: 550;
  margin: 12px 0 5px;
}
.mistake-card .badge {
  margin-right: 5px;
}
.mistake-card .btn {
  margin-top: 15px;
  width: 100%;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  margin: 20px 0;
}
.detail-grid strong {
  font-size: 25px;
  display: block;
}
.detail-grid small {
  font-size: 11px;
  color: var(--muted);
}
.connection-banner {
  background: #fff0e3;
  padding: 10px 20px;
  text-align: center;
  color: #b17d55;
  font-size: 12px;
}
.install-steps {
  font-size: 13px;
  color: var(--muted);
  line-height: 2.1;
  padding-left: 20px;
}
.mobile-menu {
  display: none;
}
.file-input {
  border: 1px dashed #c6d1b8;
  background: #f8faf4;
  border-radius: 9px;
  padding: 18px;
  margin-top: 15px;
}
.privacy-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 20px;
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.class-select-heading {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.attempt-user {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.clickable {
  cursor: pointer;
}
.clickable:hover {
  border-color: #bbccab;
}
.invite-link {
  word-break: break-all;
  font-size: 11px;
  font-family: monospace;
  background: #f4f7ef;
  padding: 10px;
  border-radius: 6px;
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    bottom: 18px;
  }
  to {
    opacity: 1;
    bottom: 26px;
  }
}
@media (min-width: 1600px) {
  .main {
    padding-top: 42px;
  }
  .stats-grid {
    gap: 23px;
  }
  .welcome-banner {
    min-height: 190px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-inline: 16px;
  }
  .app-shell {
    padding-left: 210px;
  }
  .main {
    padding: 28px;
  }
  .topbar {
    padding-inline: 28px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
    gap: 18px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card {
    padding: 16px;
  }
  .welcome-art {
    right: -30px;
  }
  .login-art {
    padding: 40px;
  }
  .login-art h1 {
    font-size: 39px;
  }
}
@media (max-width: 1000px) {
  .stats-grid {
    gap: 11px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .chart {
    height: 120px;
  }
  .class-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .today-label {
    display: none;
  }
  .top-actions {
    gap: 9px;
  }
  .main {
    padding: 25px;
  }
  .welcome-art {
    width: 235px;
    opacity: 0.6;
  }
  .welcome-copy p {
    max-width: 300px;
  }
  .stat-number {
    font-size: 26px;
  }
  .stat-top {
    font-size: 10px;
  }
  .login-art h1 {
    font-size: 33px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 10px 0 50px #07543F22;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .app-shell {
    padding-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .top-actions > .divider {
    display: none;
  }
  .main {
    padding: 23px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 10px;
  }
  h1 {
    font-size: 24px;
  }
  .heading-actions {
    gap: 6px;
  }
  .heading-actions .btn {
    padding: 9px 10px;
    font-size: 11px;
  }
  .welcome-banner {
    padding: 23px;
    min-height: 175px;
  }
  .welcome-copy h2 {
    font-size: 21px;
  }
  .welcome-art {
    right: -65px;
    opacity: 0.4;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stat-top {
    font-size: 11px;
  }
  .cards-grid,
  .class-cards {
    grid-template-columns: 1fr;
  }
  .top-actions .btn {
    font-size: 10px;
    padding: 6px 8px;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-footer {
    padding: 16px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .word-choice {
    width: 100%;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 25px;
    min-height: auto;
  }
  .login-art h1 {
    font-size: 25px;
    margin-top: 30px;
  }
  .login-art > div > p {
    margin-top: 10px;
    font-size: 11px;
  }
  .login-art .welcome-art {
    display: none;
  }
  .login-art footer {
    display: none;
  }
  .login-form-area {
    padding: 30px 25px;
  }
  .exam-clock {
    font-size: 16px;
    padding: 8px 11px;
  }
  .question-card {
    padding: 20px;
  }
  .question-prompt {
    font-size: 16px;
    padding: 16px;
  }
  .task-row {
    padding: 16px;
  }
  .task-title {
    font-size: 11px;
  }
  .task-meta {
    font-size: 9px;
  }
  .panel-header {
    padding: 18px;
  }
  .page-footer {
    font-size: 8px;
  }
  .toolbar select {
    min-width: 100px;
    max-width: 100%;
  }
  .student-welcome {
    padding: 24px;
  }
  .student-welcome h2 {
    font-size: 23px;
  }
  .demo-banner {
    font-size: 10px;
  }
  .exam-sticky {
    padding: 13px;
  }
  .exam-sticky .btn {
    font-size: 11px;
    padding: 10px;
  }
  .save-indicator {
    font-size: 10px;
  }
  .form-grid .full {
    grid-column: auto;
  }
}

/* Classroom palette: deep green, energetic orange, warm white. */
.sidebar,
.login-art {
  background: linear-gradient(155deg, #086149 0%, #064735 100%);
}
.brand-mark {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 16px #002c2526;
}
.brand-mark span { color: #fff0d8; }
.brand-name small,
.nav-caption,
.side-note p,
.side-footer small,
.side-footer button,
.login-art > div > p,
.login-art footer { color: #BEDACB; }
.nav button { color: #D6E9DE; }
.nav button.active {
  background: var(--accent-soft);
  color: #91400E;
  box-shadow: inset 3px 0 0 var(--accent);
}
.active .nav-count { background: #FFD7AE; color: #7C330E; }
.btn-primary {
  background: var(--accent-strong);
  box-shadow: 0 4px 10px #C7480B1A;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-light { color: #3E584C; }
.btn-light:hover { background: var(--green-soft); border-color: #C8DDCF; }
.btn-lime { background: var(--accent-soft); color: var(--accent-ink); }
.btn-quiet { color: #3E6753; }
.welcome-banner {
  background: linear-gradient(110deg, #FFF0DF 0%, #FFF8EF 64%, #EDF5EE 100%);
  border: 1px solid #F4DFCA;
}
.welcome-copy .eyebrow { color: var(--accent-ink); }
.welcome-copy h2 { color: #164C39; }
.welcome-copy p,
.banner-pill { color: #58685D; }
.banner-pill span { background: var(--accent); }
.stat-icon,
.subject-icon { background: var(--green-soft); color: #087454; }
.stat-icon.gold,
.subject-icon.Accounting { background: var(--accent-soft); color: var(--accent-ink); }
.stat-icon.blue { color: #316C8B; }
.stat-icon.purple { color: #77508E; }
.stat-top,
.table-secondary,
.assignment-card > p,
.chart-labels,
.chart-value,
.privacy-note,
.login-box > p { color: var(--muted); }
.stat-number,
.score,
.student-score,
.result-number { color: #07543F; }
.progress-fill,
.exam-progress > div { background: var(--accent); }
.chart-bar { background: #BBD9C7; }
.chart-column:last-child .chart-bar { background: var(--accent); }
.badge { background: var(--green-soft); color: #176747; }
.badge.gold { background: var(--accent-soft); color: var(--accent-ink); }
.badge.red { background: #FDEDEC; color: #AE3434; }
.badge.blue { background: #EDF3F8; color: #396D92; }
.badge.gray { background: #F0F3F0; color: #5D6C63; }
.alert { background: #FFF6E9; border-color: #F0DFC3; color: #795522; }
.alert.success { background: var(--green-soft); border-color: #CCE2D4; color: #176747; }
.alert.error { background: #FDEDEC; border-color: #F1CECA; color: #AE3434; }
.login-art h1 em { color: #FFBB70; }
.login-badge { background: var(--green-soft); color: #176747; }
.login-art .eyebrow { color: #FFD4A6 !important; }
.tabs { background: #F1F4F1; }
.tabs button.active { color: #07543F; box-shadow: 0 2px 6px #153F3010; }
.exam-clock { background: var(--green-soft); border-color: #CCE2D4; color: #176747; }
.exam-clock.urgent { background: #FFF0E5; border-color: #F1C5A4; color: #B23D0B; }
.question-prompt mark,
.word-sentence mark { background: #FFE2BE; color: #79380D; }
.choice-label:has(input:checked),
.check-item:has(input:checked) { background: #EDF7F0; border-color: #87B89C; }
:is(input, select, textarea):focus-visible { outline-color: var(--accent-strong); }
.panel,
.stat-card,
.assignment-card,
.word-card { box-shadow: 0 3px 14px #153F3005; }
