/* 知行刷题 · 公共样式
   设计变量、页面骨架、登录注册、报名缴费、弹窗与提示。
   三端共用，修改前先确认影响范围。 */

:root {
  --navy-950: #0b1f35;
  --navy-900: #102a47;
  --navy-850: #153555;
  --navy-800: #1b4064;
  --blue-700: #1466b8;
  --blue-600: #1a78d2;
  --blue-100: #e9f3ff;
  --blue-50: #f3f8fe;
  --teal-600: #079b88;
  --teal-100: #dff8f2;
  --orange-600: #ed7b2f;
  --orange-100: #fff0e3;
  --red-600: #d94c4c;
  --red-100: #fff0f0;
  --gold-500: #f1b44c;
  --green-600: #278a5b;
  --green-100: #e8f7ef;
  --ink: #172a3e;
  --ink-2: #30465c;
  --muted: #6e7d8f;
  --muted-2: #94a0ae;
  --line: #e5eaf0;
  --line-strong: #d7dee7;
  --canvas: #f4f7fa;
  --paper: #ffffff;
  --shadow-sm: 0 2px 8px rgba(22, 45, 70, .05);
  --shadow-md: 0 12px 30px rgba(22, 45, 70, .09);
  --shadow-lg: 0 25px 60px rgba(13, 37, 62, .16);
  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 20px;
  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", sans-serif;
  --font-number: "Aptos", "Segoe UI", "Microsoft YaHei UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow: hidden;
}

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

button {
  color: inherit;
}

button,
a,
label,
tr[data-clickable] {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(26, 120, 210, .2);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

#app {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.prototype-bar {
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 129, 197, .25), transparent 30%),
    linear-gradient(100deg, var(--navy-950), var(--navy-900) 55%, #123f63);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  z-index: 30;
}

.prototype-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.prototype-school-logo {
  width: auto;
  height: 31px;
  max-width: 154px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}

.brand-divider {
  width: 1px;
  height: 23px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, .18);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 10px 3px;
  color: #0d2a45;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 23px;
  font-weight: 800;
  background: linear-gradient(145deg, #fff4d8, #f3bd57);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: .08em;
}

.brand-copy span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  white-space: nowrap;
}

.mode-switcher {
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: rgba(255, 255, 255, .065);
}

.mode-btn {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, .65);
  background: transparent;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}

.mode-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mode-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.mode-btn.is-active {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}

.prototype-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .56);
  font-size: 11px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48d7a5;
  box-shadow: 0 0 0 4px rgba(72, 215, 165, .12);
}

.prototype-pill {
  margin-left: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 5px;
  color: rgba(255, 255, 255, .76);
}

#view-root {
  flex: 1;
  min-height: 0;
}

/* Authentication */
.login-shell {
  position: relative;
  height: 100%;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(390px, .92fr);
  overflow: hidden;
  background: #f6f9fc;
}

.login-atmosphere {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  bottom: -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 160, 225, .13), transparent 68%);
  pointer-events: none;
}

.login-brand-panel {
  min-height: 100%;
  padding: 58px clamp(42px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(64, 176, 231, .24), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(242, 186, 93, .12), transparent 34%),
    linear-gradient(135deg, #0c2948, #104f79 62%, #157696);
}

.login-brand-panel::before {
  content: "涉外";
  position: absolute;
  right: -18px;
  top: 50%;
  color: rgba(255, 255, 255, .035);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(190px, 23vw, 360px);
  line-height: .8;
  transform: translateY(-50%);
  pointer-events: none;
}

.login-official-logo {
  width: min(276px, 72%);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .2));
}

.login-brand-copy {
  max-width: 510px;
  margin-top: 55px;
  position: relative;
  z-index: 1;
}

.login-eyebrow {
  color: #f2c46b;
  font-family: var(--font-number);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.login-brand-copy h1 {
  margin: 14px 0 15px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.03em;
}

.login-brand-copy p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .63);
  font-size: 13px;
  line-height: 1.9;
}

.login-feature-row {
  display: flex;
  gap: 9px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.login-feature-row span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 7px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .055);
  font-size: 10px;
  backdrop-filter: blur(8px);
}

.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(28px, 5vw, 82px);
  position: relative;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 34px;
  border: 1px solid #e1e8ef;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(24, 55, 84, .12);
  backdrop-filter: blur(14px);
}

.login-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.login-endpoint {
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 9px;
  font-weight: 600;
}

.login-secure {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
}

.login-secure svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--green-600);
  stroke-width: 1.8;
}

.login-card h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 23px;
  letter-spacing: -.02em;
}

.login-description {
  margin: 8px 0 25px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.login-field {
  display: block;
  margin-bottom: 15px;
}

.login-field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
}

.login-field > div {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #dce4ec;
  border-radius: 9px;
  background: #fbfcfe;
  transition: .18s ease;
}

.login-field > div:focus-within {
  border-color: #7fb4de;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 120, 210, .08);
}

