/* Academy: one shared visual vocabulary. Layout adapters live separately. */
@import url("/academy-fonts.css");
:root {
  --ink: #20242d;
  --graphite: #171b24;
  --navy: #252d47;
  --blue: #3454d1;
  --cyan: #3454d1;
  --aqua: #3454d1;
  --ice: #e8ecfb;
  --porcelain: #f3f2ed;
  --paper: #fffefa;
  --bg: #f3f2ed;
  --surface: #fffefa;
  --line: #dcdedc;
  --muted: #686e77;
  --good: #247753;
  --bad: #af4148;
  --warn: #986b27;
  --amber: #986b27;
  --shadow: 0 8px 28px #171b2409;
  --font-ui:
    "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Prata", Georgia, serif;
  --space-page: clamp(24px, 4.45vw, 64px);
  font-family: var(--font-ui);
  color-scheme: light;
}
html {
  background: var(--bg);
}
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
}
button,
input,
select,
textarea {
  font-family: var(--font-ui);
}
button,
.button,
.primary-btn,
.quiet-btn {
  border-radius: 7px;
  box-shadow: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
a {
  color: var(--blue);
}
button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}
.academy-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.academy-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.academy-kicker {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.academy-progress {
  height: 4px;
  background: var(--line);
  overflow: hidden;
  border-radius: 3px;
}
.academy-progress i {
  display: block;
  height: 100%;
  background: var(--blue);
}
body[data-teacher-theme="dark"]:not(.student-mode),
body.student-mode[data-student-theme="dark"] {
  --ink: #ecece7;
  --muted: #a4a9b3;
  --bg: #191d25;
  --surface: #222731;
  --paper: #222731;
  --porcelain: #191d25;
  --line: #393e49;
  --blue: #94a9ff;
  --good: #8ed0ac;
  --bad: #eea1a6;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
:root {
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --action: #3454d1;
  --on-action: #fff;
  --g-main: var(--bg);
  --g-alt: var(--surface);
  --g-dark: #171b24;
  --line-strong: #b1b6be;
  --r-btn: 6px;
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 13px;
}
body {
  font-weight: 400;
}
:where(button, .button, .primary-btn, .quiet-btn) {
  font-weight: 500;
}
:where(h1, h2, h3, h4, strong, b) {
  font-weight: 500;
}
:where(.label, .panel-caption, .student-eyebrow, .eyebrow) {
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.academy-boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  color: var(--muted);
  background: var(--bg);
}
.academy-boot-mark {
  width: 46px;
  height: 52px;
  background: #3454d1;
  mask: url("/assets/academy/mark.svg") center / contain no-repeat;
}
.academy-boot p {
  font-size: 14px;
  font-weight: 400;
}
body[data-academy-loading] > .app-shell {
  visibility: hidden;
}
body { min-height:100svh; }
