.growth-module{width:600px;height:460px;min-width:300px;min-height:280px;padding:22px 20px 52px!important;display:flex;flex-direction:column;font-family:var(--module-font,Inter,sans-serif);color:var(--module-text,var(--text));overflow:hidden}.growth-heading{font-size:22px;margin:0 70px 16px 0}.growth-import{margin:auto;text-align:center}.growth-import p{color:var(--muted);font-size:13px}.growth-dashboard{display:flex;flex-direction:column;flex:1;min-height:0}.growth-dashboard[hidden],.growth-import[hidden]{display:none}.growth-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.growth-class{font-size:13px;overflow-wrap:anywhere}.growth-change{border:1px solid var(--border);border-radius:9px;padding:6px 9px;background:var(--surface-solid);color:var(--muted);font:inherit;font-size:11px;cursor:pointer}.growth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));align-content:start;gap:10px;overflow:auto;min-height:0;padding:3px}.growth-student{border:1px solid color-mix(in srgb,currentColor 10%,transparent);background:color-mix(in srgb,var(--module-bg,#fff) 90%,#cbdcbd);color:inherit;border-radius:16px;display:flex;flex-direction:column;align-items:center;padding:8px 6px 11px;cursor:pointer;font:inherit;min-width:0;transition:background .2s,transform .2s}.growth-student:hover{background:color-mix(in srgb,var(--module-bg,#fff) 78%,#cbdcbd);transform:translateY(-2px)}.growth-student:focus-visible{outline:2px solid #779a77;outline-offset:1px}.growth-art{width:min(100%,112px);display:block}.growth-art svg{width:100%;height:auto;display:block}.growth-student strong{font-size:12px;overflow-wrap:anywhere;max-width:100%;line-height:1.3}.growth-student small{font-size:10px;color:var(--muted);margin-top:5px}.growth-student.is-complete .growth-art{animation:growth-reveal .45s ease-out}.growth-student.is-complete small{color:#448052;font-weight:700}@keyframes growth-reveal{0%{transform:scale(.8)}60%{transform:scale(1.08)}100%{transform:scale(1)}}.growth-module>.customization-bar{position:absolute;bottom:10px;left:10px}.growth-module .growth-goal{width:64px}
.student-view-reward-total{display:inline-flex;padding:5px 9px;border-radius:99px;background:var(--surface-soft);font-size:11px;font-weight:650;white-space:nowrap}.student-profile-other{grid-column:1/-1;border-top:1px solid var(--border);padding-top:12px;margin-top:4px}.student-profile-other>summary{font-size:12px;color:var(--muted);cursor:pointer;padding:8px 0}.student-profile-other-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:10px}
@media(prefers-reduced-motion:reduce){.growth-student,.growth-student.is-complete .growth-art{transition:none;animation:none}}
.growth-grid{flex:1;overscroll-behavior:contain}.growth-student{position:relative;overflow:hidden}.growth-art{position:relative;flex-shrink:1;min-height:0}.growth-student.is-complete .growth-art{animation:none}.growth-restart{font-size:10px;color:var(--muted);margin-top:5px;font-weight:400}.growth-particle{position:absolute;pointer-events:none;left:50%;top:35%;width:5px;height:8px;background:#e5d2a4;clip-path:polygon(0 0,100% 25%,70% 100%,10% 75%);animation:growth-particle .6s ease-out both}.growth-particle.water{top:10%;background:#66b9df;border-radius:70% 20% 65% 65%;clip-path:none}.growth-grid.show-all{grid-template-columns:repeat(var(--growth-cols,1),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);align-content:stretch;overflow:hidden;gap:8px}.growth-grid.show-all .growth-student{justify-content:center;padding:calc(6px * var(--growth-scale,1));gap:0}.growth-grid.show-all .growth-art{width:calc(100px * var(--growth-scale,1));max-width:100%}.growth-grid.show-all strong{font-size:calc(12px * var(--growth-scale,1))}.growth-grid.show-all small,.growth-grid.show-all .growth-restart{font-size:calc(10px * var(--growth-scale,1));margin-top:calc(3px * var(--growth-scale,1));line-height:1.2}.growth-fit-setting input{width:34px;height:20px;accent-color:#6c9577;cursor:pointer}
@keyframes growth-particle{0%{opacity:0;transform:translate(0,-10px) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--turn))}}
.student-view-person .student-view-reward-total,.student-view-class-profile .student-view-reward-total{font-weight:400;font-size:12px;background:transparent;padding:0;color:var(--muted);border-radius:0;letter-spacing:.01em}.student-view-person__stats{margin-top:7px}.student-profile-card{width:min(860px,calc(100vw - 48px));max-height:calc(100% - 24px);overflow:auto;align-items:flex-start;text-align:left}.student-profile-avatar{width:60px;height:60px;border-radius:18px;font-size:23px}.student-profile-card h4{margin-bottom:24px}.student-profile-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;padding:16px;border-radius:20px;background:color-mix(in srgb,var(--text) 4%,var(--surface-solid));border:1px solid var(--border)}.student-profile-stat{min-height:160px;background:var(--surface-solid);grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;padding:16px;gap:12px;align-items:start}.student-profile-stat>i{grid-column:1;font-size:26px}.student-profile-stat>span{grid-column:1/-1;grid-row:2}.student-profile-stat>span strong{font-size:28px}.student-profile-stat>span small{font-size:12px;line-height:1.4;font-weight:400}.student-profile-stat__reset{grid-column:2;grid-row:1;font-size:10px;font-weight:400}.student-view-stat-menu__popover{position:fixed;z-index:30;top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 48px));max-height:calc(100vh - 80px);overflow:auto;padding:26px;box-shadow:0 0 0 100vmax #10182766,0 24px 70px #0003;animation:none}.student-view-stat-menu__header{padding:0 40px 20px 0}.student-view-stat-menu__header strong{font-size:22px}.student-view-stat-menu__header small{font-size:13px;margin-top:8px}.student-view-stat-toggles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-view-stat-toggle{min-height:88px;padding:14px}.student-view-stat-toggle>span:last-child small{font-size:12px}.student-view-stat-toggle>span:last-child strong{font-size:14px}#student-view-settings-close{position:absolute;right:18px;top:18px;width:32px;height:32px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);color:var(--text);font-size:22px;cursor:pointer}@media(max-width:550px){.student-view-stat-toggles{grid-template-columns:1fr}.student-profile-card{padding:20px}.student-profile-stats{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.student-profile-stat{padding:10px;min-width:0}.student-profile-stat__reset{padding:0 5px}}
@media(prefers-reduced-motion:reduce){.growth-particle{animation-duration:.01ms}}
.growth-grid.show-all .growth-art{width:calc(70px * var(--growth-scale,1))}.growth-grid.show-all strong{font-size:max(8px,calc(12px * var(--growth-scale,1)))}.growth-grid.show-all small,.growth-grid.show-all .growth-restart{font-size:max(6px,calc(9px * var(--growth-scale,1)))}
/* Reserve separate artwork and text rows, including when the roster must scroll. */
.growth-grid{grid-auto-rows:max-content;align-items:stretch}
.growth-grid:not(.show-all) .growth-art{flex:none;height:122px;width:112px;max-width:100%}
.growth-art svg{width:100%;height:100%;object-fit:contain}
.growth-grid.show-all .growth-student{display:grid;grid-template-rows:minmax(0,1fr) auto auto auto;justify-items:center;align-content:stretch;justify-content:stretch;min-height:0}
.growth-grid.show-all .growth-art{width:100%;height:100%;min-height:0;max-width:112px;align-self:stretch}
.growth-grid.show-all .growth-art svg{position:absolute;inset:0;width:100%;height:100%}
.growth-grid.show-all .growth-student strong,.growth-grid.show-all .growth-student small,.growth-grid.show-all .growth-restart{position:relative;line-height:1.2;max-width:100%;overflow-wrap:anywhere}
.student-profile-rewards-heading{grid-column:1/-1;margin:0 0 2px;font-size:16px;font-weight:650;color:var(--text)}
.growth-header{flex-wrap:wrap;gap:8px}.growth-header .growth-class{margin-right:auto}.growth-reset{border:1px solid var(--border);border-radius:9px;padding:6px 9px;background:var(--surface-solid);color:var(--muted);font:inherit;font-size:11px;cursor:pointer}.growth-reset:hover{background:var(--surface-soft);color:var(--text)}
.growth-module>.growth-header{flex:0 0 auto;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;margin:0 0 10px;min-width:0}
.growth-header .growth-heading{flex:1;min-width:0;margin:0;font-size:clamp(15px,3.6cqw,22px);line-height:1.2}
.growth-header :is(.growth-reset,.growth-change){opacity:0;pointer-events:none;transition:opacity .16s ease;white-space:nowrap}
.growth-module:hover .growth-header.has-class :is(.growth-reset,.growth-change),.growth-header.has-class :is(.growth-reset,.growth-change):focus-visible{opacity:1;pointer-events:auto}
.growth-header:not(.has-class) :is(.growth-reset,.growth-change){display:none}
.growth-dashboard>.growth-class{flex:0 0 auto;margin:8px 0 0;text-align:center;font-size:11px;font-weight:400;color:var(--muted)}
@container(max-width:390px){.growth-header{gap:5px!important}.growth-header :is(.growth-reset,.growth-change){padding:5px;font-size:10px!important}.growth-header .growth-heading{font-size:14px}}
@media(prefers-reduced-motion:reduce){.growth-header :is(.growth-reset,.growth-change){transition:none}}
