/* Koonta, in the Finnish School of Kosovo identity: navy + sky from the logo, Ubuntu, calm Nordic white space.
   One light look on every device (matches the school's printed identity). */
:root {
  --navy: #243e8b;          /* logo flag */
  --navy-deep: #182c66;
  --sky: #4ac7ed;           /* logo wordmark */
  --sky-ink: #0f7fa6;       /* sky dark enough for small text */
  --sky-soft: #e4f6fd;
  --grey: #666666;          /* "of Kosovo" */
  --paper: #f5f8fc;
  --card: #ffffff;
  --line: #dde5f0;
  --ink: #15234d;
  --muted: #5f6b85;
  --gold: #f2b631;
  --gold-deep: #c98d0c;
  --gold-soft: #fff8e6;
  --good: #1f9d63;
  --good-soft: #effaf4;
  --bad: #d64545;
  --bad-soft: #fdf0f0;
  --warn-soft: #fff6e0;
  --font: "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font); overflow-x: hidden; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: 14px; color: var(--muted); }
.hint { font-size: 14px; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-ink); }
.empty { color: var(--muted); padding: 8px 0; }
.warn { background: var(--warn-soft); border: 1px solid #f3dfa6; border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.ok-text { color: var(--good); font-weight: 500; }
.form-error { background: var(--bad-soft); border: 1px solid #f2c4c4; color: #9b2a2a; border-radius: 12px; padding: 10px 14px; }
.spacer { flex: 1; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack label, .field-label { font-size: 14px; font-weight: 500; color: var(--ink); }

/* ── top bar ── */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 15; }
.top-in { max-width: 1060px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; min-width: 0; text-align: left; }
.brand .brand-logo { height: 46px; width: auto; display: block; flex: none; }
.brand .product { line-height: 1.1; min-width: 0; }
.school { height: 30px; width: auto; display: block; margin-right: auto; border-left: 1px solid var(--line); padding-left: 14px; margin-left: 4px; }
#brand-sub { font-size: 12px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.status { display: flex; align-items: center; gap: 8px; flex: none; }
.coins { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); background: var(--gold-soft); border: 1px solid #f6e2ad; padding: 5px 12px 5px 6px; border-radius: 99px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.coin-ic { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe7a3, var(--gold) 55%, var(--gold-deep)); flex: none; display: inline-block; }
.coins.pop { animation: pop .45s; }
@keyframes pop { 35% { transform: scale(1.15); } }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; background: var(--card); }
.icon-btn:hover { border-color: var(--sky); }
.icon-btn svg { width: 20px; height: 20px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); display: inline-block; flex: none; }
.live-dot.off { background: var(--gold); }
.userchip { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.userchip .name { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 680px) {
  .top-in { flex-wrap: wrap; row-gap: 8px; }
  .status { flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
  .status .btn { padding: 8px 12px; }
  .seg button { padding: 6px 10px; }
  .school, #brand-sub { display: none; }
  .brand { margin-right: auto; }
  .brand .brand-logo { height: 40px; }
  .userchip .name { display: none; }
}

.app { max-width: 1060px; margin: 0 auto; padding: 18px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
body.has-nav .app { padding-bottom: 110px; }

/* ── buttons ── */
.btn { font-weight: 500; font-size: 15px; padding: 10px 18px; border-radius: 12px; background: var(--card); color: var(--navy); border: 1px solid var(--line); transition: background .15s, border-color .15s, transform .08s; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { background: var(--paper); border-color: #c9d5e6; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.primary:hover { background: var(--navy-deep); }
.btn.sky { background: var(--sky); color: var(--navy-deep); border-color: var(--sky); }
.btn.sky:hover { background: #33b9e3; }
.btn.good { background: var(--good); color: #fff; border-color: var(--good); }
.btn.good:hover { background: #18834f; }
.btn.bad { background: var(--card); color: var(--bad); border-color: #f0c3c3; }
.btn.bad:hover { background: var(--bad-soft); }
.btn.big { font-size: 17px; padding: 14px 24px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.link:disabled { opacity: .45; cursor: not-allowed; }
.link { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 4px 2px; }
.back { align-self: flex-start; color: var(--navy); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; }
.back svg { width: 18px; height: 18px; }
.ms-btn { gap: 12px; }
.ms-logo { display: grid; grid-template-columns: 9px 9px; gap: 2px; }
.ms-logo i { width: 9px; height: 9px; display: block; }
.ms-logo i:nth-child(1) { background: #f25022; } .ms-logo i:nth-child(2) { background: #7fba00; }
.ms-logo i:nth-child(3) { background: #00a4ef; } .ms-logo i:nth-child(4) { background: #ffb900; }

/* ── form controls ── */
input[type=text], input[type=email], input[type=password], input[type=number], input:not([type]), select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: var(--paper); font-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px var(--sky-soft); }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
textarea.tall { min-height: 150px; }
.code-input { font-size: 26px; letter-spacing: .3em; text-transform: uppercase; text-align: center; font-weight: 500; }
.pin-input { font-size: 30px; letter-spacing: .6em; text-align: center; font-weight: 500; padding-left: calc(14px + .6em); }

/* ── cards & screens ── */
.card, .screen { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 18px; }
.screen h1 { font-size: 26px; }
.screen .lead, .lead { color: var(--muted); max-width: 64ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cols-3 ul, .card ul { margin: 4px 0 0; padding-left: 18px; }
@media (max-width: 760px) { .split, .cols-3 { grid-template-columns: 1fr; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 99px; background: var(--sky-soft); color: var(--navy); white-space: nowrap; }
.pill.ok { background: #d8f2e4; color: #13744a; }
.pill.warn { background: #fdeec7; color: #8a5d00; }
.pill.bad { background: #fadede; color: #a12f2f; }
.pill.muted { background: #edf1f7; color: var(--muted); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff; background: var(--navy); flex: none; }
.avatar.sm { width: 34px; height: 34px; font-size: 14px; }
.avatar.lg { width: 56px; height: 56px; font-size: 22px; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--sky); }
.avatar.c1 { background: #2f6fd0; } .avatar.c2 { background: #0f8fb8; } .avatar.c3 { background: #5a4bb8; }
.avatar.c4 { background: #1f9d63; } .avatar.c5 { background: #c26a12; } .avatar.c6 { background: #b8406a; }
.seg { display: inline-flex; background: #edf1f7; border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { padding: 7px 14px; border-radius: 9px; font-weight: 500; font-size: 14px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--navy); box-shadow: 0 1px 3px rgb(21 35 77 / .12); }

/* ── landing ── */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: var(--navy); color: #fff; border-radius: 22px; padding: 30px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 36px solid rgb(74 199 237 / .14); }
.hero h1 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 500; }
.hero p { color: #d3ddf5; margin-top: 10px; max-width: 52ch; }
.hero .eyebrow { color: var(--sky); }
.hero-town { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; z-index: 1; }
.hero-town span { background: #fff; border-radius: 12px; padding: 6px; }
.hero-town svg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding: 22px; } .hero-town { display: none; } }
.entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.entry .card h2 { font-size: 22px; }
.entry .card.student { border: 2px solid var(--navy); }
@media (max-width: 900px) { .entry { grid-template-columns: 1fr; } }
.name-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; padding: 2px; }
.name-pick { border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; background: var(--card); }
.name-pick:hover { border-color: var(--sky); }
.name-pick[aria-pressed="true"] { border: 2px solid var(--navy); background: var(--sky-soft); }
.level-btn { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: left; background: var(--card); width: 100%; }
.level-btn:hover { border-color: var(--sky); }
.level-btn svg { width: 52px; height: auto; flex: none; }
.level-btn b { display: block; font-weight: 500; color: var(--navy); }
.level-btn small { color: var(--muted); font-size: 13px; }

/* ── player card ── */
.player { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr minmax(180px, 280px); gap: 16px; align-items: center; position: relative; overflow: hidden; text-align: left; width: 100%; }
.player::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgb(74 199 237 / .14); pointer-events: none; }
.player .avatar { background: var(--sky); color: var(--navy-deep); }
.player .who b { font-size: 20px; font-weight: 700; display: block; line-height: 1.15; }
.player .who span { color: #c9d6f3; font-size: 14px; }
.rank { position: relative; z-index: 1; }
.rank-top { display: flex; justify-content: space-between; font-size: 13px; color: #dbe5fb; gap: 8px; }
.rank-top b { color: #fff; font-weight: 500; }
.rank-bar { height: 8px; background: rgb(255 255 255 / .18); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.rank-bar i { display: block; height: 100%; background: var(--sky); border-radius: 99px; transition: width .8s ease; }
button.player:hover { background: #2a4799; }
@media (max-width: 620px) { .player { grid-template-columns: auto 1fr; } .rank { grid-column: 1 / -1; } }

/* ── mission card ── */
.mission { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.mission .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--sky-soft); display: grid; place-items: center; color: var(--navy); }
.mission .ic svg { width: 26px; height: 26px; }
.mission h2 { font-size: 20px; margin-top: 2px; }
.mission p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.mission.done { background: var(--good-soft); border-color: #c9ead8; }
.mission.done .ic { background: #d8f2e4; color: var(--good); }
.mission.late { border-color: #f0c3c3; }
.mission.late .ic { background: var(--bad-soft); color: var(--bad); }
@media (max-width: 620px) { .mission { grid-template-columns: auto 1fr; } .mission > .btn { grid-column: 1 / -1; } }
.duties { display: flex; gap: 8px; flex-wrap: wrap; }
.duty { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 14px 6px 8px; font-size: 14px; font-weight: 500; }
.duty:hover { border-color: var(--sky); }
.duty i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-style: normal; }
.duty i svg { width: 14px; height: 14px; }
.duty.done i { background: #d8f2e4; color: var(--good); }
.notice { background: var(--sky-soft); border: 1px solid #bfe9f8; border-radius: 14px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice.bad { background: var(--bad-soft); border-color: #f2c4c4; }

/* ── town map ── */
.town { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.town-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.town-head h2 { font-size: 18px; }
.town-head span { font-size: 13px; color: var(--muted); }
.map { position: relative; border-radius: 14px; background: linear-gradient(var(--paper), #edf3fa); padding: 16px; overflow: hidden; }
.map::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 22px; margin-top: -11px; background: #e3eaf4; }
.lots { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lot { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.lot:hover { border-color: var(--sky); box-shadow: 0 6px 18px rgb(36 62 139 / .10); transform: translateY(-2px); }
.lot svg { width: 100%; max-width: 104px; height: auto; }
.lot b { font-weight: 500; font-size: 15px; text-align: center; }
.lot span { font-size: 12px; color: var(--muted); text-align: center; }
.lot.mine { border: 2px solid var(--navy); }
.lot.mine::before { content: "Your workplace"; position: absolute; top: -10px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 500; padding: 2px 10px; border-radius: 99px; letter-spacing: .02em; white-space: nowrap; }
.lot .dot { position: absolute; top: 8px; right: 8px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.flag-lot { display: grid; place-items: center; }
.flag-lot img { width: 70%; max-width: 110px; opacity: .9; }
@media (max-width: 620px) { .lots { grid-template-columns: repeat(2, 1fr); } .flag-lot { display: none; } }
.meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.card .meters { margin-top: 0; }
.meter { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.meter .mrow { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.meter .mrow b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.meter .bar { height: 6px; border-radius: 99px; background: var(--line); margin-top: 6px; overflow: hidden; display: block; }
.meter .bar i { display: block; height: 100%; border-radius: 99px; transition: width .8s; }

/* ── step-by-step missions ── */
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 5px; border-radius: 99px; background: var(--line); }
.steps i.on { background: var(--navy); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.choice { border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .15s, background .15s; background: var(--card); text-align: center; }
.choice:hover { border-color: var(--sky); }
.choice[aria-pressed="true"] { border: 2px solid var(--navy); background: var(--sky-soft); }
.choice b { font-weight: 500; font-size: 16px; }
.choice span { font-size: 13px; color: var(--muted); }
.brief { background: var(--paper); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.brief .goes { font-size: 14px; color: var(--navy); font-weight: 500; display: flex; gap: 8px; align-items: center; }
.brief .goes svg { width: 18px; height: 18px; flex: none; }
.skills { display: flex; gap: 6px; flex-wrap: wrap; }
.quality { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.quality .bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.quality .bar i { display: block; height: 100%; background: var(--sky); transition: width .3s; }
.quality.full .bar i { background: var(--good); }
.answer { background: var(--paper); border-radius: 12px; padding: 12px 14px; white-space: normal; overflow-wrap: anywhere; }
.feedback { border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.task-list { display: flex; flex-direction: column; gap: 10px; }
.task-row { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: var(--card); text-align: left; width: 100%; }
.task-row:hover { border-color: var(--sky); }
.task-row .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; }
.task-row .ic svg { width: 20px; height: 20px; }
.task-row.done .ic { background: #d8f2e4; color: var(--good); }
.task-row.late .ic { background: var(--bad-soft); color: var(--bad); }
.task-row b { font-weight: 500; display: block; }
.task-row small { color: var(--muted); font-size: 13px; }

/* ── stars ── */
.stars { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.stars button { padding: 2px; border-radius: 8px; line-height: 0; }
.stars svg { width: 30px; height: 30px; display: block; }
.stars.sm svg { width: 18px; height: 18px; }
.stars .lbl { font-size: 13px; color: var(--muted); margin-left: 6px; }
.star-row { display: grid; grid-template-columns: minmax(120px, 220px) auto; gap: 4px 12px; align-items: center; }
.star-row > span { font-size: 14px; }
@media (max-width: 520px) { .star-row { grid-template-columns: 1fr; } }

/* ── messages ── */
.letters { display: flex; flex-direction: column; gap: 12px; }
.letter { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; position: relative; overflow: hidden; background: var(--card); }
.letter.unread { border-left: 4px solid var(--sky); }
.letter.new { animation: slidein .5s ease-out; }
@keyframes slidein { from { transform: translateY(-10px); opacity: 0; } }
.letter b.title { font-weight: 500; font-size: 16px; display: block; padding-right: 110px; }
.letter .from { font-size: 13px; color: var(--muted); }
.letter .body { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; min-width: 0; }
.quote { background: var(--paper); border-radius: 10px; padding: 10px 12px; color: var(--ink); overflow-wrap: anywhere; }
.fields { margin: 0; display: grid; gap: 6px; background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.fields dt { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.fields dd { margin: 0 0 4px; overflow-wrap: anywhere; }
.reply { border-left: 3px solid var(--sky); padding-left: 12px; }
.stamp { position: absolute; right: 14px; top: 12px; font-weight: 700; font-size: 15px; padding: 2px 10px; border: 3px solid; border-radius: 8px; transform: rotate(-8deg); letter-spacing: .08em; background: rgb(255 255 255 / .9); text-transform: uppercase; }
.stamp.anim { animation: stamp .3s cubic-bezier(.3,1.5,.5,1); }
.stamp.ok { color: var(--good); } .stamp.no { color: var(--bad); } .stamp.wait { color: var(--gold-deep); }
@keyframes stamp { from { transform: rotate(-8deg) scale(2); opacity: 0; } }
@media (max-width: 520px) { .letter { grid-template-columns: 1fr; } .letter > .avatar { display: none; } .letter b.title { padding-right: 96px; } }

/* ── vote ── */
.ballot-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.ballot-card { border-radius: 14px; padding: 20px 12px; font-size: 18px; font-weight: 500; border: 2px solid var(--navy); color: var(--navy); background: var(--card); transition: background .15s; overflow-wrap: anywhere; }
.ballot-card:hover { background: var(--sky-soft); }
.box { grid-column: 1 / -1; display: grid; place-items: center; height: 120px; }
.box svg { width: 140px; height: auto; }
.flying { position: fixed; z-index: 50; pointer-events: none; transition: transform .65s cubic-bezier(.5,0,.5,1), opacity .65s; }
.flying .ballot-card { display: block; width: 120px; padding: 12px; font-size: 14px; text-align: center; }
.result { display: flex; flex-direction: column; gap: 6px; }
.res-row { display: grid; grid-template-columns: minmax(80px, 200px) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.res-row .bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.res-row .bar span { display: block; height: 100%; background: var(--sky); border-radius: 99px; }
.res-row.win { font-weight: 700; }
.res-row.win .bar span { background: var(--navy); }
.ballot-admin { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ballot-admin h4 { font-size: 16px; }
.ballot-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ── news ── */
.news { display: grid; gap: 12px; }
.paper { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.paper.k-event { background: var(--navy); color: #fff; border-color: var(--navy); }
.paper.k-event .eyebrow { color: var(--sky); }
.paper.k-law, .paper.k-result, .paper.k-constitution { border-left: 4px solid var(--navy); }
.paper.k-ad { background: var(--gold-soft); border-color: #f6e2ad; }
.paper h3 { font-size: 18px; }
.paper p { overflow-wrap: anywhere; }
.square { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.square .side { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .square { grid-template-columns: 1fr; } }

/* ── bottom nav ── */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--line); }
.nav-in { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; font-size: 12px; font-weight: 500; color: var(--muted); position: relative; }
.nav button svg { width: 24px; height: 24px; }
.nav button[aria-current="page"] { color: var(--navy); background: var(--sky-soft); }
.nav .count { position: absolute; top: 2px; right: calc(50% - 26px); }

/* ── overlays ── */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgb(21 35 77 / .45); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.reward { background: var(--card); border-radius: 20px; padding: 26px 24px 22px; width: min(400px, 100%); text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; animation: rise .4s ease-out; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
.reward h2 { font-size: 24px; }
.reward p { color: var(--muted); }
.prizes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.prize { border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.medal { width: 72px; height: 72px; }
.sheet { background: var(--card); border-radius: 20px; padding: 22px; width: min(640px, 100%); display: flex; flex-direction: column; gap: 14px; animation: rise .3s ease-out; max-height: calc(100vh - 32px); overflow-y: auto; }
.sheet-head { display: flex; gap: 14px; align-items: center; }
.sheet-head svg { width: 90px; height: auto; flex: none; }
.sheet h2 { font-size: 22px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.person { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.person b { font-weight: 500; display: block; }
.person small { color: var(--muted); }
canvas.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; }
.toast { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 80; background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 16px; font-weight: 500; box-shadow: 0 8px 24px rgb(21 35 77 / .25); max-width: calc(100% - 32px); animation: drop .35s ease-out; }
.toast.bad { background: var(--bad); }
@keyframes drop { from { transform: translate(-50%, -12px); opacity: 0; } }

/* ── me ── */
.strip { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; }
.strip .cell { aspect-ratio: 1; width: auto; height: auto; font-size: 11px; display: grid; place-items: center; color: var(--muted); }
.strip .cell.sel { outline: 2px solid var(--navy); outline-offset: 1px; }
@media (max-width: 520px) { .strip { grid-template-columns: repeat(8, 1fr); } }
.comp-bars { display: flex; flex-direction: column; gap: 8px; }
.cb { display: grid; grid-template-columns: minmax(110px, 170px) 1fr 34px; gap: 10px; align-items: center; font-size: 14px; }
.cb .track { height: 10px; border-radius: 99px; background: var(--line); position: relative; }
.cb .track .t { position: absolute; left: 0; top: 0; bottom: 0; background: var(--navy); border-radius: 99px; }
.cb .track .s { position: absolute; top: -3px; width: 4px; height: 16px; margin-left: -2px; background: var(--gold); border-radius: 2px; }
.cb b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.legend { font-size: 13px; color: var(--muted); display: flex; gap: 6px 12px; align-items: center; flex-wrap: wrap; }
.key { display: inline-block; width: 14px; height: 6px; border-radius: 3px; vertical-align: middle; }
.key.t { background: var(--navy); } .key.s { background: var(--gold); width: 4px; height: 14px; }
.careers { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.careers li b { font-weight: 500; display: block; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: 14px; background: var(--card); cursor: pointer; }
.chip small { color: var(--muted); }
.chip.on, .chip:has(input:checked) { border-color: var(--navy); background: var(--sky-soft); }
details summary { cursor: pointer; color: var(--navy); font-weight: 500; }
details[open] summary { margin-bottom: 10px; }

/* ── teacher ── */
.week-hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; position: relative; overflow: hidden; }
.week-hero::after { content: ""; position: absolute; right: -50px; top: -70px; width: 240px; height: 240px; border-radius: 50%; border: 30px solid rgb(74 199 237 / .14); pointer-events: none; }
.week-hero .eyebrow { color: var(--sky); }
.week-hero h1 { font-size: 26px; margin-top: 2px; }
.week-hero p { color: #d3ddf5; margin-top: 6px; }
.week-hero .btn { position: relative; z-index: 1; }
.week-hero .progress { height: 8px; background: rgb(255 255 255 / .18); border-radius: 99px; overflow: hidden; margin-top: 12px; max-width: 420px; }
.week-hero .progress i { display: block; height: 100%; background: var(--sky); border-radius: 99px; }
@media (max-width: 620px) { .week-hero { grid-template-columns: 1fr; } }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-head h2 { font-size: 20px; }
.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.kid { border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 14px; text-align: center; background: var(--card); position: relative; min-width: 0; }
.kid:hover { border-color: var(--sky); }
.kid b { font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kid small { font-size: 12px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kid .st { font-size: 12px; font-weight: 500; }
.kid.ok .st { color: var(--good); } .kid.part .st { color: var(--gold-deep); } .kid.none .st { color: var(--muted); }
.kid.ok { background: var(--good-soft); border-color: #c9ead8; }
.kid .badge { position: absolute; top: 6px; right: 6px; }
.rate { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--card); }
.rate-head { display: flex; gap: 12px; align-items: center; }
.rate-head b { font-weight: 500; display: block; }
.rate-head small { color: var(--muted); font-size: 13px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; text-align: left; background: var(--card); }
.tile:hover { border-color: var(--sky); box-shadow: 0 6px 18px rgb(36 62 139 / .08); }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; }
.tile .ic svg { width: 22px; height: 22px; }
.tile b { font-weight: 500; font-size: 16px; }
.tile span { font-size: 13px; color: var(--muted); }
.class-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.class-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--card); display: flex; flex-direction: column; gap: 6px; text-align: left; }
.class-card:hover { border-color: var(--sky); box-shadow: 0 6px 18px rgb(36 62 139 / .08); }
.class-card svg { width: 80px; height: auto; }
.class-card h3 { font-size: 20px; }
.code { font-weight: 700; letter-spacing: .12em; color: var(--navy); font-variant-numeric: tabular-nums; }
.joinbox { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.joinbox .eyebrow { color: var(--sky); }
.joinbox .code { color: #fff; font-size: 34px; display: block; }
.joinbox .small { color: #d3ddf5; max-width: 52ch; }
.confirm { background: var(--warn-soft); border: 1px solid #f3dfa6; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.demo-bar { background: var(--gold-soft); border: 1px solid #f6e2ad; border-radius: 12px; padding: 10px 14px; font-size: 14px; display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* tables */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
.plain th, .plain td, .assign th, .assign td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain th, .assign th { font-weight: 500; color: var(--muted); font-size: 13px; }
.plain tr.late td { background: var(--bad-soft); }
.grid { font-size: 12px; }
.grid th, .grid td { padding: 3px 2px; text-align: center; }
.grid tbody th { text-align: left; white-space: nowrap; padding-right: 10px; font-weight: 500; font-size: 14px; }
.grid tbody th small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.grid th.cur { color: var(--navy); font-weight: 700; }
.grid .chs { border-left: 2px solid var(--line); }
.cell { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: #edf1f7; vertical-align: middle; }
.cell.assessed { background: var(--navy); }
.cell.done { background: var(--sky); }
.cell.partial { background: #b9e7f7; }
.cell.missing { background: #f6c9c9; }
.cell.future { background: #f3f6fa; border: 1px dashed var(--line); }
.strip .cell.assessed { color: #fff; }
.heat th, .heat td { padding: 4px; text-align: center; }
.heat thead th { font-weight: 500; font-size: 12px; color: var(--muted); }
.heat thead th small { display: block; font-weight: 400; }
.heat tbody th { text-align: left; font-weight: 500; white-space: nowrap; }
.hz { display: inline-block; min-width: 38px; padding: 3px 6px; border-radius: 8px; font-size: 13px; background: rgb(36 62 139 / calc(.12 + var(--v) * .8)); color: #fff; font-variant-numeric: tabular-nums; }
.hz.none { background: none; color: var(--muted); }
.money { display: flex; flex-direction: column; gap: 10px; }
.treasury { display: flex; justify-content: space-between; align-items: baseline; background: var(--gold-soft); border: 1px solid #f6e2ad; border-radius: 12px; padding: 10px 14px; }
.treasury .label { font-size: 14px; color: var(--muted); }
.budgets { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; }
.budgets li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.budgets li b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.budgets li b.low { color: var(--bad); }

/* role cards */
.lib { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.lib-list { display: flex; flex-direction: column; gap: 6px; max-height: 75vh; overflow-y: auto; }
.lib-item { text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--card); }
.lib-item b { font-weight: 500; display: block; }
.lib-item small { color: var(--muted); font-size: 12px; }
.lib-item.on { border: 2px solid var(--navy); background: var(--sky-soft); }
.rolecard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rolecard h2 { font-size: 26px; }
.lib-ch h3 { font-size: 17px; margin-bottom: 6px; }
.lib-ch h3 span { display: block; font-size: 12px; color: var(--sky-ink); text-transform: uppercase; letter-spacing: .08em; }
.weeks { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.weeks b { font-weight: 500; }
.ix { color: var(--navy); font-size: 13px; }
.comp-tags { display: inline-flex; gap: 4px; }
.comp-tags abbr { font-size: 11px; text-decoration: none; background: #edf1f7; color: var(--muted); padding: 1px 6px; border-radius: 6px; }
.rubric td { font-size: 13px; min-width: 150px; }
@media (max-width: 760px) { .lib { grid-template-columns: 1fr; } .lib-list { flex-direction: row; overflow-x: auto; max-height: none; } .lib-item { flex: none; } }

/* login cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.login-card { border: 2px dashed var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; background: var(--card); break-inside: avoid; }
.lc-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.lc-brand .lc-koonta { width: 96px; height: auto; display: block; }
.lc-brand .lc-school { width: 80px; height: auto; display: block; margin-left: auto; }
.login-card .lc-name { font-size: 20px; font-weight: 500; }
.login-card .lc-pin { font-size: 26px; letter-spacing: .3em; font-weight: 700; color: var(--navy); }
.login-card .lc-small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

@media print {
  .top, .nav, #layer, .toast { display: none !important; }
  body { background: #fff; }
  body.printing-cards .app > :not(.print-area) { display: none !important; }
  body.printing-cards .print-area > :not(.cards) { display: none !important; }
  body.printing-cards .print-area { border: 0; padding: 0; }
  body.printing-cards .login-card { border-color: #999; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.rate textarea { min-height: 56px; }

/* presentation copy: level chooser and facts */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.level-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.level-card svg { width: 90px; height: auto; }
.level-card h3 { font-size: 20px; }
.level-card .row { margin-top: auto; }
.level-card .row .btn { flex: 1; }
.tile.fact b { font-size: 22px; font-weight: 700; color: var(--navy); }

/* Koonta logo on the navy hero */
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.hero-logo .hero-koonta-logo { width: min(330px, 100%); height: auto; display: block; }
.hero-logo .hero-school-logo { width: min(190px, 62%); height: auto; display: block; border-radius: 7px; }

/* admin */
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 9px; }
.seg.wrap { flex-wrap: wrap; }
.chart { width: 100%; height: auto; display: block; }
.chart { max-width: 900px; }
.chart text { font: 500 9px var(--font); fill: var(--muted); }
.chart g:hover rect:not([fill="transparent"]) { opacity: .75; }
.attention { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; }
.attention li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.plain tr.clickable { cursor: pointer; }
.plain tr.clickable:hover td { background: var(--sky-soft); }
.tile.fact strong { color: var(--ink); font-weight: 500; }

/* student sign-in: three steps */
.join-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.join-steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 15px; height: 2px; background: var(--line); }
.join-steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); text-align: center; position: relative; }
.join-steps i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: #edf1f7; color: var(--muted); border: 2px solid var(--card); }
.join-steps i svg { width: 16px; height: 16px; }
.join-steps li.now { color: var(--navy); font-weight: 500; }
.join-steps li.now i { background: var(--navy); color: #fff; box-shadow: 0 0 0 4px var(--sky-soft); }
.join-steps li.done i { background: var(--good); color: #fff; }
.step-title { font-size: 18px; color: var(--navy); }
.card-hint { border: 2px dashed var(--line); border-radius: 12px; padding: 10px 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--muted); }
.card-hint .hl { justify-self: start; color: var(--navy); background: var(--sky-soft); outline: 2px solid var(--sky); border-radius: 6px; padding: 1px 10px; letter-spacing: .14em; font-size: 15px; }
.card-hint .dim { opacity: .5; }

/* end-of-year report */
.lv-boxes { display: inline-flex; gap: 2px; vertical-align: -1px; }
.lv-boxes i { width: 12px; height: 10px; border: 1.5px solid var(--navy); border-radius: 2px; }
.lv-boxes i.on { background: var(--navy); }
.up { color: var(--good); font-weight: 500; } .down { color: var(--bad); font-weight: 500; }
.report-sheet { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; width: 100%; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; color: var(--ink); font-size: 14px; }
.report-sheet h2 { font-size: 26px; }
.report-sheet h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 4px; }
.report-sheet ul { margin: 0; padding-left: 18px; }
.rs-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--navy); padding-bottom: 10px; }
.rs-head .lc-brand .lc-koonta { width: 170px; height: auto; }
.rs-school { height: 28px; width: auto; }
.rs-title { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.rs-overall { border: 2px solid var(--navy); border-radius: 12px; padding: 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 130px; }
.rs-overall b { font-size: 18px; color: var(--navy); }
.rs-cap { font-size: 11px; color: var(--muted); max-width: 170px; text-align: center; margin-top: 4px; }
.rs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rs-table th { text-align: left; font-weight: 500; color: var(--muted); border-bottom: 2px solid var(--line); padding: 6px 8px; font-size: 12px; }
.rs-table td { border-bottom: 1px solid var(--line); padding: 7px 8px; }
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
@media (max-width: 620px) { .rs-grid { grid-template-columns: 1fr; } .report-sheet { padding: 18px; } }
.rs-quote { border-left: 3px solid var(--sky); padding-left: 12px; font-style: italic; }
.rs-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.rs-note { font-size: 11px; color: var(--muted); }
.reports-print { display: none; }
@media print {
  body.printing-reports .app > :not(.reports-print) { display: none !important; }
  body.printing-reports .reports-print { display: block !important; }
  body.printing-reports .report-sheet { border: 0; border-radius: 0; padding: 0; max-width: none; break-after: page; font-size: 11pt; }
  .report-sheet, .lv-boxes i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4; margin: 14mm; }
}

/* sign-in page: two clean cards */
.signin { max-width: 880px; width: 100%; margin: 24px auto 0; display: flex; flex-direction: column; gap: 16px; }
.entry.two { grid-template-columns: 1fr 1fr; }
.entry.two .card { padding: 26px; }
@media (max-width: 760px) { .entry.two { grid-template-columns: 1fr; } .signin { margin-top: 4px; } }

.signin-title { text-align: center; margin: 8px 0 10px; }
.signin-logo { width: min(520px, 94%); height: auto; display: block; margin: 0 auto; }

/* welcome tour */
.sheet.welcome { width: min(560px, 100%); }
.sheet.welcome ul { margin: 0; padding-left: 20px; }
.wl-town { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wl-town span { border: 1px solid var(--line); border-radius: 10px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.wl-town span.mine { border: 2px solid var(--navy); background: var(--sky-soft); }
.wl-town svg { width: 100%; height: auto; }
.wl-town small { font-size: 10px; color: var(--muted); line-height: 1.2; }
.wl-me { display: flex; gap: 14px; align-items: center; }
.wl-rows { display: flex; flex-direction: column; gap: 10px; }
.wl-rows > div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.wl-rows svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); }
.wl-rows b { display: block; font-weight: 500; }
.wl-rows span { font-size: 14px; color: var(--muted); }
/* teacher: this week's lesson */
.lesson-steps { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.lesson-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.lesson-steps b { font-weight: 500; color: var(--navy); background: var(--sky-soft); border-radius: 8px; padding: 2px 8px; text-align: center; }