.login-field svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: #8293a5;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.login-password-toggle {
  padding: 0;
  border: 0;
  color: var(--blue-700);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.login-error {
  margin: 0 0 14px;
  padding: 9px 11px;
  border: 1px solid #f2d3d3;
  border-radius: 8px;
  color: var(--red-600);
  background: #fff7f7;
  font-size: 10px;
  line-height: 1.5;
}

.login-submit {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #1a78d2, #115c9f);
  box-shadow: 0 10px 20px rgba(20, 102, 184, .2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 24px rgba(20, 102, 184, .27);
}

.login-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.login-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: #f7f9fb;
  font-size: 9px;
}

.login-demo strong {
  color: var(--ink-2);
  font-size: 9px;
}

.login-api-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #8794a2;
  font-size: 9px;
}

.login-api-status .live-dot {
  width: 6px;
  height: 6px;
}

.login-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}

.login-switch button {
  padding: 0;
  border: 0;
  color: var(--blue-700);
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.login-switch button:hover {
  text-decoration: underline;
}

.register-card {
  max-height: 86vh;
  overflow-y: auto;
}

.register-card .login-field {
  margin-bottom: 12px;
}

.login-field select {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  appearance: none;
  cursor: pointer;
}

.login-field select:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

/* Enrollment */
.enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
}

.enrollment-panel {
  padding: 0;
  overflow: hidden;
}

.enrollment-intro {
  padding: 23px 25px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 196, 100, .2), transparent 32%),
    linear-gradient(110deg, #123b60, #176f9b);
}

.enrollment-intro strong {
  display: block;
  font-size: 17px;
}

.enrollment-intro p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
}

.enrollment-type-switch {
  display: flex;
  gap: 9px;
  padding: 16px 23px 0;
}

.enrollment-type {
  flex: 1;
  min-height: 70px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.enrollment-type.is-active {
  border-color: #8fc1e4;
  background: #f4faff;
  box-shadow: 0 0 0 3px rgba(26, 120, 210, .05);
}

.enrollment-type strong {
  display: block;
  font-size: 11px;
}

.enrollment-type span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.enrollment-body {
  padding: 20px 23px 25px;
}

.form-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.form-step-title span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-700);
  font-family: var(--font-number);
  font-size: 9px;
}

.enrollment-body .form-grid {
  margin-bottom: 20px;
}

.upload-box {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px dashed #c8d5e0;
  border-radius: 9px;
  color: var(--muted);
  background: #fafcfe;
  font-size: 10px;
  cursor: pointer;
}

.upload-box:hover {
  border-color: #90bfe1;
}

.upload-box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.enrollment-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #edf1f4;
}

.enrollment-submit p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.enrollment-history {
  padding: 18px;
  align-self: start;
}

.enrollment-history h3 {
  margin: 0 0 13px;
  font-size: 12px;
}

.order-card {
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.order-card strong {
  font-size: 10px;
}

.order-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #e5eaf0;
  color: var(--muted);
  font-size: 8px;
}

/* Modal and feedback */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 25, 42, .52);
  backdrop-filter: blur(3px);
  z-index: 100;
  animation: modalFade .18s ease both;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: min(610px, 100%);
  max-height: min(86vh, 790px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(8, 25, 43, .28);
  animation: modalRise .22s ease both;
  overflow: hidden;
}

.modal.wide {
  width: min(810px, 100%);
}

.modal.narrow {
  width: min(450px, 100%);
}

