/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme {
  :root,
  :host {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

/* Yanni Tutor subject-first welcome */
.academic-dashboard.welcome-dashboard {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.24), transparent 34%),
    linear-gradient(155deg, #071a45 0%, #0b327c 55%, #0a58bf 100%);
}
.welcome-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  min-height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) 24px max(30px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.welcome-brand .eyebrow {
  color: #67e8f9;
  letter-spacing: 0.22em;
}
.welcome-brand h1 {
  margin-top: 4px;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 850;
}
.welcome-owl {
  position: relative;
  width: min(66vw, 410px);
  height: min(48dvh, 450px);
  margin: 8px 0 24px;
}
.welcome-owl img {
  object-fit: contain;
  image-rendering: auto;
}
.welcome-dashboard .welcome-stage h2 {
  color: #fff;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 760;
  line-height: 1.15;
}
.welcome-options {
  width: min(100%, 610px);
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.welcome-dashboard .welcome-options button {
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 20px;
  color: #08265c;
  background: #fff;
  box-shadow: 0 12px 26px rgba(2, 14, 45, 0.24);
  font-size: 1.05rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.welcome-dashboard .welcome-options button:hover,
.welcome-dashboard .welcome-options button:focus-visible {
  transform: translateY(-3px);
  background: #dff8ff;
  box-shadow: 0 16px 32px rgba(2, 14, 45, 0.32);
  outline: 3px solid #67e8f9;
  outline-offset: 2px;
}
.academic-dashboard .dashboard-back {
  display: block;
  margin-bottom: 8px;
  color: #67e8f9;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}
@media (max-width: 560px) {
  .welcome-stage {
    justify-content: space-evenly;
    padding-inline: 18px;
  }
  .welcome-owl {
    width: min(82vw, 360px);
    height: min(43dvh, 390px);
    margin-block: 0 20px;
  }
  .welcome-options {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .welcome-dashboard .welcome-options button {
    min-height: 56px;
    border-radius: 17px;
  }
}
@media (min-width: 561px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .welcome-stage {
    width: min(100%, 920px);
    padding-block: max(20px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-bottom));
  }
  .welcome-owl {
    flex: 0 0 auto;
    width: min(44vw, 360px);
    height: min(42dvh, 360px);
    margin: 12px 0 34px;
  }
  .welcome-dashboard .welcome-stage h2 {
    position: relative;
    z-index: 2;
  }
  .welcome-options {
    width: min(82vw, 700px);
  }
}
@media (min-width: 561px) and (max-width: 1366px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .welcome-owl {
    width: min(34vw, 340px);
    height: min(38dvh, 320px);
    margin-bottom: 32px;
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(
      --default-mono-font-variation-settings,
      normal
    );
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or
    (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .visible {
    visibility: visible;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .resize {
    resize: both;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
:root {
  --midnight: #04122c;
  --navy: #071d46;
  --card: #0c285d;
  --card-deep: #071b40;
  --royal: #2866ed;
  --cyan: #42c9f5;
  --aqua: #6ce9f4;
  --white: #f7fbff;
  --muted: #abc1df;
  --line: #5edaf940;
  --shadow: #00071a7a;
}
* {
  box-sizing: border-box;
}
html,
body {
  background: var(--midnight);
  width: 100%;
  min-height: 100%;
  color: var(--white);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
button,
input,
select {
  font: inherit;
}
.academic-dashboard {
  min-height: 100dvh;
  color: var(--white);
  isolation: isolate;
  background: linear-gradient(150deg, #03112b 0%, #071e48 55%, #06345e 100%);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.dashboard-glow {
  z-index: -1;
  filter: blur(20px);
  opacity: 0.28;
  background: #168dd1;
  border-radius: 50%;
  width: 440px;
  height: 440px;
  position: fixed;
}
.dashboard-glow-one {
  top: -190px;
  right: -180px;
}
.dashboard-glow-two {
  background: #2866ed;
  bottom: -230px;
  left: -250px;
}
.dashboard-header {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  display: flex;
}
.dashboard-header h1 {
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}
.dashboard-hero {
  background: linear-gradient(125deg, #0c285dfa, #0c437ef2);
  border: 1px solid #6ce9f447;
  border-radius: 30px;
  align-items: center;
  width: min(1180px, 100%);
  min-height: 245px;
  margin: 0 auto 16px;
  padding: clamp(24px, 5vw, 50px);
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px #00071a6b;
}
.dashboard-copy {
  z-index: 2;
  width: min(670px, 70%);
  position: relative;
}
.dashboard-pill {
  color: var(--aqua);
  letter-spacing: 0.12em;
  border: 1px solid #6ce9f459;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.67rem;
  font-weight: 900;
  display: inline-block;
}
.dashboard-copy h2 {
  letter-spacing: -0.045em;
  margin: 16px 0 9px;
  font:
    800 clamp(2rem, 5vw, 4.25rem) / 0.98 Trebuchet MS,
    Arial,
    sans-serif;
}
.dashboard-copy p {
  color: #bed2eb;
  max-width: 650px;
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1.08rem);
  line-height: 1.55;
}
.dashboard-owl {
  width: 300px;
  height: 300px;
  position: absolute;
  bottom: -42px;
  right: 3%;
}
.dashboard-owl img {
  object-fit: contain;
  filter: drop-shadow(0 20px 18px #00000059);
}
.dashboard-builder {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
}
.dashboard-section {
  background: #06193ceb;
  border: 1px solid #6ce9f433;
  border-radius: 22px;
  min-width: 0;
  padding: 20px;
  box-shadow: 0 16px 44px #00071a40;
}
.program-section,
.dashboard-final {
  grid-column: 1/-1;
}
.section-title {
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  display: flex;
}
.section-title > span {
  color: #04122c;
  background: var(--aqua);
  border-radius: 50%;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 0.78rem;
  font-weight: 900;
  display: grid;
}
.section-title div {
  gap: 2px;
  display: grid;
}
.section-title strong {
  font-size: 0.96rem;
}
.section-title small {
  color: var(--muted);
  font-size: 0.68rem;
}
.choice-grid {
  gap: 10px;
  display: grid;
}
.choice-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choice-card {
  text-align: left;
  color: #fff;
  cursor: pointer;
  background: #0c2d62;
  border: 1px solid #6ce9f42e;
  border-radius: 16px;
  gap: 7px;
  min-height: 82px;
  padding: 15px;
  display: grid;
}
.choice-card b {
  font-size: 1.08rem;
}
.choice-card span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}
.choice-card.selected,
.subject-card.selected {
  border-color: var(--aqua);
  background: #124b96;
  box-shadow: inset 0 0 0 1px #6ce9f433;
}
.segmented {
  background: #031631;
  border-radius: 15px;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 5px;
  display: grid;
}
.program-section + .dashboard-section .segmented:has(button:nth-child(4)) {
  grid-template-columns: repeat(4, 1fr);
}
.segmented button {
  min-height: 46px;
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 800;
}
.segmented button.active {
  color: #04122c;
  background: var(--aqua);
}
.dashboard-row {
  grid-template-columns: 0.7fr 1.15fr 1fr;
  align-content: center;
  gap: 10px;
  display: grid;
}
.dashboard-row label,
.dashboard-final label {
  gap: 7px;
  min-width: 0;
  display: grid;
}
.dashboard-row label > span,
.dashboard-final label > span {
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.67rem;
  font-weight: 900;
}
.dashboard-row label > strong {
  background: #061a3b;
  border: 1px solid #6ce9f42e;
  border-radius: 13px;
  align-items: center;
  min-height: 47px;
  padding: 0 13px;
  display: flex;
}
.dashboard-row select,
.dashboard-final select {
  color: #fff;
  background: #061a3b;
  border: 1px solid #6ce9f438;
  border-radius: 13px;
  outline: 0;
  width: 100%;
  min-height: 47px;
  padding: 0 36px 0 13px;
}
.subject-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 246px;
  padding-right: 3px;
  display: grid;
  overflow-y: auto;
}
.subject-card {
  text-align: left;
  color: #fff;
  cursor: pointer;
  background: #0b2a5a;
  border: 1px solid #6ce9f429;
  border-radius: 14px;
  align-items: center;
  gap: 9px;
  min-height: 72px;
  padding: 11px;
  display: flex;
}
.subject-card > span {
  font-size: 1.35rem;
}
.subject-card b {
  font-size: 0.76rem;
  line-height: 1.25;
}
.dashboard-final {
  grid-template-columns: minmax(230px, 1.1fr) minmax(280px, 1.4fr) auto;
  align-items: end;
  gap: 13px;
  display: grid;
}
.context-summary {
  align-items: center;
  gap: 6px;
  min-height: 47px;
  display: flex;
  overflow: hidden;
}
.context-summary span {
  color: #bfeeff;
  white-space: nowrap;
  background: #0c376f;
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 0.65rem;
  font-weight: 800;
}
.start-yanni {
  color: #fff;
  background: var(--royal);
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  min-height: 49px;
  padding: 0 20px;
  font-weight: 900;
  box-shadow: 0 13px 25px #092d9159;
}
.start-yanni span {
  margin-left: 12px;
  font-size: 1.2rem;
}
.dashboard-footnote {
  color: #7f9dc5;
  text-align: center;
  margin: 14px auto 0;
  font-size: 0.68rem;
}
.route-button {
  min-height: 34px;
  color: var(--aqua);
  cursor: pointer;
  background: #071d46;
  border: 1px solid #6ce9f459;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.68rem;
  font-weight: 800;
}
.academic-breadcrumb {
  color: #92afd2;
  margin: 5px 0 0;
  font-size: 0.68rem;
}
.play-actions {
  color: #d8e9fa;
  background: #082854d1;
  border: 1px solid #6ce9f433;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: -4px 24px 10px;
  padding: 10px 12px;
  font-size: 0.72rem;
  display: flex;
}
.play-actions button {
  color: #04122c;
  background: var(--aqua);
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  min-height: 35px;
  padding: 0 11px;
  font-size: 0.68rem;
  font-weight: 900;
}
.play-quick-link {
  color: #04122c;
  background: var(--aqua);
  border: 0;
  border-radius: 999px;
  min-height: 30px;
  padding: 4px 12px;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}
.play-quick-link:hover,
.play-quick-link:focus-visible {
  background: #a1f7ff;
}
.play-sheet {
  color: #fff;
  background: linear-gradient(145deg, #0d2d66, #061936);
  border: 1px solid #6ce9f457;
  border-radius: 25px;
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  padding: 24px;
  overflow-y: auto;
  box-shadow: 0 30px 90px #00051499;
}
.play-sheet header {
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  display: flex;
}
.play-sheet h2 {
  margin: 6px 0 0;
}
.play-sheet header button {
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  background: #03142f;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  font-size: 1.5rem;
}
.play-sheet > p {
  color: var(--muted);
  line-height: 1.5;
}
.play-sheet pre {
  white-space: pre-wrap;
  color: #e8f5ff;
  background: #03142f;
  border: 1px solid #6ce9f42e;
  border-radius: 15px;
  max-height: 48dvh;
  padding: 16px;
  font:
    0.76rem/1.55 Arial,
    sans-serif;
  overflow: auto;
}
.play-sheet footer {
  justify-content: flex-end;
  gap: 9px;
  display: flex;
}
.play-sheet footer button,
.play-sheet footer a {
  color: #04122c;
  background: var(--aqua);
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
}
.play-sheet footer a {
  color: #fff;
  background: var(--royal);
}
@media (width<=760px) {
  .academic-dashboard {
    padding: 14px;
  }
  .dashboard-header {
    align-items: flex-start;
  }
  .dashboard-header .pilot-badge {
    white-space: normal;
    text-align: center;
    max-width: 150px;
  }
  .dashboard-hero {
    align-items: flex-start;
    min-height: 270px;
    padding: 25px 22px;
  }
  .dashboard-copy {
    width: 76%;
  }
  .dashboard-copy h2 {
    font-size: 2.35rem;
  }
  .dashboard-copy p {
    font-size: 0.82rem;
  }
  .dashboard-owl {
    opacity: 0.94;
    width: 190px;
    height: 190px;
    bottom: -18px;
    right: -20px;
  }
  .dashboard-builder {
    grid-template-columns: 1fr;
  }
  .program-section,
  .dashboard-final {
    grid-column: auto;
  }
  .choice-grid-two {
    grid-template-columns: 1fr 1fr;
  }
  .choice-card {
    min-height: 92px;
  }
  .dashboard-row {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-row label:last-child {
    grid-column: 1/-1;
  }
  .subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }
  .dashboard-final {
    grid-template-columns: 1fr;
  }
  .context-summary {
    flex-wrap: wrap;
  }
  .start-yanni {
    width: 100%;
  }
  .choice-grid-three {
    grid-template-columns: 1fr;
  }
  .play-sheet {
    padding: 20px;
  }
  .play-sheet footer {
    grid-template-columns: 1fr;
    display: grid;
  }
  .play-sheet footer button,
  .play-sheet footer a {
    justify-content: center;
  }
}
button {
  -webkit-tap-highlight-color: transparent;
}
.install-app-button,
.installed-badge {
  color: #04122c;
  background: var(--aqua);
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #6ce9f49e;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  font-size: 0.76rem;
  font-weight: 900;
  display: inline-flex;
}
.install-app-button:hover {
  background: #a2f5fb;
}
.installed-badge {
  color: var(--aqua);
  cursor: default;
  background: #09214ce0;
}
.install-backdrop {
  z-index: 10000;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  background: #010818c7;
  place-items: center;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}
.install-card {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(145deg, #0d2d66, #061936);
  border: 1px solid #6ce9f461;
  border-radius: 26px;
  width: min(430px, 100%);
  max-height: calc(100dvh - 36px);
  padding: 30px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 24px 80px #0005149e;
}
@media (width<=600px) {
  .install-backdrop {
    padding: max(14px, env(safe-area-inset-top)) 14px
      max(14px, env(safe-area-inset-bottom));
    place-items: start center;
  }
  .install-card {
    max-height: calc(
      100dvh - max(28px, env(safe-area-inset-top) + env(safe-area-inset-bottom))
    );
    padding: 26px 24px 24px;
  }
}
.install-card h2 {
  margin: 9px 0 18px;
  font-size: 1.65rem;
}
.install-card ol {
  color: #e8f3ff;
  margin: 0;
  padding-left: 1.35rem;
  line-height: 1.65;
}
.install-note {
  color: var(--muted);
  margin: 18px 0;
  line-height: 1.5;
}
.install-close {
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  color: var(--white);
  cursor: pointer;
  background: #030f26b3;
  border-radius: 50%;
  position: absolute;
  top: 14px;
  right: 16px;
}
.install-done {
  color: #04122c;
  background: var(--aqua);
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  width: 100%;
  min-height: 46px;
  font-weight: 900;
}
.yanni-app {
  height: var(--yanni-viewport-height, 100dvh);
  background: var(--midnight);
  isolation: isolate;
  min-height: 640px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.ambient {
  z-index: -1;
  opacity: 0.52;
  filter: blur(1px);
  background: #123a7f;
  border-radius: 999px;
  position: absolute;
}
.ambient-one {
  width: 440px;
  height: 440px;
  top: -230px;
  right: -210px;
}
.ambient-two {
  opacity: 0.38;
  background: #07557e;
  width: 360px;
  height: 360px;
  bottom: -210px;
  left: -250px;
}
.topbar {
  z-index: 20;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(1440px, 100%);
  height: 68px;
  margin: 0 auto 14px;
  display: flex;
  position: relative;
}
.eyebrow,
.stage-kicker,
.caption-name,
.message-role {
  color: var(--cyan);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 800;
}
.eyebrow {
  font-size: 0.73rem;
}
.topbar h1 {
  letter-spacing: -0.035em;
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
}
.topbar-status {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  display: flex;
}
.pilot-badge,
.connection,
.voice-label,
.state-chip {
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #09214ce0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: 0.69rem;
  font-weight: 800;
  display: inline-flex;
}
.pilot-badge {
  color: var(--aqua);
  padding: 7px 11px;
}
.connection {
  padding: 5px 10px;
}
.connection i,
.state-chip i {
  background: #fbbf24;
  border-radius: 999px;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  display: inline-block;
}
.connection-live i,
.state-ready .state-chip i {
  background: #4ade80;
}
.connection-offline i {
  background: #fb7185;
}
.experience-grid {
  grid-template-columns: minmax(420px, 0.96fr) minmax(480px, 1.04fr);
  gap: 14px;
  width: min(1440px, 100%);
  height: calc(100% - 82px);
  margin: 0 auto;
  display: grid;
}
.owl-stage,
.conversation-panel {
  border: 1px solid var(--line);
  min-height: 0;
  box-shadow: 0 22px 60px var(--shadow);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}
.owl-stage {
  background: var(--card);
}
.owl-stage:before {
  content: "";
  opacity: 0.85;
  background: #1596cb;
  border-radius: 50%;
  width: 330px;
  height: 330px;
  position: absolute;
  bottom: -40px;
  right: -70px;
}
.owl-stage:after {
  content: "";
  pointer-events: none;
  border-radius: inherit;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px #ffffff06;
}
.stage-copy {
  z-index: 6;
  width: 54%;
  position: absolute;
  top: clamp(24px, 5vh, 58px);
  left: clamp(22px, 4vw, 52px);
}
.stage-kicker {
  font-size: clamp(0.68rem, 1vw, 0.84rem);
}
.stage-copy h2 {
  letter-spacing: -0.025em;
  margin: 15px 0 0;
  font-family:
    Trebuchet MS,
    Segoe UI,
    Arial,
    sans-serif;
  font-size: clamp(2.05rem, 5vw, 4.75rem);
  line-height: 0.98;
}
.stage-copy h2 > strong {
  font: inherit;
  display: block;
}
.stage-copy h2 span {
  color: #d9e7fa;
  letter-spacing: -0.035em;
  margin-top: 9px;
  font-size: 0.55em;
  line-height: 1.03;
  display: block;
}
.state-chip {
  z-index: 10;
  min-width: 104px;
  color: var(--aqua);
  background: #031431e6;
  padding: 8px 12px;
  position: absolute;
  top: 24px;
  right: 24px;
}
.state-listening .state-chip i,
.state-speaking .state-chip i {
  background: var(--aqua);
  animation: 0.9s ease-in-out infinite pulseDot;
}
.state-thinking .state-chip i {
  background: #fbbf24;
  animation: 1.25s ease-in-out infinite pulseDot;
}
.owl-orbit {
  z-index: 1;
  aspect-ratio: 1;
  width: min(74%, 540px);
  position: absolute;
  bottom: 4%;
  right: 1%;
}
.orbit {
  opacity: 0.7;
  border: 1px solid #68e8f42e;
  border-radius: 50%;
  position: absolute;
  inset: 7%;
}
.orbit-two {
  border-color: #ffffff29;
  inset: 18%;
}
.state-listening .orbit-one,
.state-speaking .orbit-one {
  animation: 1.35s ease-out infinite orbitPulse;
}
.state-thinking .orbit-two {
  border-style: dashed;
  animation: 5s linear infinite orbitSpin;
}
.owl-wrap {
  z-index: 4;
  aspect-ratio: 0.93;
  transform-origin: 50% 85%;
  width: min(67%, 510px);
  animation: 3.4s ease-in-out infinite owlIdle;
  position: absolute;
  bottom: -4.5%;
  right: -1.5%;
}
.owl-image {
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 18px #00091f73);
  width: 100%;
  height: 100%;
  transition: opacity 0.22s;
  position: absolute;
  inset: 0;
}
.owl-listening,
.owl-thinking,
.owl-speaking,
.owl-celebrating,
.state-listening .owl-ready,
.state-thinking .owl-ready,
.state-speaking .owl-ready,
.state-celebrating .owl-ready {
  opacity: 0;
}
.state-listening .owl-listening,
.state-thinking .owl-thinking,
.state-speaking .owl-speaking,
.state-celebrating .owl-celebrating {
  opacity: 1;
}
.state-listening .owl-wrap {
  animation: 1.1s ease-in-out infinite owlListen;
}
.state-thinking .owl-wrap {
  animation: 1.8s ease-in-out infinite owlThink;
}
.state-speaking .owl-wrap {
  animation: 0.66s ease-in-out infinite owlSpeak;
}
.state-celebrating .owl-wrap {
  animation: 0.78s cubic-bezier(0.34, 1.56, 0.64, 1) 2 owlCelebrate;
}
.state-celebrating .state-chip i {
  background: #fbbf24;
  animation: 0.65s ease-in-out infinite pulseDot;
}
.voice-bars {
  z-index: 9;
  opacity: 0;
  background: #041430d1;
  border: 1px solid #65e8f473;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 76px;
  height: 58px;
  transition: all 0.18s;
  display: flex;
  position: absolute;
  bottom: 23%;
  right: 4.5%;
  transform: translateY(8px);
}
.state-speaking .voice-bars,
.state-listening .voice-bars {
  opacity: 1;
  transform: translateY(0);
}
.voice-bars span {
  background: var(--aqua);
  border-radius: 10px;
  width: 5px;
  height: 17px;
  animation: 0.85s ease-in-out infinite voiceBar;
}
.voice-bars span:nth-child(2),
.voice-bars span:nth-child(5) {
  animation-delay: -0.32s;
}
.voice-bars span:nth-child(3) {
  animation-delay: -0.55s;
}
.voice-bars span:nth-child(4) {
  animation-delay: -0.18s;
}
.live-caption {
  z-index: 11;
  background: #041430e3;
  border: 1px solid #6ae8f44d;
  border-radius: 17px;
  width: min(52%, 420px);
  max-height: 116px;
  padding: 13px 16px;
  position: absolute;
  bottom: 84px;
  left: clamp(18px, 3.4vw, 42px);
  overflow: hidden;
  box-shadow: 0 12px 30px #00081a4d;
}
.caption-name {
  font-size: 0.61rem;
}
.live-caption > p:last-child {
  color: #e9f4ff;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 6px 0 0;
  font-size: clamp(0.76rem, 1.2vw, 0.96rem);
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
}
.wake-button {
  z-index: 12;
  color: #fff;
  background: var(--royal);
  cursor: pointer;
  border: 0;
  border-radius: 15px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  height: 48px;
  padding: 0 20px;
  font-weight: 800;
  display: inline-flex;
  position: absolute;
  bottom: 24px;
  left: clamp(18px, 3.4vw, 42px);
  box-shadow: 0 14px 25px #092d9157;
}
.wake-button:active {
  transform: translateY(1px);
}
.wake-button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.wake-dot {
  border: 2px solid var(--aqua);
  width: 15px;
  height: 15px;
  box-shadow: inset 0 0 0 3px var(--royal);
  border-radius: 50%;
}
.conversation-panel {
  background: #06193cf2;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  display: grid;
}
.lesson-settings {
  display: contents;
}
.lesson-settings > summary {
  display: none;
}
.lesson-settings:not([open]) > .panel-heading {
  display: flex;
}
.lesson-settings:not([open]) > .coach-controls {
  display: block;
}
.panel-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 23px 24px 14px;
  display: flex;
}
.panel-heading h2 {
  letter-spacing: -0.035em;
  margin: 7px 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}
.active-coach {
  color: var(--aqua);
  margin: 6px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
}
.voice-label {
  color: var(--aqua);
  cursor: pointer;
  background: #0f3770b8;
  flex: none;
  padding: 8px 11px;
  font-family: inherit;
}
.voice-label:disabled {
  cursor: wait;
  opacity: 0.62;
}
.voice-label:not(:disabled):active {
  transform: translateY(1px);
}
.skill-strip {
  scrollbar-width: none;
  gap: 8px;
  padding: 0 24px 15px;
  display: flex;
  overflow-x: auto;
}
.skill-strip::-webkit-scrollbar {
  display: none;
}
.coach-controls {
  min-width: 0;
}
.route-focus {
  background: #0c2d5ed1;
  border: 1px solid #6ce9f438;
  border-radius: 14px;
  align-items: center;
  gap: 11px;
  min-height: 55px;
  margin: 0 24px 15px;
  padding: 10px 13px;
  display: flex;
}
.route-focus > span {
  font-size: 1.45rem;
}
.route-focus > div {
  gap: 3px;
  display: grid;
}
.route-focus strong {
  font-size: 0.78rem;
}
.route-focus small {
  color: var(--muted);
  font-size: 0.68rem;
}
.skill {
  min-height: 43px;
  color: var(--muted);
  cursor: pointer;
  background: #0c2d5ed1;
  border: 1px solid #66d5f52e;
  border-radius: 13px;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
}
.skill:hover,
.skill.active {
  color: #fff;
  background: #123f84;
  border-color: #68e8f494;
}
.skill:disabled {
  opacity: 0.5;
  cursor: wait;
}
.placement-actions {
  background: #082854d1;
  border: 1px solid #6ce9f438;
  border-radius: 15px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -4px 24px 10px;
  padding: 10px 12px;
  display: flex;
}
.placement-actions > div {
  gap: 3px;
  min-width: 0;
  display: grid;
}
.placement-actions strong {
  color: #fff;
  font-size: 0.78rem;
}
.placement-actions span {
  color: var(--muted);
  font-size: 0.66rem;
}
.placement-actions button,
.report-footer button {
  color: #fff;
  background: var(--royal);
  cursor: pointer;
  border: 1px solid #6ce9f457;
  border-radius: 11px;
  flex: none;
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.7rem;
  font-weight: 800;
}
.placement-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.transcript {
  scroll-behavior: smooth;
  min-height: 0;
  padding: 7px 24px 18px;
  overflow-y: auto;
}
.transcript::-webkit-scrollbar {
  width: 7px;
}
.transcript::-webkit-scrollbar-thumb {
  background: #60c9ee47;
  border-radius: 999px;
}
.message {
  color: #eef7ff;
  background: #10346bc2;
  border: 1px solid #5ccff63d;
  border-radius: 18px;
  width: min(86%, 680px);
  margin: 10px 0;
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.52;
}
.message p {
  white-space: pre-wrap;
  margin: 0;
}
.message-student {
  background: var(--royal);
  border-color: #ffffff17;
  margin-left: auto;
}
.message-role {
  font-size: 0.6rem;
  margin-bottom: 6px !important;
}
.message-student .message-role {
  color: #bfe7ff;
}
.thinking-bubble {
  border: 1px solid var(--line);
  width: fit-content;
  color: var(--aqua);
  background: #0f3368c2;
  border-radius: 999px;
  margin: 10px 0;
  padding: 11px 15px;
  font-size: 0.86rem;
  font-weight: 800;
}
.thinking-bubble span {
  animation: 1.2s ease-in-out infinite dotFade;
}
.thinking-bubble span:nth-child(2) {
  animation-delay: 0.18s;
}
.thinking-bubble span:nth-child(3) {
  animation-delay: 0.36s;
}
.composer-area {
  z-index: 20;
  background: #041430f5;
  border-top: 1px solid #63d0f421;
  padding: 12px 18px 16px;
  position: relative;
  box-shadow: 0 -16px 32px #00081e2e;
}
.notice {
  color: #ffd38a;
  margin: 0 4px 9px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.mobile-audio-control {
  width: 100%;
  min-height: 36px;
  color: var(--aqua);
  cursor: pointer;
  background: #0e376feb;
  border: 1px solid #6ce9f461;
  border-radius: 12px;
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  display: none;
}
.mobile-audio-control:disabled {
  opacity: 0.48;
  cursor: wait;
}
.composer {
  background: #03132f;
  border: 1px solid #65dbf847;
  border-radius: 19px;
  grid-template-columns: minmax(0, 1fr) 48px 48px;
  align-items: center;
  gap: 7px;
  height: 58px;
  padding: 6px;
  display: grid;
}
.composer input {
  color: #fff;
  background: 0 0;
  border: 0;
  outline: 0;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
}
.composer input::placeholder {
  color: #7f9dc5;
}
.mic,
.send {
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  width: 48px;
  height: 44px;
}
.mic {
  background: #0e376f;
  border: 1px solid #66e6f44d;
  font-size: 1.1rem;
}
.mic.recording {
  color: #fff;
  background: #ef4444;
  animation: 1s ease-in-out infinite recordPulse;
}
.send {
  color: #fff;
  background: var(--royal);
  font-size: 1.8rem;
  line-height: 1;
}
.mic:disabled,
.send:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.composer-help {
  color: #718db4;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 4px 0;
  font-size: 0.66rem;
  line-height: 1.35;
  display: flex;
}
.report-backdrop {
  z-index: 1000;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #010818d1;
  place-items: center;
  padding: 22px;
  display: grid;
  position: fixed;
  inset: 0;
}
.report-sheet {
  color: #102349;
  background: #f7fbff;
  border: 1px solid #6ce9f457;
  border-radius: 26px;
  width: min(1040px, 100%);
  max-height: calc(100dvh - 44px);
  overflow: auto;
  box-shadow: 0 30px 90px #0005148f;
}
.report-header {
  z-index: 2;
  color: #fff;
  background: linear-gradient(135deg, #071d46, #123f84);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  display: flex;
  position: sticky;
  top: 0;
}
.report-header h2 {
  margin: 5px 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.report-close {
  color: #fff;
  cursor: pointer;
  background: #ffffff14;
  border: 1px solid #fff3;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
  line-height: 1;
}
.report-summary-grid {
  background: #eaf4ff;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 26px;
  display: grid;
}
.report-summary-grid > div {
  background: #fff;
  border: 1px solid #c7def5;
  border-radius: 14px;
  align-content: center;
  gap: 6px;
  min-height: 80px;
  padding: 13px;
  display: grid;
}
.report-summary-grid span {
  color: #58749c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 800;
}
.report-summary-grid strong {
  text-transform: capitalize;
  font-size: 1rem;
}
.report-summary-grid .report-level {
  color: #fff;
  background: var(--royal);
}
.report-level span {
  color: #cfe9ff;
}
.report-level strong {
  font-size: 1.8rem;
}
.report-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 26px;
  display: grid;
}
.report-body > section {
  background: #fff;
  border: 1px solid #d9e7f6;
  border-radius: 16px;
  padding: 17px;
}
.report-body h3 {
  color: #0a397a;
  margin: 0 0 10px;
  font-size: 0.9rem;
}
.report-body p,
.report-body li {
  color: #344f76;
  font-size: 0.78rem;
  line-height: 1.55;
}
.report-body p,
.report-body ul {
  margin: 0;
}
.report-body ul {
  padding-left: 18px;
}
.report-wide {
  grid-column: 1/-1;
}
.skill-report-grid,
.roadmap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.skill-report-grid article,
.roadmap-grid article {
  background: #f6faff;
  border: 1px solid #dce9f7;
  border-radius: 13px;
  padding: 13px;
}
.skill-report-grid article > div {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}
.skill-report-grid span,
.roadmap-grid > article > span {
  color: #1860c7;
  font-size: 0.72rem;
  font-weight: 900;
}
.skill-report-grid p,
.roadmap-grid p {
  margin-top: 8px;
}
.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.roadmap-grid article {
  align-content: start;
  gap: 7px;
  display: grid;
}
.roadmap-grid small,
.teacher-note small {
  color: #6680a4;
  font-size: 0.68rem;
  line-height: 1.45;
}
.teacher-note {
  background: #eff7ff !important;
  border-color: #bddaf4 !important;
}
.teacher-note small {
  margin-top: 10px;
  display: block;
}
.report-footer {
  background: #f7fbfff5;
  border-top: 1px solid #d7e5f4;
  justify-content: flex-end;
  gap: 9px;
  padding: 14px 26px;
  display: flex;
  position: sticky;
  bottom: 0;
}
.report-footer button:nth-child(2) {
  color: #1559b7;
  background: #fff;
}
@keyframes owlIdle {
  0%,
  to {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-9px) rotate(0.4deg);
  }
}
@keyframes owlListen {
  0%,
  to {
    transform: translateY(-2px) rotate(-1.2deg) scale(1.01);
  }
  50% {
    transform: translateY(-10px) rotate(1.4deg) scale(1.025);
  }
}
@keyframes owlThink {
  0%,
  to {
    transform: translateY(-2px) rotate(-1.3deg);
  }
  50% {
    transform: translateY(-7px) rotate(1.3deg);
  }
}
@keyframes owlSpeak {
  0%,
  to {
    transform: translateY(-1px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.018);
  }
}
@keyframes owlCelebrate {
  0%,
  to {
    transform: translateY(0) rotate(0) scale(1);
  }
  45% {
    transform: translateY(-18px) rotate(-1.5deg) scale(1.035);
  }
  70% {
    transform: translateY(-8px) rotate(1.2deg) scale(1.018);
  }
}
@keyframes voiceBar {
  0%,
  to {
    height: 13px;
  }
  50% {
    height: 35px;
  }
}
@keyframes orbitPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.86);
  }
  to {
    opacity: 0;
    transform: scale(1.08);
  }
}
@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulseDot {
  50% {
    opacity: 0.38;
    transform: scale(0.72);
  }
}
@keyframes dotFade {
  50% {
    opacity: 0.25;
  }
}
@keyframes recordPulse {
  50% {
    box-shadow: 0 0 0 5px #ef444433;
  }
}
@media (width<=900px) {
  .yanni-app {
    min-height: 0;
    padding: 10px 10px max(8px, env(safe-area-inset-bottom));
    overscroll-behavior: none;
  }
  .topbar {
    height: 62px;
    margin-bottom: 9px;
  }
  .topbar-status {
    gap: 5px;
  }
  .pilot-badge {
    display: none;
  }
  .experience-grid {
    grid-template-rows: minmax(210px, 34%) minmax(0, 66%);
    grid-template-columns: 1fr;
    gap: 9px;
    height: calc(100% - 71px);
  }
  .owl-stage,
  .conversation-panel {
    border-radius: 24px;
  }
  .conversation-panel {
    flex-direction: column;
    min-height: 0;
    display: flex;
  }
  .lesson-settings,
  .composer-area {
    flex: none;
  }
  .lesson-settings {
    background: #08234bed;
    border-bottom: 1px solid #63d0f42b;
    display: block;
  }
  .lesson-settings > summary {
    color: #dcecff;
    cursor: pointer;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 9px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
  }
  .lesson-settings > summary::-webkit-details-marker {
    display: none;
  }
  .lesson-settings > summary small {
    color: var(--aqua);
    font-size: 0.62rem;
    font-weight: 800;
  }
  .lesson-settings > summary:after {
    content: "+";
    color: var(--aqua);
    font-size: 1.25rem;
    line-height: 1;
  }
  .lesson-settings[open] > summary:after {
    content: "−";
  }
  .lesson-settings:not([open]) > .panel-heading,
  .lesson-settings:not([open]) > .coach-controls {
    display: none !important;
  }
  .lesson-settings[open] {
    max-height: min(48dvh, 430px);
    overflow-y: auto;
  }
  .stage-copy {
    width: 51%;
    top: 23px;
    left: 22px;
  }
  .stage-copy h2 {
    margin-top: 10px;
    font-size: clamp(1.9rem, 9vw, 3.05rem);
  }
  .owl-wrap {
    width: min(62%, 340px);
    bottom: -9%;
    right: -1%;
  }
  .owl-stage:before {
    width: 245px;
    height: 245px;
    bottom: -58px;
    right: -55px;
  }
  .owl-orbit {
    width: min(62%, 330px);
    bottom: -8%;
    right: -1%;
  }
  .state-chip {
    min-width: 86px;
    padding: 7px 9px;
    font-size: 0.6rem;
    top: 16px;
    right: 15px;
  }
  .live-caption {
    width: 54%;
    max-height: 88px;
    padding: 9px 11px;
    bottom: 70px;
    left: 18px;
  }
  .live-caption > p:last-child {
    -webkit-line-clamp: 3;
    margin-top: 4px;
    font-size: 0.71rem;
  }
  .wake-button {
    min-width: 145px;
    height: 43px;
    padding: 0 15px;
    font-size: 0.84rem;
    bottom: 16px;
    left: 18px;
  }
  .voice-bars {
    width: 62px;
    height: 49px;
    bottom: 24%;
    right: 4%;
  }
  .panel-heading {
    padding: 14px 14px 10px;
  }
  .panel-heading h2 {
    margin-top: 4px;
    font-size: 1.12rem;
  }
  .active-coach {
    margin-top: 3px;
    font-size: 0.63rem;
  }
  .voice-label {
    padding: 6px 8px;
    font-size: 0.58rem;
  }
  .skill-strip {
    padding: 0 14px 9px;
  }
  .placement-actions {
    margin: -2px 14px 8px;
    padding: 8px 9px;
  }
  .placement-actions strong {
    font-size: 0.7rem;
  }
  .placement-actions span {
    font-size: 0.59rem;
  }
  .placement-actions button {
    max-width: 132px;
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.62rem;
  }
  .skill {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.72rem;
  }
  .transcript {
    flex: 1 1 0;
    min-height: 150px;
    padding: 3px 14px 10px;
  }
  .message {
    border-radius: 15px;
    margin: 7px 0;
    padding: 10px 12px;
    font-size: 0.82rem;
    line-height: 1.43;
  }
  .message-student {
    margin-left: auto;
  }
  .composer-area {
    z-index: 50;
    width: 100%;
    padding: 9px 10px max(10px, env(safe-area-inset-bottom));
    position: relative;
  }
  .mobile-audio-control {
    border-radius: 999px;
    width: fit-content;
    min-height: 30px;
    margin: 0 0 6px auto;
    padding: 0 12px;
    font-size: 0.68rem;
    display: block;
  }
  .composer {
    border-radius: 17px;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    gap: 5px;
    height: 52px;
  }
  .mic,
  .send {
    z-index: 2;
    border-radius: 12px;
    flex: none;
    width: 42px;
    height: 40px;
    position: relative;
  }
  .composer-help {
    margin-top: 6px;
    font-size: 0.61rem;
    display: block;
  }
  .composer-help span:last-child {
    display: none;
  }
  .report-backdrop {
    place-items: stretch stretch;
    padding: 0;
  }
  .report-sheet {
    border: 0;
    border-radius: 0;
    width: 100%;
    max-height: 100dvh;
  }
  .report-header {
    padding: 16px 18px;
  }
  .report-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 16px;
  }
  .report-summary-grid > div {
    min-height: 68px;
    padding: 10px;
  }
  .report-body {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 16px;
  }
  .report-wide {
    grid-column: auto;
  }
  .skill-report-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .report-footer {
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
  }
  .report-footer button {
    min-width: 0;
    padding: 0 7px;
    font-size: 0.62rem;
  }
}
@media (width<=520px) and (height<=760px) {
  .experience-grid {
    grid-template-rows: minmax(190px, 32%) minmax(0, 68%);
  }
  .topbar h1 {
    font-size: 1.35rem;
  }
  .stage-copy h2 {
    font-size: 1.78rem;
  }
  .stage-copy h2 span {
    font-size: 0.56em;
  }
  .owl-wrap {
    width: 58%;
  }
  .live-caption {
    max-height: 73px;
  }
  .live-caption > p:last-child {
    -webkit-line-clamp: 2;
  }
  .panel-heading {
    display: none;
  }
  .skill-strip {
    padding-top: 9px;
  }
}
@media (width<=900px) {
  .yanni-app:focus-within .experience-grid {
    grid-template-rows: 112px minmax(0, 1fr);
    gap: 7px;
  }
  .yanni-app:focus-within .owl-stage {
    opacity: 1;
    pointer-events: auto;
    min-height: 112px;
    overflow: hidden;
  }
  .yanni-app:focus-within .stage-copy,
  .yanni-app:focus-within .live-caption,
  .yanni-app:focus-within .wake-button,
  .yanni-app:focus-within .voice-bars {
    display: none;
  }
  .yanni-app:focus-within .owl-wrap {
    width: 126px;
    bottom: -40px;
    left: calc(50% - 63px);
    right: auto;
  }
  .yanni-app:focus-within .owl-orbit {
    width: 150px;
    bottom: -34px;
    right: 50%;
    transform: translate(50%);
  }
  .yanni-app:focus-within .state-chip {
    top: 10px;
    right: 10px;
  }
}
@media (width<=520px) and (height<=760px) {
  .yanni-app:focus-within .experience-grid {
    grid-template-rows: 92px minmax(0, 1fr);
  }
  .yanni-app:focus-within .owl-stage {
    min-height: 92px;
  }
  .yanni-app:focus-within .owl-wrap {
    width: 108px;
    bottom: -38px;
    left: calc(50% - 54px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :before,
  :after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
@media print {
  body {
    background: #fff;
  }
  .yanni-app > :not(.report-backdrop):not(.campus-modal-backdrop) {
    display: none !important;
  }
  .report-backdrop {
    background: #fff;
    padding: 0;
    display: block;
    position: static;
  }
  .report-sheet {
    width: 100%;
    max-height: none;
    box-shadow: none;
    border: 0;
    overflow: visible;
  }
  .report-header,
  .report-footer {
    position: static;
  }
  .report-close,
  .report-footer {
    display: none !important;
  }
  .report-body > section,
  .skill-report-grid article,
  .roadmap-grid article {
    break-inside: avoid;
  }
  .campus-modal-backdrop,
  .teacher-report-backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
    padding: 0;
    display: block;
    position: static;
    overflow: visible;
  }
  .campus-report-card,
  .teacher-report-card {
    color: #07162e;
    width: 100%;
    max-height: none;
    box-shadow: none;
    background: #fff;
    border: 0;
    overflow: visible;
  }
  .campus-report-card section,
  .teacher-report-card section,
  .teacher-skill-grid article,
  .teacher-roadmap-grid article,
  .campus-skill-grid article,
  .campus-roadmap-grid article {
    break-inside: avoid;
    color: #07162e;
    background: #fff;
    border-color: #b9c6d9;
  }
  .campus-report-card footer,
  .teacher-report-card footer,
  .campus-close {
    display: none !important;
  }
}
.campus-top-actions {
  align-items: center;
  gap: 6px;
  display: flex;
}
.campus-top-actions button,
.campus-top-actions a {
  border: 1px solid var(--line);
  min-height: 27px;
  color: var(--aqua);
  cursor: pointer;
  background: #09214ce6;
  border-radius: 999px;
  align-items: center;
  padding: 0 9px;
  font-size: 0.61rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}
.campus-top-actions .install-app-button {
  color: #04122c;
  background: var(--aqua);
  border-color: #6ce9f49e;
  min-height: 36px;
  padding: 8px 13px;
  font-size: 0.76rem;
}
.campus-modal-backdrop {
  z-index: 1000;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #010919d1;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}
.campus-access-card,
.campus-report-card,
.qr-card {
  background: linear-gradient(150deg, #0d2d68, #061a42 58%, #04132e);
  border: 1px solid #6ce9f447;
  border-radius: 28px;
  width: min(520px, 100%);
  padding: 30px;
  position: relative;
  box-shadow: 0 32px 90px #000412ad;
}
.campus-access-card h2,
.campus-report-card h2,
.qr-card h2 {
  letter-spacing: -0.045em;
  margin: 8px 0;
  font-size: clamp(1.65rem, 5vw, 2.45rem);
}
.campus-access-card > p:not(.eyebrow),
.campus-access-card small,
.campus-report-card p,
.qr-card p {
  color: var(--muted);
  line-height: 1.5;
}
.campus-close {
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  background: #051635db;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  position: absolute;
  top: 15px;
  right: 15px;
}
.campus-owl-mark {
  border: 1px solid var(--line);
  background: #123f84;
  border-radius: 17px;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 19px;
  display: grid;
  overflow: hidden;
}
.campus-owl-mark img {
  object-fit: cover;
  object-position: 50% 22%;
  width: 100%;
  height: 100%;
}
.campus-task-code {
  border: 1px solid var(--line);
  background: #07193eb8;
  border-radius: 14px;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 12px 14px;
  display: flex;
}
.campus-task-code span {
  color: var(--muted);
}
.campus-task-code strong {
  color: var(--aqua);
}
.campus-access-card form,
.teacher-form,
.teacher-login-card form {
  gap: 13px;
  display: grid;
}
.campus-access-card label,
.teacher-form label,
.teacher-login-card label {
  color: var(--muted);
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
}
.campus-access-card input,
.teacher-form input,
.teacher-form select,
.teacher-form textarea,
.teacher-login-card input {
  color: #fff;
  background: #041630;
  border: 1px solid #6ce9f440;
  border-radius: 12px;
  outline: 0;
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
}
.teacher-form textarea {
  resize: vertical;
  min-height: 90px;
  padding-block: 11px;
}
.campus-access-card input:focus,
.teacher-form input:focus,
.teacher-form select:focus,
.teacher-form textarea:focus,
.teacher-login-card input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px #6ce9f41a;
}
.campus-access-card form button,
.teacher-form > button,
.teacher-login-card form button,
.qr-card > button:last-child,
.campus-report-card footer button {
  color: #fff;
  background: var(--royal);
  cursor: pointer;
  border: 0;
  border-radius: 13px;
  min-height: 48px;
  font-weight: 900;
}
.campus-access-card form button:disabled,
.teacher-form > button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.campus-access-card > small,
.campus-access-card > a {
  text-align: center;
  margin-top: 14px;
  display: block;
}
.campus-access-card > a {
  color: var(--aqua);
  font-weight: 800;
  text-decoration: none;
}
.campus-error {
  color: #ffb5bd !important;
}
.campus-assignment-banner {
  background: linear-gradient(120deg, #123f84d1, #061d46e0);
  border: 1px solid #6ce9f44d;
  border-radius: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin: 0 24px 12px;
  padding: 13px;
  display: grid;
}
.campus-assignment-banner > div:first-child {
  min-width: 0;
}
.campus-assignment-banner span {
  color: var(--aqua);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.61rem;
  font-weight: 900;
}
.campus-assignment-banner strong {
  margin-top: 4px;
  font-size: 0.82rem;
  display: block;
}
.campus-assignment-banner p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 0.67rem;
  line-height: 1.35;
}
.campus-limit-meter {
  text-align: right;
  align-content: center;
  gap: 3px;
  min-width: 132px;
  display: grid;
}
.campus-limit-meter b {
  color: var(--aqua);
  font-size: 1.05rem;
}
.campus-limit-meter small {
  color: var(--muted);
  font-size: 0.58rem;
}
.campus-limit-meter button {
  color: #fff;
  background: var(--royal);
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  min-height: 30px;
  margin-top: 3px;
  padding: 0 9px;
  font-size: 0.6rem;
  font-weight: 900;
}
.campus-report-card {
  width: min(980px, 100%);
  max-height: min(860px, 92dvh);
  overflow-y: auto;
}
.campus-report-meta {
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
  display: flex;
}
.campus-report-meta span {
  border: 1px solid var(--line);
  color: var(--aqua);
  background: #0b316b;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.68rem;
  font-weight: 800;
}
.campus-report-card section {
  background: #04163494;
  border: 1px solid #6ce9f42e;
  border-radius: 14px;
  margin-top: 13px;
  padding: 15px;
}
.campus-report-card h3 {
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  font-size: 0.78rem;
}
.campus-report-card ul {
  color: var(--muted);
  margin: 0;
  padding-left: 18px;
  line-height: 1.5;
}
.campus-report-columns {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}
.campus-report-card footer {
  background: #03112af5;
  justify-content: flex-end;
  gap: 8px;
  margin: 18px -30px -30px;
  padding: 13px 30px 20px;
  display: flex;
  position: sticky;
  bottom: -30px;
}
.campus-report-card footer button {
  min-width: 130px;
  padding: 0 14px;
}
.campus-cefr-result {
  justify-items: start;
  gap: 5px;
  display: grid;
  background: linear-gradient(135deg, #1d5bbdc2, #072352d9) !important;
}
.campus-cefr-result p {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--aqua) !important;
}
.campus-cefr-result strong {
  letter-spacing: -0.04em;
  font-size: clamp(1.55rem, 5vw, 2.45rem);
}
.campus-cefr-result small {
  color: #ffd38a;
  font-weight: 800;
}
.campus-skill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.campus-skill-grid article {
  background: #0d316980;
  border: 1px solid #6ce9f429;
  border-radius: 12px;
  padding: 13px;
}
.campus-skill-grid article > div {
  justify-content: space-between;
  gap: 10px;
  display: flex;
}
.campus-skill-grid strong {
  text-transform: capitalize;
}
.campus-skill-grid span {
  color: var(--aqua);
  font-weight: 900;
}
.campus-skill-grid p {
  margin-bottom: 0;
  font-size: 0.76rem;
}
.campus-roadmap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.campus-roadmap-grid article {
  background: #0d316980;
  border: 1px solid #6ce9f429;
  border-radius: 13px;
  padding: 14px;
}
.campus-roadmap-grid article > span {
  color: var(--aqua);
  text-transform: uppercase;
  font-size: 0.67rem;
  font-weight: 900;
}
.campus-roadmap-grid h4 {
  margin: 6px 0;
}
.campus-roadmap-grid p {
  margin: 0 0 8px;
  font-size: 0.76rem;
}
.campus-roadmap-grid small {
  color: var(--muted);
  line-height: 1.4;
}
.campus-report-disclaimer {
  margin: 14px 4px 0;
  font-size: 0.68rem;
}
.teacher-shell {
  background:
    radial-gradient(circle at 88% 4%, #153d80 0, transparent 30%),
    var(--midnight);
  min-height: 100dvh;
  padding: 28px;
}
.teacher-login-shell {
  place-items: center;
  display: grid;
  overflow: hidden;
}
.teacher-login-experience {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #0d306cf7, #04122cfa);
  border-radius: 36px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  width: min(980px, 100%);
  min-height: 610px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 38px 110px #0005169e;
}
.teacher-login-mascot {
  background: radial-gradient(circle at 54%, #42c9f540, #0000 47%);
  align-self: stretch;
  min-height: 610px;
  position: relative;
  overflow: hidden;
}
.teacher-login-mascot:after {
  content: "";
  background: linear-gradient(145deg, #1fa7da, #0a568f);
  border-radius: 50%;
  width: 430px;
  height: 430px;
  position: absolute;
  bottom: -82px;
  left: 50%;
  transform: translate(-50%);
  box-shadow: 0 0 0 24px #37c7f50f;
}
.teacher-login-mascot > img {
  z-index: 3;
  filter: drop-shadow(0 26px 30px #0005145c);
  width: min(82%, 430px);
  height: auto;
  animation: 4.8s ease-in-out infinite owlIdle;
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translate(-50%);
}
.teacher-login-orbit {
  z-index: 2;
  border: 1px solid #6ce9f461;
  border-radius: 50%;
  width: 420px;
  height: 420px;
  position: absolute;
  bottom: -75px;
  left: 50%;
  transform: translate(-50%);
}
.teacher-login-orbit:before,
.teacher-login-orbit:after {
  content: "";
  border-radius: inherit;
  border: 1px dashed #6ce9f447;
  animation: 18s linear infinite orbitSpin;
  position: absolute;
  inset: 38px;
}
.teacher-login-orbit:after {
  animation-duration: 13s;
  animation-direction: reverse;
  inset: 78px;
}
.teacher-login-bubble {
  z-index: 6;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #031431e0;
  border: 1px solid #6ce9f44d;
  border-radius: 20px 20px 20px 6px;
  padding: 17px 20px;
  position: absolute;
  top: 34px;
  left: 32px;
  right: 32px;
}
.teacher-login-bubble span {
  color: var(--aqua);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 900;
}
.teacher-login-bubble strong {
  margin-top: 5px;
  font-size: 1.12rem;
  display: block;
}
.teacher-login-bubble p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 0.78rem;
}
.teacher-login-card {
  z-index: 7;
  border: 1px solid var(--line);
  width: calc(100% - 34px);
  box-shadow: 0 28px 80px var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #05193de6;
  border-radius: 28px;
  margin: 17px 17px 17px 0;
  padding: 34px;
  position: relative;
}
.teacher-login-brand {
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  display: flex;
}
.teacher-login-brand > span {
  color: #fff;
  background: #174d9d;
  border: 1px solid #6ce9f44d;
  border-radius: 15px;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.45rem;
  font-weight: 900;
  display: grid;
}
.teacher-login-brand small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 0.65rem;
  display: block;
}
.teacher-login-card h1 {
  margin: 8px 0;
  font-size: 2.2rem;
}
.teacher-login-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}
.teacher-login-card > a {
  color: var(--aqua);
  margin-top: 18px;
  text-decoration: none;
  display: block;
}
.teacher-header {
  background: linear-gradient(110deg, #0d326fe0, #051635b8);
  border: 1px solid #6ce9f433;
  border-radius: 26px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: min(1380px, 100%);
  min-height: 112px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  display: flex;
  overflow: hidden;
}
.teacher-header-brand {
  align-items: center;
  gap: 16px;
  display: flex;
}
.teacher-header-owl {
  background: radial-gradient(circle at 55% 45%, #24aee0, #0b4b8e);
  border: 1px solid #6ce9f452;
  border-radius: 24px;
  flex: none;
  width: 82px;
  height: 82px;
  position: relative;
  overflow: hidden;
}
.teacher-header-owl img {
  filter: drop-shadow(0 8px 10px #00051459);
  width: 86px;
  height: auto;
  margin: 5px 0 0 -1px;
  animation: 4.8s ease-in-out infinite owlIdle;
}
.teacher-header h1 {
  letter-spacing: -0.05em;
  margin: 4px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.teacher-greeting {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 0.72rem;
}
.teacher-header-actions {
  align-items: center;
  gap: 9px;
  display: flex;
}
.teacher-header-actions span,
.teacher-header-actions a {
  border: 1px solid var(--line);
  color: var(--aqua);
  background: #09214cdb;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}
.teacher-metrics {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1380px, 100%);
  margin: 0 auto 18px;
  display: grid;
}
.teacher-metrics article {
  border: 1px solid var(--line);
  background: #08234fd9;
  border-radius: 20px;
  align-content: space-between;
  min-height: 108px;
  padding: 18px;
  display: grid;
}
.teacher-metrics span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}
.teacher-metrics strong {
  color: var(--aqua);
  font-size: 2rem;
}
.teacher-notice {
  color: #ffd38a;
}
.teacher-notice.wide {
  background: #50361059;
  border: 1px solid #ffd38a3d;
  border-radius: 12px;
  width: min(1380px, 100%);
  margin: 0 auto 14px;
  padding: 10px 14px;
}
.teacher-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  gap: 16px;
  width: min(1380px, 100%);
  margin: 0 auto 16px;
  display: grid;
}
.teacher-card {
  border: 1px solid var(--line);
  background: #071c42eb;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 48px #00061842;
}
.teacher-wide-card {
  width: min(1380px, 100%);
  margin: 0 auto 16px;
}
.teacher-card-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 17px;
  display: flex;
}
.teacher-card-heading h2 {
  margin: 5px 0 0;
  font-size: 1.35rem;
}
.teacher-card-heading > span {
  color: var(--aqua);
  text-transform: uppercase;
  background: #0d3979;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.6rem;
  font-weight: 900;
}
.teacher-heading-with-yanni {
  align-items: center;
  gap: 11px;
  display: flex;
}
.teacher-heading-with-yanni > img {
  object-fit: contain;
  object-position: center top;
  background: linear-gradient(145deg, #1b65b5, #0b356f);
  border: 1px solid #6ce9f43d;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  padding: 3px 4px 0;
}
.teacher-form-row {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}
.teacher-form select {
  appearance: none;
}
.teacher-template-picker {
  background: linear-gradient(145deg, #11448e94, #041634b8);
  border: 1px solid #6ce9f433;
  border-radius: 16px;
  margin-bottom: 18px;
  padding: 15px;
}
.teacher-template-intro {
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 11px;
  display: flex;
}
.teacher-template-intro span {
  color: var(--aqua);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.61rem;
  font-weight: 900;
}
.teacher-template-intro h3 {
  margin: 4px 0 0;
  font-size: 1rem;
}
.teacher-template-intro p {
  max-width: 220px;
  color: var(--muted);
  text-align: right;
  margin: 0;
  font-size: 0.66rem;
}
.teacher-template-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}
.teacher-template-grid button {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: #0d3169b8;
  border: 1px solid #6ce9f433;
  border-radius: 12px;
  align-content: center;
  gap: 4px;
  min-height: 76px;
  padding: 11px;
  transition:
    transform 0.16s,
    border-color 0.16s,
    background 0.16s;
  display: grid;
}
.teacher-template-grid button:hover {
  border-color: var(--aqua);
  background: #164c9be6;
  transform: translateY(-2px);
}
.teacher-template-grid strong {
  font-size: 0.76rem;
}
.teacher-template-grid small {
  color: var(--muted);
  font-size: 0.59rem;
  line-height: 1.3;
}
.teacher-template-next {
  color: var(--muted);
  margin: 11px 0 0;
  font-size: 0.65rem;
  line-height: 1.45;
}
.teacher-template-next b {
  color: var(--aqua);
}
.teacher-list {
  margin-top: 20px;
}
.teacher-list h3 {
  color: var(--aqua);
  font-size: 0.8rem;
}
.teacher-list-row {
  border-top: 1px solid #6ce9f41f;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  display: flex;
}
.teacher-list-row span {
  color: var(--muted);
  font-size: 0.72rem;
}
.assignment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}
.assignment-grid article {
  background: #0d316999;
  border: 1px solid #6ce9f42e;
  border-radius: 16px;
  padding: 16px;
}
.assignment-grid article > span {
  color: var(--aqua);
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 900;
}
.assignment-grid h3 {
  margin: 8px 0 4px;
}
.assignment-grid p {
  color: var(--muted);
  font-size: 0.72rem;
}
.assignment-grid article div {
  gap: 7px;
  display: flex;
}
.assignment-grid button {
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  background: #164c9b;
  border-radius: 10px;
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.65rem;
  font-weight: 800;
}
.session-table {
  display: grid;
}
.session-head,
.session-table > article {
  border-bottom: 1px solid #6ce9f41f;
  grid-template-columns: 0.6fr 1.5fr 0.8fr 1.1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 8px;
  display: grid;
}
.session-head {
  color: var(--aqua);
  text-transform: uppercase;
  font-size: 0.64rem;
  font-weight: 900;
}
.session-table > article {
  color: var(--muted);
  font-size: 0.73rem;
}
.session-table > article strong {
  color: #fff;
}
.session-table > article div:not(.evidence-report) {
  gap: 3px;
  display: grid;
}
.session-table small {
  color: var(--muted);
}
.session-action {
  justify-items: start;
  gap: 5px;
  display: grid;
}
.session-action button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #1a65c6, #11458f);
  border: 1px solid #6ce9f442;
  border-radius: 10px;
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.68rem;
  font-weight: 900;
}
.session-action button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.session-action > span {
  color: var(--muted);
}
.session-action small {
  color: var(--aqua);
  font-weight: 800;
}
.teacher-report-card {
  background: linear-gradient(150deg, #0d2d68, #061a42 58%, #04132e);
  border: 1px solid #6ce9f447;
  border-radius: 28px;
  width: min(1060px, 100%);
  max-height: 92dvh;
  padding: 30px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 32px 90px #000412ad;
}
.teacher-report-card h2 {
  letter-spacing: -0.045em;
  margin: 5px 0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}
.teacher-report-card h3 {
  color: var(--aqua);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 9px;
  font-size: 0.76rem;
}
.teacher-report-card p {
  color: var(--muted);
  line-height: 1.52;
}
.teacher-report-card > section,
.teacher-report-columns > section {
  background: #04163494;
  border: 1px solid #6ce9f42e;
  border-radius: 15px;
  margin-top: 13px;
  padding: 17px;
}
.teacher-report-title {
  align-items: center;
  gap: 15px;
  padding-right: 48px;
  display: flex;
}
.teacher-report-title p {
  margin: 0;
}
.teacher-report-owl {
  background: radial-gradient(circle at 55% 45%, #24aee0, #0b4b8e);
  border: 1px solid #6ce9f447;
  border-radius: 20px;
  flex: none;
  width: 76px;
  height: 76px;
  overflow: hidden;
}
.teacher-report-owl img {
  width: 80px;
  height: auto;
  margin: 5px 0 0 -2px;
}
.teacher-report-level {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
  background: linear-gradient(135deg, #1955b5c7, #072352eb) !important;
}
.teacher-report-level > div:first-child {
  gap: 4px;
  display: grid;
}
.teacher-report-level span {
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.68rem;
  font-weight: 900;
}
.teacher-report-level strong {
  letter-spacing: -0.04em;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
}
.teacher-report-pills {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  display: flex;
}
.teacher-report-pills span {
  background: #031431a6;
  border: 1px solid #6ce9f43d;
  border-radius: 999px;
  padding: 7px 10px;
}
.teacher-report-summary p:last-child {
  border-top: 1px solid #6ce9f424;
  padding-top: 10px;
}
.teacher-skill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.teacher-skill-grid article {
  background: #0d31697a;
  border: 1px solid #6ce9f426;
  border-radius: 12px;
  padding: 13px;
}
.teacher-skill-grid article > div {
  justify-content: space-between;
  gap: 10px;
  display: flex;
}
.teacher-skill-grid article strong {
  text-transform: capitalize;
}
.teacher-skill-grid article span {
  color: var(--aqua);
  font-weight: 900;
}
.teacher-skill-grid article p {
  margin: 8px 0 0;
  font-size: 0.76rem;
}
.teacher-report-columns {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}
.teacher-report-card ul {
  color: var(--muted);
  margin: 0;
  padding-left: 18px;
  line-height: 1.52;
}
.teacher-roadmap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.teacher-roadmap-grid article {
  background: #0d31697a;
  border: 1px solid #6ce9f426;
  border-radius: 13px;
  padding: 14px;
}
.teacher-roadmap-grid article > span {
  color: var(--aqua);
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 900;
}
.teacher-roadmap-grid h4 {
  margin: 6px 0;
}
.teacher-roadmap-grid p {
  margin: 0 0 8px;
  font-size: 0.76rem;
}
.teacher-roadmap-grid small {
  color: var(--muted);
  line-height: 1.42;
}
.teacher-report-disclaimer {
  margin: 14px 3px;
  font-size: 0.68rem;
}
.teacher-report-card footer {
  background: #03112af5;
  justify-content: flex-end;
  gap: 8px;
  margin: 18px -30px -30px;
  padding: 14px 30px 20px;
  display: flex;
  position: sticky;
  bottom: -30px;
}
.teacher-report-card footer button {
  color: #fff;
  background: var(--royal);
  cursor: pointer;
  border: 0;
  border-radius: 11px;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 900;
}
.empty-state {
  color: var(--muted);
}
.empty-state-with-yanni {
  min-height: 145px;
  color: var(--muted);
  text-align: left;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 16px;
  display: flex;
}
.empty-state-with-yanni img {
  object-fit: contain;
  filter: drop-shadow(0 12px 15px #00041257);
  width: 88px;
  height: 100px;
  animation: 4.8s ease-in-out infinite owlIdle;
}
.empty-state-with-yanni strong {
  color: #fff;
}
.empty-state-with-yanni p {
  max-width: 430px;
  margin: 6px 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
}
.qr-card {
  text-align: center;
}
.qr-yanni {
  text-align: left;
  justify-content: center;
  align-items: center;
  gap: 13px;
  display: flex;
}
.qr-yanni > img {
  object-fit: contain;
  filter: drop-shadow(0 8px 9px #00041259);
  background: 0 0 !important;
  width: 64px !important;
  height: 68px !important;
  margin: 0 !important;
}
.qr-yanni h2 {
  margin-bottom: 0;
}
.qr-card img {
  background: #fff;
  border-radius: 16px;
  width: min(320px, 82vw);
  height: auto;
  margin: 16px auto;
  display: block;
}
.qr-card p {
  overflow-wrap: anywhere;
  font-size: 0.72rem;
}
.qr-card > button:last-child {
  width: 100%;
}
.teacher-guide-shell {
  background:
    radial-gradient(circle at 85% 8%, #17478f 0, transparent 31%),
    var(--midnight);
  min-height: 100dvh;
  padding: 32px;
}
.teacher-guide-hero {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #0d326ff5, #041432fa);
  border-radius: 30px;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  width: min(1120px, 100%);
  min-height: 340px;
  margin: 0 auto 18px;
  padding: 42px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 80px #0005167a;
}
.teacher-guide-hero:after {
  content: "";
  background: linear-gradient(145deg, #1fa7da, #0a568f);
  border-radius: 50%;
  width: 370px;
  height: 370px;
  position: absolute;
  bottom: -125px;
  right: 28px;
}
.teacher-guide-hero > div {
  z-index: 3;
  position: relative;
}
.teacher-guide-hero h1 {
  letter-spacing: -0.055em;
  max-width: 690px;
  margin: 9px 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 0.98;
}
.teacher-guide-hero p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}
.teacher-guide-hero > div > div {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  display: flex;
}
.teacher-guide-hero a,
.teacher-guide-hero button {
  border: 1px solid var(--line);
  color: #fff;
  background: var(--royal);
  min-height: 44px;
  font: inherit;
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  padding: 0 16px;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
}
.teacher-guide-hero button {
  background: #09214ce6;
}
.teacher-guide-hero > img {
  z-index: 2;
  filter: drop-shadow(0 24px 28px #0004126b);
  place-self: end center;
  width: 290px;
  height: auto;
  margin-bottom: -76px;
  animation: 4.8s ease-in-out infinite owlIdle;
  position: relative;
}
.teacher-guide-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(1120px, 100%);
  margin: 0 auto 18px;
  display: grid;
}
.teacher-guide-steps article {
  background: #071c42e6;
  border: 1px solid #6ce9f42e;
  border-radius: 18px;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  min-height: 128px;
  padding: 20px;
  display: grid;
}
.teacher-guide-steps article > span {
  width: 48px;
  height: 48px;
  color: var(--aqua);
  background: #123f84;
  border-radius: 15px;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  display: grid;
}
.teacher-guide-steps h2 {
  margin: 2px 0 7px;
  font-size: 1.05rem;
}
.teacher-guide-steps p {
  color: var(--muted);
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}
.teacher-guide-note {
  background: linear-gradient(120deg, #0d326fcc, #051635db);
  border: 1px solid #6ce9f433;
  border-radius: 20px;
  align-items: center;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px 25px;
  display: flex;
}
.teacher-guide-note img {
  object-fit: contain;
  width: 90px;
  height: 96px;
}
.teacher-guide-note h2 {
  margin: 5px 0;
}
.teacher-guide-note p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}
@media (width<=900px) {
  .campus-top-actions a {
    display: none;
  }
  .campus-assignment-banner {
    margin: 0 14px 8px;
    padding: 9px;
  }
  .campus-assignment-banner p {
    display: none;
  }
  .campus-limit-meter {
    min-width: 108px;
  }
  .campus-limit-meter small {
    display: none;
  }
  .teacher-shell {
    padding: 16px;
  }
  .teacher-login-experience {
    grid-template-columns: 0.88fr 1.12fr;
    min-height: 560px;
  }
  .teacher-login-mascot {
    min-height: 560px;
  }
  .teacher-login-bubble {
    left: 18px;
    right: 18px;
  }
  .teacher-login-card {
    width: calc(100% - 20px);
    margin-right: 20px;
    padding: 26px;
  }
  .teacher-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .teacher-grid {
    grid-template-columns: 1fr;
  }
  .assignment-grid {
    grid-template-columns: 1fr 1fr;
  }
  .session-head {
    display: none;
  }
  .session-table > article {
    grid-template-columns: 0.6fr 1.4fr;
  }
  .campus-report-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .teacher-report-level {
    flex-direction: column;
    align-items: flex-start;
  }
  .teacher-report-pills {
    justify-content: flex-start;
  }
  .teacher-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .teacher-guide-hero {
    grid-template-columns: minmax(0, 1fr) 220px;
    padding: 32px;
  }
  .teacher-guide-hero > img {
    width: 220px;
  }
}
@media (width<=560px) {
  .campus-modal-backdrop {
    place-items: stretch stretch;
    padding: 0;
  }
  .campus-access-card,
  .campus-report-card,
  .qr-card,
  .teacher-report-card {
    border: 0;
    border-radius: 0;
    width: 100%;
    min-height: 100dvh;
    padding: 24px 18px;
  }
  .campus-report-card footer,
  .teacher-report-card footer {
    margin-inline: -18px;
    padding-inline: 18px;
  }
  .campus-skill-grid,
  .campus-roadmap-grid,
  .teacher-skill-grid,
  .teacher-roadmap-grid,
  .teacher-report-columns {
    grid-template-columns: 1fr;
  }
  .teacher-header {
    align-items: flex-start;
  }
  .teacher-login-shell {
    padding: 12px;
  }
  .teacher-login-experience {
    border-radius: 28px;
    grid-template-rows: 245px auto;
    grid-template-columns: 1fr;
    min-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
  .teacher-login-mascot {
    min-height: 245px;
  }
  .teacher-login-mascot:after {
    width: 270px;
    height: 270px;
    bottom: -106px;
  }
  .teacher-login-mascot > img {
    width: 190px;
    bottom: -74px;
  }
  .teacher-login-orbit {
    width: 260px;
    height: 260px;
    bottom: -100px;
  }
  .teacher-login-bubble {
    width: 58%;
    padding: 12px 14px;
    top: 17px;
    left: 17px;
    right: auto;
  }
  .teacher-login-bubble strong {
    font-size: 0.88rem;
  }
  .teacher-login-bubble p {
    font-size: 0.66rem;
  }
  .teacher-login-card {
    width: auto;
    margin: -18px 12px 12px;
    padding: 24px 20px;
  }
  .teacher-login-card h1 {
    font-size: 1.85rem;
  }
  .teacher-header {
    min-height: 98px;
    padding: 12px;
  }
  .teacher-header-brand {
    gap: 10px;
  }
  .teacher-header-owl {
    border-radius: 19px;
    width: 64px;
    height: 64px;
  }
  .teacher-header-owl img {
    width: 68px;
  }
  .teacher-header h1 {
    font-size: 1.65rem;
  }
  .teacher-greeting {
    display: none;
  }
  .teacher-header-actions {
    display: grid;
  }
  .teacher-header-actions span {
    display: none;
  }
  .teacher-metrics {
    gap: 8px;
  }
  .teacher-metrics article {
    min-height: 86px;
    padding: 13px;
  }
  .teacher-card {
    padding: 16px;
  }
  .teacher-form-row,
  .assignment-grid,
  .session-table > article {
    grid-template-columns: 1fr;
  }
  .teacher-heading-with-yanni > img {
    width: 40px;
    height: 40px;
  }
  .empty-state-with-yanni {
    gap: 11px;
    padding-inline: 0;
  }
  .empty-state-with-yanni img {
    width: 70px;
    height: 82px;
  }
  .campus-assignment-banner {
    grid-template-columns: minmax(0, 1fr) 96px;
  }
  .teacher-template-intro {
    flex-direction: column;
    align-items: flex-start;
  }
  .teacher-template-intro p {
    text-align: left;
    max-width: none;
  }
  .teacher-template-grid {
    grid-template-columns: 1fr 1fr;
  }
  .teacher-guide-shell {
    padding: 12px;
  }
  .teacher-guide-hero {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 520px;
    padding: 26px 22px;
  }
  .teacher-guide-hero > img {
    width: 210px;
    margin: 0;
    position: absolute;
    bottom: 14px;
    right: -5px;
  }
  .teacher-guide-hero:after {
    width: 300px;
    height: 300px;
    bottom: -85px;
    right: -70px;
  }
  .teacher-guide-steps {
    grid-template-columns: 1fr;
  }
  .teacher-guide-note {
    align-items: flex-start;
  }
  .teacher-guide-note img {
    width: 70px;
    height: 78px;
  }
}
@media print {
  .teacher-guide-shell {
    color: #07162e;
    background: #fff !important;
    padding: 0 !important;
  }
  .teacher-guide-hero,
  .teacher-guide-steps article,
  .teacher-guide-note {
    break-inside: avoid;
    color: #07162e;
    box-shadow: none !important;
    background: #fff !important;
    border-color: #b9c6d9 !important;
  }
  .teacher-guide-hero {
    min-height: 260px;
  }
  .teacher-guide-hero p,
  .teacher-guide-steps p,
  .teacher-guide-note p {
    color: #33445f !important;
  }
  .teacher-guide-hero a,
  .teacher-guide-hero button {
    display: none !important;
  }
  .campus-modal-backdrop,
  .teacher-report-backdrop {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #fff !important;
    padding: 0 !important;
    display: block !important;
    position: static !important;
    overflow: visible !important;
  }
  .campus-report-card,
  .teacher-report-card {
    color: #07162e !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    box-shadow: none !important;
    background: #fff !important;
    border: 0 !important;
    padding: 18px !important;
    overflow: visible !important;
  }
  .campus-report-card *,
  .teacher-report-card * {
    color: #07162e !important;
  }
  .campus-report-card section,
  .teacher-report-card section,
  .teacher-skill-grid article,
  .teacher-roadmap-grid article,
  .campus-skill-grid article,
  .campus-roadmap-grid article {
    break-inside: avoid;
    background: #fff !important;
    border-color: #b9c6d9 !important;
  }
  .campus-close,
  .campus-report-card footer,
  .teacher-report-card footer {
    display: none !important;
  }
}
