/* Daily goals and voluntary memory flow. Scoped to avoid changing normal lessons. */
.daily-memory-flow{display:grid;gap:22px;margin:24px 0 30px;align-items:stretch;min-width:0}
.daily-memory-flow:has(>.memory-invite){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.coach-home.has-completed-goal .coach-feature,.coach-home.has-completed-goal .today-flow{display:none}
.student-daily-goal.goal-card{display:block;margin:0;padding:26px;border:1px solid #c6f36a38;border-radius:26px;background:radial-gradient(ellipse at 100% 0,#c6f36a10,transparent 65%),linear-gradient(140deg,#272337,#211d30);min-width:0;color:#f4efff}
.goal-card .goal-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.goal-card .goal-card-top>.kicker{color:#c9dfa5;font-size:10px;letter-spacing:.12em}
.goal-card .goal-card-status{display:flex;align-items:center;gap:7px;font-size:12px;color:#d7f7ab;line-height:1.5}
.goal-card-status>b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#c6f36a;color:#233118;font-size:12px;flex-shrink:0}
.goal-card h2{font-size:clamp(25px,2.5vw,32px);line-height:1.22;letter-spacing:-.04em;margin:18px 0 8px;color:#f6f2fc}
.goal-card .goal-card-description{font-size:13px;line-height:1.6;color:#c7bfd4;margin:0}
.goal-tasks{display:grid;grid-template-columns:repeat(var(--goal-columns),minmax(0,1fr));list-style:none;padding:0;margin:20px 0 24px;gap:10px}
.goal-tasks>li{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:12px 4px;border:1px solid #ffffff12;border-radius:18px;background:#ffffff03;text-align:center}
.goal-tasks>li.is-done{background:#c6f36a08;border-color:#c6f36a24}
.goal-tasks>li>span,.goal-tasks .gnista{display:block;width:58px;height:62px;max-width:100%}
.goal-tasks>li:not(.is-done) .gnista{opacity:.4;filter:grayscale(.5)}
.goal-tasks>li>strong{font-size:14px;line-height:1.4;color:#b0a4c0}
.goal-tasks>li.is-done>strong{color:#d2f897}
.goal-tasks>li>small{font-size:10px;line-height:1.4;color:#b6adc5;overflow-wrap:anywhere}
.goal-tasks.goal-many{gap:7px}.goal-tasks.goal-many .gnista,.goal-tasks.goal-many>li>span{width:42px;height:46px}.goal-tasks.goal-many>li>small{font-size:9px}
.goal-streak{border-top:1px solid #ffffff12;padding-top:18px}
.goal-streak-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;line-height:1.5;color:#c8bfd7}
.goal-card .goal-streak-heading>strong{font-size:12px;font-weight:600;color:#e0cef8;background:#bca5f51a;border:1px solid #bca5f528;border-radius:10px;padding:6px 10px}
.goal-streak-figures{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:16px 0 0}
.goal-streak-figures>li{display:flex;align-items:center;flex-direction:column;gap:6px;min-width:0;text-align:center}
.goal-streak-figures>li>span,.goal-streak-figures .gnista{display:block;width:38px;height:42px;max-width:100%}
.goal-streak-figures small{font-size:9px;line-height:1.5;white-space:nowrap;color:#b4a9c4}
.goal-streak-figures b{font-size:11px;line-height:1.3;color:#c6f36a;font-weight:500}
.goal-streak-figures .is-future .gnista{opacity:.23;filter:grayscale(.6)}
.goal-streak-figures .is-future small,.goal-streak-figures .is-future b{color:#897d99}
.goal-streak-figures .is-today>span{filter:drop-shadow(0 0 7px #c6f36a44)}
.goal-streak>p{font-size:10px;color:#aa9cbc;text-align:center;line-height:1.6;margin:14px 0 0}
.memory-invite{position:relative;isolation:isolate;min-width:0;display:flex;flex-direction:column;padding:26px;margin:0;border:1px solid #cfafff70;border-radius:26px;background:radial-gradient(ellipse at 100% 20%,#9d74e744,transparent 72%),linear-gradient(135deg,#3a2c50,#2d223f);box-shadow:0 8px 30px #0002;overflow:hidden}
.memory-invite .memory-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0;margin:0 0 22px;border:0;background:none}
.memory-card-top>.kicker{font-size:10px;color:#e0cef7;letter-spacing:.08em;line-height:1.6}
.memory-xp-badge{display:inline-flex;align-items:center;justify-content:center;background:#d4fa91;color:#223017;border:1px solid #e9ffbf;border-radius:12px;font-size:20px;line-height:1.2;font-weight:800;padding:10px 14px;white-space:nowrap;flex-shrink:0;box-shadow:0 3px 12px #c6f36a15}
.memory-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.memory-intro>div:first-child{min-width:0}
.memory-intro h2{font-size:clamp(27px,2.7vw,36px);font-weight:600;line-height:1.18;letter-spacing:-.04em;margin:0 0 12px;color:#f7f2fc}
.memory-intro p{font-size:14px;line-height:1.65;color:#ddd0ec;margin:0}
.memory-art{position:relative;width:112px;height:125px;flex-shrink:0;display:grid;place-items:center}
.memory-art:before{content:'';position:absolute;width:108px;height:108px;border:1px solid #c6f36a33;border-radius:50%;background:#c6f36a09}
.memory-art>.gnista{position:relative;width:105px;height:115px;transform:rotate(7deg);filter:drop-shadow(0 7px 10px #0002)}
.memory-count{display:flex;align-items:center;gap:14px;margin:22px 0;background:#140e202a;border-radius:14px;padding:13px 16px}
.memory-count>strong{font-size:27px;line-height:1.3;font-weight:700;color:#e4d5f9}
.memory-count>p{font-size:13px;line-height:1.6;color:#e4d5f9;margin:0}
.memory-count>p>span{display:block;font-size:11px;color:#bfb0d1}
.memory-invite>.memory-start{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;width:100%;max-width:100%;margin-top:auto;border:1px solid #e3ffad;border-radius:15px;background:#d0fa86;color:#253119;box-shadow:0 3px 0 #96b55c;padding:13px 18px;font-size:14px;font-weight:750;white-space:normal;text-align:left}
.memory-start>span:last-child{font-size:21px;line-height:1;flex-shrink:0}.memory-start>.button-gnista{display:none}
.memory-card-fine{display:block;text-align:center;font-size:11px;line-height:1.65;color:#c3b2d6;margin-top:16px}
.memory-complete{border-color:#c6f36a55}
.is-memory-session #study-progress{display:none}
.is-memory-session .play-page{padding-top:26px}
.memory-session{max-width:1000px}
.memory-session-banner{border:1px solid #bca5f550;border-radius:24px;padding:22px 26px;margin:0 0 22px;background:radial-gradient(ellipse at 100% 0,#bca5f522,transparent 70%),#241d33}
.memory-session-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.memory-session-top>div{min-width:0}.memory-session-top .kicker{display:block;font-size:10px;letter-spacing:.12em;color:#cbb7ed;margin-bottom:6px}
.memory-session-top strong{font-size:20px;font-weight:550;color:#f4edf9;line-height:1.4}
.memory-session-top>.memory-xp-badge{font-size:17px;padding:9px 12px}
.memory-session-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}
.memory-session-bottom>ol{display:flex;gap:12px;list-style:none;margin:0;padding:0;min-width:0}
.memory-session-bottom li{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.memory-session-bottom li>span,.memory-session-bottom .gnista{display:block;width:41px;height:45px;max-width:100%}
.memory-session-bottom li:not(.is-done):not(.is-current) .gnista{opacity:.25;filter:grayscale(.6)}
.memory-session-bottom li.is-current>span{filter:drop-shadow(0 0 5px #c6f36a44)}
.memory-session-bottom li>small{font-size:10px;color:#bcb0ce;line-height:1.2}.memory-session-bottom li.is-done>small{color:#c6f36a}
.memory-session-bottom>p{display:flex;flex-direction:column;gap:4px;line-height:1.5;margin:0;text-align:right;color:#eee3fa;font-size:14px;flex-shrink:0}
.memory-session-bottom>p>span{font-size:11px;color:#b6a7c8}.memory-session-note{border-top:1px solid #ffffff10;margin:16px 0 0;padding-top:12px;font-size:11px;color:#b9aaca;line-height:1.6}
.memory-session .play-layout{display:block}
.memory-session .challenge,.memory-session .reading{border:1px solid #bca5f538;border-radius:24px;background:#211b30;padding:28px}
.memory-session .challenge h1{font-size:clamp(25px,3vw,38px);line-height:1.25;letter-spacing:-.035em}
.memory-session .option{border-radius:14px;border-color:#bca5f533;background:#2a223b;min-height:56px;line-height:1.55}
.memory-session .option.selected{border-color:#c6f36a;background:#c6f36a12}
.memory-session .feedback{border-radius:18px;padding:20px}.memory-session .feedback.success{background:#c6f36a0b;border-color:#c6f36a55}
.memory-session .feedback .memory-answer-mascot{float:right;margin:0 0 6px 12px;display:block;width:58px;height:64px}.memory-answer-mascot>.gnista{width:58px;height:64px}
.memory-session .feedback h3{font-size:20px;line-height:1.4}.memory-session .feedback p{clear:both;line-height:1.7}
.memory-page{max-width:1100px}
.memory-finish{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);align-items:center;gap:36px;padding:42px;border:1px solid #bca5f550;border-radius:30px;background:radial-gradient(ellipse at 0 10%,#bca5f52b,transparent 70%),#241d33;overflow:hidden}
.memory-finish-visual,.memory-finish-copy{min-width:0}
.memory-finish-art{position:relative;width:240px;max-width:100%;aspect-ratio:1;display:grid;place-items:center;margin:0 auto 28px}
.memory-finish-art>i{position:absolute;inset:6%;border-radius:50%;border:1px dashed #c6f36a66;transform:rotate(-20deg);background:radial-gradient(circle,#c6f36a0d,transparent 75%)}
.memory-finish-art>.gnista{position:relative;width:82%;height:82%;animation:memory-bounce .65s ease-out 2;filter:drop-shadow(0 12px 16px #0003)}
.memory-finish-figures{display:flex;justify-content:center;gap:10px;padding:0;margin:0;list-style:none}
.memory-finish-figures>li{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.memory-finish-figures span,.memory-finish-figures .gnista{display:block;width:34px;height:38px;max-width:100%}
.memory-finish-figures small{font-size:9px;color:#c6f36a;line-height:1.5}
.memory-finish-copy>.kicker{font-size:10px;color:#cbb7ed;line-height:1.6;letter-spacing:.1em}
.memory-finish h1{font-size:clamp(29px,3.5vw,43px);line-height:1.18;letter-spacing:-.04em;margin:14px 0 18px;color:#f7f1ff}
.memory-finish-copy>p{font-size:14px;line-height:1.7;color:#d0c4e0;margin:0 0 22px}
.memory-prize{display:inline-block;max-width:100%;padding:13px 20px;border:1px solid #e3ffad;border-radius:15px;background:#d4fa91;color:#202e17;font-size:clamp(18px,2.5vw,25px);font-weight:800;line-height:1.4;overflow-wrap:anywhere}
.memory-pending .memory-prize{background:#bca5f51a;border-color:#bca5f544;color:#e3d5f7;font-size:17px}
.memory-finish-copy>.memory-fine{font-size:11px;line-height:1.65;margin:17px 0 24px;color:#b7a9c8}
.memory-finish-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.memory-finish-actions .button{justify-content:center;max-width:100%;white-space:normal;min-height:50px;border-radius:15px}
.memory-finish-actions .text-button{align-self:center;font-size:13px;color:#cebbe7;min-height:44px}
.memory-celebration-choice{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center;margin:22px auto 0;max-width:520px}
.memory-celebration-choice>small{flex-basis:100%;font-size:11px;line-height:1.5;color:#b5abc7}
.memory-celebration-choice>.button{max-width:100%;white-space:normal;border-radius:15px}
@keyframes memory-bounce{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-12px) rotate(-7deg)}75%{transform:translateY(-3px) rotate(5deg)}}
@media(min-width:901px){.daily-memory-flow>.goal-card{display:flex;flex-direction:column}.daily-memory-flow>.goal-card .goal-streak{margin-top:auto}.goal-tasks{margin-bottom:24px}.daily-memory-flow>.goal-card:only-child .goal-tasks{max-width:700px}.daily-memory-flow>.goal-card:only-child .goal-streak{max-width:700px;width:100%}}
@media(max-width:900px){.daily-memory-flow:has(>.memory-invite){grid-template-columns:minmax(0,1fr)}.memory-finish{gap:24px;padding:30px}.memory-finish-art{width:190px}.memory-finish h1{font-size:32px}.memory-finish-figures{gap:6px}.memory-finish-figures span,.memory-finish-figures .gnista{width:28px;height:33px}}
@media(max-width:600px){.daily-memory-flow{gap:18px;margin:20px 0 26px}.student-daily-goal.goal-card{padding:20px;border-radius:24px}.goal-card .goal-card-top{gap:8px}.goal-card .goal-card-top>.kicker{font-size:9px}.goal-card .goal-card-status{font-size:11px}.goal-card h2{font-size:27px}.goal-card .goal-card-description{font-size:12px}.goal-tasks{gap:8px;margin:18px 0 20px}.goal-tasks>li{padding:10px 3px;border-radius:16px;gap:4px}.goal-tasks>li>span,.goal-tasks .gnista{width:53px;height:57px}.goal-tasks>li>strong{font-size:13px}.goal-tasks>li>small{font-size:9px}.goal-tasks.goal-many{gap:5px}.goal-tasks.goal-many>li{padding:8px 1px}.goal-tasks.goal-many>li>small{font-size:8px}.goal-tasks.goal-many .gnista,.goal-tasks.goal-many>li>span{width:36px;height:40px}.goal-streak-heading{font-size:11px}.goal-card .goal-streak-heading>strong{font-size:11px;padding:5px 8px}.goal-streak-figures{gap:5px;margin-top:14px}.goal-streak-figures>li>span,.goal-streak-figures .gnista{width:33px;height:37px}.goal-streak-figures small{font-size:8px}.goal-streak>p{font-size:9px;margin-top:12px}.memory-invite{padding:20px;border-radius:24px}.memory-invite .memory-card-top{margin-bottom:18px;gap:8px}.memory-card-top>.kicker{font-size:8px;letter-spacing:.08em}.memory-xp-badge{padding:8px 12px;font-size:19px;border-radius:11px}.memory-intro{gap:6px}.memory-intro h2{font-size:27px;margin-bottom:10px}.memory-intro p{font-size:12px}.memory-art{width:88px;height:104px}.memory-art:before{width:86px;height:86px}.memory-art>.gnista{width:83px;height:94px}.memory-count{margin:18px 0;padding:11px 13px;gap:12px}.memory-count>strong{font-size:24px}.memory-count>p{font-size:12px}.memory-count>p>span{font-size:10px}.memory-invite>.memory-start{min-height:51px;padding:12px 16px;font-size:13px}.memory-card-fine{font-size:9px;margin-top:14px}.memory-session-banner{padding:18px;border-radius:21px;margin-bottom:16px}.memory-session-top{gap:10px}.memory-session-top .kicker{font-size:9px}.memory-session-top strong{font-size:17px}.memory-session-top>.memory-xp-badge{font-size:15px;padding:8px 10px}.memory-session-bottom{gap:10px;align-items:flex-end}.memory-session-bottom>ol{gap:7px}.memory-session-bottom li>span,.memory-session-bottom .gnista{width:31px;height:35px}.memory-session-bottom>p{font-size:12px}.memory-session-bottom>p>span{font-size:9px}.memory-session-note{font-size:10px}.memory-session .challenge,.memory-session .reading{padding:21px 18px;border-radius:21px}.memory-session .challenge h1{font-size:25px;line-height:1.25;margin-top:12px}.memory-session .option{font-size:14px;padding:14px 12px}.memory-session .feedback{padding:16px}.memory-session .feedback h3{font-size:18px}.memory-session .feedback .memory-answer-mascot,.memory-answer-mascot>.gnista{width:45px;height:50px}.memory-finish{grid-template-columns:minmax(0,1fr);padding:25px 20px;gap:26px;border-radius:24px;text-align:center}.memory-finish-art{width:155px;margin-bottom:18px}.memory-finish-figures{gap:12px}.memory-finish-figures span,.memory-finish-figures .gnista{width:31px;height:35px}.memory-finish h1{font-size:30px;line-height:1.22;margin:12px 0 16px}.memory-finish-copy>p{font-size:13px;margin-bottom:20px}.memory-finish-copy>.memory-fine{font-size:10px}.memory-finish-actions>.button{width:100%}.memory-celebration-choice{flex-direction:column;gap:8px}.memory-celebration-choice>.button{width:100%}}
@media(max-width:350px){.student-daily-goal.goal-card,.memory-invite{padding:16px}.goal-card h2{font-size:25px}.memory-card-top>.kicker{max-width:130px}.memory-intro h2{font-size:24px}.memory-art{width:70px;height:87px}.memory-art:before{width:68px;height:68px}.memory-art>.gnista{width:68px;height:78px}.memory-session-top strong{font-size:15px}.memory-session-bottom>ol{gap:4px}.memory-session-bottom li>span,.memory-session-bottom .gnista{width:27px;height:31px}.memory-session-bottom>p>span{max-width:68px}.goal-streak-figures{gap:3px}.goal-streak-figures>li>span,.goal-streak-figures .gnista{width:29px;height:33px}}
@media(prefers-reduced-motion:reduce){.memory-finish-art>.gnista{animation:none}}

/* Explicitly replace the legacy flex/grid rules of the old daily-goal strip. */
.student-daily-goal.goal-card{align-items:stretch;justify-content:initial;text-align:left;gap:0}
.student-daily-goal.goal-card>.goal-card-top{display:flex;flex:none;width:100%;align-items:center;justify-content:space-between;gap:8px}
.student-daily-goal.goal-card>.goal-streak{display:block;flex:none;width:100%}
.goal-card>.goal-tasks{width:100%}
.memory-session>.play-top{display:none}

.daily-streak-days li>span>.gnista{display:block;width:30px;height:34px}
@media(max-width:480px){.daily-celebration .daily-streak-days{gap:7px}.daily-streak-days li>span>.gnista{width:25px;height:29px}}

/* Desktop: greeting and compact daily progress share the opening row. */
@media (min-width: 1100px) {
  body .coach-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr); column-gap: 36px; align-items: start; }
  body .coach-home > * { grid-column: 1 / -1; min-width: 0; }
  body .coach-home > .coach-greeting,
  body .coach-home > .welcome-letter { grid-column: 1; grid-row: auto; margin: 0; align-self: center; }
  body .coach-home > .daily-memory-flow { grid-column: 2; grid-row: auto; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body .coach-home > .coach-greeting + .daily-memory-flow,
  body .coach-home > .welcome-letter + .daily-memory-flow { grid-row: span 1; }
  body .coach-home .coach-greeting h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.15; margin: 14px 0; }
  body .coach-home .coach-greeting > p { font-size: 14px; line-height: 1.7; max-width: 480px; }
  body .coach-home .daily-memory-flow > .goal-card { display: block; padding: 20px 22px; border-radius: 22px; }
  body .coach-home .goal-card h2 { font-size: 23px; margin: 10px 0 4px; }
  body .coach-home .goal-card-description { font-size: 12px; }
  body .coach-home .goal-tasks { max-width: none; margin: 12px 0 14px; gap: 8px; }
  body .coach-home .goal-tasks > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 7px; row-gap: 1px; padding: 9px 10px; text-align: left; align-items: center; border-radius: 12px; }
  body .coach-home .goal-tasks > li > span { grid-row: 1 / 3; }
  body .coach-home .goal-tasks > li > span,
  body .coach-home .goal-tasks .gnista { width: 32px; height: 36px; }
  body .coach-home .goal-tasks > li > strong { font-size: 12px; }
  body .coach-home .goal-tasks > li > small { font-size: 9px; }
  body .coach-home .goal-tasks.goal-many > li { display: flex; padding: 6px 2px; text-align: center; }
  body .coach-home .goal-card > .goal-streak { max-width: none; margin: 0; padding-top: 12px; }
  body .coach-home .goal-streak-heading { font-size: 11px; }
  body .coach-home .goal-streak-heading > strong { padding: 3px 7px; font-size: 10px; }
  body .coach-home .goal-streak-figures { gap: 6px; margin-top: 10px; }
  body .coach-home .goal-streak-figures > li { gap: 2px; }
  body .coach-home .goal-streak-figures > li > span,
  body .coach-home .goal-streak-figures .gnista { width: 27px; height: 30px; }
  body .coach-home .goal-streak-figures small { font-size: 8px; }
  body .coach-home .goal-streak > p { font-size: 10px; margin: 8px 0 0; }
  body .coach-home > .section-title { margin-top: 28px; }
}

/* Leaderboard: XP remains the ranking metric; work counts sit on the right. */
body .knowledge-board.activity-board .board-metrics,
body .knowledge-board.activity-board .board-stat-head { display: grid; grid-template-columns: 150px 125px 135px; gap: 24px; align-items: center; flex: none; }
body .knowledge-board.activity-board .board-metrics > span { justify-content: flex-end; text-align: right; }
body .knowledge-board.activity-board .board-work { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
body .knowledge-board.activity-board .board-work strong { font-size: 22px; color: #eee6f6; font-weight: 600; }
body .knowledge-board.activity-board .board-work small { font-size: 11px; color: #bdb0cc; white-space: nowrap; }
@media(max-width: 760px) {
 body .knowledge-board.activity-board .leaderboard-list li { flex-direction: column; align-items: stretch; }
 body .knowledge-board.activity-board .board-stat-head { display: none; }
 body .knowledge-board.activity-board .board-metrics { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
 body .knowledge-board.activity-board .board-metrics > span { justify-content: flex-start; align-items: flex-start; text-align: left; }
 body .knowledge-board.activity-board .board-work strong { font-size: 19px; }
 body .knowledge-board.activity-board .board-work small { font-size: 9px; white-space: normal; }
}

@media(min-width:1100px) {
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr); gap: 0 32px; align-items: center; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) > .admin-home-heading { grid-column: 1; grid-row: 1; padding: 0; margin: 0; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) > #admin-users { display: contents; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 18px 0; border: 0; gap: 0; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals > div { min-width: 0; padding: 0 14px; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals strong { font-size: 30px; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals span { font-size: 11px; white-space: nowrap; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-roster-controls { grid-column: 1 / -1; margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid #493b56; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-user-list { grid-column: 1 / -1; }
}

@media(min-width:761px) {
 body .knowledge-board.activity-board .leaderboard-list-heading,
 body .knowledge-board.activity-board .leaderboard-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
 body .knowledge-board.activity-board .board-metrics,
 body .knowledge-board.activity-board .board-stat-head { width: auto; justify-self: end; grid-template-columns: 150px 125px 135px; gap: 24px; }
 body .knowledge-board.activity-board .board-stat-head > span { justify-content: flex-end; text-align: right; }
 body .knowledge-board.activity-board .board-metrics > .board-work { justify-content: center; align-items: flex-end; text-align: right; }
 body .knowledge-board.activity-board .board-metrics > .board-xp { justify-content: flex-end; text-align: right; }
}

/* A single quiet admin heading row, without competing separators. */
@media(min-width:1100px) {
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) { grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr); column-gap: 40px; align-items: center; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) > .admin-home-heading { border: 0; padding: 0; margin: 0; }
 body.is-admin-workspace .admin-home > .admin-home-heading h1 { font-size: 34px; margin: 10px 0; }
 body.is-admin-workspace .admin-home > .admin-home-heading p { margin: 0; font-size: 13px; line-height: 1.6; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals { align-self: center; background: #282135; border: 1px solid #493b56; border-radius: 16px; padding: 18px 8px; margin: 0; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; border: 0; text-align: center; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals > div + div { border-left: 1px solid #493b56; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals strong { display: block; font: 500 28px/1.2 Sora, sans-serif; font-variant-numeric: tabular-nums; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-dashboard-totals span { display: block; font: 400 11px/1.5 Inter, sans-serif; color: #bfb1ce; }
 body.is-admin-workspace .admin-home .admin-dashboard-totals .admin-support-total { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0; margin: 0; width: 100%; min-height: 0; border: 0; border-radius: 6px; background: transparent; text-align: center; }
 body.is-admin-workspace .admin-home:has(> .admin-home-heading) .admin-roster-controls { border: 0; padding: 0; margin: 24px 0; }
}