@keyframes modalRise {
  from { transform: translateY(12px) scale(.985); opacity: .7; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-head {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 15px;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

.modal-footer {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 11px 20px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.modal-footer .footer-hint {
  margin-right: auto;
  color: var(--muted);
  font-size: 9px;
}

.confirm-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 2px auto 15px;
  border-radius: 14px;
  color: var(--green-600);
  background: var(--green-100);
}

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

.confirm-copy {
  text-align: center;
}

.confirm-copy h3 {
  margin: 0;
  font-size: 15px;
}

.confirm-copy p {
  margin: 8px auto 0;
  max-width: 340px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.toast-root {
  position: fixed;
  top: 73px;
  left: 50%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  transform: translateX(-50%);
}

.toast {
  min-width: 230px;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  color: #fff;
  background: rgba(15, 37, 59, .94);
  box-shadow: 0 10px 26px rgba(8, 24, 41, .22);
  font-size: 11px;
  animation: toastIn .25s ease both;
  backdrop-filter: blur(9px);
}

.toast.is-leaving {
  animation: toastOut .22s ease both;
}

.toast-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: #5ed6aa;
  font-size: 10px;
  font-weight: 800;
}

.toast.info .toast-icon {
  background: #73bcec;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(-7px) scale(.98); }
}

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

.nowrap {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .prototype-meta {
    display: none;
  }

  .prototype-bar {
    grid-template-columns: 1fr auto;
  }

  .teacher-sidebar {
    width: 208px;
    flex-basis: 208px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .group-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-mode-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .paper-layout {
    grid-template-columns: 1fr;
  }

  .mini-stage {
    gap: 28px;
  }

  .mini-context {
    width: 260px;
  }
}

@media (max-width: 900px) {
  .prototype-bar {
    height: auto;
    min-height: 58px;
    grid-template-columns: 1fr;
    padding: 10px 14px;
  }

  .prototype-brand {
    display: flex;
  }

  .prototype-school-logo {
    height: 27px;
    max-width: 124px;
  }

  .brand-divider,
  .prototype-brand .brand-copy {
    display: none;
  }

  .mode-switcher {
    justify-self: center;
  }

  .teacher-sidebar {
    width: 72px;
    flex-basis: 72px;
  }

  .login-shell {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 58px);
    overflow: auto;
  }

  .login-brand-panel {
    min-height: 260px;
    padding: 34px 30px;
    justify-content: flex-start;
  }

  .login-official-logo {
    width: 220px;
  }

  .login-brand-copy {
    margin-top: 24px;
  }

  .login-brand-copy h1 {
    font-size: 28px;
  }

  .login-brand-copy p,
  .login-feature-row {
    display: none;
  }

  .login-form-panel {
    padding: 28px 22px 42px;
    align-items: flex-start;
  }

  .login-card {
    max-width: 520px;
  }

  .sidebar-head,
  .nav-group-title,
  .nav-item span,
  .nav-item small,
  .profile-copy,
  .sidebar-footer .icon-button {
    display: none;
  }

  .sidebar-nav {
    padding: 12px 9px;
  }

  .nav-item {
    justify-content: center;
    height: 45px;
    padding: 0;
  }

  .nav-item.is-active::before {
    left: -9px;
  }

  .sidebar-profile {
    justify-content: center;
    padding: 6px;
  }

  .teacher-topbar {
    padding: 0 16px;
  }

  .search-box {
    display: none;
  }

  .teacher-content {
    padding: 20px 16px 30px;
  }

  .dashboard-layout,
  .student-dashboard-grid,
  .stats-layout,
  .enrollment-layout,
  .notice-layout {
    grid-template-columns: 1fr;
  }

  .student-nav {
    display: none;
  }

  .student-nav-wrap {
    padding: 0 16px;
  }

  .student-main {
    padding: 20px 16px 35px;
  }

  .student-hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .practice-body {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .question-side {
    order: -1;
  }

  .answer-card-panel {
    display: none;
  }

  .practice-tip {
    display: none;
  }

  .mini-context {
    display: none;
  }

  .mini-stage {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  #app {
    min-height: 100vh;
    height: auto;
  }

  #view-root {
    min-height: calc(100vh - 58px);
  }

  .mode-btn {
    padding: 0 10px;
    font-size: 10px;
  }

  .login-brand-panel {
    min-height: 210px;
    padding: 26px 22px;
  }

  .login-official-logo {
    width: 190px;
  }

  .login-brand-copy {
    margin-top: 17px;
  }

  .login-brand-copy h1 {
    margin: 0;
    font-size: 23px;
  }

  .login-eyebrow {
    font-size: 7px;
  }

  .login-form-panel {
    padding: 18px 12px 32px;
  }

  .login-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .prototype-brand {
    display: none;
  }

  .mode-btn svg {
    width: 14px;
    height: 14px;
  }

  .teacher-shell {
    min-height: calc(100vh - 58px);
  }

  .teacher-sidebar {
    display: none;
  }

  .teacher-main {
    height: auto;
    min-height: calc(100vh - 58px);
  }

  .teacher-topbar {
    height: 55px;
  }

  .breadcrumb .sep,
  .breadcrumb span:first-child {
    display: none;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .heading-actions {
    width: 100%;
  }

  .metric-grid,
  .group-grid,
  .role-grid,
  .course-selector-row,
  .mode-detail-grid,
  .collection-summary,
  .stats-metric-row,
  .assessment-band {
    grid-template-columns: 1fr 1fr;
  }

  .mini-course-row {
    grid-template-columns: 1fr 50px;
  }

  .mini-course-row > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .student-user-copy {
    display: none;
  }

  .student-brand-copy span {
    display: none;
  }

  .hero-left {
    padding: 26px 22px;
  }

  .hero-left h1 {
    font-size: 23px;
  }

  .practice-mode-grid {
    grid-template-columns: 1fr 1fr;
  }

  .student-course-row {
    grid-template-columns: 1fr auto;
  }

  .student-course-row > .progress-track,
  .student-course-row > .progress-meta {
    display: none;
  }

  .practice-header {
    padding: 0 13px;
  }

  .practice-time {
    font-size: 10px;
  }

  .practice-body {
    padding: 10px;
  }

  .question-content {
    padding: 22px 18px;
  }

  .question-stem {
    font-size: 15px;
  }

  .question-top {
    padding: 13px;
    flex-wrap: wrap;
  }

  .question-action span {
    display: none;
  }

  .question-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .question-bottom-actions .button {
    flex: 1;
  }

  .mini-stage {
    padding: 0;
    display: block;
    background: #f4f8fb;
    overflow: visible;
  }

  .phone {
    width: 100%;
    height: calc(100vh - 58px);
    min-height: 620px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .phone::before {
    display: none;
  }

  .phone-screen {
    border-radius: 0;
  }

  .toast-root {
    top: 65px;
    width: calc(100% - 24px);
  }
}
