/* Tanulói műszerfal – a jóváhagyott dizájn (claude.ai/artifact/H3GGbhzguFwz9FyMd1s7rE).
   Neon = az oktatói app világos témája; Vida = Vida-színek. Az iskolát a
   <body class="school-…"> választja. */

@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("poppins-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("poppins-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("poppins-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root, .school-neon {
  --bg: linear-gradient(180deg, #f6f8fb 0%, #e9edf3 100%);
  --text: #0f172a; --muted: #556079; --label: #3d4760;
  --card: #ffffff; --border: rgba(15,23,42,0.08); --line: rgba(15,23,42,0.08);
  --link: #1e7d00; --link-hover: #165c00; --outline: rgba(30,125,0,0.45); --tint: rgba(46,160,0,0.1);
  --btn-bg: #76ff00; --btn-text: #06120a; --btn-radius: 999px; --btn-font: "Poppins", "Inter", sans-serif;
  --btn-shadow: inset 0 0 0 1px rgba(30,125,0,0.32), 0 4px 14px rgba(70,170,0,0.28);
  --check: #76ff00; --check-mark: #06120a; --now-label: #1e7d00;
  --track: linear-gradient(180deg, #05080f 0%, #141c30 100%); --dot: #76ff00;
  --tail: linear-gradient(90deg, rgba(118,255,0,0) 0%, rgba(118,255,0,0.25) 35%, rgba(150,255,60,0.85) 85%, #e9ffd4 100%);
  --haze: linear-gradient(90deg, rgba(118,255,0,0) 10%, rgba(118,255,0,0.55) 100%);
  --head: radial-gradient(circle at 42% 40%, #ffffff 0%, #eaffd6 30%, #9dff40 62%, #76ff00 100%);
  --glow: 0 0 6px 2px rgba(200,255,150,0.9), 0 0 18px 6px rgba(118,255,0,0.6), 0 0 40px 14px rgba(118,255,0,0.28);
}
.school-vida {
  --bg: #f3f6fb; --text: #1e2533; --muted: #4f5b70; --label: #1F3B75;
  --border: #dce3ee; --line: #e3e8f0;
  --link: #1C7DB0; --link-hover: #155f86; --outline: #9cc6e0; --tint: #e6f2fa;
  --btn-bg: #1F3B75; --btn-text: #ffffff; --btn-radius: 12px; --btn-font: "Inter", sans-serif; --btn-shadow: none;
  --check: #1F3B75; --check-mark: #ffffff; --now-label: #1F3B75;
  --track: linear-gradient(180deg, #0f1f44 0%, #1F3B75 100%); --dot: #8fd3f5;
  --tail: linear-gradient(90deg, rgba(38,154,213,0) 0%, rgba(38,154,213,0.3) 35%, rgba(120,200,240,0.9) 85%, #eaf7ff 100%);
  --haze: linear-gradient(90deg, rgba(38,154,213,0) 10%, rgba(38,154,213,0.6) 100%);
  --head: radial-gradient(circle at 42% 40%, #ffffff 0%, #e3f5ff 30%, #7cc9ef 62%, #269ad5 100%);
  --glow: 0 0 6px 2px rgba(220,240,255,0.9), 0 0 18px 6px rgba(38,154,213,0.6), 0 0 40px 14px rgba(38,154,213,0.28);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); background-attachment: fixed; color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
.wrap { max-width: 520px; margin: 0 auto; padding: 28px 20px 48px; display: flex; flex-direction: column; gap: 18px; }

.brand { align-self: flex-start; display: flex; border-radius: 14px; padding: 10px 16px; text-decoration: none; }
.school-neon .brand { background: #0a0f1e; }
.brand img { height: 40px; width: auto; display: block; }
.brand--text { background: #fff; border: 1px solid var(--border); font-weight: 700; color: var(--label); font-size: 15px; }
.brand--center { align-self: center; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar__links { display: flex; gap: 16px; font-size: 14px; font-weight: 600; }

h1 { margin: 0; font-family: "Poppins", "Inter", sans-serif; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.hello { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.hello__sub { font-size: 15px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
p { margin: 0; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 20px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.05), 0 6px 20px rgba(15,23,42,0.07);
  display: flex; flex-direction: column; gap: 14px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.counter { font-size: 13px; font-weight: 700; color: var(--muted); }

.btn { display: flex; align-items: center; justify-content: center; min-height: 56px; width: 100%; border: none;
  border-radius: var(--btn-radius); background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--btn-shadow);
  font-family: var(--btn-font); font-size: 16px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; padding: 0 20px; }
.btn:hover { color: var(--btn-text); filter: brightness(1.03); }
.btn--ghost { background: transparent; color: var(--link); box-shadow: none; border: 1px solid var(--outline);
  min-height: 48px; font-family: "Inter", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.btn--ghost:hover { color: var(--link-hover); }

label.field { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
input[type=email], input[type=date] { height: 52px; width: 100%; border: 1px solid rgba(15,23,42,0.18); border-radius: 12px;
  padding: 0 16px; font: inherit; font-size: 16px; color: var(--text); background: #f7f9fc; }
input:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--outline); outline-offset: 2px; }
.error { background: rgba(198,40,40,0.08); color: #b71c1c; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.notice { background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 14px; }

/* hullócsillagos folyamatsáv */
.comet { position: relative; height: 30px; border-radius: 999px; background: var(--track); margin-top: 4px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.06), 0 1px 0 rgba(255,255,255,0.8); }
.comet__dot { position: absolute; top: 13px; width: 4px; height: 4px; margin-left: -2px; border-radius: 999px; background: var(--dot); }
.comet__dot--todo { background: rgba(255,255,255,0.18); }
.comet__haze { position: absolute; left: 8px; top: 8px; height: 14px; border-radius: 999px; background: var(--haze); filter: blur(6px); }
.comet__tail { position: absolute; left: 8px; top: 12px; height: 6px; border-radius: 999px; background: var(--tail); }
.comet__head { position: absolute; top: 6px; width: 18px; height: 18px; margin-left: -9px; border-radius: 999px;
  background: var(--head); box-shadow: var(--glow); animation: comet-in 900ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes comet-in { from { opacity: 0; transform: translateX(-40px) scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .comet__head { animation: none; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 12px; line-height: 1.3; text-align: center; color: var(--muted); }
.steps .now { font-weight: 700; color: var(--now-label); }

.big { display: flex; align-items: baseline; gap: 8px; }
.big__num { font-family: "Poppins", "Inter", sans-serif; font-size: 46px; font-weight: 800; line-height: 1; }
.pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill--green { color: #1b8a45; background: rgba(46,160,0,0.1); }
.pill--orange { color: #a65400; background: rgba(230,120,0,0.12); }
.pill--red, .pill--empty { color: #b71c1c; background: rgba(198,40,40,0.08); }

.todo { display: flex; flex-direction: column; }
.todo__row { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.todo__row + .todo__row { border-top: 1px solid var(--line); }
.tick { width: 24px; height: 24px; border-radius: 999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.tick--done { background: var(--check); }
.tick--open { border: 2px solid rgba(15,23,42,0.22); }
.todo__text { flex-grow: 1; font-size: 15px; }
.todo__row--done .todo__text { color: var(--muted); }

.person { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 999px; background: var(--tint); color: var(--link); display: flex;
  align-items: center; justify-content: center; font-family: "Poppins", "Inter", sans-serif; font-weight: 700; flex-shrink: 0; }
.person__name { font-size: 17px; font-weight: 700; }

.helplink { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 16px 20px; text-decoration: none; color: var(--text); font-weight: 600; }
.helplink span { flex-grow: 1; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--link); }
.foot { text-align: center; font-size: 13px; color: var(--muted); }
details summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
details p { color: var(--muted); font-size: 15px; padding-bottom: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
