/* The call room (Meet's way) and the classroom's waiting room, copied from the learner app (frontend/learner/v2.css, light.css) */
.sim-aula { position: fixed; inset: 0; background: #0a0a0b; }
.sim-aula iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sim-aula-hold { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 10px; background: #0a0a0b; color: var(--ink-2); text-align: center; transition: opacity .5s; }
.sim-aula-hold.is-gone { opacity: 0; pointer-events: none; }
.sim-aula-hold b { font-size: 20px; color: var(--ink); font-weight: 600; }
.sim-aula-hold small { color: var(--ink-3); font-size: 14.5px; margin-bottom: 14px; }
.sim-aula-hold .orb { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 10px; background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,.2) 60%, transparent 70%); animation: breathe 2.4s ease-in-out infinite; }
.fk-spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.meet { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px clamp(16px, 4vw, 56px) 22px; background: #0f0f10; color: #e8eaed; }
.meet-top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(232, 234, 237, .6); }
.meet-top b { font-weight: 600; color: #e8eaed; }
.meet-top span::before { content: "·"; margin-right: 8px; }
.meet-stage { position: relative; display: grid; place-items: center; width: 100%; max-width: 1560px; height: calc(100dvh - 92px); min-height: 360px; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .08); background: #3c4043;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03); }
.meet-stage > video#sim-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; background: #3c4043; }
/* the portrait's size, which the lines under it sit below: they were placed by hand and the portrait grew past them (5 Nov) */
.meet { --meet-avatar: clamp(140px, 22vmin, 220px); }
.meet-voice { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.meet-glow { position: absolute; inset: -40px; background-size: cover; background-position: center; opacity: .3; filter: blur(80px); transform: scale(1.25); }
.meet-avatar { position: relative; width: var(--meet-avatar); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: box-shadow .3s; }
.meet-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.meet.is-voice .meet-name.is-talking ~ .meet-voice .meet-avatar, .meet.is-voice.is-live .meet-avatar { box-shadow: 0 0 0 4px rgba(138, 180, 248, .0), 0 8px 24px rgba(0, 0, 0, .35); }
/* the face: the avatar's video over the photo once it plays; the photo while it connects */
.meet.is-face.is-live .meet-voice { opacity: 0; transition: opacity .6s; }
.meet-wait { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, calc(var(--meet-avatar) / 2 + 16px)); display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .45); font-size: 14px; }
.meet-wait[hidden] { display: none; }
/* the room waiting for the press (course.js armed): one line and «Inizia», where the wait pill sits */
.meet-ready { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, calc(var(--meet-avatar) / 2 + 16px)); display: grid; justify-items: center; gap: 12px; max-width: 320px; padding: 0 16px; text-align: center; font-size: 14px; color: rgba(232, 234, 237, .8); }
.meet-ready[hidden] { display: none; }
/* the examiner closed: the call ends by itself in a moment (course.js heard) */
.meet-closed { position: absolute; z-index: 6; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: min(420px, calc(100% - 32px)); padding: 10px 14px; border-radius: 12px; background: rgba(32, 33, 36, .92); color: #e8eaed; font-size: 13px; line-height: 1.35; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.meet-closed svg { flex: none; color: #81c995; }
.meet-closed b { display: block; font-weight: 600; }
.meet-closed small { display: block; font-size: 12px; color: rgba(232, 234, 237, .75); }
.meet-closed[hidden] { display: none; }
/* the plan's last minutes (course.js planWarn): a quiet pill at the top of the stage or over the classroom, the link
   opens the plans in a new tab; the last thirty seconds turn it coral. Never a stop, never a modal */
.meet-plan { position: absolute; z-index: 12; left: 50%; top: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 999px; background: rgba(32, 33, 36, .92); color: #e8eaed; font-size: 13px; line-height: 1.3; white-space: nowrap; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.meet-plan a { color: #8ab4f8; font-weight: 600; text-decoration: none; }
.meet-plan.is-last { background: rgba(217, 72, 56, .94); }
.meet-plan.is-last a { color: #fff; text-decoration: underline; }
.meet-plan[hidden] { display: none; }
/* over the classroom it sits under the «Lezione con un insegnante AI» label (legal.css .ai-lesson, top 12px, z 6) */
.sim-aula .meet-plan { top: 50px; z-index: 7; }
/* on a phone the self tile and the name tag sit where the notice would: it goes above them */
@media (max-width: 600px) { .meet-closed { bottom: 176px; } }
.meet-time { position: absolute; z-index: 10; left: 16px; top: 14px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .4); font-size: 14px; font-variant-numeric: tabular-nums; color: #e8eaed; }
.meet:not(.is-live) .meet-time { visibility: hidden; }
.meet-name { position: absolute; z-index: 10; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, .4); font-size: 14px; font-weight: 500; }
.meet-bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; color: #8ab4f8; }
.meet-bars b { width: 3px; height: 4px; border-radius: 2px; background: currentColor; }
.meet-name.is-talking .meet-bars b { animation: meet-bar .9s ease-in-out infinite; }
.meet-name.is-talking .meet-bars b:nth-child(2) { animation-delay: .15s; } .meet-name.is-talking .meet-bars b:nth-child(3) { animation-delay: .3s; }
@keyframes meet-bar { 0%, 100% { height: 4px; } 50% { height: 14px; } }
/* the bottom row, as Meet's (8 Nov): the name at the left, the buttons in the middle, your own tile in the corner; on a
   phone the buttons take the row, and the name and your tile sit just above them */
.meet-self { position: absolute; z-index: 10; right: 16px; bottom: 16px; display: grid; place-items: center; width: clamp(112px, 16vw, 220px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #4a4d52, #2f3236); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.meet-self video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.meet-self.is-off video { display: none; }
.meet-initial { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #5f6368; font-size: 18px; font-weight: 600; }
/* your profile picture when the camera is off, as Meet shows it (8 Nov): the round photo in the middle of the tile */
.meet-initial.has-photo { width: auto; height: 46%; aspect-ratio: 1; overflow: hidden; }
.meet-initial img { display: block; width: 100%; height: 100%; object-fit: cover; }
.meet-self i { position: absolute; left: 10px; bottom: 6px; font-style: normal; font-size: 12px; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.meet-cap { position: absolute; z-index: 10; left: 0; right: 0; bottom: 96px; display: flex; justify-content: center; padding: 0 calc(clamp(120px, 18%, 220px) + 32px); pointer-events: none; }
.meet-cap[hidden] { display: none; }
.meet-cap span { max-width: 720px; padding: 6px 12px; border-radius: 8px; background: rgba(0, 0, 0, .75); font-size: 18px; line-height: 1.35; text-align: center; color: #fff; }
.meet-hear { position: absolute; z-index: 12; left: 50%; top: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #8ab4f8; color: #0b1a33; font: inherit; font-weight: 600; cursor: pointer; }
.meet-hear[hidden] { display: none; }
.meet-bar { position: absolute; z-index: 10; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 999px; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.meet-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #3c4043; color: #e8eaed; cursor: pointer; transition: background-color .15s; }
.meet-btn:hover { background: #5f6368; }
.meet-btn.is-off { background: #ea4335; color: #fff; }
.meet-end { display: grid; place-items: center; width: 64px; height: 48px; border: 0; border-radius: 999px; background: #ea4335; color: #fff; cursor: pointer; transition: background-color .15s; }
.meet-end:hover { background: #d33426; }
.meet-end:disabled { opacity: .5; cursor: default; }
@media (max-width: 640px) { .meet { padding: 0; gap: 0; } .meet-top { display: none; } .meet-stage { height: 100dvh; border-radius: 0; border: 0; } .meet-cap { padding: 0 16px; bottom: 150px; } .meet-name, .meet-self { bottom: 84px; } }
/* the entry test's verdict on the path (course.js applyEntry) */
.v2 .km-cl-row .km-cl-left.is-known { color: var(--v-mint); font-weight: 600; }
.ex-path { display: grid; gap: 4px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(61, 220, 151, .1); text-align: left; }
.ex-path b { font-size: 15px; color: #3ddc97; }
.ex-path small { font-size: 13.5px; color: var(--ink-2, #c4c7c5); }
/* the entry test and the review: no certificate to earn */
.ex-row.is-open .cert { display: none; }
.ex-row.is-open { grid-template-columns: 1fr; justify-items: center; }
/* the subtitles' button, lit in the accent when on, as the demo's (call-commands.tsx `is-active`) */
.meet-btn.is-active { background: #8ab4f8; color: #0b1a33; }
.meet-btn.is-active:hover { background: #aecbfa; }
.sim-aula-hold.is-meet { display: block; background: #0a0a0c; }
.sah-board { position: absolute; top: 45px; left: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 32px); bottom: calc(clamp(16px, 2.4vw, 32px) + 85px);
  border-radius: 16px; background-color: #111116; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 22px 22px; }
.sah-tile { position: absolute; top: 61px; right: calc(clamp(16px, 2.4vw, 32px) + 16px); width: clamp(112px, 16vw, 220px); aspect-ratio: 16 / 9; border-radius: 12px; background: #3c4043;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.sah-tile span { height: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #5f6368; animation: sah-pulse 1.6s ease-out infinite; }
.sah-tile span img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sah-tile .sah-name { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 16px); overflow: hidden; white-space: nowrap; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, .4); font: 500 14px Inter, system-ui, sans-serif; font-style: normal; color: #e8eaed; }
@media (max-width: 640px) { .sah-tile { width: 160px; } .sah-tile .sah-name { left: 6px; bottom: 6px; gap: 6px; padding: 2px 8px; font-size: 12px; } }
.sah-mid { position: absolute; top: 45px; left: 18%; right: 18%; bottom: calc(clamp(16px, 2.4vw, 32px) + 85px); display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.sah-mid b { font: 400 clamp(26px, 3.2vw, 40px)/1.15 Newsreader, Georgia, serif; letter-spacing: -.01em; color: #f2f2f3; }
.sah-mid span { display: inline-flex; align-items: center; gap: 10px; font: 500 14px Inter, system-ui, sans-serif; color: rgba(242,242,243,.7); }
.sah-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(138,180,248,.25); border-top-color: #8ab4f8; animation: sah-turn 1s linear infinite; }
.sah-start { margin-top: 4px; }
.sah-back { position: absolute; left: 50%; bottom: clamp(16px, 2.4vw, 32px); transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; font-size: 14px; color: rgba(242,242,243,.7); }
.sah-back:hover { color: #fff; }
@keyframes sah-pulse { 0% { box-shadow: 0 0 0 0 rgba(138,180,248,.55); } 100% { box-shadow: 0 0 0 14px rgba(138,180,248,0); } }
@keyframes sah-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sah-tile span, .sah-spin { animation: none; } }
:root[data-theme="light"] .sim-aula-hold.is-meet { background: #f6f5f2; }
:root[data-theme="light"] .sah-board { background-color: #fff; background-image: radial-gradient(rgba(0,0,0,.08) 1px, transparent 1.2px); box-shadow: 0 0 0 1px rgba(28,27,25,.07), 0 18px 44px -26px rgba(28,27,25,.35); }
:root[data-theme="light"] .sah-mid b { color: #17181b; }
:root[data-theme="light"] .sah-mid span, :root[data-theme="light"] .sah-back { color: rgba(23,24,27,.6); }
:root[data-theme="light"] .sah-spin { border-color: rgba(26,115,232,.18); border-top-color: #1a73e8; }
:root[data-theme="light"] .sim-aula, :root[data-theme="light"] .sim-aula-hold { background: #f6f5f2; }
:root[data-theme="light"] .sim-aula-hold .orb { background: radial-gradient(circle at 35% 30%, #fff, rgb(10 132 255 / .28) 60%, transparent 70%); box-shadow: 0 10px 30px -12px rgb(10 132 255 / .45); }

/* the call room is the same in both themes: the dark one (Ale, 9 Nov 2026: the light call looked like a page still
   loading, the dark one is the good one) */
/* the names the copied rules use, from this app's tokens */
:root { --shell: var(--frame); --blue-chip: var(--blue-f); --blue-text: var(--blue); --v-mint: var(--mint); }
#take { position: fixed; inset: 0; z-index: 60; }

/* a way out of the lesson always there, even when the classroom breaks without saying so */
.aula-x { position: absolute; top: 6px; left: 8px; z-index: 8; width: 36px; height: 36px; border-radius: 50%; background: rgb(60 64 67 / .7); color: #e8eaed; }
:root[data-theme="light"] .aula-x { background: rgb(0 12 31 / .08); color: var(--ink); }

/* before the call starts: no call buttons yet, only «Inizia»; a way out always at the top left (4 Nov) */
.meet.is-ready .meet-bar, .meet.is-ready .meet-self, .meet.is-ready .meet-time { display: none; }
.meet-x { position: absolute; top: 12px; left: 12px; z-index: 20; width: 36px; height: 36px; border-radius: 50%; background: rgb(60 64 67 / .7); color: #e8eaed; }
.take-presence button { white-space: nowrap; }
@media (max-width: 420px) { .take-presence button { padding: 0 10px; font-size: 13px; } }

/* a browser extension that puts its own label on every video (Video Speed Controller's «1.00», 8 Nov: over the timer
   from the avatar's video, on your own tile from yours): never inside the call */
#take :is(vsc-controller, .vsc-controller) { display: none !important; }
@media (max-width: 640px) { .meet-time { left: 60px; top: 18px; } }
/* Results (4 Nov): the numbers, the kinds, the grades over time, the calls by course. One surface: each block is a card
   of its own, never a card inside one */
.res-sum { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.res-sum.n1 { --n: 1; } .res-sum.n2 { --n: 2; } .res-sum.n3 { --n: 3; }
.res-sum > div { display: grid; gap: 4px; align-content: start; min-width: 0; padding: 24px 28px; }
.res-sum > div + div { box-shadow: inset 1px 0 0 var(--line); }
.res-sum b { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.05; letter-spacing: -.025em; white-space: nowrap; }
.res-sum b small { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-3); }
.res-sum span { font-size: 13.5px; color: var(--ink-3); }
.res-cats { margin-top: 30px; }
.res-cats small { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--faint); }
.res-cats button.on small { color: var(--ink-3); }
.res .sec { margin-top: 44px; }
.res-cats + .sec { margin-top: 28px; }
.res-legend { display: inline-flex; gap: 16px; font-size: 13px; color: var(--ink-3); }
.res-legend span { display: inline-flex; align-items: center; gap: 7px; }
.res-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--kind); }
.res-trend { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; padding: 26px 30px 18px 22px; }
.res-y { display: flex; flex-direction: column; justify-content: space-between; height: 168px; margin: -9px 0; font-size: 12px; line-height: 18px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.res-plot { position: relative; height: 150px; }
.res-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.res-grid { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.res-plot polyline { fill: none; stroke: var(--kind); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .85; }
.res-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--kind); box-shadow: 0 0 0 3px var(--card); transform: translate(-50%, -50%); transition: transform .2s var(--spring, ease); }
.res-dot::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
@media (hover: hover) { .res-dot:hover { transform: translate(-50%, -50%) scale(1.35); } }
.res-x { grid-column: 2; display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.res-gh { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 4px 14px; }
.res-gt { display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin: 0; text-align: left; }
.res-gt h2, h2.res-gt { min-width: 0; margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.res-gt svg { color: var(--ink-3); transition: transform .2s; }
@media (hover: hover) { button.res-gt:hover h2 { color: var(--blue); } button.res-gt:hover svg { transform: translateX(2px); } }
.res-gp { display: flex; align-items: center; gap: 12px; flex: none; width: 230px; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.res-gp .bar { flex: 1; }
.res-row .row-main small .kind { font-size: 10.5px; }
.res-row .row-sc { flex: none; }
.res-row .chip { flex: none; }
.res-go { display: none; color: var(--faint); }
.res-empty { padding-block: 52px; }
.res-empty-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: var(--fill); color: var(--ink-2); }
.res-empty .btn { margin-top: 12px; }
@media (max-width: 640px) {
  .res-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-sum.n1 { grid-template-columns: 1fr; } .res-sum.n3 > div:last-child { grid-column: 1 / -1; }
  .res-sum > div { padding: 18px 20px; }
  .res-sum > div + div { box-shadow: none; }
  .res-sum > div:nth-child(even) { box-shadow: inset 1px 0 0 var(--line); }
  .res-sum > div:nth-child(n + 3) { box-shadow: inset 0 1px 0 var(--line); }
  .res-sum > div:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .res-sum b { font-size: 30px; }
  .res-cats { margin-top: 22px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); max-width: none; }
  .res-cats button { height: 40px; padding: 0 15px; font-size: 14px; }
  .res-trend { padding: 20px 18px 14px 12px; column-gap: 8px; grid-template-columns: 20px minmax(0, 1fr); }
  .res-plot { height: 120px; } .res-y { height: 138px; }
  .res-gh { flex-direction: column; align-items: stretch; gap: 8px; }
  .res-gt h2, h2.res-gt { font-size: 22px; }
  .res-gp { width: 100%; }
  .res-row { gap: 12px; padding: 12px 10px; }
  .res-row > img { width: 44px; height: 44px; border-radius: 14px; }
  .res-row .row-sc { font-size: 24px; }
  .res-row .res-open, .res-row .res-min { display: none; }
  .res-row .chip { height: 26px; padding: 0 10px; font-size: 12px; }
  .res-row .res-go { display: block; margin-left: -4px; }
  .res .sec-head.is-sm { flex-wrap: wrap; gap: 6px 16px; }
}
/* a row of Results stays one line on a tablet and a phone (the app's rows wrap under 900 px): the grade beside the title */
@media (max-width: 900px) { .res-row { flex-wrap: nowrap; } .res-row .row-main { flex: 1 1 auto; } }

/* ---------- the entry test's and the exam's report card (take.js repTest; the learner's pagella, styles.css and v2.css) ---------- */
.repx { --exam-f: color-mix(in srgb, var(--exam) 14%, transparent); }
.repx-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 18px 0 26px; }
.repx-top .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.repx-top .who img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; object-position: 50% 20%; flex: none; }
.repx-top .who b { display: block; font-size: 15px; font-weight: 600; }
.repx-top .who span { display: block; font-size: 13px; color: var(--ink-3); }
.repx .pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--fill); color: var(--ink-2); white-space: nowrap; }
.repx .pill.good { background: var(--mint-f); color: var(--mint); } .repx .pill.ok { background: var(--exam-f); color: var(--exam); } .repx .pill.bad { background: var(--coral-f); color: var(--coral); }
.repx .lbl { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
/* the entry test on one screen */
.en { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.en-side { display: flex; flex-direction: column; justify-content: center; gap: 18px; min-width: 0; }
.en-side h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
.en-side p { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.en-score { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 18px; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.en-score svg { width: 120px; height: 120px; }
.repx .tr { fill: none; stroke: var(--fill-2); stroke-width: 9; stroke-linecap: round; }
.repx .fl { fill: none; stroke: var(--blue); stroke-width: 9; stroke-linecap: round; stroke-dasharray: var(--dash); animation: arcin .9s cubic-bezier(.2, .7, .2, 1); }
@keyframes arcin { from { stroke-dasharray: 0 1000; } }
.en-score > span { position: absolute; left: 16px; top: 16px; width: 120px; height: 120px; display: grid; place-content: center; text-align: center; }
.en-score > span b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.en-score > span small { font-size: 12px; color: var(--ink-3); }
.en-score ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.en-score li b { display: inline-block; min-width: 26px; font-size: 18px; color: var(--ink); }
.en-go { align-self: flex-start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.en-path { min-width: 0; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.en-path header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 16px 18px 10px; }
.en-path header b { font-size: 15px; font-weight: 650; } .en-path header small { font-size: 13px; color: var(--ink-3); }
.en-path ol { margin: 0; padding: 0 8px 10px; list-style: none; }
.en-path li > a, .en-path li > span { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: inherit; text-decoration: none; }
@media (hover: hover) { .en-path li > a:hover { background: var(--fill); } }
.en-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fill-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.en-t { display: grid; min-width: 0; } .en-t b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; font-weight: 550; } .en-t small { font-size: 12.5px; color: var(--ink-3); }
.en-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.en-path li.is-known .en-chip { background: var(--mint-f); color: var(--mint); } .en-path li.is-known .en-n { background: var(--mint-f); color: var(--mint); }
.en-path li.is-half .en-chip { background: var(--exam-f); color: var(--exam); }
.en-path li.is-learn .en-chip { background: var(--blue-f); color: var(--blue); }
.en-path li.is-todo .en-chip { background: var(--fill); color: var(--ink-3); }
.en-path li.is-check .en-chip { background: var(--coral-f); color: var(--coral); }
.verdict { padding: 14px 18px; border-radius: 16px; background: var(--fill); }
.verdict p { margin: 0; max-width: none; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.ex-hero .verdict { width: 100%; max-width: 640px; margin-top: 8px; text-align: left; }
/* the exam's grade */
.ex-hero { display: grid; justify-items: center; text-align: center; gap: 12px; }
.big-arc { position: relative; width: 190px; height: 190px; margin-top: 6px; }
.big-arc svg { width: 100%; height: 100%; }
.big-arc .tr { stroke-width: 12; } .big-arc .fl { stroke-width: 12; }
.big-arc .mark { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.big-arc .in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.big-arc .in b { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: .9; letter-spacing: -.04em; }
.big-arc .in span { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.ex-hero h1 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; letter-spacing: -.03em; }
.ex-hero h1 small { margin-left: 4px; font-family: var(--sans); font-size: 18px; color: var(--ink-3); letter-spacing: 0; }
.ex-hero p { margin: 0; max-width: 52ch; font-size: 17px; color: var(--ink-2); }
.ex-row { display: grid; width: 100%; margin-top: 14px; text-align: left; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); width: min(460px, 100%); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.stats span { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 14px 6px; font-size: 13px; color: var(--ink-3); }
.stats span + span { border-left: 1px solid var(--line); }
.stats b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--ink); }
/* the four tabs' pages */
.ep-head { margin-bottom: 26px; }
.ep-head .kick { display: block; margin-bottom: 10px; }
.ep-head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 50px); line-height: 1.02; letter-spacing: -.03em; }
.ep-head p { margin: 10px 0 0; max-width: 60ch; font-size: 16px; color: var(--ink-3); }
.qchips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.qchip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); font-weight: 650; font-size: 14px; }
.qchip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.qchip.good { --c: var(--mint); } .qchip.ok { --c: var(--exam); } .qchip.bad { --c: var(--coral); }
.qchip.on { box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--blue-f); }
.again { display: grid; gap: 14px; }
.acard { display: grid; gap: 16px; padding: 24px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); min-width: 0; }
.acard .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.acard .q { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.acard blockquote { margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--fill); color: var(--ink-2); font-size: 15.5px; overflow-wrap: anywhere; }
.acard .b { padding: 14px 18px; border-radius: 14px; font-size: 15px; color: var(--ink-2); }
.acard .b.ko { background: var(--coral-f); } .acard .b.ko .lbl { color: var(--coral); }
.acard .b.yes { background: var(--mint-f); } .acard .b.yes .lbl { color: var(--mint); }
.acard .figs { display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.acard .figs .y::before { content: "✓ "; color: var(--mint); } .acard .figs .n::before { content: "✕ "; color: var(--coral); }
.acard .golesson { justify-self: start; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.check { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.check .n { font-family: var(--serif); font-size: 42px; line-height: 1; }
.check .n small { font-family: var(--sans); font-size: 15px; color: var(--ink-3); }
.check .bar { display: flex; gap: 4px; height: auto; background: none; overflow: visible; }
.check .bar i { flex: 1; height: 6px; border-radius: 4px; background: var(--fill-2); } .check .bar i.on { background: var(--mint); }
.check > small { font-size: 13px; color: var(--ink-3); }
.card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 6px 4px 12px; }
.card-h b { font-size: 17px; font-weight: 650; } .card-h span { font-size: 13.5px; color: var(--ink-3); }
.rules { margin: 0; padding: 4px 20px; list-style: none; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.rules li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; }
.rules li > i { font-style: normal; font-family: var(--serif); font-size: 20px; color: var(--faint); }
.rules b { font-weight: 600; }
.rules .det { display: grid; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.rules .det .y::before { content: "✓ "; color: var(--mint); } .rules .det .n::before { content: "✕ "; color: var(--coral); }
.rules .det .q { font-style: italic; overflow-wrap: anywhere; }
.rules li > small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--ink-3); text-align: right; }
.mission { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 20px; margin-bottom: 30px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.mission img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.mission > span { flex: 1; min-width: 200px; }
.mission small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mission b { display: block; margin: 3px 0; font-size: 19px; font-weight: 650; }
.mission em { font-style: normal; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .en { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) {
  .acard { padding: 18px; } .rules { padding: 2px 16px; }
  .rules li { grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; } .rules li > small { grid-column: 2; text-align: left; } .rules li > .pill { grid-column: 2; justify-self: start; }
  .en-score { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 14px; } .en-score > span { left: 14px; top: 14px; }
  .mission .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .repx .fl { animation: none; } }
.repx-top .seg { flex-wrap: nowrap; }
@media (max-width: 640px) { .repx-top .seg { width: 100%; } .repx-top .seg button { flex: none; padding: 0 12px; } }
.repx, .repx-top { min-width: 0; max-width: 100%; }
@media (max-width: 640px) { .repx-top { display: grid; } .repx-top .seg { display: flex; min-width: 0; overflow-x: auto; } }
.repx a.btn, .repx a.btn:hover { text-decoration: none; }

/* what the entry test found out (backend personal_course) */
.pc-head { margin: 20px 0 24px; }
.pc-head h1 { margin: 8px 0 0; max-width: 24ch; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.2vw, 42px); line-height: 1.12; letter-spacing: -.015em; }
.pc-course { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; }
.pc-course b { font-size: 16px; font-weight: 600; }
.pc-course p { margin: 2px 0 0; color: var(--ink-2); }
.pc-course .btn { flex: none; }
.pc-card { margin-top: 16px; padding: 28px; display: grid; gap: 28px; }
.pc-card h3 { margin: 0 0 8px; font-size: 13px; font-weight: 550; color: var(--ink-3); }
.pc-rows { display: grid; gap: 14px; margin: 0; }
.pc-rows div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; }
.pc-rows dt { font-size: 14px; color: var(--ink-3); }
.pc-rows dd { margin: 0; }
.pc-rungs { display: flex; gap: 4px; max-width: 280px; margin-bottom: 8px; }
.pc-rungs i { flex: 1; height: 6px; border-radius: 6px; background: var(--fill-2); }
.pc-rungs i.on { background: var(--btn); }
.pc-level p { margin: 0; color: var(--ink-2); }
.pc-tools > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pc-two ul { margin: 0; padding: 0; list-style: none; }
.pc-two li { padding: 3px 0; }
@media (max-width: 640px) {
  .pc-course { flex-direction: column; align-items: flex-start; }
  .pc-rows div, .pc-two { grid-template-columns: 1fr; gap: 4px 0; } .pc-two { gap: 20px; }
}
.pc-on-course { margin: 0 0 24px; }
.pc-two.is-one { grid-template-columns: 1fr; }
/* the course page while the person's own course is written (Ale, 8 Nov evening): the entry test they did stays clear, every
   other step and what the course teaches blur under one line */
.pc-veil { position: relative; }
.pc-veil .w7-r:not(.is-test), .pc-veiled { filter: blur(7px); opacity: .55; pointer-events: none; user-select: none; transition: filter .4s, opacity .4s; }
.pc-veil-note { position: absolute; left: 50%; top: 300px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: min(560px, calc(100% - 32px)); padding: 14px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-hi);
  color: var(--ink); font-size: 15px; line-height: 1.45; }
:root[data-theme="dark"] .pc-veil-note { background: var(--card-3); }
.pc-veil-note .dots { flex: none; }
@media (prefers-reduced-motion: reduce) { .pc-veil .w7-r:not(.is-test), .pc-veiled { transition: none; } }
@media (max-width: 760px) { .pc-veil-note { top: 330px; font-size: 14px; padding: 12px 16px; } }
