:root {
  color-scheme: light;
  --ink: #17265c;
  --muted: #7f89aa;
  --line: #e5e8f3;
  --panel: rgba(255, 255, 255, 0.94);
  --canvas: #f3f4fb;
  --blue: #526ff2;
  --orange: #ed971e;
  --shadow: 0 12px 34px rgba(47, 57, 102, 0.09);
}
.system-status{position:fixed;z-index:300;top:12px;left:50%;transform:translateX(-50%);max-width:min(680px,calc(100vw - 28px));padding:10px 14px;border:1px solid #efc3b8;border-radius:10px;background:#fff5f1;color:#994f42;box-shadow:0 10px 28px rgba(49,39,64,.16);font-size:12px;font-weight:700}.system-status.success{border-color:#b9dfca;background:#f0faf4;color:#327458}
.release-readiness-card{grid-column:1/-1}.release-readiness-card .section-title{margin-bottom:12px}.release-badge{padding:6px 9px;border-radius:999px;background:#fff3d8;color:#96691d;font-size:10px;font-weight:800}.release-checks{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}.release-checks span{display:flex;align-items:center;gap:4px;padding:6px 8px;border-radius:8px;font-size:10px}.release-checks .ok{background:#edf8f2;color:#3f8064}.release-checks .pending{background:#fff4ed;color:#a26647}.release-readiness-card>p{color:#7d879b;font-size:10px}.local-recovery-list{display:grid;gap:8px;margin:14px 0;max-height:380px;overflow:auto}.local-recovery-list article{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e0e5ef;border-radius:10px}.local-recovery-list article>i{color:#6078bf;font-size:20px}.local-recovery-list span{flex:1}.local-recovery-list strong,.local-recovery-list small{display:block}.local-recovery-list strong{font-size:12px}.local-recovery-list small{margin-top:3px;color:#8b95a7;font-size:10px}.local-recovery-list button{padding:6px 9px;border:1px solid #d2dbed;border-radius:7px;background:#f5f8ff;color:#546ab0;font-size:10px;cursor:pointer}
.release-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.health-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0}.health-summary article{padding:12px;border:1px solid #e2e6f1;border-radius:10px;background:#f8f9fd;text-align:center}.health-summary strong,.health-summary span{display:block}.health-summary strong{font-size:17px;color:#344c9e}.health-summary span{margin-top:3px;font-size:10px;color:#8790a7}.permission-warning.healthy{border-color:#c7e6d4;background:#f2faf5;color:#36745a}.health-issues{display:grid;gap:7px;margin:12px 0}.health-issues p{margin:0;padding:9px 10px;border-radius:8px;background:#fff3ef;color:#a45345}.health-issues i{margin-right:7px}.health-pending{display:grid;gap:7px;margin:12px 0}.health-pending span{display:flex;justify-content:space-between;color:#75809a;font-size:11px}.health-pending b{color:#314578}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 1180px; color: var(--ink); background: var(--canvas); font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; background: radial-gradient(circle at 75% 0%, rgba(119, 145, 255, .14), transparent 28%), linear-gradient(180deg, #f8f9fe 0, #f2f3fa 34%, #f5f6fb 100%); }

.topbar { height: 76px; display: flex; align-items: center; padding: 0 28px; background: rgba(255,255,255,.94); border-bottom: 1px solid #e9ebf4; box-shadow: 0 4px 20px rgba(44,56,96,.07); position: sticky; top: 0; z-index: 20; }
.brand { width: 244px; display: flex; gap: 13px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(43,58,123,.18)); }
.brand strong { display: block; font-family: "STKaiti", "KaiTi", serif; font-size: 31.2px; letter-spacing: 1px; }
.brand small { display:block; margin-top:2px; color:#8992ad; font-size:13px; letter-spacing: 1.5px; }
.main-nav { display:flex; height:100%; align-items:center; gap:4px; flex:1; }
.nav-item { height:100%; padding:0 16px; border:0; border-bottom:3px solid transparent; background:transparent; font-size:19.5px; font-weight:650; cursor:pointer; transition:.2s ease; }
.nav-item i { margin-right:7px; color:#7280a8; font-size:23.4px; vertical-align:-2px; }
.nav-item:hover { color:var(--blue); background:#f8f9ff; }
.nav-item.active { color:#263d8b; border-bottom-color:var(--orange); }
.nav-item.active i { color:#4d68dc; }
.top-actions { display:flex; align-items:center; gap:11px; }
.class-switcher { padding:10px 15px; border:1px solid #dfe3ef; background:#fff; border-radius:12px; font-weight:700; cursor:pointer; }
.class-switcher i { margin-left:10px; color:#8b94b0; font-size:15.6px; }
.icon-button { width:38px; height:38px; border:0; background:#f1f3fb; color:#6171a4; border-radius:50%; position:relative; font-size:23.4px; }
.icon-button b { position:absolute; width:7px; height:7px; border-radius:50%; background:#e66a4b; right:3px; top:4px; border:2px solid white; }
.teacher-avatar { width:39px; height:39px; border-radius:50%; object-fit:cover; border:3px solid white; box-shadow:0 0 0 1px #d9ddec; }
.teacher-name strong, .teacher-name small { display:block; white-space:nowrap; }
.teacher-name strong { font-size:16.9px; }.teacher-name small { font-size:13px; color:#929bb4; margin-top:2px; }

main { padding: 0 24px 22px; }
.hero { min-height:132px; max-width:1490px; margin:0 auto; display:flex; align-items:center; gap:44px; position:relative; overflow:hidden; background-image:linear-gradient(90deg,rgba(248,249,254,.98) 0%,rgba(248,249,254,.82) 44%,rgba(248,249,254,.08) 72%),url("./assets/academy-banner.webp"); background-size:auto 100%,cover; background-position:center,right center; }
.hero-copy { min-width:460px; padding-left:10px; z-index:1; }
.eyebrow { margin:0 0 7px; color:#7d88ad; font-size:15.6px; letter-spacing:.5px; }.eyebrow i { color:#d4a348; }
.hero h1 { margin:0; font-family:"STKaiti","KaiTi",serif; font-size:41.6px; letter-spacing:1px; color:#1a2d6c; }
.hero-copy>p:last-child { margin:7px 0 0; color:#7782a7; font-size:16.9px; }
.class-energy { width:min(600px, 44vw); height:77px; display:flex; align-items:center; gap:15px; padding:12px 18px; background:rgba(255,255,255,.72); border:1px solid rgba(215,220,238,.9); border-radius:18px; box-shadow:0 12px 40px rgba(67,82,137,.07); z-index:1; }
.energy-emblem { width:52px; height:52px; flex:none; background:url("./assets/academy-crest.webp") center/contain no-repeat; filter:drop-shadow(0 6px 9px rgba(75,89,190,.18)); }.energy-emblem span { display:none; }
.energy-body { flex:1; }.energy-label { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; font-size:15.6px; color:#8a92aa; }.energy-label strong { color:#27396f; font-size:18.2px; }.energy-label b { color:var(--orange); font-size:23.4px; }
.energy-track,.card-track,.detail-progress,.quest-track { overflow:hidden; background:#e1e5f1; border-radius:99px; }.energy-track { height:10px; }.energy-track i,.card-track i,.detail-progress i,.quest-track i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#5673f5,#7c83f6); transition:width .3s ease; }
.energy-value { color:#5367cf; font-size:26px; }

.workspace { max-width:1490px; min-height:646px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1fr) 344px; background:rgba(255,255,255,.7); border:1px solid rgba(219,223,239,.9); border-radius:20px; box-shadow:var(--shadow); overflow:hidden; }
.roster-panel { padding:18px; min-width:0; }
.toolbar { height:46px; display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.toolbar-left,.toolbar-right { display:flex; align-items:center; gap:10px; }
.select-button,.view-button { height:38px; border:1px solid #dfe3ef; border-radius:10px; background:#fff; cursor:pointer; }.select-button { padding:0 14px; font-weight:650; }.select-button span { color:#8b94ac; margin-left:25px; }
.search-box { width:260px; height:38px; display:flex; align-items:center; gap:8px; padding:0 12px; border:1px solid #dfe3ef; border-radius:10px; background:#fff; color:#7e8ab0; }.search-box input { width:100%; border:0; outline:0; color:var(--ink); background:transparent; }.search-box input::placeholder { color:#abb1c5; }
.selection-hint { color:#929ab2; font-size:15.6px; }.view-button { width:38px; color:#8490b4; }.view-button.active { color:#4f64d1; background:#f2f4ff; border-color:#cfd6f4; }
.student-grid { display:grid; grid-template-columns:repeat(5,minmax(150px,1fr)); gap:13px; }
.student-card { min-height:265px; padding:13px 13px 11px; border:1px solid #e6e8f1; border-radius:14px; background:rgba(255,255,255,.95); box-shadow:0 6px 16px rgba(46,57,103,.055); cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; outline:none; position:relative; }
.student-card:hover,.student-card:focus-visible { transform:translateY(-2px); box-shadow:0 12px 24px rgba(52,65,121,.11); border-color:#cbd3ef; }.student-card.selected { border:2px solid var(--orange); padding:12px 12px 10px; box-shadow:0 10px 28px rgba(222,143,28,.16); }
.card-head { display:flex; align-items:center; height:25px; }.card-head h3 { margin:0; font-size:19.5px; flex:1; }.level { padding:3px 8px; background:#ece9ff; color:#5c5bc1; border-radius:7px; font-size:13px; font-weight:800; }.selected .level { background:#fff0d7; color:#b8730f; }.card-head button { border:0; background:transparent; color:#8d95ad; letter-spacing:1px; padding:2px 0 2px 7px; }
.life-energy { width:126px; height:126px; flex:none; position:relative; overflow:hidden; margin:8px auto 7px; border-radius:50%; background:#eef0ff; box-shadow:0 10px 24px rgba(71,83,151,.14),inset 0 0 0 1px rgba(255,255,255,.8); isolation:isolate; }
.life-energy::after { content:""; position:absolute; inset:1px; z-index:2; border:1px solid rgba(255,255,255,.7); border-radius:inherit; box-shadow:inset 0 0 16px rgba(255,255,255,.55); pointer-events:none; }
.life-energy img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .25s ease; }
.student-card:hover .life-energy img { transform:scale(1.035); }
.life-energy.obsidian img { filter:hue-rotate(18deg) saturate(1.18) brightness(.82); }.life-energy.moon img { filter:hue-rotate(2deg) saturate(.9) brightness(1.05); }.life-energy.forest img { filter:hue-rotate(72deg) saturate(.82); }.life-energy.ember img { filter:hue-rotate(278deg) saturate(1.12); }.life-energy.cloud img { filter:saturate(.72) brightness(1.08); }.life-energy.crystal img { filter:hue-rotate(22deg) saturate(.9); }.life-energy.blossom img { filter:hue-rotate(292deg) saturate(.82) brightness(1.04); }.life-energy.tide img { filter:hue-rotate(20deg) saturate(1.1); }.life-energy.stone img { filter:saturate(.42) brightness(.92); }.life-energy.violet img { filter:hue-rotate(320deg) saturate(1.08); }
.life-energy.small { width:82px; height:82px; margin:0; }.life-energy.atlas-energy { width:142px; height:142px; margin:0; box-shadow:0 12px 28px rgba(76,88,158,.17); }

.card-stats { display:flex; justify-content:space-between; align-items:center; font-size:16.9px; }.card-stats span { font-weight:800; }.card-stats b { color:#e0a32e; }.card-stats small { color:#8b94ad; font-size:13px; }
.card-track { height:6px; margin:8px 0 5px; }.card-foot { min-height:25px; display:flex; align-items:center; justify-content:space-between; color:#8e97b2; font-size:13px; }.quick-add { border:0; padding:5px 12px; border-radius:7px; color:white; background:linear-gradient(180deg,#f2b84c,#df8a17); font-weight:800; cursor:pointer; box-shadow:0 4px 10px rgba(224,139,21,.22); }

.detail-panel { padding:20px 20px 18px; position:relative; background:rgba(252,252,255,.96); border-left:1px solid #e3e6f1; box-shadow:-12px 0 30px rgba(62,72,119,.06); }
.close-detail { position:absolute; top:13px; right:14px; width:30px; height:30px; border:0; border-radius:50%; background:#f1f3fb; color:#6071b2; font-size:29.9px; line-height:1; cursor:pointer; }
.student-summary { min-height:111px; display:flex; align-items:center; gap:10px; padding-right:22px; }.name-row { display:flex; align-items:center; gap:9px; }.name-row h2 { margin:0; font-size:28.6px; }.student-summary p { margin:7px 0 0; font-size:14.3px; line-height:1.55; color:#8490b0; }
.partner-switch { display:grid; grid-template-columns:1fr 1fr; padding:4px; border-radius:11px; background:#f0f2f9; margin:2px 0 12px; }.partner-switch button { height:34px; border:0; border-radius:8px; background:transparent; color:#8992ac; font-weight:700; cursor:pointer; }.partner-switch button.active { color:#293f92; background:#fff; box-shadow:0 3px 10px rgba(60,70,116,.1); }
.partner-view { min-height:91px; }.partner-view.hidden { display:none; }.balance-row { display:flex; justify-content:space-between; align-items:center; font-size:15.6px; }.balance-row span:first-child { color:#8d95ad; }.balance-row b { color:#455179; margin-right:8px; }.balance-row strong { color:#304bb9; font-size:23.4px; }.balance-row em { font-style:normal; }.element-badge { padding:5px 9px; color:#5f5bb3; background:#eeecff; border-radius:7px; font-weight:700; }.detail-progress { height:8px; margin:9px 0 7px; }.next-stage { margin:0; color:#8992ad; font-size:14.3px; text-align:right; }.resource-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.resource-strip>span{min-width:0;display:grid;grid-template-columns:22px 1fr;grid-template-rows:auto auto;column-gap:5px;padding:8px;border:1px solid #e4e7f1;border-radius:10px;background:#fafbfe}.resource-strip i{grid-row:1/3;align-self:center;color:#d59528;font-size:23.4px}.resource-strip span:nth-child(2) i{color:#6174c7}.resource-strip span:nth-child(3) i{color:#8a69bd}.resource-strip small{color:#929aaf;font-size:9.1px}.resource-strip strong{overflow:hidden;color:#36446e;font-size:14.3px;white-space:nowrap;text-overflow:ellipsis}
.companion-stage-card{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;margin-top:8px;padding:9px;border:1px solid #dfe4f3;border-radius:11px;background:linear-gradient(135deg,#f7f9ff,#f2f4fd)}.stage-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e7ecff;color:#566dce;font-size:23.4px}.companion-stage-card small,.companion-stage-card strong,.companion-stage-card p{display:block}.companion-stage-card small{color:#929aaf;font-size:9.1px}.companion-stage-card strong{margin-top:2px;color:#33446f;font-size:14.3px}.companion-stage-card p{margin:2px 0 0;color:#8791aa;font-size:9.1px}.companion-stage-card button{height:29px;padding:0 9px;border:0;border-radius:8px;background:linear-gradient(180deg,#f3b548,#e08d19);color:#fff;font-size:10.4px;font-weight:800;cursor:pointer}.level.pending{color:#b87314;background:#fff0d8}
.mentor-card { display:flex; gap:12px; align-items:center; }.mentor-portrait { width:65px; height:65px; flex:none; display:grid; place-items:center; position:relative; overflow:hidden; border-radius:18px; background:linear-gradient(145deg,#7386e5,#2c3973); box-shadow:inset 0 0 0 1px #d9dded; }.mentor-portrait img { width:100%; height:100%; object-fit:contain; object-position:center top; }.mentor-copy small { color:#939ab0; font-size:11.7px; }.mentor-copy h3 { margin:2px 0; font-family:"STKaiti","KaiTi"; font-size:27.3px; }.mentor-copy p { margin:0; font-size:13px; color:#7b85a3; }.mentor-view blockquote { margin:9px 0 7px; padding:8px 10px; border-left:3px solid #d6a242; background:#fffaf0; color:#5d6280; font-size:13px; }.mentor-view blockquote small { float:right; color:#aa8a52; }.mentor-action { width:100%; height:31px; border:1px solid #d8dced; background:#fff; border-radius:8px; color:#5165bb; font-size:13px; font-weight:700; cursor:pointer; }.mentor-action span { float:right; margin-right:8px; }
.score-tabs { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #e4e6ef; margin-top:8px; }.score-tabs button { height:42px; border:0; border-bottom:2px solid transparent; background:transparent; color:#8f96aa; font-weight:750; cursor:pointer; }.score-tabs button.active { color:#de840f; border-bottom-color:#eb941d; }
.score-actions { display:grid; gap:8px; margin:12px 0; }.score-actions button { min-height:54px; display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:8px; padding:7px 12px; border:1px solid #e3e6f0; border-radius:10px; background:#fff; cursor:pointer; transition:.18s ease; }.score-actions button:hover { transform:translateX(-2px); border-color:#cbd3ef; }.score-actions button.chosen { border-color:#f0a430; background:#fffaf1; box-shadow:0 4px 12px rgba(224,144,26,.12); }.score-actions b { text-align:left; font-size:16.9px; }.score-actions b small{display:block;margin-top:3px;color:#9199ad;font-size:9.1px;font-weight:600}.score-actions strong { color:#e78116; font-size:22.1px; }.action-icon { width:29px; height:29px; display:grid; place-items:center; border-radius:9px; font-size:14.3px; }.action-icon.blue { color:#4766e8; background:#ebefff; }.action-icon.violet { color:#7656cf; background:#f1edff; }.action-icon.teal { color:#329881; background:#e8f7f3; }.action-icon.amber { color:#c98217; background:#fff4df; }
.note-box { height:58px; display:block; position:relative; border:1px solid #e0e4ee; border-radius:10px; background:#fff; }.note-box textarea { width:100%; height:100%; resize:none; border:0; outline:0; padding:10px 40px 8px 11px; background:transparent; color:#5d6686; font-size:14.3px; }.note-box span { position:absolute; right:8px; bottom:6px; color:#a0a7ba; font-size:11.7px; }
.confirm-button { width:100%; height:51px; margin-top:11px; border:0; border-radius:11px; background:linear-gradient(180deg,#f3b342,#df8915); color:white; font-weight:800; cursor:pointer; box-shadow:0 8px 17px rgba(222,137,18,.24); transition:.18s ease; }.confirm-button:hover { transform:translateY(-1px); box-shadow:0 10px 20px rgba(222,137,18,.3); }.confirm-button b { margin-left:5px; }

.quest-strip { max-width:1490px; height:94px; margin:14px auto 0; display:flex; align-items:center; gap:20px; padding:0 24px 0 188px; position:relative; overflow:hidden; border:1px solid #dbe0f0; border-radius:18px; background-image:linear-gradient(90deg,rgba(238,241,251,.08),rgba(248,249,255,.86) 34%,rgba(239,242,253,.9)),url("./assets/quest-banner.webp"); background-size:cover; background-position:center; box-shadow:0 8px 24px rgba(51,63,113,.07); }
.quest-copy { min-width:260px; }.quest-copy small,.quest-reward small { color:#8892ae; font-size:13px; }.quest-copy h3 { display:inline; margin:0 0 0 8px; font-size:23.4px; }.quest-copy p { margin:5px 0 0; color:#7c87a8; font-size:14.3px; }.quest-progress { flex:1; max-width:480px; }.quest-progress>div:first-child { display:flex; justify-content:space-between; align-items:center; margin-bottom:7px; font-size:14.3px; color:#8993af; }.quest-progress strong { color:#c7760f; font-size:22.1px; }.quest-track { height:8px; }.quest-track i { background:linear-gradient(90deg,#e8a52c,#f2c05f); }
.quest-reward { margin-left:auto; display:flex; align-items:center; gap:10px; min-width:170px; }.mini-crest { width:46px; height:46px; background:url("./assets/academy-crest.webp") center/contain no-repeat; color:transparent; filter:drop-shadow(0 4px 7px rgba(49,64,124,.18)); }.quest-reward span>* { display:block; }.quest-reward strong { margin-top:3px; font-size:15.6px; }.round-next { width:40px; height:40px; border:0; border-radius:50%; background:#7586c7; color:white; font-size:35.1px; cursor:pointer; }
.toast { position:fixed; left:50%; bottom:26px; transform:translate(-50%,20px); min-width:400px; display:flex; align-items:center; gap:12px; padding:13px 16px; border:1px solid #dce2ef; border-radius:14px; background:rgba(255,255,255,.97); box-shadow:0 16px 42px rgba(34,47,94,.2); opacity:0; pointer-events:none; transition:.24s ease; z-index:40; }.toast.visible { opacity:1; transform:translate(-50%,0); pointer-events:auto; }.toast-icon { width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e5f6ec;color:#299260;font-weight:900;}.toast div{flex:1}.toast strong{font-size:16.9px}.toast p{margin:3px 0 0;color:#8089a3;font-size:14.3px}.toast button{border:0;background:#edf0ff;color:#4e62bc;border-radius:8px;padding:7px 12px;font-weight:700;cursor:pointer}

.secondary-page { max-width:1490px; min-height:calc(100vh - 98px); margin:0 auto; padding:30px 8px 44px; }
.page-header { min-height:96px; display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:22px; padding:2px 4px 0; }
.page-header p { margin:0 0 7px; color:#7f8aac; font-size:14.3px; font-weight:750; letter-spacing:1px; }.page-header h1 { margin:0; font-family:"STKaiti","KaiTi",serif; color:#1a2d6c; font-size:44.2px; letter-spacing:1px; }.page-header span { display:block; margin-top:8px; color:#7d87a5; font-size:16.9px; }
.page-primary { min-width:132px; height:43px; padding:0 16px; border:0; border-radius:11px; background:linear-gradient(180deg,#f2b448,#df8c18); color:white; font-weight:800; box-shadow:0 8px 18px rgba(222,139,20,.22); cursor:pointer; }.page-primary i { margin-right:5px; }
.page-actions,.store-header-actions { display:flex; align-items:center; gap:10px; }
.metric-row { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:15px; }.metric-row article { min-height:113px; display:grid; grid-template-columns:42px 1fr; grid-template-rows:auto auto auto; column-gap:12px; align-items:center; padding:17px 19px; border:1px solid #e1e5f0; border-radius:15px; background:rgba(255,255,255,.94); box-shadow:0 8px 22px rgba(49,61,107,.055); }.metric-row article>i { grid-row:1/4; width:42px; height:42px; display:grid; place-items:center; border-radius:12px; font-size:27.3px; }.metric-row span { color:#7f89a5; font-size:14.3px; }.metric-row strong { font-size:31.2px; line-height:1.05; }.metric-row small { color:#9aa2b7; font-size:13px; }.metric-blue{color:#4b6ce9;background:#eaf0ff}.metric-green{color:#37977b;background:#e9f7f2}.metric-gold{color:#c5811c;background:#fff4df}.metric-violet{color:#7655ca;background:#f1ecff}
.content-grid { display:grid; gap:15px; }.growth-layout { grid-template-columns:minmax(0,1fr) 355px; }.content-card { border:1px solid #e1e5f0; border-radius:16px; background:rgba(255,255,255,.95); box-shadow:0 8px 24px rgba(49,61,107,.055); }.records-card,.dimension-card,.activity-section { padding:20px; }.section-title { display:flex; justify-content:space-between; align-items:center; gap:12px; }.section-title h2 { margin:0; font-size:22.1px; }.section-title p { margin:4px 0 0; color:#929ab0; font-size:13px; }.filter-row { display:flex; gap:6px; }.chip { height:30px; padding:0 12px; border:1px solid #e1e5ef; border-radius:8px; background:#fff; color:#7c86a3; font-size:13px; cursor:pointer; }.chip.active { border-color:#d7ddfa; background:#eef1ff; color:#4e61bd; font-weight:750; }
.record-list { margin-top:15px; }.record-item { min-height:61px; display:grid; grid-template-columns:38px 1fr auto 28px; align-items:center; gap:11px; border-top:1px solid #edf0f6; }.record-avatar { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:linear-gradient(145deg,#e6eaff,#cbd3f5); color:#4256a5; font-weight:800; }.record-main strong,.record-main span { display:inline; font-size:15.6px; }.record-main span { margin-left:9px; color:#56617f; }.record-main small { display:block; margin-top:4px; color:#9aa2b5; font-size:11.7px; }.record-item>b { color:#df8413; font-size:20.8px;text-align:right}.record-item>b strong,.record-item>b small{display:block}.record-item>b small{margin-top:3px;color:#969db0;font-size:9.1px;font-weight:650}.record-more { border:0; background:transparent; color:#8b94ad; font-size:23.4px; cursor:pointer; }
.record-main em { display:block; max-width:520px; margin-top:4px; overflow:hidden; color:#68738f; font-size:11.7px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }.record-item.reversed { opacity:.66; background:#fafbfc; }.record-item.reversed .record-avatar { filter:grayscale(.75); }.record-item.reversed .record-main strong,.record-item.reversed .record-main span { text-decoration:line-through; }.record-item.reversed>b { min-width:42px; color:#8e96a9; font-size:11.7px; text-align:center; }.record-empty { min-height:210px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#929aaf; }.record-empty i { font-size:36.4px; }.record-empty strong { margin-top:8px; color:#59647e; font-size:14.3px; }.record-empty span { margin-top:4px; font-size:11.7px; }
.event-detail-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin:20px 0 12px; }.event-detail-grid>div { padding:11px; border:1px solid #e2e6f0; border-radius:10px; background:#fbfbfe; }.event-detail-grid dt { color:#929aaf; font-size:11.7px; }.event-detail-grid dd { margin:5px 0 0; color:#35446f; font-size:14.3px; font-weight:800; }.event-detail-grid dd.active { color:#3f816a; }.event-detail-grid dd.reversed { color:#9a5e66; }.event-note { padding:12px; border-radius:10px; background:#f5f7fd; }.event-note small { color:#8c95aa; font-size:11.7px; }.event-note p { margin:5px 0 0; color:#58647f; font-size:13px; line-height:1.6; }.reversal-note { display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:10px; margin-top:10px; padding:11px; border:1px solid #efd8d8; border-radius:10px; background:#fff8f8; }.reversal-note>i { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; background:#ffe9e9; color:#b45d5d; }.reversal-note strong,.reversal-note p { display:block; margin:0; }.reversal-note strong { color:#754f58; font-size:13px; }.reversal-note p { margin-top:4px; color:#9a7a81; font-size:10.4px; }.reversal-note>b { color:#b45d5d; font-size:18.2px; }
.dimension-list { margin-top:22px; }.dimension-list>div { display:grid; grid-template-columns:38px 1fr 20px; align-items:center; gap:9px; margin:15px 0; font-size:13px; color:#68728f; }.dimension-list>div>div { height:7px; overflow:hidden; border-radius:99px; background:#e9ebf3; }.dimension-list i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#6078ef,#9a85ed); }.dimension-list b { text-align:right; font-size:13px; }.attention-note { display:flex; gap:10px; margin-top:24px; padding:13px; border:1px solid #eee3c7; border-radius:11px; background:#fffbf1; color:#a47424; }.attention-note>i { font-size:26px; }.attention-note strong { font-size:14.3px; }.attention-note p { margin:4px 0 0; color:#8b806a; font-size:11.7px; line-height:1.5; }
.segmented { display:flex; padding:4px; border-radius:11px; background:#e9ecf5; }.segmented button { min-width:108px; height:35px; border:0; border-radius:8px; background:transparent; color:#7e87a3; font-weight:750; cursor:pointer; }.segmented button.active { background:#fff; color:#374c9d; box-shadow:0 3px 10px rgba(55,67,115,.1); }.page-segment { margin-top:7px; }
.atlas-summary { min-height:144px; display:flex; align-items:center; justify-content:space-between; padding:22px 30px; margin-bottom:15px; background-image:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.72)),url("./assets/academy-banner.webp"); background-size:cover; }.atlas-summary>div:first-child { position:relative; padding-left:66px; }.atlas-mark { position:absolute; left:0; top:0; width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:#e9edff; color:#536bd7; font-size:29.9px; }.atlas-summary small { color:#8c95ad; font-size:13px; }.atlas-summary h2 { margin:3px 0 5px; font-size:27.3px; }.atlas-summary p { margin:0; color:#818ba6; font-size:14.3px; }.atlas-stat { width:100px; height:100px; display:grid; place-items:center; align-content:center; border-radius:50%; background:radial-gradient(circle,#fff 56%,transparent 58%),conic-gradient(#6379ee 0 var(--atlas-progress,42%),#e2e6f3 var(--atlas-progress,42%)); }.atlas-stat strong { font-size:27.3px; }.atlas-stat span { font-size:11.7px; color:#8e96ac; margin-top:2px; }
.placeholder-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:13px; }.placeholder-grid article { padding:12px; border:1px solid #e2e5ef; border-radius:14px; background:#fff; box-shadow:0 7px 18px rgba(50,62,107,.05); }.asset-placeholder { height:150px; display:grid; place-items:center; align-content:center; gap:8px; border:1px dashed #d6daea; border-radius:11px; background:linear-gradient(145deg,#f7f8fc,#f0f2f9); color:#a2aac0; }.asset-placeholder i { font-size:37.7px; }.asset-placeholder span { font-size:11.7px; }.placeholder-grid article>div:nth-child(2) { display:flex; justify-content:space-between; gap:8px; margin-top:10px; }.placeholder-grid article strong { font-size:15.6px; }.placeholder-grid article>div:nth-child(2) span { color:#8992aa; font-size:11.7px; }.placeholder-progress,.mentor-progress { height:5px; overflow:hidden; margin-top:9px; border-radius:99px; background:#e8eaf2; }.placeholder-progress i,.mentor-progress i { display:block; height:100%; border-radius:inherit; background:#6378ed; }
.mentor-intro { display:flex; align-items:center; gap:13px; margin-bottom:14px; padding:16px 19px; border:1px solid #dce2f3; border-radius:14px; background:#f7f9ff; }.mentor-intro>i { font-size:39px; color:#5269ce; }.mentor-intro strong { font-size:15.6px; }.mentor-intro p { margin:4px 0 0; color:#7e88a3; font-size:13px; }.mentor-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }.mentor-tile { padding:14px; border:1px solid #e1e5ef; border-radius:16px; background:#fff; box-shadow:0 8px 22px rgba(49,61,107,.05); }.mentor-visual { height:200px; display:grid; place-items:center; align-content:center; gap:12px; border-radius:13px; color:#fff; }.mentor-visual img { width:100%; height:100%; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 12px 16px rgba(21,28,59,.22)); }.mentor-visual.indigo{background:linear-gradient(145deg,#687be0,#29376e)}.mentor-visual.teal{background:linear-gradient(145deg,#68bfb6,#326e79)}.mentor-visual.green{background:linear-gradient(145deg,#88b784,#3e745c)}.mentor-visual.amber{background:linear-gradient(145deg,#e5b564,#9a6333)}.mentor-tile.locked .mentor-visual{filter:saturate(.45);opacity:.68}.mentor-info { display:flex; align-items:center; justify-content:space-between; margin-top:12px; }.mentor-info small { color:#9299ae; font-size:11.7px; }.mentor-info h2 { margin:2px 0 0; font-size:23.4px; }.status-pill { margin:0!important; padding:4px 7px; border-radius:7px; color:#5368c2!important; background:#edf0ff; font-size:11.7px!important; }.mentor-tile>p { min-height:30px; color:#7c86a1; font-size:13px; line-height:1.5; }.mentor-tile>button { width:100%; height:35px; margin-top:12px; border:1px solid #d9def0; border-radius:9px; background:#fff; color:#5267bf; font-weight:750; cursor:pointer; }.mentor-tile>button:disabled { color:#9da4b8; background:#f4f5f8; cursor:default; }
.mission-hero { min-height:218px; display:flex; justify-content:space-between; align-items:center; padding:30px 42px; border-radius:18px; color:white; background-image:linear-gradient(90deg,rgba(25,41,100,.9),rgba(47,67,145,.48)),url("./assets/quest-banner.webp"); background-size:cover; background-position:center; box-shadow:0 12px 28px rgba(41,54,111,.13); }.mission-hero span { font-size:13px; letter-spacing:1px; opacity:.8; }.mission-hero h2 { margin:8px 0; font-size:32.5px; line-height:1.35; }.mission-hero p { margin:0 0 17px; font-size:13px; opacity:.8; }.mission-hero button { height:37px; padding:0 13px; border:1px solid rgba(255,255,255,.45); border-radius:9px; background:rgba(255,255,255,.13); color:#fff; font-weight:700; cursor:pointer; }.mission-hero>strong { width:124px; height:124px; display:grid; place-items:center; border-radius:50%; font-size:36.4px; background:radial-gradient(circle,rgba(27,43,99,.86) 55%,transparent 57%),conic-gradient(#f0b347 0 68%,rgba(255,255,255,.2) 68%); box-shadow:0 0 35px rgba(162,185,255,.3); }
.mission-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:15px 0; }.mission-card { display:grid; grid-template-columns:48px 1fr; column-gap:12px; padding:18px; border:1px solid #e0e4ef; border-radius:15px; background:#fff; box-shadow:0 8px 20px rgba(49,61,107,.05); }.mission-icon { grid-row:1/3; width:46px; height:46px; display:grid; place-items:center; border-radius:13px; font-size:28.6px; }.mission-icon.blue{color:#536ee1;background:#eaf0ff}.mission-icon.gold{color:#c98a22;background:#fff3dd}.mission-icon.green{color:#398d73;background:#e8f6f0}.mission-top small { color:#929aaf; font-size:11.7px; }.mission-top h2 { margin:3px 0 0; font-size:22.1px; }.mission-card>p,.mission-card>.mission-progress,.mission-card>.mission-meta,.mission-card>button { grid-column:1/3; }.mission-card>p { margin:17px 0 8px; color:#7c87a2; font-size:13px; }.mission-progress { height:8px; overflow:hidden; border-radius:99px; background:#e7e9f2; }.mission-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#5b74ed,#8a8ff1); }.mission-meta { display:flex; justify-content:space-between; margin:8px 0 15px; color:#858faa; font-size:11.7px; }.mission-meta span:first-child { color:#5368c8; font-weight:800; }.mission-card>button { height:35px; border:1px solid #dce1ef; border-radius:9px; background:#fff; color:#5063b4; font-weight:700; cursor:pointer; }.activity-section { margin-top:15px; }.text-button { border:0; background:transparent; color:#5669bb; font-size:13px; cursor:pointer; }.template-row { display:grid; grid-template-columns:repeat(4,1fr); gap:11px; margin-top:15px; }.template-row button { height:70px; display:flex; align-items:center; gap:12px; padding:0 14px; border:1px solid #e2e5ef; border-radius:11px; background:#fbfbfe; text-align:left; cursor:pointer; }.template-row button>i { font-size:33.8px; color:#596fce; }.template-row strong,.template-row small { display:block; }.template-row strong { font-size:14.3px; }.template-row small { margin-top:3px; color:#9299ad; font-size:11.7px; }
.coin-balance { min-width:195px; display:grid; grid-template-columns:38px 1fr; grid-template-rows:auto auto; column-gap:10px; padding:10px 14px; border:1px solid #eadfc6; border-radius:13px; background:#fffaf0; }.coin-balance>i { grid-row:1/3; align-self:center; font-size:37.7px; color:#db971e; }.coin-balance span { margin:0; color:#9a8b6e; font-size:11.7px; }.coin-balance strong { font-size:23.4px; }.store-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:15px; }.reward-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; margin-top:15px; }.reward-card { padding:13px; border:1px solid #e1e5ef; border-radius:15px; background:#fff; box-shadow:0 8px 20px rgba(49,61,107,.05); }.reward-visual { height:164px; display:grid; place-items:center; position:relative; border-radius:12px; font-size:74.1px; }.reward-visual>span { position:absolute; top:9px; right:9px; padding:4px 7px; border-radius:99px; background:rgba(255,255,255,.82); color:#6e7894; font-size:10.4px; font-weight:800; }.reward-visual.violet{color:#7a64d6;background:linear-gradient(145deg,#f2efff,#ded7ff)}.reward-visual.blue{color:#5678dd;background:linear-gradient(145deg,#eef4ff,#d8e6ff)}.reward-visual.gold{color:#c58a2d;background:linear-gradient(145deg,#fff7e8,#f7dfb5)}.reward-visual.green{color:#3e9178;background:linear-gradient(145deg,#edf8f3,#cee9de)}.reward-card>small { display:block; margin-top:10px; color:#9098ad; font-size:11.7px; }.reward-card h2 { margin:4px 0; font-size:19.5px; }.reward-card p { min-height:28px; margin:0; color:#7e88a2; font-size:11.7px; }.reward-card>div:last-child { display:flex; justify-content:space-between; align-items:center; margin-top:11px; }.reward-card>div strong { color:#d38417; font-size:16.9px; }.reward-card button { height:31px; padding:0 13px; border:0; border-radius:8px; background:#edf0ff; color:#5064ba; font-weight:750; cursor:pointer; }.reward-card button:disabled { background:#f0f1f5; color:#a1a7b8; cursor:not-allowed; }.reward-card.disabled-reward { opacity:.68; }.store-admin-head { margin-bottom:0; }.redemption-panel { padding:19px; }.redemption-list { margin-top:13px; }.redemption-list article { min-height:65px; display:grid; grid-template-columns:35px 1fr auto; align-items:center; gap:9px; border-top:1px solid #edf0f5; }.redemption-list article>span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#edf0ff; color:#5064b5; font-weight:800; }.redemption-list strong,.redemption-list small { display:block; }.redemption-list strong { font-size:14.3px; }.redemption-list small { margin-top:4px; color:#9299ac; font-size:10.4px; }.redemption-list button { border:0; border-radius:7px; padding:6px 8px; background:#fff2df; color:#c47712; font-size:11.7px; font-weight:700; cursor:pointer; }.redemption-actions { display:flex; gap:5px; }.redemption-actions button:last-child { background:#f1f2f7; color:#7b849d; }.empty-redemptions { min-height:220px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:#929aaf; }.empty-redemptions i { color:#4b9b7c; font-size:39px; }.empty-redemptions strong { color:#56617d; font-size:14.3px; }.empty-redemptions span { font-size:11.7px; }
.tool-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; }.tool-card { min-height:310px; padding:22px; border:1px solid #e0e4ef; border-radius:17px; background:#fff; box-shadow:0 8px 22px rgba(49,61,107,.055); }.tool-title { display:flex; align-items:center; gap:12px; }.tool-title>i { width:44px; height:44px; display:grid; place-items:center; border-radius:13px; background:#edf0ff; color:#536bd1; font-size:29.9px; }.tool-title h2 { margin:0; font-size:22.1px; }.tool-title p { margin:4px 0 0; color:#9299ae; font-size:13px; }.tool-card>button { width:100%; height:41px; border:0; border-radius:10px; background:#edf0ff; color:#4e63bb; font-weight:800; cursor:pointer; }.random-result { height:158px; display:grid; place-items:center; align-content:center; gap:6px; }.random-result span { width:64px; height:64px; display:grid; place-items:center; border-radius:20px; background:linear-gradient(145deg,#6f82ed,#4054bb); color:white; font-size:33.8px; font-weight:800; box-shadow:0 10px 22px rgba(67,84,181,.22); }.random-result strong { font-size:23.4px; }.random-result small { color:#929aae; font-size:11.7px; }.random-result.rolling span { animation:roll .18s linear infinite; }@keyframes roll{50%{transform:scale(.88) rotate(8deg)}}.timer-display { margin:37px 0 27px; text-align:center; font-variant-numeric:tabular-nums; font-size:75.4px; font-weight:750; letter-spacing:3px; }.timer-presets { display:flex; justify-content:center; gap:8px; margin-bottom:20px; }.timer-presets button { height:30px; padding:0 12px; border:1px solid #e1e4ef; border-radius:8px; background:#fff; color:#7e88a3; font-size:13px; cursor:pointer; }.timer-presets button.active { background:#eef1ff; border-color:#ced6f4; color:#4f64bd; }.group-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:27px 0 31px; }.group-list label { display:flex; align-items:center; padding:14px; border:1px solid #e3e6ef; border-radius:10px; color:#5d6887; font-size:14.3px; }.group-list input { margin-right:8px; accent-color:#5d73df; }.group-list span { margin-left:auto; color:#979fb3; font-size:11.7px; }.board-preview { height:172px; display:grid; place-items:center; align-content:center; gap:11px; margin:19px 0; border-radius:12px; color:#fff; background-image:linear-gradient(rgba(35,51,115,.62),rgba(35,51,115,.62)),url("./assets/academy-banner.webp"); background-size:cover; }.board-preview i { font-size:62.4px; }.board-preview span { padding:6px 10px; border-radius:8px; background:rgba(255,255,255,.18); font-size:13px; }

/* Batch scoring and class operations */
.batch-button,.secondary-action { height:38px; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:0 14px; border:1px solid #d9deed; border-radius:10px; background:#fff; color:#52618d; font-weight:750; cursor:pointer; transition:.18s ease; }
.batch-button:hover,.secondary-action:hover { border-color:#bdc7eb; background:#f8f9ff; color:#4258b7; }
.batch-button.active { color:#fff; border-color:#536be0; background:#536be0; box-shadow:0 6px 14px rgba(70,91,196,.2); }
.student-card.batch-selected { border:2px solid #5f75e5; padding:12px 12px 10px; background:#f7f8ff; box-shadow:0 10px 25px rgba(74,93,192,.14); }
.card-check { position:absolute; z-index:2; top:10px; left:10px; width:24px; height:24px; display:grid; place-items:center; border:1px solid #d5daeb; border-radius:8px; background:#fff; color:#8a94b1; box-shadow:0 3px 9px rgba(48,58,100,.12); }
.batch-selected .card-check { border-color:#5b73e4; background:#5b73e4; color:#fff; }
.empty-score-rules { grid-column:1/3; min-height:90px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:1px dashed #d5daea; border-radius:11px; color:#8a94ad; font-size:13px; }.empty-score-rules i { color:#6074ce; font-size:29.9px; }

.manage-tabs { display:flex; gap:6px; margin:2px 0 18px; padding:5px; width:max-content; border:1px solid #e0e4f0; border-radius:12px; background:#eceef7; }
.manage-tabs button { height:38px; display:flex; align-items:center; gap:7px; padding:0 16px; border:0; border-radius:9px; background:transparent; color:#747f9f; font-size:15.6px; font-weight:750; cursor:pointer; }
.manage-tabs button.active { background:#fff; color:#354b9d; box-shadow:0 4px 12px rgba(57,68,113,.09); }
.manage-actions { min-height:62px; display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.manage-actions>div:first-child strong,.manage-actions>div:first-child span { display:block; }
.manage-actions>div:first-child strong { font-size:23.4px; }
.manage-actions>div:first-child span { margin-top:5px; color:#8992aa; font-size:14.3px; }
.manage-actions>div:last-child { display:flex; gap:9px; }
.group-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:15px; }
.group-summary article { min-height:76px; display:grid; grid-template-columns:8px 1fr 30px; align-items:center; gap:12px; padding:13px 13px 13px 0; overflow:hidden; border:1px solid #e1e5ef; border-radius:13px; background:#fff; box-shadow:0 6px 18px rgba(45,57,102,.045); }
.group-summary article>span { align-self:stretch; background:var(--group); border-radius:0 7px 7px 0; }
.group-summary strong,.group-summary small { display:block; }.group-summary strong { font-size:16.9px; }.group-summary small { margin-top:5px; color:#9098ad; font-size:11.7px; }
.group-summary button,.student-table article>button,.rules-table article>button { border:0; background:transparent; color:#8b94ad; cursor:pointer; }
.student-table-card { padding:18px 20px 8px; }
.table-search { width:240px; height:35px; display:flex; align-items:center; gap:8px; padding:0 11px; border:1px solid #dfe3ef; border-radius:9px; color:#8c96b2; }
.table-search input { width:100%; border:0; outline:0; background:transparent; color:var(--ink); font-size:14.3px; }
.student-table,.parent-table,.rules-table { overflow:hidden; }
.student-table .table-head,.student-table article,.parent-table .table-head,.parent-table article { display:grid; grid-template-columns:1.35fr .65fr 1fr .65fr .9fr 34px; align-items:center; column-gap:14px; }
.table-head,.rule-head { min-height:38px; color:#8c95ad; background:#f6f7fb; border-radius:9px; font-size:11.7px; font-weight:750; letter-spacing:.2px; }
.table-head span:first-child,.rule-head span:first-child { padding-left:12px; }
.student-table article,.parent-table article,.rules-table article { min-height:54px; border-bottom:1px solid #edf0f5; color:#697492; font-size:13px; }
.student-table article:last-child,.parent-table article:last-child,.rules-table article:last-child { border-bottom:0; }
.student-name-cell { display:flex; align-items:center; gap:10px; padding-left:8px; color:var(--ink); }
.student-name-cell>span { width:31px; height:31px; display:grid; place-items:center; border-radius:10px; background:#eef0ff; color:#5368c7; font-weight:850; }
.student-name-cell+span { font-variant-numeric:tabular-nums; }
.student-table article>span:nth-child(3) { display:flex; align-items:center; gap:7px; }.student-table article>span:nth-child(3) i { width:7px; height:7px; border-radius:50%; }
.student-table article>b { color:#425ab9; }
.binding { width:max-content; padding:4px 8px; border-radius:99px; font-size:11.7px; font-weight:750; }
.binding.ok { color:#3b846b; background:#eaf7f1; }.binding.waiting { color:#a47727; background:#fff4df; }

.rules-table { padding:12px 18px; }
.rule-head,.rules-table article { display:grid; grid-template-columns:1.1fr 1fr .7fr 1.05fr .45fr 30px; align-items:center; column-gap:14px; }
.rules-table article strong { color:#273765; }.rules-table article>b { color:#5067c8; }
.switch { position:relative; width:34px; height:20px; cursor:pointer; }.switch input { position:absolute; opacity:0; }.switch i { position:absolute; inset:0; border-radius:99px; background:#d9deea; transition:.2s; }.switch i::after { content:""; position:absolute; width:16px; height:16px; left:2px; top:2px; border-radius:50%; background:#fff; box-shadow:0 2px 5px rgba(39,48,82,.2); transition:.2s; }.switch input:checked+i { background:#5b72dd; }.switch input:checked+i::after { transform:translateX(14px); }
.rule-note { min-height:78px; display:grid; grid-template-columns:40px 1fr auto; align-items:center; gap:13px; margin-top:14px; padding:15px 17px; border:1px solid #dfe4f6; border-radius:13px; background:#f6f8ff; }
.rule-note>i { width:39px; height:39px; display:grid; place-items:center; border-radius:12px; color:#5368c9; background:#e8edff; font-size:26px; }.rule-note strong { font-size:15.6px; }.rule-note p { margin:4px 0 0; color:#7d88a5; font-size:13px; }.rule-note button { border:0; background:transparent; color:#4d63bf; font-size:13px; font-weight:750; cursor:pointer; }

.parent-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:15px; }
.parent-metrics article { min-height:88px; display:flex; flex-direction:column; justify-content:center; padding:0 18px; border:1px solid #e1e5ef; border-radius:13px; background:#fff; box-shadow:0 7px 18px rgba(45,57,102,.04); }
.parent-metrics strong { color:#32498d; font-size:31.2px; }.parent-metrics span { margin-top:4px; color:#8a93aa; font-size:13px; }
.parent-table { padding:13px 18px; }
.parent-table article>strong { padding-left:12px; color:#283866; }.parent-table article>button { width:max-content; padding:5px 9px; border:0; border-radius:7px; background:#edf0ff; color:#5366ba; font-size:11.7px; font-weight:750; cursor:pointer; }
.family-review { margin-bottom:15px; padding:18px; border:1px solid #e1e5ef; border-radius:15px; background:#fff; box-shadow:0 7px 20px rgba(45,57,102,.045); }.family-review>.section-title>span { padding:5px 9px; border-radius:99px; background:#fff1df; color:#bd791c; font-size:11.7px; font-weight:800; }.family-review-list { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; }.family-submission { min-height:210px; padding:13px; border:1px solid #e2e6ef; border-radius:12px; background:#fbfbfe; }.submission-head { display:grid; grid-template-columns:36px 1fr auto; align-items:center; gap:9px; }.submission-head>span { width:35px; height:35px; display:grid; place-items:center; border-radius:11px; background:#edf0ff; color:#5267c2; font-weight:850; }.submission-head strong,.submission-head small { display:block; }.submission-head strong { font-size:14.3px; }.submission-head small { margin-top:3px; color:#9299ad; font-size:10.4px; }.submission-head>b { color:#df8619; font-size:20.8px; }.submission-body { min-height:102px; padding:13px 2px 9px; }.submission-body>strong { font-size:15.6px; }.submission-body p { margin:7px 0; color:#6f7a98; font-size:11.7px; line-height:1.55; }.submission-body>span { color:#8b94aa; font-size:10.4px; }.submission-body>span i { margin-right:4px; }.submission-actions { display:flex; justify-content:flex-end; gap:6px; }.submission-actions button { height:31px; padding:0 10px; border:1px solid #e0e3ed; border-radius:8px; background:#fff; color:#747f9e; font-size:11.7px; font-weight:750; cursor:pointer; }.submission-actions button:last-child { border:0; background:#edf1ff; color:#4e63bd; }.family-review-empty { grid-column:1/4; min-height:130px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; color:#8d96ac; }.family-review-empty i { color:#469276; font-size:37.7px; }.family-review-empty strong { color:#55617d; font-size:14.3px; }.family-review-empty span { font-size:11.7px; }

.term-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:15px; }
.term-grid>section { min-height:184px; padding:20px; }
.term-card { display:grid; grid-template-columns:58px 1fr auto; grid-template-rows:1fr auto; align-items:center; gap:0 15px; }
.term-icon { width:56px; height:56px; grid-row:1; display:grid; place-items:center; border-radius:16px; background:#edf0ff; color:#5268ca; font-size:36.4px; }.term-card small { color:#8c95aa; font-size:11.7px; }.term-card h2 { margin:5px 0; font-size:26px; }.term-card p { margin:0; color:#7e88a5; font-size:13px; }.term-status { align-self:start; padding:5px 9px; border-radius:99px; background:#eaf7f1; color:#3f896f; font-size:11.7px; font-weight:750; }.term-card button { grid-column:1/4; margin-top:17px; }
.safety-card h2,.audit-card h2 { margin:0; font-size:20.8px; }.safety-card>p { min-height:43px; margin:9px 0 18px; color:#808aa5; font-size:13px; line-height:1.7; }.safety-card>div { display:flex; gap:9px; }.safety-card button,.archive-card>button { height:37px; flex:1; border:1px solid #dfe3ef; border-radius:9px; background:#fff; color:#5264af; font-size:13px; font-weight:750; cursor:pointer; }
.archive-card>div:first-child { display:flex; align-items:center; gap:12px; }.archive-card>div:first-child>i { width:43px; height:43px; display:grid; place-items:center; border-radius:13px; background:#fff1df; color:#c8821c; font-size:29.9px; }.archive-card strong,.archive-card small { display:block; }.archive-card small { margin-top:4px; color:#8c95aa; font-size:11.7px; }.archive-card ul { display:grid; gap:8px; margin:17px 0; padding:0; list-style:none; color:#68738f; font-size:13px; }.archive-card li { display:flex; align-items:center; gap:7px; }.archive-card li i { color:#4e967b; }.archive-card li:last-child i { color:#d28d24; }
.audit-card>div { display:grid; grid-template-columns:78px 1fr; align-items:center; min-height:40px; border-bottom:1px solid #edf0f5; }.audit-card>div:last-child { border:0; }.audit-card span { color:#8e97ad; font-size:11.7px; }.audit-card p { margin:0; color:#56617f; font-size:13px; }

.modal-backdrop { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:24px; background:rgba(24,31,65,.38); backdrop-filter:blur(3px); }
.modal-card { width:min(510px,calc(100vw - 48px)); max-height:calc(100vh - 48px); overflow:auto; position:relative; padding:25px; border:1px solid rgba(255,255,255,.7); border-radius:19px; background:#fff; box-shadow:0 24px 70px rgba(26,34,73,.26); animation:modal-in .18s ease-out; }
@keyframes modal-in { from { opacity:0; transform:translateY(8px) scale(.98); } }
.modal-close { position:absolute; right:16px; top:16px; width:32px; height:32px; border:0; border-radius:50%; background:#f1f3f8; color:#7b86a5; cursor:pointer; }
.modal-heading { display:flex; align-items:center; gap:13px; padding-right:30px; }.modal-heading>span { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:#edf0ff; color:#5269cc; font-size:29.9px; }.modal-heading small { color:#8a93ab; font-size:11.7px; }.modal-heading h2 { margin:3px 0 4px; font-size:24.7px; }.modal-heading p { margin:0; color:#838da8; font-size:13px; }
.modal-form { display:grid; gap:14px; margin-top:22px; }.modal-form label { display:grid; gap:7px; color:#59647f; font-size:13px; font-weight:700; }.modal-form input,.modal-form select { width:100%; height:40px; padding:0 11px; border:1px solid #dfe3ed; border-radius:9px; outline:0; background:#fff; color:var(--ink); }.modal-form input:focus,.modal-form select:focus { border-color:#7184df; box-shadow:0 0 0 3px rgba(91,112,217,.1); }.form-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.form-columns.three{grid-template-columns:repeat(3,1fr)}
.modal-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:22px; }.modal-actions .page-primary,.modal-actions .secondary-action { min-width:100px; }
.modal-spacer { flex:1; }.danger-action { height:38px; display:inline-flex; align-items:center; justify-content:center; padding:0 14px; border:1px solid #efc9c9; border-radius:10px; background:#fff5f5; color:#b85151; font-weight:750; cursor:pointer; }.modal-heading.danger>span { color:#b85151; background:#fff0f0; }
.import-label { display:grid; gap:7px; margin-top:22px; color:#59647f; font-size:13px; font-weight:700; }.import-label textarea { width:100%; height:150px; resize:vertical; padding:12px; border:1px solid #dfe3ed; border-radius:10px; outline:0; color:var(--ink); line-height:1.65; }.import-label textarea:focus { border-color:#7184df; box-shadow:0 0 0 3px rgba(91,112,217,.1); }.import-helper { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }.import-helper label,.import-helper button { height:34px; display:flex; align-items:center; gap:6px; padding:0 10px; border:1px solid #dfe3ed; border-radius:8px; background:#fff; color:#5668b4; font-size:11.7px; font-weight:750; cursor:pointer; }.import-helper label { position:relative; }.import-helper input { position:absolute; inset:0; opacity:0; cursor:pointer; }.range-value { float:right; color:#5268c5; font-weight:800; }.modal-form input[type="range"] { padding:0; accent-color:#5a70d7; box-shadow:none; }
.upload-zone { min-height:178px; display:grid; place-items:center; align-content:center; gap:6px; position:relative; margin-top:22px; border:1.5px dashed #cfd6eb; border-radius:13px; background:#f8f9fd; color:#7f89a6; }.upload-zone>i { color:#5a70cf; font-size:44.2px; }.upload-zone strong { color:#344575; font-size:15.6px; }.upload-zone span { font-size:11.7px; }.upload-zone input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.invite-code { display:grid; gap:7px; margin-top:22px; padding:18px; border:1px solid #dce2f6; border-radius:13px; background:linear-gradient(135deg,#f7f8ff,#eef2ff); text-align:center; }.invite-code small { color:#7f89a4; font-size:11.7px; }.invite-code strong { color:#314aa0; font-size:39px; letter-spacing:3px; }.invite-code span { color:#7380a3; font-size:13px; }.permission-preview { margin-top:13px; padding:14px; border-radius:11px; background:#f7f8fb; }.permission-preview strong { font-size:14.3px; }.permission-preview p { margin:6px 0 0; color:#7c86a0; font-size:11.7px; line-height:1.6; }
.inline-check { display:flex!important; grid-template-columns:none!important; align-items:center; gap:8px!important; }.inline-check input { width:16px!important; height:16px!important; accent-color:#5a70d7; }
.activity-fieldset { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; margin:0; padding:0; border:0; }.activity-fieldset legend { margin-bottom:8px; color:#59647f; font-size:13px; font-weight:700; }.activity-fieldset label { display:flex; align-items:center; justify-content:center; gap:5px; min-height:38px; border:1px solid #e0e4ef; border-radius:9px; background:#fafbfe; cursor:pointer; }.activity-fieldset input { width:14px!important; height:14px!important; accent-color:#5a70d7; }.permission-warning { display:flex; align-items:center; gap:8px; padding:10px; border-radius:9px; background:#f1f4ff; color:#647198; font-size:11.7px; }.permission-warning i { color:#5167c2; font-size:20.8px; }
.notification-list { display:grid; gap:2px; max-height:420px; overflow:auto; margin-top:20px; }.notification-list article { min-height:75px; display:grid; grid-template-columns:38px 1fr 8px; align-items:center; gap:10px; padding:10px 4px; border-bottom:1px solid #edf0f5; }.notification-list article.read { opacity:.62; }.notification-list article>span { width:37px; height:37px; display:grid; place-items:center; border-radius:11px; background:#edf0ff; color:#5268c8; font-size:23.4px; }.notification-list strong { font-size:14.3px; }.notification-list p { margin:4px 0; color:#737e9a; font-size:11.7px; }.notification-list small { color:#9aa1b3; font-size:10.4px; }.notification-dot { width:7px; height:7px; border-radius:50%; background:#e48b1c; }
.report-picker { display:grid; gap:7px; margin-top:20px; color:#59647f; font-size:clamp(14px,.9vw,16px); font-weight:750; }.report-picker select { height:40px; padding:0 11px; border:1px solid #dfe3ed; border-radius:9px; background:#fff; color:var(--ink); }.student-report { margin-top:12px; padding:15px; border:1px solid #e2e6f1; border-radius:14px; background:#fbfbfe; }.report-identity { display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:11px; }.report-identity>span { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:linear-gradient(145deg,#7184ed,#4258bc); color:#fff; font-size:23.4px; font-weight:850; }.report-identity small { color:#8d96ad; font-size:clamp(14px,.9vw,16px); }.report-identity h3 { margin:3px 0; font-size:20.8px; }.report-identity p { margin:0; color:#7c87a2; font-size:clamp(14px,.9vw,16px); }.report-identity>strong { color:#3f57b2; font-size:28.6px; text-align:right; }.report-identity>strong small { display:block; font-size:clamp(14px,.9vw,16px); font-weight:600; }.report-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:14px 0; }.report-stats article { padding:10px; border-radius:9px; background:#fff; text-align:center; }.report-stats b,.report-stats span { display:block; }.report-stats b { color:#4058b4; font-size:19.5px; }.report-stats span { margin-top:3px; color:#8b94aa; font-size:clamp(14px,.9vw,16px); }.report-dimensions { display:grid; gap:7px; }.report-dimensions>div { display:grid; grid-template-columns:35px 1fr 20px; align-items:center; gap:8px; color:#74809e; font-size:clamp(14px,.9vw,16px); }.report-dimensions i { height:6px; overflow:hidden; border-radius:99px; background:#e5e8f2; }.report-dimensions i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#5b72df,#8b8ff0); }.report-comment { display:flex; gap:8px; margin-top:13px; padding:10px; border-radius:9px; background:#eef2ff; color:#5b6790; }.report-comment i { color:#d2952d; }.report-comment p { margin:0; font-size:clamp(14px,.9vw,16px); line-height:1.55; }

/* Classroom display */
.board-mode { min-height:100vh; padding:0; color:#fff; background:radial-gradient(circle at 82% 12%,rgba(121,148,255,.35),transparent 28%),linear-gradient(145deg,#121f55,#243a83 54%,#111d4b); font-family:Inter,"PingFang SC",sans-serif; }
.board-header { height:92px; display:grid; grid-template-columns:1fr auto 170px; align-items:center; gap:28px; padding:0 42px; border-bottom:1px solid rgba(255,255,255,.13); background:rgba(10,20,55,.38); }.board-brand { display:flex; align-items:center; gap:14px; }.board-brand img { width:55px; height:55px; object-fit:contain; filter:drop-shadow(0 8px 12px rgba(0,0,0,.25)); }.board-brand strong,.board-brand small { display:block; }.board-brand strong { font-family:"STKaiti","KaiTi",serif; font-size:28.6px; }.board-brand small { margin-top:4px; color:#b8c3e8; font-size:13px; }.board-clock { text-align:right; }.board-clock strong,.board-clock span { display:block; }.board-clock strong { font-size:32.5px; font-variant-numeric:tabular-nums; }.board-clock span { margin-top:3px; color:#b8c3e8; font-size:11.7px; }.board-header>button { height:40px; border:1px solid rgba(255,255,255,.28); border-radius:10px; background:rgba(255,255,255,.08); color:#fff; cursor:pointer; }
.board-stage { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(330px,.8fr); grid-template-rows:minmax(360px,1fr) 220px; gap:18px; min-height:calc(100vh - 184px); padding:24px 34px 18px; }.board-quest { min-height:360px; display:grid; grid-template-columns:1fr 220px; align-items:center; gap:20px; padding:48px; overflow:hidden; border:1px solid rgba(255,255,255,.18); border-radius:25px; background-image:linear-gradient(90deg,rgba(24,39,96,.9),rgba(43,61,133,.48)),url("./assets/quest-banner.webp"); background-size:cover; box-shadow:0 22px 55px rgba(4,10,34,.25); }.board-quest-copy>span { color:#f2c87a; font-size:15.6px; letter-spacing:2px; }.board-quest h1 { margin:12px 0 9px; font-family:"STKaiti","KaiTi",serif; font-size:55.9px; }.board-quest p { margin:0 0 30px; color:#d0d8f3; font-size:19.5px; }.board-progress { height:14px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.16); }.board-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#f1b94c,#ffda77); }.board-progress-meta { display:flex; justify-content:space-between; margin-top:12px; color:#ced7f2; font-size:14.3px; }.board-energy { --progress:244deg; width:190px; height:190px; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; border-radius:50%; background:radial-gradient(circle,#1d2d6c 61%,transparent 63%),conic-gradient(#f2b94d 0 var(--progress),rgba(255,255,255,.15) var(--progress)); box-shadow:0 0 52px rgba(129,153,255,.35); }.board-energy img { width:62px; height:62px; object-fit:contain; }.board-energy strong { margin-top:-4px; font-size:40.3px; }.board-energy span { color:#c3cdec; font-size:13px; }
.board-side { display:grid; grid-template-rows:1fr 150px; gap:18px; }.board-spotlight,.board-timer,.board-activity { border:1px solid rgba(255,255,255,.16); border-radius:22px; background:rgba(255,255,255,.08); box-shadow:0 18px 42px rgba(3,10,38,.18); }.board-spotlight { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }.board-spotlight>i { color:#f2bd59; font-size:59.8px; }.board-spotlight small { margin-top:9px; color:#aebbe3; letter-spacing:1px; }.board-spotlight h2 { margin:8px 20px; font-size:26px; }.board-spotlight p { margin:0; color:#b9c4e5; font-size:14.3px; }.board-spotlight.revealing { animation:board-pulse .42s ease; }.board-student-avatar { width:70px; height:70px; display:grid; place-items:center; border-radius:22px; background:linear-gradient(145deg,#f4c35e,#de8f22); font-size:36.4px; font-weight:900; box-shadow:0 12px 28px rgba(230,157,40,.25); }@keyframes board-pulse{50%{transform:scale(.96);opacity:.65}}
.board-timer { display:grid; grid-template-columns:1fr auto; align-content:center; gap:8px 15px; padding:18px 21px; }.board-timer small { color:#b5c0e2; }.board-timer>strong { grid-row:1/3; font-size:48.1px; font-variant-numeric:tabular-nums; }.board-timer>div { display:flex; gap:5px; }.board-timer button { padding:5px 8px; border:1px solid rgba(255,255,255,.15); border-radius:7px; background:transparent; color:#b7c2e4; font-size:10.4px; cursor:pointer; }.board-timer button.active { color:#fff; background:rgba(255,255,255,.16); }
.board-activity { grid-column:1/3; display:grid; grid-template-columns:255px 1fr; align-items:center; gap:20px; padding:24px 30px; }.board-activity small { color:#f0bf64; font-size:13px; letter-spacing:1px; }.board-activity h2 { margin:8px 0 0; font-size:26px; }.board-event-list { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }.board-event-list article { min-height:92px; display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:9px; padding:13px; border-radius:14px; background:rgba(255,255,255,.09); }.board-event-list article>span { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:rgba(255,255,255,.15); font-weight:800; }.board-event-list strong,.board-event-list small { display:block; }.board-event-list strong { font-size:15.6px; }.board-event-list small { margin-top:4px; color:#b8c3e4; font-size:10.4px; }.board-event-list b { color:#f4c463; font-size:22.1px; }
.board-controls { height:92px; display:flex; align-items:center; justify-content:center; gap:12px; border-top:1px solid rgba(255,255,255,.13); background:rgba(7,15,43,.42); }.board-controls button { min-width:150px; height:46px; border:1px solid rgba(255,255,255,.2); border-radius:12px; background:rgba(255,255,255,.1); color:#fff; font-weight:750; cursor:pointer; }.board-controls button:first-child { border:0; background:linear-gradient(180deg,#f2b74d,#dd8d1d); box-shadow:0 9px 22px rgba(220,139,27,.25); }.board-controls i { margin-right:7px; }

@media (max-width: 1320px) {
  .nav-item { padding:0 8px; }.student-grid { gap:9px; }.student-card { padding-left:9px; padding-right:9px; }.life-energy { transform:scale(.92); margin-left:auto; margin-right:auto; }.teacher-name { display:none; }.group-summary { grid-template-columns:repeat(2,1fr); }
}

/* Family mobile preview */
.family-mode { min-height:100vh; padding:28px; background:radial-gradient(circle at 18% 12%,rgba(130,150,236,.22),transparent 28%),radial-gradient(circle at 84% 82%,rgba(235,180,87,.15),transparent 25%),#edf0f8; color:#283252; }
.family-phone { width:min(452px,100%); min-height:calc(100vh - 56px); position:relative; margin:0 auto; overflow:hidden; border:1px solid rgba(255,255,255,.9); border-radius:30px; background:#f7f8fc; box-shadow:0 28px 75px rgba(33,44,91,.2); }
.family-app-header { height:72px; display:flex; align-items:center; justify-content:space-between; padding:0 20px; border-bottom:1px solid #e6e9f2; background:rgba(255,255,255,.9); backdrop-filter:blur(12px); }
.family-brand { display:flex; align-items:center; gap:10px; }.family-brand img { width:38px; height:38px; object-fit:contain; }.family-brand strong,.family-brand small { display:block; }.family-brand strong { font-family:"STKaiti","KaiTi",serif; font-size:22.1px; }.family-brand small { margin-top:2px; color:#929ab0; font-size:10.4px; }
.family-app-header>button { height:32px; padding:0 10px; border:1px solid #dde2ef; border-radius:9px; background:#fff; color:#647091; font-size:11.7px; font-weight:700; cursor:pointer; }.family-app-header>button i { margin-right:4px; }
.family-content { padding:22px 18px 92px; }.family-greeting p { margin:0; color:#6170aa; font-size:13px; font-weight:750; }.family-greeting h1 { margin:6px 0; font-family:"STKaiti","KaiTi",serif; font-size:32.5px; letter-spacing:.5px; }.family-greeting>span { color:#8b94aa; font-size:11.7px; }
.family-child-card { margin-top:18px; padding:19px; border:1px solid rgba(255,255,255,.55); border-radius:20px; background:linear-gradient(135deg,#344b9c,#536cc7 58%,#6f79ce); color:#fff; box-shadow:0 14px 30px rgba(62,81,160,.2); }.family-child-top { display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:11px; }.family-avatar { width:48px; height:48px; display:grid; place-items:center; border-radius:15px; background:rgba(255,255,255,.17); font-size:24.7px; font-weight:850; }.family-child-top small { color:#d5dcf8; font-size:10.4px; }.family-child-top h2 { margin:3px 0; font-size:22.1px; }.family-child-top h2 b { margin-left:4px; padding:3px 6px; border-radius:99px; background:rgba(255,255,255,.17); color:#f7d486; font-size:10.4px; }.family-child-top p { max-width:220px; margin:0; overflow:hidden; color:#cbd4f3; font-size:10.4px; white-space:nowrap; text-overflow:ellipsis; }.family-child-top>strong { color:#f7d486; font-size:29.9px; text-align:right; }.family-child-top>strong small { display:block; color:#d6def7; font-size:9.1px; font-weight:500; }.family-progress-meta { display:flex; justify-content:space-between; margin:17px 0 7px; color:#dae0f7; font-size:10.4px; }.family-progress { height:7px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.17); }.family-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#f2b549,#ffd978); }
.family-quota { min-height:78px; display:flex; align-items:center; justify-content:space-between; margin:12px 0 20px; padding:0 18px; border:1px solid #e4e7f0; border-radius:16px; background:#fff; box-shadow:0 8px 20px rgba(47,58,101,.05); }.family-quota>div { display:flex; align-items:center; gap:11px; }.family-quota>div>span { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:#fff3df; color:#d58a20; font-size:23.4px; }.family-quota small,.family-quota strong { display:block; }.family-quota small { color:#929ab0; font-size:10.4px; }.family-quota strong { margin-top:3px; color:#384568; font-size:14.3px; }.family-quota>b { color:#4d63ba; font-size:27.3px; }.family-quota>b small { display:inline; color:#919aaf; font-size:13px; }
.family-section { margin-top:20px; }.family-section-title { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:11px; }.family-section-title h2 { margin:0; font-size:19.5px; }.family-section-title p { margin:4px 0 0; color:#9299ac; font-size:10.4px; }.family-section-title>span { padding:5px 8px; border-radius:99px; background:#edf0fc; color:#5d6fba; font-size:10.4px; font-weight:750; }
.family-action-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }.family-action-grid>button { min-height:69px; display:grid; grid-template-columns:39px 1fr 18px; align-items:center; gap:9px; padding:11px; border:1px solid #e2e6f0; border-radius:15px; background:#fff; color:#36415f; text-align:left; box-shadow:0 7px 17px rgba(45,56,98,.04); cursor:pointer; transition:.18s ease; }.family-action-grid>button:hover { transform:translateY(-2px); border-color:#cdd5f1; box-shadow:0 10px 23px rgba(45,56,98,.08); }.family-action-grid>button:disabled { opacity:.5; cursor:not-allowed; transform:none; }.family-action-grid>button>i { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:#edf1ff; color:#5368c3; font-size:23.4px; }.family-action-grid>button.amber>i { color:#c98420; background:#fff2df; }.family-action-grid>button.green>i { color:#438c70; background:#eaf7f1; }.family-action-grid>button.violet>i { color:#775dbc; background:#f0ecfb; }.family-action-grid>button.teal>i { color:#397e86; background:#e8f5f5; }.family-action-grid strong,.family-action-grid small { display:block; }.family-action-grid strong { font-size:14.3px; }.family-action-grid small { margin-top:4px; color:#9199ae; font-size:10.4px; }.family-action-grid>button>b { color:#a2a9bb; font-size:14.3px; }
.family-history .family-section-title>button { width:30px; height:30px; border:1px solid #e1e5ef; border-radius:9px; background:#fff; color:#6170ad; cursor:pointer; }.family-history-list { overflow:hidden; border:1px solid #e2e6f0; border-radius:16px; background:#fff; }.family-history-list article { min-height:86px; display:grid; grid-template-columns:36px 1fr auto; align-items:center; gap:10px; padding:12px 13px; border-bottom:1px solid #eef0f5; }.family-history-list article:last-child { border:0; }.history-icon { width:35px; height:35px; display:grid; place-items:center; border-radius:11px; background:#eef1fb; color:#5b6db4; }.family-history-list strong { font-size:13px; }.family-history-list p { max-width:210px; margin:4px 0; overflow:hidden; color:#6f7891; font-size:10.4px; white-space:nowrap; text-overflow:ellipsis; }.family-history-list small { color:#a0a6b7; font-size:9.1px; }.family-history-list article>b { display:flex; align-items:center; gap:3px; padding:5px 7px; border-radius:99px; font-size:9.1px; white-space:nowrap; }.family-history-list article>b.pending { color:#ac711f; background:#fff3df; }.family-history-list article>b.approved { color:#3f816a; background:#eaf7f1; }.family-history-list article>b.rejected { color:#9a5e66; background:#fff0f1; }.family-history-empty { min-height:120px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#929aaf; }.family-history-empty i { font-size:32.5px; }.family-history-empty strong { margin-top:7px; color:#59647e; font-size:13px; }.family-history-empty span { margin-top:3px; font-size:10.4px; }
.family-bottom-nav { width:100%; height:70px; display:grid; grid-template-columns:repeat(4,1fr); position:absolute; bottom:0; left:0; border-top:1px solid #e5e8f0; background:rgba(255,255,255,.94); backdrop-filter:blur(14px); }.family-bottom-nav button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; border:0; background:transparent; color:#9aa1b4; font-size:9.1px; }.family-bottom-nav i { font-size:24.7px; }.family-bottom-nav button.active { color:#5065bd; }
.family-modal-heading>span { color:#c48124; background:#fff2df; }.modal-form textarea { min-height:102px; padding:11px; resize:vertical; border:1px solid #dfe3ed; border-radius:9px; outline:0; color:var(--ink); font:inherit; line-height:1.6; }.modal-form textarea:focus { border-color:#7184df; box-shadow:0 0 0 3px rgba(91,112,217,.1); }.family-upload { position:relative; }.family-upload>input { position:absolute; inset:22px 0 0; height:auto; opacity:0; cursor:pointer; }.family-upload>em { min-height:72px; display:flex; align-items:center; gap:10px; padding:13px; border:1px dashed #ccd3e6; border-radius:11px; background:#f8f9fc; color:#6371a4; font-style:normal; }.family-upload>em>i { font-size:28.6px; }.family-upload b,.family-upload small { display:block; }.family-upload b { font-size:13px; }.family-upload small { margin-top:3px; color:#969db0; font-size:10.4px; font-weight:500; }

@media (max-width: 560px) {
  .family-mode { padding:0; background:#f7f8fc; }.family-phone { min-height:100vh; border:0; border-radius:0; box-shadow:none; }.family-content { padding-left:15px; padding-right:15px; }.family-app-header { padding:0 15px; }.family-app-header>button { width:32px; padding:0; font-size:0; }.family-app-header>button i { margin:0; font-size:18.2px; }
}

/* Student mobile preview */
.student-mode { min-height:100vh; padding:28px; background:radial-gradient(circle at 14% 18%,rgba(71,94,180,.2),transparent 27%),radial-gradient(circle at 86% 76%,rgba(231,170,64,.14),transparent 25%),#e9edf7; color:#253050; }
.student-phone { width:min(452px,100%); min-height:calc(100vh - 56px); position:relative; margin:0 auto; overflow:hidden; border:1px solid rgba(255,255,255,.9); border-radius:30px; background:#f5f7fc; box-shadow:0 28px 75px rgba(31,42,88,.22); }
.student-app-header { height:72px; display:flex; align-items:center; justify-content:space-between; padding:0 20px; border-bottom:1px solid #e4e8f1; background:rgba(255,255,255,.92); backdrop-filter:blur(12px); }.student-brand { display:flex; align-items:center; gap:10px; }.student-brand img { width:38px; height:38px; object-fit:contain; }.student-brand strong,.student-brand small { display:block; }.student-brand strong { font-family:"STKaiti","KaiTi",serif; font-size:22.1px; }.student-brand small { margin-top:2px; color:#929aaf; font-size:10.4px; }.student-app-header>button { height:32px; padding:0 10px; border:1px solid #dce1ee; border-radius:9px; background:#fff; color:#637093; font-size:11.7px; font-weight:700; cursor:pointer; }.student-app-header>button i { margin-right:4px; }
.student-content { padding:22px 18px 92px; }.student-welcome { display:flex; align-items:flex-start; justify-content:space-between; }.student-welcome p { margin:0; color:#5d6fb0; font-size:13px; font-weight:750; }.student-welcome h1 { margin:6px 0; font-family:"STKaiti","KaiTi",serif; font-size:32.5px; }.student-welcome>div>span { color:#8b94aa; font-size:11.7px; }.student-level { padding:6px 9px; border-radius:99px; background:#fff0d9; color:#c87e18; font-size:11.7px; font-weight:850; }
.student-hero-card { min-height:178px; display:grid; grid-template-columns:82px 1fr auto; align-items:center; gap:14px; margin-top:18px; padding:19px; overflow:hidden; border:1px solid rgba(255,255,255,.3); border-radius:21px; background:linear-gradient(135deg,#1f326f,#354e9f 57%,#5b66ba); color:#fff; box-shadow:0 15px 32px rgba(44,63,136,.23); }.student-companion-mark { width:78px; height:112px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.14); border-radius:18px; background:rgba(255,255,255,.08); }.student-companion-mark img { width:59px; height:59px; object-fit:contain; filter:drop-shadow(0 8px 12px rgba(5,11,39,.24)); }.student-companion-mark span { margin-top:5px; color:#cbd4f2; font-size:9.1px; }.student-hero-copy>small { color:#f0c974; font-size:10.4px; }.student-hero-copy h2 { margin:5px 0; font-size:20.8px; }.student-hero-copy p { max-width:190px; margin:0 0 18px; overflow:hidden; color:#c9d2ef; font-size:10.4px; white-space:nowrap; text-overflow:ellipsis; }.student-hero-copy>div { display:flex; justify-content:space-between; color:#d6ddf4; font-size:9.1px; }.student-hero-copy>div b { color:#f5d177; }.student-hero-copy .student-progress { height:6px; display:block; margin-top:6px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.15); }.student-progress i { display:block; height:100%; border-radius:inherit; background:#f0bd55; }.student-hero-card>strong { align-self:start; color:#f6d071; font-size:27.3px; text-align:right; }.student-hero-card>strong small { display:block; color:#cad3f0; font-size:9.1px; font-weight:500; }
.student-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin:12px 0 21px; }.student-stats article { min-height:78px; display:grid; grid-template-columns:26px 1fr; align-content:center; align-items:center; gap:2px 7px; padding:11px; border:1px solid #e1e5ef; border-radius:15px; background:#fff; box-shadow:0 7px 17px rgba(44,55,96,.04); }.student-stats i { grid-row:1/3; color:#5d70bc; font-size:26px; }.student-stats strong { font-size:20.8px; }.student-stats span { color:#929aaf; font-size:9.1px; }
.student-section { margin-top:20px; }.student-section-title { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:11px; }.student-section-title h2 { margin:0; font-size:19.5px; }.student-section-title p { margin:4px 0 0; color:#9299ac; font-size:10.4px; }.student-section-title>b,.student-section-title>span { padding:5px 8px; border-radius:99px; background:#edf0fc; color:#5d6fba; font-size:10.4px; }.student-section-title>button { height:29px; padding:0 10px; border:0; border-radius:9px; background:#5067bf; color:#fff; font-size:10.4px; font-weight:750; cursor:pointer; }
.student-goal-list { display:grid; gap:8px; }.student-goal-list>button { min-height:64px; display:grid; grid-template-columns:38px 1fr 24px; align-items:center; gap:10px; padding:10px 13px; border:1px solid #e1e5ef; border-radius:15px; background:#fff; color:#35405f; text-align:left; cursor:pointer; }.student-goal-list>button>i { width:37px; height:37px; display:grid; place-items:center; border-radius:12px; background:#edf1ff; color:#566bc1; font-size:22.1px; }.student-goal-list strong,.student-goal-list small { display:block; }.student-goal-list strong { font-size:13px; }.student-goal-list small { margin-top:4px; color:#959daf; font-size:10.4px; }.student-goal-list>button>b { color:#bbc1cf; font-size:20.8px; }.student-goal-list>button.done { border-color:#cde8dd; background:#f7fcfa; }.student-goal-list>button.done>i { color:#42896d; background:#e9f6f0; }.student-goal-list>button.done>b { color:#42896d; }
.student-mission { min-height:105px; display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:12px; padding:15px; border:1px solid #e1e5ef; border-radius:16px; background:#fff; }.student-mission>i { width:47px; height:47px; display:grid; place-items:center; border-radius:14px; background:#fff1df; color:#ca811d; font-size:28.6px; }.student-mission small,.student-mission strong,.student-mission p { display:block; }.student-mission small { color:#9a8b70; font-size:9.1px; }.student-mission strong { margin-top:3px; font-size:14.3px; }.student-mission p { margin:4px 0 9px; color:#8b94aa; font-size:9.1px; }.student-mission>div>div { height:5px; overflow:hidden; border-radius:99px; background:#e9ecf3; }.student-mission>div>div i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#dfa03d,#f1c466); }.student-mission>b { color:#c68120; font-size:18.2px; }
.student-submission-list { overflow:hidden; border:1px solid #e1e5ef; border-radius:16px; background:#fff; }.student-submission-list article { min-height:86px; display:grid; grid-template-columns:36px 1fr auto; align-items:center; gap:10px; padding:12px 13px; border-bottom:1px solid #eef0f5; }.student-submission-list article:last-child { border:0; }.student-submission-list article>span { width:35px; height:35px; display:grid; place-items:center; border-radius:11px; background:#eef1fb; color:#5b6db4; }.student-submission-list strong { font-size:13px; }.student-submission-list p { max-width:195px; margin:4px 0; overflow:hidden; color:#707a93; font-size:10.4px; white-space:nowrap; text-overflow:ellipsis; }.student-submission-list small { color:#a0a6b7; font-size:9.1px; }.student-submission-list article>b { display:flex; align-items:center; gap:3px; padding:5px 7px; border-radius:99px; font-size:9.1px; white-space:nowrap; }.student-submission-list article>b.pending { color:#a86e1c; background:#fff3df; }.student-submission-list article>b.approved { color:#3e8169; background:#eaf7f1; }.student-submission-list article>b.rejected { color:#9a5e66; background:#fff0f1; }.student-empty { min-height:120px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#929aaf; }.student-empty i { font-size:32.5px; }.student-empty strong { margin-top:7px; color:#59647e; font-size:13px; }.student-empty span { max-width:250px; margin-top:4px; font-size:10.4px; line-height:1.5; text-align:center; }
.student-bottom-nav { width:100%; height:70px; display:grid; grid-template-columns:repeat(4,1fr); position:absolute; bottom:0; left:0; border-top:1px solid #e5e8f0; background:rgba(255,255,255,.95); backdrop-filter:blur(14px); }.student-bottom-nav button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; border:0; background:transparent; color:#9aa1b4; font-size:9.1px; }.student-bottom-nav i { font-size:24.7px; }.student-bottom-nav button.active { color:#5065bd; }.student-modal-heading>span { color:#5369c5; background:#edf1ff; }
.parent-confirm-list { display:grid; gap:8px; }.parent-confirm-list article { min-height:105px; display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:10px; padding:12px; border:1px solid #e0e5ef; border-radius:15px; background:#fff; }.parent-confirm-list article>span { width:37px; height:37px; display:grid; place-items:center; border-radius:12px; color:#5b6fbd; background:#edf1ff; }.parent-confirm-list strong { font-size:13px; }.parent-confirm-list strong b { color:#d4871e; }.parent-confirm-list p { max-width:200px; margin:5px 0; overflow:hidden; color:#707a93; font-size:10.4px; white-space:nowrap; text-overflow:ellipsis; }.parent-confirm-list small { color:#9ba2b4; font-size:9.1px; }.parent-confirm-list article>div:last-child { display:flex; gap:5px; }.parent-confirm-list button { height:29px; padding:0 8px; border:1px solid #e0e3eb; border-radius:8px; background:#fff; color:#78829d; font-size:9.1px; font-weight:750; cursor:pointer; }.parent-confirm-list button:last-child { border:0; background:#edf1ff; color:#5267bd; }

@media (max-width:560px) {
  body { min-width:0; }
  .student-mode { padding:0; background:#f5f7fc; }.student-phone { min-height:100vh; border:0; border-radius:0; box-shadow:none; }.student-content { padding-left:15px; padding-right:15px; }.student-app-header { padding:0 15px; }.student-app-header>button { width:32px; padding:0; font-size:0; }.student-app-header>button i { margin:0; font-size:18.2px; }
}

.mentor-visual.jade{background:linear-gradient(145deg,#d7f2e5,#5d9f8b)}
.mentor-visual.crimson{background:linear-gradient(145deg,#d96f68,#682b37)}
.mentor-visual.navy{background:linear-gradient(145deg,#6375a4,#1f2946)}
.mentor-visual.bronze{background:linear-gradient(145deg,#d4a45e,#5e3426)}
.mentor-tile.locked .mentor-visual{filter:saturate(.75);opacity:.84}
.mentor-visual{display:block;overflow:hidden}
.mentor-visual img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.mentor-visual.cinematic img{object-fit:cover;object-position:center 7%}

/* Role gateway */
.role-switch { height:38px; padding:0 12px; border:1px solid #dfe3ef; border-radius:11px; background:#fff; color:#5e6c96; font-size:13px; font-weight:750; cursor:pointer; }.role-switch i { margin-right:5px; }
.login-mode { min-height:100vh; display:grid; place-items:center; padding:38px; background:radial-gradient(circle at 16% 16%,rgba(89,111,204,.2),transparent 29%),radial-gradient(circle at 88% 82%,rgba(232,171,62,.15),transparent 24%),#edf0f8; }
#loginContent { width:min(1060px,100%); min-height:680px; display:grid; grid-template-columns:1.08fr .92fr; overflow:hidden; border:1px solid rgba(255,255,255,.85); border-radius:28px; background:#fff; box-shadow:0 30px 90px rgba(31,41,83,.2); }
.login-visual { min-height:680px; display:flex; flex-direction:column; position:relative; overflow:hidden; padding:42px; color:#fff; background-image:linear-gradient(180deg,rgba(17,31,78,.36),rgba(16,27,67,.88)),url("./assets/academy-banner.webp"); background-size:cover; background-position:center; }.login-visual::after { content:""; position:absolute; inset:auto -100px -130px 80px; height:330px; border-radius:50%; background:rgba(92,116,207,.22); filter:blur(10px); pointer-events:none; }.login-brand { display:flex; align-items:center; gap:12px; position:relative; z-index:1; }.login-brand img { width:55px; height:55px; object-fit:contain; filter:drop-shadow(0 8px 15px rgba(0,0,0,.24)); }.login-brand strong,.login-brand small { display:block; }.login-brand strong { font-family:"STKaiti","KaiTi",serif; font-size:29.9px; }.login-brand small { margin-top:3px; color:#d4daf2; font-size:11.7px; letter-spacing:1px; }.login-visual-copy { max-width:410px; position:relative; z-index:1; margin:auto 0; }.login-visual-copy p { margin:0; color:#f2c974; font-size:14.3px; font-weight:750; letter-spacing:2px; }.login-visual-copy h1 { margin:15px 0 16px; font-family:"STKaiti","KaiTi",serif; font-size:62.4px; line-height:1.18; letter-spacing:2px; }.login-visual-copy>span { color:#d7def4; font-size:16.9px; line-height:1.8; }.login-trust { display:flex; align-items:center; gap:11px; position:relative; z-index:1; padding:14px 16px; border:1px solid rgba(255,255,255,.17); border-radius:14px; background:rgba(255,255,255,.09); backdrop-filter:blur(8px); }.login-trust>i { color:#f1c66d; font-size:29.9px; }.login-trust strong,.login-trust small { display:block; }.login-trust strong { font-size:14.3px; }.login-trust small { margin-top:3px; color:#c7d0ed; font-size:10.4px; }
.login-panel { display:grid; place-items:center; padding:38px 50px; }.login-panel-inner { width:100%; max-width:380px; }.login-eyebrow { color:#5b6db3; font-size:13px; font-weight:800; letter-spacing:1px; }.login-panel h2 { margin:7px 0 6px; color:#253258; font-size:35.1px; }.login-panel-inner>p { margin:0; color:#8a93aa; font-size:13px; }.role-choice { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:24px 0 17px; }.role-choice>button { min-height:82px; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; gap:5px; border:1px solid #e0e4ee; border-radius:14px; background:#fafbfe; color:#65708f; cursor:pointer; }.role-choice>button>i { font-size:28.6px; }.role-choice>button span strong,.role-choice>button span small { display:block; }.role-choice>button span strong { color:#3b4767; font-size:13px; }.role-choice>button span small { margin-top:2px; color:#98a0b2; font-size:9.1px; }.role-choice>button>b { position:absolute; top:7px; right:7px; color:#b5bdcf; font-size:15.6px; }.role-choice>button.active { border-color:#aebbf0; background:#f0f3ff; color:#5268c4; box-shadow:0 6px 16px rgba(70,88,166,.1); }.role-choice>button.active>b { color:#5268c4; }
.role-login-form { display:grid; gap:14px; padding:17px; border:1px solid #e2e6ef; border-radius:17px; background:#fff; box-shadow:0 10px 26px rgba(43,54,95,.06); }.selected-role-summary { display:grid; grid-template-columns:43px 1fr; align-items:center; gap:11px; }.selected-role-summary>span { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; background:#edf1ff; color:#5268c2; font-size:27.3px; }.selected-role-summary small,.selected-role-summary strong,.selected-role-summary p { display:block; }.selected-role-summary small { color:#9099ae; font-size:9.1px; }.selected-role-summary strong { margin-top:2px; color:#34415f; font-size:15.6px; }.selected-role-summary p { margin:3px 0 0; color:#858fa7; font-size:10.4px; }.role-login-form>label { display:grid; gap:6px; color:#59647f; font-size:11.7px; font-weight:750; }.role-login-form>label>div { height:42px; display:grid; grid-template-columns:35px 1fr; align-items:center; border:1px solid #dce1ec; border-radius:10px; }.role-login-form>label>div>i { color:#7c88ac; text-align:center; }.role-login-form input { height:38px; border:0; outline:0; background:transparent; color:#35436b; font-weight:800; letter-spacing:1px; }.demo-code { display:flex; gap:7px; padding:9px 10px; border-radius:9px; background:#f5f7fc; color:#7a849e; font-size:10.4px; line-height:1.5; }.demo-code i { color:#5a6ec0; margin-top:1px; }.demo-code b { color:#4b5eae; }.login-submit { height:43px; display:flex; align-items:center; justify-content:space-between; padding:0 15px 0 17px; border:0; border-radius:11px; background:linear-gradient(180deg,#e9a33b,#d9881f); color:#fff; font-size:14.3px; font-weight:800; box-shadow:0 9px 20px rgba(211,132,28,.22); cursor:pointer; }.login-boundary { display:flex; align-items:center; gap:9px; margin-top:15px; padding:0 4px; color:#7d87a0; }.login-boundary>i { color:#4f9278; font-size:23.4px; }.login-boundary strong,.login-boundary small { display:block; }.login-boundary strong { color:#59657f; font-size:11.7px; }.login-boundary small { margin-top:3px; font-size:10.4px; }
@media(max-width:760px){.login-mode{padding:0;background:#fff}.login-mode #loginContent{min-height:100vh;display:block;border:0;border-radius:0;box-shadow:none}.login-visual{min-height:240px;padding:24px;background-position:center 43%}.login-brand img{width:44px;height:44px}.login-visual-copy{margin:auto 0 0}.login-visual-copy p{font-size:11.7px}.login-visual-copy h1{margin:8px 0;font-size:40.3px}.login-visual-copy>span{font-size:11.7px}.login-trust{display:none}.login-panel{padding:28px 20px}.login-panel-inner{max-width:440px}.login-panel h2{font-size:29.9px}.role-choice{margin-top:20px}.role-choice>button{min-height:78px}.role-switch{display:none}}

.store-student-picker{display:grid;gap:4px;color:#7c86a0;font-size:10.4px;font-weight:750}.store-student-picker select{min-width:132px;height:42px;padding:0 10px;border:1px solid #dfe3ed;border-radius:10px;background:#fff;color:#36415f;font-weight:700}.rule-rewards{display:block;line-height:1.2}.rule-rewards small{display:block;margin-top:4px;color:#9299ad;font-size:9.1px;font-weight:650}
.family-resource-row{display:flex;gap:7px;margin-top:11px}.family-resource-row span{display:flex;align-items:center;gap:4px;padding:5px 8px;border-radius:99px;background:rgba(255,255,255,.14);color:#eef1ff;font-size:10.4px;font-weight:750}.family-resource-row i{color:#f6d277;font-size:15.6px}

.bond-panel{margin-top:18px;padding:14px;border:1px solid #dfe4f3;border-radius:14px;background:linear-gradient(135deg,#f5f7ff,#fbf9ff)}.bond-heading{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px}.bond-heading>span,.bond-panel.locked>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#ebeaff;color:#6d63c8;font-size:24.7px}.bond-heading small,.bond-heading strong{display:block}.bond-heading small{color:#8c94aa;font-size:10.4px}.bond-heading strong{margin-top:2px;color:#3e4e80;font-size:20.8px}.bond-heading strong em{color:#929ab0;font-size:10.4px;font-style:normal}.bond-heading>b{color:#7666c6;font-size:10.4px}.bond-track{height:7px;margin:10px 0;overflow:hidden;border-radius:99px;background:#e3e6f2}.bond-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6a74df,#bd84e5)}.bond-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.bond-actions button{min-height:62px;display:grid;grid-template-columns:26px 1fr;align-items:center;gap:6px;padding:8px;border:1px solid #e1e4ef;border-radius:10px;background:#fff;color:#5366b2;text-align:left;cursor:pointer}.bond-actions button>i{font-size:23.4px;text-align:center}.bond-actions strong,.bond-actions small{display:block}.bond-actions strong{color:#3f4b70;font-size:11.7px}.bond-actions small{margin-top:3px;color:#8b94aa;font-size:7.8px;line-height:1.35}.bond-actions button:disabled{opacity:.55;cursor:default}.bond-rule{display:flex;gap:5px;margin:9px 0 0;color:#8b93a8;font-size:9.1px;line-height:1.4}.bond-panel.locked{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:10px}.bond-panel.locked small,.bond-panel.locked strong{display:block}.bond-panel.locked small{color:#939bae;font-size:10.4px}.bond-panel.locked strong{margin:2px 0;color:#465273;font-size:13px}.bond-panel.locked p{margin:0;color:#8c95aa;font-size:9.1px}.student-companion-visual{width:88px;display:grid;place-items:center;gap:4px}.life-energy.student-energy{width:82px;height:82px;margin:0;box-shadow:0 8px 22px rgba(5,11,39,.25)}.student-companion-visual>span{max-width:88px;color:#d3daf2;font-size:9.1px;text-align:center;white-space:nowrap}

@media(max-width:540px){.bond-actions{grid-template-columns:1fr}.bond-actions button{min-height:48px}.family-resource-row{flex-wrap:wrap}}

.companion-tile.ready{border-color:#efbd66;box-shadow:0 9px 24px rgba(220,144,28,.12)}.companion-stage-visual{height:158px;display:grid;place-items:center;align-content:center;gap:3px;position:relative;overflow:hidden;border-radius:11px;background:radial-gradient(circle at 50% 42%,#fff 0,#f2f4ff 46%,#e8ecf9 100%)}.companion-stage-visual>span{position:absolute;z-index:3;right:8px;top:8px;padding:4px 7px;border-radius:99px;background:rgba(255,255,255,.9);color:#596bbd;font-size:10.4px;font-weight:800}.companion-tile.ready .companion-stage-visual>span{color:#b87314;background:#fff2dc}.stage-meta{display:flex;justify-content:space-between;margin-top:9px;color:#8b94aa;font-size:10.4px}.stage-meta b{color:#5969ad}.companion-tile>button{width:100%;height:32px;margin-top:10px;border:1px solid #dbe0ef;border-radius:8px;background:#fff;color:#5266ba;font-size:11.7px;font-weight:750;cursor:pointer}.companion-tile.ready>button{border:0;background:linear-gradient(180deg,#f2b449,#df8c18);color:#fff}.companion-journey{display:grid;gap:8px;margin-top:20px}.companion-journey article{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #e3e6ef;border-radius:11px;background:#fafbfe;opacity:.7}.companion-journey article.reached,.companion-journey article.ready{opacity:1}.companion-journey article.ready{border-color:#efd09a;background:#fffaf0}.companion-journey article>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e9edfa;color:#6676b9}.companion-journey article.reached>span{color:#41846d;background:#e8f6f0}.companion-journey article.ready>span{color:#c47d18;background:#ffefd5}.companion-journey small{color:#969db0;font-size:10.4px}.companion-journey strong{display:block;margin:2px 0;color:#34415f;font-size:14.3px}.companion-journey p{margin:0;color:#808aa3;font-size:10.4px}.companion-journey article>b{color:#8c95aa;font-size:10.4px}.companion-journey article.ready>b{color:#bc7616}.journey-history{margin-top:12px;padding:11px;border-radius:10px;background:#f5f7fc}.journey-history>small{color:#8b94aa;font-size:10.4px;font-weight:750}.journey-history p{margin:7px 0 0;color:#66718e;font-size:10.4px}.journey-history p i{margin-right:5px;color:#7180bb}

/* Teacher-configurable growth pacing */
.growth-settings-form{display:grid;gap:15px}.growth-config-hero{display:grid;grid-template-columns:1fr auto;gap:28px;padding:24px;border:1px solid #dfe4f2;border-radius:18px;background:linear-gradient(135deg,#f8f9ff,#eef2ff 58%,#fff8ec);box-shadow:0 10px 26px rgba(44,57,111,.06)}.growth-config-hero>div:first-child{display:flex;align-items:center;gap:15px}.growth-config-icon{width:54px;height:54px;display:grid;place-items:center;flex:0 0 auto;border-radius:16px;background:linear-gradient(145deg,#6579d3,#4a5aaf);color:#fff;font-size:32.5px;box-shadow:0 9px 18px rgba(72,89,174,.2)}.growth-config-hero small,.growth-config-hero h2,.growth-config-hero p{display:block}.growth-config-hero>div>div>small{color:#6677bd;font-size:11.7px;font-weight:800;letter-spacing:.7px}.growth-config-hero h2{margin:4px 0;color:#2f3d66;font-size:27.3px}.growth-config-hero p{margin:0;color:#7f899f;font-size:11.7px}.growth-config-numbers{display:grid!important;grid-template-columns:repeat(2,170px);gap:10px!important}.growth-config-numbers label{display:grid;grid-template-columns:1fr 58px;align-items:center;gap:3px 8px;padding:10px 11px;border:1px solid #dde2ee;border-radius:12px;background:rgba(255,255,255,.85);color:#59647f;font-size:10.4px;font-weight:750}.growth-config-numbers input{width:58px;height:34px;grid-row:1/3;grid-column:2;padding:0 7px;border:1px solid #d8deeb;border-radius:8px;background:#fff;color:#43548f;font-size:19.5px;font-weight:850;text-align:center}.growth-config-numbers small{color:#9aa2b4;font-size:9.1px;font-weight:500}.growth-level-card{padding:19px}.growth-level-card>.section-title>span{padding:5px 9px;border-radius:99px;background:#eef1fb;color:#596cb7;font-size:10.4px;font-weight:750}.growth-level-list{display:grid;gap:7px;margin-top:14px}.growth-level-list article{min-height:61px;display:grid;grid-template-columns:25px 38px minmax(180px,1fr) 125px 76px;align-items:center;gap:10px;padding:8px 12px;border:1px solid #e6e9f1;border-radius:12px;background:#fbfcfe}.growth-level-index{color:#adb3c2;font-size:10.4px;font-weight:800;text-align:center}.growth-level-symbol{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#edf0fb;color:#5f70bd;font-size:22.1px}.growth-level-list strong,.growth-level-list small{display:block}.growth-level-list strong{color:#3a4665;font-size:13px}.growth-level-list small{margin-top:3px;color:#969daf;font-size:9.1px}.growth-level-list label{display:flex;align-items:center;gap:7px;color:#858ea5;font-size:9.1px}.growth-level-list input{width:68px;height:32px;padding:0 7px;border:1px solid #dce1eb;border-radius:8px;background:#fff;color:#3e4e82;font-size:14.3px;font-weight:800;text-align:center}.growth-level-list input[readonly]{color:#9aa2b2;background:#f1f3f7}.growth-level-list article>b{color:#6373b5;font-size:10.4px;text-align:right}.growth-config-note{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #d9eadf;border-radius:13px;background:#f4fbf7}.growth-config-note>i{color:#4b9174;font-size:28.6px}.growth-config-note strong,.growth-config-note p{display:block}.growth-config-note strong{color:#426b5c;font-size:11.7px}.growth-config-note p{margin:3px 0 0;color:#7b958b;font-size:10.4px}.growth-settings-actions{display:flex;justify-content:flex-end;gap:9px}.growth-settings-actions button{height:40px;padding:0 15px}.growth-settings-actions i{margin-right:5px}@media(max-width:900px){.growth-config-hero{grid-template-columns:1fr}.growth-config-numbers{grid-template-columns:repeat(2,1fr)!important}.growth-level-list article{grid-template-columns:25px 38px 1fr 110px}.growth-level-list article>b{display:none}}@media(max-width:620px){.growth-config-numbers{grid-template-columns:1fr!important}.growth-level-list article{grid-template-columns:25px 34px 1fr}.growth-level-list label{grid-column:3}.growth-settings-actions{flex-direction:column-reverse}.growth-settings-actions button{width:100%}}

/* Per-student mentor assignment */
.mentor-assignment{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:14px 18px;border:1px solid #dce2f1;border-radius:15px;background:linear-gradient(100deg,#f8f9ff,#fffaf2)}.mentor-assignment>div{display:flex;align-items:center;gap:12px}.mentor-current-avatar{width:58px;height:66px;display:block;overflow:hidden;border-radius:12px;background:#e9edfb}.mentor-current-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 8%}.mentor-assignment small,.mentor-assignment strong,.mentor-assignment p{display:block}.mentor-assignment small{color:#8b94aa;font-size:10.4px}.mentor-assignment strong{margin-top:2px;color:#334264;font-size:22.1px}.mentor-assignment p{margin:3px 0 0;color:#858fa7;font-size:10.4px}.mentor-assignment label{display:grid;gap:5px;color:#7b849c;font-size:10.4px;font-weight:750}.mentor-assignment select{min-width:165px;height:38px;padding:0 10px;border:1px solid #dce1ed;border-radius:9px;background:#fff;color:#3c496b;font-weight:750}.mentor-visual{position:relative}.mentor-active-mark{position:absolute;top:9px;left:9px;padding:5px 8px;border-radius:99px;background:rgba(255,255,255,.92);color:#4f66bd;font-size:10.4px}.mentor-tile.active-mentor{border-color:#aebbed;box-shadow:0 10px 25px rgba(75,94,180,.13)}.mentor-tile.active-mentor>button{color:#7380a9;background:#f0f2f8}.student-mentor-card{min-height:105px;display:grid;grid-template-columns:64px 1fr 30px;align-items:center;gap:12px;margin-top:13px;padding:12px;border:1px solid #e0e4ef;border-radius:16px;background:linear-gradient(110deg,#fff,#f4f6ff);box-shadow:0 7px 17px rgba(44,55,96,.04)}.student-mentor-portrait{width:62px;height:79px;overflow:hidden;border-radius:12px;background:#e9edfb}.student-mentor-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 7%}.student-mentor-card small{color:#6879bd;font-size:9.1px;font-weight:750}.student-mentor-card h2{margin:3px 0;color:#34415f;font-size:18.2px}.student-mentor-card p{margin:0;color:#858da2;font-size:10.4px}.student-mentor-card span{display:block;max-width:280px;margin-top:7px;overflow:hidden;color:#6f7891;font-size:9.1px;white-space:nowrap;text-overflow:ellipsis}.student-mentor-card button{width:29px;height:29px;border:0;border-radius:9px;background:#edf0fb;color:#596dbd;cursor:pointer}@media(max-width:700px){.mentor-assignment{align-items:flex-start;flex-direction:column}.mentor-assignment label,.mentor-assignment select{width:100%}}
.mentor-history-heading>span{color:#586cc0;background:#edf1ff}.mentor-history-current{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:12px;margin:15px 0;padding:12px;border:1px solid #e0e4ef;border-radius:13px;background:#f8f9fd}.mentor-history-current .mentor-current-avatar{height:74px}.mentor-history-current small,.mentor-history-current strong{display:block}.mentor-history-current small{color:#8c95a9;font-size:10.4px}.mentor-history-current strong{margin-top:3px;color:#3e4b6b;font-size:13px}.mentor-history-current p{margin:5px 0 0;color:#838ca2;font-size:10.4px}

/* Mentor unlock task */
.mentor-task-heading>span{color:#5c70c4;background:#edf1ff}.mentor-task-progress{margin:16px 0;padding:14px;border:1px solid #e0e4ef;border-radius:13px;background:#f8f9fd}.mentor-task-progress>div{display:flex;justify-content:space-between;color:#68738f;font-size:11.7px}.mentor-task-progress strong{color:#465a9f}.mentor-task-progress>i{height:8px;display:block;margin-top:9px;overflow:hidden;border-radius:99px;background:#e3e7f1}.mentor-task-progress>i b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#6075d3,#8b78d8)}.mentor-task-examples{display:grid;gap:8px;margin-bottom:14px;padding:13px;border:1px solid #e5e8ef;border-radius:12px}.mentor-task-examples>small{color:#8a93a8;font-size:10.4px}.mentor-task-examples p{display:flex;align-items:center;gap:7px;margin:0;color:#5e6983;font-size:11.7px}.mentor-task-examples i{color:#5a70c4}.mentor-task-examples .ph-check-circle{color:#469075}

/* Restorative reminder workflow */
.score-actions button[data-reminder-id] strong{color:#6676b9}.score-actions button[data-reminder-id].chosen{border-color:#aeb9e8;background:#f7f8ff;box-shadow:0 4px 12px rgba(76,94,172,.1)}.repair-review{display:grid;grid-template-columns:300px 1fr;gap:18px;margin-bottom:15px;padding:16px 18px;border:1px solid #eadcbf;border-radius:15px;background:#fffbf2}.repair-review>div:first-child{display:flex;align-items:center;gap:11px}.repair-review>div:first-child>i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff0d6;color:#c47d19;font-size:24.7px}.repair-review strong,.repair-review small{display:block}.repair-review strong{color:#5a4d37;font-size:14.3px}.repair-review small{margin-top:3px;color:#96866d;font-size:10.4px;line-height:1.4}.repair-review-list{display:grid;gap:6px}.repair-review-list article{display:grid;grid-template-columns:65px 1fr auto auto;align-items:center;gap:7px;padding:7px 9px;border:1px solid #eee2ca;border-radius:9px;background:#fff}.repair-review-list article>span{font-size:11.7px;font-weight:800}.repair-review-list p{margin:0;color:#727b91;font-size:10.4px}.repair-review-list button{height:28px;padding:0 8px;border:1px solid #dfe3ec;border-radius:7px;background:#fff;color:#79839b;font-size:9.1px;font-weight:750;cursor:pointer}.repair-review-list button:last-child{border:0;background:#edf5f1;color:#428269}.student-repair-section{margin-top:16px}.student-repair-section>article{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid #eadfc9;border-radius:15px;background:#fffcf6}.student-repair-section>article>i{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#fff0d8;color:#c27c1d;font-size:23.4px}.student-repair-section small,.student-repair-section strong{display:block}.student-repair-section small{color:#a57631;font-size:9.1px}.student-repair-section strong{margin-top:3px;color:#4e586f;font-size:11.7px;line-height:1.45}.student-repair-section p{margin:4px 0 0;color:#8a91a2;font-size:9.1px}.student-repair-section button{height:30px;padding:0 9px;border:0;border-radius:8px;background:#556bc1;color:#fff;font-size:9.1px;font-weight:750;cursor:pointer}.student-repair-section button:disabled{color:#8c94a7;background:#eceef3}@media(max-width:800px){.repair-review{grid-template-columns:1fr}.repair-review-list article{grid-template-columns:55px 1fr}.repair-review-list button{grid-row:2}}

/* Automatic class missions */
.mission-hero>strong{background:radial-gradient(circle,rgba(27,43,99,.86) 55%,transparent 57%),conic-gradient(#f0b347 0 var(--mission-progress,0deg),rgba(255,255,255,.2) var(--mission-progress,0deg))}.mission-card.ready{border-color:#efc878;background:linear-gradient(180deg,#fffdf8,#fff9ed);box-shadow:0 10px 25px rgba(207,139,31,.12)}.mission-card.claimed{border-color:#cde5d9;background:#f8fcfa}.mission-card>button.mission-claim{border:0;background:linear-gradient(180deg,#efae3c,#dd8614);color:#fff;box-shadow:0 7px 15px rgba(219,132,19,.18)}.mission-auto-status{display:flex;align-items:center;gap:9px;padding:11px;border-radius:10px;background:#f1f4ff}.mission-auto-status>i{color:#5369c1;font-size:24.7px}.mission-auto-status strong,.mission-auto-status small{display:block}.mission-auto-status strong{color:#4e5d85;font-size:11.7px}.mission-auto-status small{margin-top:3px;color:#8b94aa;font-size:9.1px}

/* Event-driven class mission progress */
.mission-hero>strong{background:radial-gradient(circle,rgba(27,43,99,.86) 55%,transparent 57%),conic-gradient(#f0b347 0 var(--mission-progress,0deg),rgba(255,255,255,.2) var(--mission-progress,0deg))}.mission-card.ready{border-color:#efc878;background:linear-gradient(180deg,#fffdf8,#fff9ed);box-shadow:0 10px 25px rgba(207,139,31,.12)}.mission-card.claimed{border-color:#cde5d9;background:#f8fcfa}.mission-card>button.mission-claim{border:0;background:linear-gradient(180deg,#efae3c,#dd8614);color:#fff;box-shadow:0 7px 15px rgba(219,132,19,.18)}.mission-auto-status{display:flex;align-items:center;gap:9px;padding:11px;border-radius:10px;background:#f1f4ff}.mission-auto-status>i{color:#5369c1;font-size:24.7px}.mission-auto-status strong,.mission-auto-status small{display:block}.mission-auto-status strong{color:#4e5d85;font-size:11.7px}.mission-auto-status small{margin-top:3px;color:#8b94aa;font-size:9.1px}

/* Student reward shop */
.student-stat-action { cursor:pointer; transition:transform .18s ease,box-shadow .18s ease; }
.student-stat-action:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(55,69,119,.1); }
.student-shop-heading { align-items:center; }
.student-shop-heading>strong { margin-left:auto; flex:0 0 auto; }
.student-shop-balance { display:flex; align-items:center; gap:5px; padding:9px 12px; border:1px solid #f1dcae; border-radius:12px; background:#fff8e9; color:#c27c14; font-size:20.8px; }
.student-reward-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin-top:16px; }
.student-reward-card { overflow:hidden; padding:13px; border:1px solid #e4e7f0; border-radius:15px; background:#fff; }
.student-reward-card>div { height:78px; display:flex; align-items:flex-start; justify-content:space-between; padding:12px; border-radius:11px; background:#f0efff; color:#6d5ac9; }
.student-reward-card.blue>div { background:#edf4ff;color:#5276d6; }.student-reward-card.gold>div { background:#fff6e5;color:#c38727; }.student-reward-card.green>div { background:#ecf8f2;color:#3c8d72; }
.student-reward-card>div>i { align-self:center; font-size:44.2px; }.student-reward-card>div>span { padding:3px 6px; border-radius:99px; background:rgba(255,255,255,.82); font-size:10.4px; font-weight:800; }
.student-reward-card h3 { margin:10px 0 3px; font-size:16.9px; }.student-reward-card p { min-height:28px; margin:0; color:#838ba0; font-size:11.7px; line-height:1.55; }
.student-reward-card footer { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; }.student-reward-card footer strong { color:#c17a12;font-size:15.6px; }.student-reward-card footer button { min-height:31px; padding:0 10px; border:0; border-radius:8px; background:#5369c5; color:#fff; font-size:11.7px; font-weight:800; cursor:pointer; }.student-reward-card footer button:disabled { background:#edf0f5;color:#949caf;cursor:not-allowed; }
.student-redemption-history { margin-top:18px; border-top:1px solid #e8eaf1; }.student-redemption-history>div { display:flex; justify-content:space-between; align-items:flex-end; padding:15px 0 6px; }.student-redemption-history>div strong { font-size:15.6px; }.student-redemption-history>div span { color:#929aaf;font-size:10.4px; }
.student-redemption-history article { display:grid; grid-template-columns:31px 1fr auto; align-items:center; gap:9px; min-height:54px; border-top:1px solid #eef0f5; }.student-redemption-history article>i { width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f0f2fb;color:#6071bc; }.student-redemption-history article span strong,.student-redemption-history article span small { display:block; }.student-redemption-history article span strong { font-size:13px; }.student-redemption-history article span small { margin-top:3px;color:#9aa1b1;font-size:10.4px; }.student-redemption-history article>b { display:flex;align-items:center;gap:3px;padding:5px 7px;border-radius:99px;font-size:10.4px;background:#fff5e5;color:#b87819; }.student-redemption-history article>b.done { background:#eaf7f1;color:#35836a; }.student-redemption-history article>b.rejected { background:#f1f2f6;color:#7f8799; }
@media (max-width:520px) { .student-reward-grid { grid-template-columns:1fr 1fr;gap:8px; }.student-reward-card { padding:9px; }.student-shop-heading { align-items:flex-start; }.student-shop-heading>strong { padding:7px 9px;font-size:16.9px; } }

/* Student mentor page */
.student-bottom-nav { grid-template-columns:repeat(5,1fr); }
.student-mentor-page { background:radial-gradient(circle at 85px 155px,rgba(224,177,83,.12),transparent 165px); }
.mentor-page-intro small { color:#b77a25;font-size:10.4px;font-weight:800;letter-spacing:.08em; }.mentor-page-intro h1 { margin:6px 0;font-family:"STKaiti","KaiTi",serif;font-size:32.5px; }.mentor-page-intro p { margin:0;color:#8a93a8;font-size:11.7px; }
.mentor-page-hero { min-height:224px;display:grid;grid-template-columns:132px 1fr;align-items:center;gap:18px;margin-top:17px;padding:17px;border:1px solid #dedfef;border-radius:21px;background:linear-gradient(135deg,#293568,#555b9b 68%,#8a6896);color:#fff;box-shadow:0 16px 34px rgba(51,55,111,.2); }.mentor-page-portrait { width:128px;height:185px;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:#5966a6; }.mentor-page-portrait img { width:100%;height:100%;object-fit:cover;object-position:center 7%; }.mentor-page-hero small { color:#f0cc7c;font-size:10.4px; }.mentor-page-hero h2 { margin:5px 0;font-family:"STKaiti","KaiTi",serif;font-size:32.5px; }.mentor-page-hero p { margin:0;color:#d2d8ef;font-size:10.4px; }.mentor-page-hero blockquote { min-height:47px;margin:15px 0 12px;padding-left:10px;border-left:2px solid #e7ba5c;color:#eef0fa;font-size:11.7px;line-height:1.65; }.mentor-page-hero button { height:31px;padding:0 10px;border:1px solid rgba(255,255,255,.28);border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:10.4px;font-weight:750;cursor:pointer; }
.mentor-page-section { margin-top:22px; }.mentor-reading-tasks { display:grid;gap:8px; }.mentor-reading-tasks>button { min-height:67px;display:grid;grid-template-columns:39px 1fr 22px;align-items:center;gap:10px;padding:10px 13px;border:1px solid #e0e4ef;border-radius:15px;background:#fff;color:#35405f;text-align:left;cursor:pointer; }.mentor-reading-tasks>button>i { width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff3df;color:#bd7920;font-size:23.4px; }.mentor-reading-tasks strong,.mentor-reading-tasks small { display:block; }.mentor-reading-tasks strong { font-size:13px; }.mentor-reading-tasks small { margin-top:4px;color:#929aaf;font-size:10.4px; }.mentor-reading-tasks>button>b { color:#b7bdcc;font-size:22.1px; }.mentor-reading-tasks>button.done { border-color:#c9e5d9;background:#f8fcfa; }.mentor-reading-tasks>button.done>i { background:#eaf7f1;color:#3f876c; }.mentor-reading-tasks>button.done>b { color:#3f876c; }
.student-mentor-shelf { display:grid;grid-template-columns:repeat(3,1fr);gap:9px; }.student-mentor-shelf>button { padding:7px 7px 10px;border:1px solid #e0e4ef;border-radius:14px;background:#fff;color:#35405f;cursor:pointer; }.student-mentor-shelf>button.active { border-color:#9caae1;box-shadow:0 8px 20px rgba(76,91,167,.13); }.student-mentor-shelf>button>span { height:94px;display:block;overflow:hidden;border-radius:10px;background:#e9edfb; }.student-mentor-shelf img { width:100%;height:100%;object-fit:cover;object-position:center 7%; }.student-mentor-shelf strong,.student-mentor-shelf small { display:block; }.student-mentor-shelf strong { margin-top:7px;font-size:13px; }.student-mentor-shelf small { margin-top:3px;overflow:hidden;color:#9299ab;font-size:9.1px;white-space:nowrap;text-overflow:ellipsis; }
.mentor-learning-note { display:flex;gap:10px;margin-top:20px;padding:13px;border:1px solid #eadfca;border-radius:14px;background:#fffaf0; }.mentor-learning-note>i { color:#be8129;font-size:26px; }.mentor-learning-note strong { font-size:11.7px; }.mentor-learning-note p { margin:4px 0 0;color:#877d6e;font-size:10.4px;line-height:1.55; }.mentor-preview-image { height:330px;margin-top:18px;overflow:hidden;border-radius:15px;background:#e9edfb; }.mentor-preview-image img { width:100%;height:100%;object-fit:cover;object-position:center 7%; }
@media(max-width:420px){.mentor-page-hero{grid-template-columns:110px 1fr;gap:12px;padding:13px}.mentor-page-portrait{width:108px;height:166px}.mentor-page-hero h2{font-size:27.3px}.student-bottom-nav i{font-size:23.4px}}

/* Student profile page */
.student-profile-page{background:radial-gradient(circle at 370px 135px,rgba(97,119,206,.12),transparent 170px)}
.profile-identity-card{min-height:128px;display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:13px;padding:17px;border:1px solid #dfe3ef;border-radius:20px;background:linear-gradient(125deg,#fff,#f5f7ff);box-shadow:0 10px 25px rgba(47,58,101,.06)}.profile-avatar{width:60px;height:60px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#5269c5,#344986);color:#fff;font-family:"STKaiti","KaiTi",serif;font-size:32.5px;box-shadow:0 9px 20px rgba(65,82,157,.2)}.profile-identity-card small{color:#7d89ad;font-size:10.4px}.profile-identity-card h1{margin:4px 0;font-size:26px}.profile-identity-card p{max-width:235px;margin:0;overflow:hidden;color:#8b93a7;font-size:10.4px;white-space:nowrap;text-overflow:ellipsis}.profile-identity-card>span{align-self:start;padding:5px 8px;border-radius:99px;background:#edf1ff;color:#5268be;font-size:10.4px;font-weight:800}
.profile-resource-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:11px}.profile-resource-grid article{min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e0e4ef;border-radius:14px;background:#fff}.profile-resource-grid i{color:#5a6dbc;font-size:23.4px}.profile-resource-grid strong{margin-top:4px;font-size:19.5px}.profile-resource-grid span{margin-top:2px;color:#949caf;font-size:9.1px}
.profile-partner-row{display:grid;gap:9px;margin-top:20px}.profile-partner-row>article{min-height:78px;display:grid;grid-template-columns:53px 1fr 27px;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e0e4ef;border-radius:15px;background:#fff}.profile-partner-row>article>span{width:51px;height:57px;display:grid;place-items:center;overflow:hidden;border-radius:11px;background:#edf1fb}.profile-partner-row .profile-companion{width:51px;height:57px}.profile-partner-row .profile-companion img{width:44px;height:44px;object-fit:contain}.profile-mentor-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 7%}.profile-partner-row small,.profile-partner-row strong,.profile-partner-row p{display:block}.profile-partner-row small{color:#7787c1;font-size:9.1px}.profile-partner-row strong{margin-top:3px;font-size:13px}.profile-partner-row p{margin:4px 0 0;color:#939aad;font-size:10.4px}.profile-partner-row button{width:27px;height:27px;border:0;border-radius:8px;background:#f0f2f8;color:#6877ad;cursor:pointer}
.profile-section{margin-top:21px}.profile-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.profile-badges article{display:grid;grid-template-columns:1fr 34px 20px;align-items:center;gap:7px;padding:10px 11px;border:1px solid #e2e5ee;border-radius:12px;background:#fff}.profile-badges article>span{height:5px;overflow:hidden;border-radius:99px;background:#ebedf4}.profile-badges article>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#586ec4,#e2a43e)}.profile-badges strong{font-size:10.4px}.profile-badges b{color:#5869ac;font-size:11.7px;text-align:right}
.profile-event-list{overflow:hidden;border:1px solid #e0e4ed;border-radius:15px;background:#fff}.profile-event-list article{min-height:56px;display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:9px;padding:8px 12px;border-bottom:1px solid #edf0f5}.profile-event-list article:last-child{border:0}.profile-event-list article>i{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#edf1ff;color:#596ebe}.profile-event-list strong,.profile-event-list small{display:block}.profile-event-list strong{font-size:11.7px}.profile-event-list small{margin-top:3px;color:#989fb1;font-size:9.1px}.profile-event-list article>b{color:#c07b1c;font-size:14.3px}
.profile-settings-list{display:grid;gap:8px;margin-top:22px}.profile-settings-list>button{min-height:63px;display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e0e4ee;border-radius:14px;background:#fff;color:#35405f;text-align:left;cursor:pointer}.profile-settings-list>button>i:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eef1fb;color:#5d70ba;font-size:20.8px}.profile-settings-list strong,.profile-settings-list small{display:block}.profile-settings-list strong{font-size:11.7px}.profile-settings-list small{margin-top:4px;color:#969daf;font-size:9.1px}.profile-settings-list>button>b{padding:5px 7px;border-radius:99px;font-size:9.1px}.profile-settings-list>button>b.ok{background:#eaf7f1;color:#3d8168}.profile-settings-list>button>b.waiting{background:#fff2df;color:#b8771d}.profile-settings-list>button>i:last-child{color:#a3a9b8}.profile-settings-list>button.profile-logout{color:#9a5962}.student-privacy-list{display:grid;gap:9px;margin:19px 0 14px}.student-privacy-list article{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:10px;padding:10px;border:1px solid #e2e5ed;border-radius:12px}.student-privacy-list article>i{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#edf1ff;color:#586cbb;font-size:23.4px}.student-privacy-list strong{font-size:13px}.student-privacy-list p{margin:4px 0 0;color:#858da1;font-size:10.4px;line-height:1.5}

/* Family subpages */
.family-page-title{padding:22px 18px 0}.family-page-title small{color:#b57a25;font-size:10.4px;font-weight:800}.family-page-title h1{margin:5px 0;font-family:"STKaiti","KaiTi",serif;font-size:31.2px}.family-subpage{padding-top:14px}.family-growth-summary{min-height:130px;display:grid;grid-template-columns:1fr 90px;align-items:center;padding:20px;border-radius:20px;background:linear-gradient(135deg,#263c7a,#5163ad);color:#fff;box-shadow:0 14px 30px rgba(40,59,127,.2)}.family-growth-summary>div small{color:#cad4f0;font-size:10.4px}.family-growth-summary>div strong{display:block;margin:4px 0;font-size:44.2px}.family-growth-summary p{margin:0;color:#cbd3ec;font-size:10.4px}.family-growth-summary>span{height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:16px;background:rgba(255,255,255,.1)}.family-growth-summary>span i{color:#f0c563;font-size:27.3px}.family-growth-summary>span strong{font-size:24.7px}.family-growth-summary>span small{color:#d5dcf0;font-size:9.1px}.family-dimension-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.family-dimension-list article{padding:11px;border:1px solid #e0e4ee;border-radius:13px;background:#fff}.family-dimension-list article>div{display:flex;justify-content:space-between;font-size:11.7px}.family-dimension-list article>div b{color:#5669b3}.family-dimension-list article>span{height:5px;display:block;overflow:hidden;margin-top:8px;border-radius:99px;background:#e9ecf3}.family-dimension-list article>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#536ac0,#e2a43d)}.family-growth-timeline{overflow:hidden;border:1px solid #e0e4ee;border-radius:15px;background:#fff}.family-growth-timeline article{min-height:69px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #edf0f5}.family-growth-timeline article:last-child{border:0}.family-growth-timeline article>i{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#edf1ff;color:#596db8}.family-growth-timeline strong,.family-growth-timeline small{display:block}.family-growth-timeline strong{font-size:11.7px}.family-growth-timeline p{max-width:250px;margin:4px 0;color:#7e879d;font-size:10.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.family-growth-timeline small{color:#9ba2b3;font-size:9.1px}.family-growth-timeline article>b{color:#c17c1c;font-size:15.6px}
.family-companion-hero{min-height:190px;display:grid;grid-template-columns:118px 1fr;align-items:center;gap:16px;padding:17px;border-radius:21px;background:linear-gradient(135deg,#1e326f,#4c5ca7);color:#fff}.family-companion-hero>div:first-child{height:154px;display:grid;place-items:center;overflow:hidden;border-radius:16px;background:rgba(255,255,255,.1)}.family-companion-large{width:112px;height:112px;margin:0}.family-companion-large img{width:112px;height:112px;object-fit:cover}.family-companion-hero small{color:#f0c76b;font-size:10.4px}.family-companion-hero h2{margin:5px 0;font-size:24.7px}.family-companion-hero p{margin:0 0 14px;color:#cad3ed;font-size:10.4px}.family-companion-hero>div>span{color:#dce2f4;font-size:10.4px}.family-companion-progress{height:6px;margin-top:6px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.15)}.family-companion-progress i{display:block;height:100%;background:#efbd57}.family-bond-card{display:flex;align-items:center;gap:12px;margin-top:10px;padding:14px;border:1px solid #e5dded;border-radius:15px;background:#fff}.family-bond-card>i{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f5ecff;color:#8c61b4;font-size:26px}.family-bond-card small,.family-bond-card strong{display:block}.family-bond-card small{color:#987cad;font-size:9.1px}.family-bond-card strong{margin-top:3px;font-size:14.3px}.family-bond-card p{margin:4px 0 0;color:#9097aa;font-size:10.4px}.family-stage-road{display:grid;gap:7px}.family-stage-road article{min-height:53px;display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:9px;padding:8px 11px;border:1px solid #e1e4ed;border-radius:12px;background:#fff}.family-stage-road article>i{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f0f2f7;color:#929aac}.family-stage-road strong,.family-stage-road small{display:block}.family-stage-road strong{font-size:11.7px}.family-stage-road small{margin-top:3px;color:#9ba1b1;font-size:9.1px}.family-stage-road article>b{color:#9aa1b1;font-size:9.1px}.family-stage-road article.done{border-color:#cde5da;background:#f8fcfa}.family-stage-road article.done>i{background:#e8f6ef;color:#3e866a}.family-stage-road article.done>b{color:#3e866a}.family-stage-road article.ready{border-color:#ead19a;background:#fffbf3}.family-mentor-feature{min-height:108px;display:grid;grid-template-columns:67px 1fr;align-items:center;gap:12px;margin-top:19px;padding:12px;border:1px solid #dfe3ee;border-radius:16px;background:linear-gradient(110deg,#fff,#f4f6ff)}.family-mentor-feature>span{width:65px;height:83px;overflow:hidden;border-radius:12px;background:#e9edfb}.family-mentor-feature img{width:100%;height:100%;object-fit:cover;object-position:center 7%}.family-mentor-feature small{color:#6476b9;font-size:9.1px}.family-mentor-feature h2{margin:3px 0;font-size:18.2px}.family-mentor-feature p{margin:0;color:#8991a5;font-size:10.4px}.family-mentor-feature strong{display:block;margin-top:6px;color:#727b93;font-size:9.1px}
.family-profile-card{min-height:105px;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:11px;padding:15px;border:1px solid #dfe4ee;border-radius:18px;background:#fff}.family-profile-card>span{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;background:#edf1ff;color:#586cbb;font-size:28.6px}.family-profile-card small{color:#8490b2;font-size:9.1px}.family-profile-card h2{margin:3px 0;font-size:19.5px}.family-profile-card p{margin:0;color:#8f96a8;font-size:10.4px}.family-profile-card>b{padding:5px 7px;border-radius:99px;background:#e9f7f0;color:#3b8167;font-size:9.1px}.family-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}.family-profile-stats article{min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e1e4ed;border-radius:13px;background:#fff}.family-profile-stats strong{font-size:20.8px}.family-profile-stats span{margin-top:3px;color:#969daf;font-size:9.1px}.family-permission-card{margin-top:19px;padding:15px;border:1px solid #e7ddc9;border-radius:16px;background:#fffaf0}.family-permission-card>div{display:flex;align-items:center;gap:9px}.family-permission-card>div>i{color:#b97b22;font-size:26px}.family-permission-card strong,.family-permission-card small{display:block}.family-permission-card strong{font-size:13px}.family-permission-card small{margin-top:3px;color:#928775;font-size:9.1px}.family-permission-card ul{display:grid;gap:7px;margin:13px 0 0;padding:11px 0 0 19px;border-top:1px solid #eee2cc;color:#756c5f;font-size:10.4px}.family-account-list{display:grid;gap:8px;margin-top:18px}.family-account-list button{min-height:62px;display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e0e4ee;border-radius:14px;background:#fff;color:#35405f;text-align:left;cursor:pointer}.family-account-list button>i:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf1fb;color:#5b70bd;font-size:20.8px}.family-account-list strong,.family-account-list small{display:block}.family-account-list strong{font-size:11.7px}.family-account-list small{margin-top:4px;color:#969daf;font-size:9.1px}.family-account-list button>i:last-child{color:#a2a9b9}.family-account-list .family-logout{color:#995a62}

/* Teacher shell interaction completion */
.detail-panel.collapsed{display:none}.workspace.detail-collapsed{grid-template-columns:1fr}.student-grid.list-view{display:grid;grid-template-columns:1fr;gap:8px}.student-grid.list-view .student-card{min-height:92px;display:grid;grid-template-columns:170px 126px 1fr;align-items:center;gap:12px;padding:10px 14px}.student-grid.list-view .student-card.selected{padding:9px 13px}.student-grid.list-view .card-head{grid-column:1;grid-row:1}.student-grid.list-view .life-energy{grid-column:2;grid-row:1;width:72px;height:72px;margin:0 auto}.student-grid.list-view .card-stats{grid-column:3;grid-row:1}.student-grid.list-view .card-progress,.student-grid.list-view .progress-caption{display:none}.class-switch-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0 14px}.class-switch-summary article{min-height:75px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e1e4ee;border-radius:13px;background:#f8f9fc}.class-switch-summary strong{font-size:26px}.class-switch-summary span{margin-top:4px;color:#8e96a9;font-size:10.4px}

/* Local data completion */
.group-member-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;max-height:250px;overflow:auto;margin:0;padding:0;border:0}.group-member-picker legend{grid-column:1/-1;margin-bottom:4px;color:#59647f;font-size:13px;font-weight:750}.group-member-picker label{display:flex;align-items:center;gap:7px;min-height:37px;padding:0 9px;border:1px solid #e1e4ed;border-radius:9px;background:#fafbfe;cursor:pointer}.group-member-picker input{width:14px!important;height:14px!important;accent-color:#5a70c5}.archived-student-card{margin-top:15px;padding:18px}.archived-student-card>.section-title>span{padding:5px 8px;border-radius:99px;background:#f0f2f7;color:#7f889e;font-size:10.4px}.archived-student-card>div:last-child{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.archived-student-card article{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;padding:9px 10px;border:1px solid #e1e4ed;border-radius:11px}.archived-student-card article>span{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#eef1fa;color:#5d6eb1;font-weight:800}.archived-student-card strong,.archived-student-card small{display:block}.archived-student-card strong{font-size:13px}.archived-student-card small{margin-top:3px;color:#9299aa;font-size:9.1px}.archived-student-card button{height:29px;padding:0 9px;border:0;border-radius:8px;background:#edf1ff;color:#5367ba;font-size:10.4px;font-weight:750;cursor:pointer}.safety-card>div{flex-wrap:wrap}.snapshot-import{height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;position:relative;padding:0 12px;border:1px solid #dce1ed;border-radius:9px;background:#fff;color:#5869ab;font-size:11.7px;font-weight:750;cursor:pointer}.snapshot-import input{position:absolute;inset:0;opacity:0;cursor:pointer}.new-term-button{float:right;margin:-6px 0 8px}

/* Student reward page */
.student-reward-page{display:grid;gap:12px}.reward-page-hero{min-height:142px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;padding:22px;border-radius:22px;background:radial-gradient(circle at 82% 18%,rgba(255,224,139,.34),transparent 30%),linear-gradient(135deg,#2c3f82,#6a69b6);color:#fff;box-shadow:0 16px 34px rgba(45,59,120,.18)}.reward-page-hero small{color:#f3d983;font-size:10.4px;font-weight:800}.reward-page-hero h1{max-width:360px;margin:6px 0;font-size:27.3px;line-height:1.25}.reward-page-hero p{max-width:390px;margin:0;color:#d9def2;font-size:10.4px;line-height:1.7}.reward-page-hero>strong{min-width:90px;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:5px;padding:17px 13px;border:1px solid rgba(255,255,255,.2);border-radius:17px;background:rgba(255,255,255,.12);font-size:31.2px}.reward-page-hero>strong>i{color:#f3ca61;font-size:26px}.reward-page-hero>strong small{grid-column:1/-1;color:#e1e5f7;text-align:center;font-size:9.1px}.reward-page-notice{min-height:56px;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:9px 13px;border:1px solid #eadfc7;border-radius:14px;background:#fffbf2}.reward-page-notice>i{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#fff1cf;color:#b47c28;font-size:23.4px}.reward-page-notice strong,.reward-page-notice small{display:block}.reward-page-notice strong{font-size:11.7px}.reward-page-notice small{margin-top:3px;color:#918676;font-size:9.1px}.reward-page-notice>b{padding:5px 8px;border-radius:99px;background:#fff;color:#a57227;font-size:9.1px}.reward-page-section{margin-top:4px}.reward-page-history{margin-top:0;border:1px solid #e1e5ee;border-radius:16px;background:#fff}.reward-page-history>.student-empty{padding:19px 10px}.student-reward-page .student-reward-grid{margin-top:10px}
@media(max-width:520px){.reward-page-hero{min-height:132px;padding:17px}.reward-page-hero h1{font-size:22.1px}.reward-page-hero>strong{min-width:72px;font-size:26px}.reward-page-notice{grid-template-columns:34px 1fr}.reward-page-notice>b{grid-column:2}.student-reward-page .student-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* First-class student companion page */
.student-companion-page{display:grid;gap:12px}.companion-page-hero{min-height:220px;display:grid;grid-template-columns:170px 1fr;align-items:center;gap:21px;padding:20px;border-radius:23px;background:radial-gradient(circle at 22% 42%,rgba(134,177,255,.3),transparent 31%),linear-gradient(135deg,#182b68,#535ca3);color:#fff;box-shadow:0 17px 35px rgba(30,46,104,.2)}.companion-page-visual{height:180px;display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:19px;background:radial-gradient(circle,rgba(137,196,255,.3),rgba(255,255,255,.05) 58%,transparent)}.student-companion-large{width:150px;height:150px;margin:0}.student-companion-large img{width:150px;height:150px;object-fit:contain}.companion-page-visual>span{position:absolute;right:10px;bottom:10px;padding:5px 8px;border-radius:99px;background:rgba(255,255,255,.14);color:#eef2ff;font-size:10.4px;font-weight:800;backdrop-filter:blur(6px)}.companion-page-hero>div:last-child>small{color:#f0cd75;font-size:10.4px;font-weight:800}.companion-page-hero h1{margin:5px 0 7px;font-size:28.6px}.companion-page-hero p{max-width:390px;margin:0;color:#d4daf0;font-size:10.4px;line-height:1.7}.companion-page-progress{margin-top:14px}.companion-page-progress>span{display:block;margin-bottom:5px;color:#dce2f5;font-size:10.4px}.companion-page-progress>span b{color:#fff;font-size:16.9px}.companion-page-progress>i{height:7px;display:block;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.14)}.companion-page-progress>i>b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#73c5ff,#f4cf72)}.companion-page-hero button{height:35px;margin-top:12px;padding:0 13px;border:0;border-radius:10px;background:linear-gradient(180deg,#f2bd55,#df8f22);color:#fff;font-size:11.7px;font-weight:800;cursor:pointer;box-shadow:0 8px 16px rgba(217,137,28,.23)}.student-companion-bond{padding:15px;border:1px solid #dfe3ef;border-radius:16px;background:linear-gradient(120deg,#fff,#f5f3ff)}.student-companion-bond.locked{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:11px}.student-companion-bond.locked>i{width:41px;height:41px;display:grid;place-items:center;border-radius:12px;background:#ecebff;color:#7166c6;font-size:24.7px}.student-companion-bond small,.student-companion-bond strong{display:block}.student-companion-bond small{color:#8c94aa;font-size:10.4px}.student-companion-bond strong{margin-top:3px;color:#3d496b;font-size:14.3px}.student-companion-bond p{margin:4px 0 0;color:#8992a7;font-size:9.1px}.companion-bond-summary{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px}.companion-bond-summary>i{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#eeeaff;color:#7965ca;font-size:24.7px}.companion-bond-summary strong{color:#4b5590;font-size:23.4px}.companion-bond-summary strong em{color:#949caf;font-size:10.4px;font-style:normal}.companion-bond-summary>b{color:#7767c5;font-size:10.4px}.companion-page-track{height:7px;margin:10px 0;overflow:hidden;border-radius:99px;background:#e3e6f1}.companion-page-track i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#6574d5,#b27fdc)}.companion-page-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.companion-page-actions button{min-height:54px;display:grid;grid-template-columns:29px 1fr;align-items:center;gap:7px;padding:8px;border:1px solid #dfe3ee;border-radius:11px;background:#fff;color:#576abb;text-align:left;cursor:pointer}.companion-page-actions button>i{font-size:23.4px;text-align:center}.companion-page-actions strong{font-size:11.7px}.companion-page-actions small{margin-top:3px;font-size:9.1px}.companion-page-actions button:disabled{opacity:.52;cursor:default}.student-companion-bond>p:last-child{font-size:9.1px}.companion-page-road{display:grid;gap:7px;margin-top:11px}.companion-page-road article{min-height:58px;display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:10px;padding:9px 11px;border:1px solid #e1e5ee;border-radius:12px;background:#fafbfe;opacity:.7}.companion-page-road article>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf0f7;color:#939bad}.companion-page-road small,.companion-page-road strong{display:block}.companion-page-road small{color:#9aa1b2;font-size:9.1px}.companion-page-road strong{margin:2px 0;color:#3c4868;font-size:13px}.companion-page-road p{margin:0;color:#8790a5;font-size:9.1px}.companion-page-road article>b{color:#8e96aa;font-size:9.1px}.companion-page-road article.done{border-color:#cfe7dd;background:#f8fcfa;opacity:1}.companion-page-road article.done>i{background:#e7f6ef;color:#43886e}.companion-page-road article.ready{border-color:#ecd198;background:#fffbf2;opacity:1}.companion-page-road article.ready>i,.companion-page-road article.ready>b{color:#bd781b}.companion-memory-section>div:last-child{display:grid;gap:7px;margin-top:10px}.companion-memory-section article{display:grid;grid-template-columns:33px 1fr;align-items:center;gap:9px;padding:9px 10px;border:1px solid #e3e6ee;border-radius:11px;background:#fff}.companion-memory-section article>i{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eef1fb;color:#5d70bf}.companion-memory-section article strong,.companion-memory-section article small{display:block}.companion-memory-section article strong{font-size:11.7px}.companion-memory-section article small{margin-top:3px;color:#929aab;font-size:9.1px}
@media(max-width:520px){.companion-page-hero{grid-template-columns:120px 1fr;gap:12px;padding:15px}.companion-page-visual{height:150px}.student-companion-large,.student-companion-large img{width:118px;height:118px}.companion-page-hero h1{font-size:22.1px}.companion-page-actions{grid-template-columns:1fr}.companion-page-actions button{min-height:48px}}

/* Readability refinement */
.card-head h3,.student-name-cell{white-space:nowrap}

/* Multi-class switcher */
.class-space-list{display:grid;gap:8px;margin-top:16px}.class-space-list button{min-height:63px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dfe3ed;border-radius:13px;background:#fafbfe;color:#485675;text-align:left;cursor:pointer}.class-space-list button>i{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#edf1fb;color:#6476ba;font-size:18.2px}.class-space-list strong,.class-space-list small{display:block}.class-space-list strong{font-size:13px}.class-space-list small{margin-top:3px;color:#929aab;font-size:9.1px}.class-space-list button>b{padding:5px 8px;border-radius:99px;color:#7180a5;font-size:9.1px}.class-space-list button.active{border-color:#b9c4ee;background:#f2f4ff;box-shadow:0 7px 18px rgba(76,94,168,.09)}.class-space-list button.active>i{background:#dfe5ff;color:#5066bc}.class-space-list button.active>b{background:#fff;color:#5268bb}

/* Local growth evidence */
.evidence-preview-button{width:max-content!important;min-height:28px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;margin-top:7px!important;padding:0 9px!important;border:1px solid #d6def2!important;border-radius:8px!important;background:#f4f6ff!important;color:#5369b8!important;font-size:10.4px!important;font-weight:750!important;cursor:pointer}.evidence-preview-button i{font-size:13px}.evidence-viewer{min-height:260px;max-height:58vh;display:grid;place-items:center;overflow:auto;margin-top:15px;border:1px solid #dfe3ed;border-radius:14px;background:#f2f4f8}.evidence-viewer img{display:block;max-width:100%;max-height:56vh;object-fit:contain}.evidence-viewer iframe{width:100%;height:55vh;border:0;background:#fff}.family-upload input:valid+em small{color:#4c896f}

/* Equal pet and knowledge-partner navigation */
.nav-item{white-space:nowrap}
@media(max-width:1600px){.topbar{padding-left:18px;padding-right:18px}.brand{width:225px}.brand small{font-size:11.7px;white-space:nowrap}.nav-item{flex-shrink:0;padding:0 7px;font-size:16.9px}.nav-item i{margin-right:4px;font-size:19.5px}.top-actions{gap:7px}.class-switcher{padding-left:10px;padding-right:10px}.class-switcher i{margin-left:5px}}

/* Knowledge-partner relationship growth */
.mentor-relation-mini{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;margin:9px 0;color:#77819a;font-size:9.1px}.mentor-relation-mini>i{height:5px;display:block;overflow:hidden;border-radius:99px;background:#e5e8f1}.mentor-relation-mini>i b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#5f73d2,#d09c42)}.mentor-relation-mini strong{color:#5b69a5;font-size:9.1px}.mentor-page-relation{margin:10px 0;padding:9px 10px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.09)}.mentor-page-relation>span,.mentor-page-relation>small{display:block;color:#eef1ff;font-size:10.4px}.mentor-page-relation>small{margin-top:5px;color:#cfd6ef;font-size:9.1px}.mentor-page-relation>i{height:6px;display:block;overflow:hidden;margin-top:6px;border-radius:99px;background:rgba(255,255,255,.16)}.mentor-page-relation>i b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#71c4ff,#f1cb70)}.mentor-reading-tasks button:disabled{cursor:default}
.mentor-journey-section{background:linear-gradient(180deg,#fff,#f7f8ff)}.mentor-relation-journey{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:14px 0 15px}.mentor-relation-journey:before{content:"";position:absolute;left:9%;right:9%;top:22px;height:2px;background:#dfe3ef}.mentor-relation-journey article{position:relative;z-index:1;display:grid;justify-items:center;gap:4px;color:#a1a7b6;text-align:center}.mentor-relation-journey article>i{width:44px;height:44px;display:grid;place-items:center;border:4px solid #f7f8ff;border-radius:50%;background:#e5e8ef;font-size:18.2px}.mentor-relation-journey strong{font-size:10.4px}.mentor-relation-journey small{font-size:9.1px}.mentor-relation-journey article.reached{color:#6574b5}.mentor-relation-journey article.reached>i{background:#e1e7ff;color:#5268bc}.mentor-relation-journey article.current>i{background:linear-gradient(135deg,#6478d1,#8b6ac2);color:#fff;box-shadow:0 5px 14px rgba(82,104,188,.25)}.mentor-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mentor-story-card{min-height:76px;display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:9px;padding:10px;border:1px solid #dfe3ef;border-radius:13px;background:#fff;color:#465271;text-align:left;cursor:pointer}.mentor-story-card>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf0ff;color:#6274c0;font-size:16.9px}.mentor-story-card strong,.mentor-story-card small{display:block}.mentor-story-card strong{font-size:11.7px}.mentor-story-card small{margin-top:3px;color:#8c94a6;font-size:9.1px;line-height:1.45}.mentor-story-card>b{padding:4px 7px;border-radius:99px;background:#eef1fb;color:#6474b5;font-size:9.1px;white-space:nowrap}.mentor-story-card.locked{background:#f5f6f9;color:#9da3af;cursor:default}.mentor-story-card.locked>i{background:#e8eaf0;color:#a4a9b3}.mentor-story-card.locked>b{background:#e8eaf0;color:#999faa}.mentor-story-page{padding:18px 5px 5px}.mentor-story-page>p{margin:0;color:#515b73;font-size:13px;line-height:1.9}.mentor-story-page aside{display:flex;align-items:center;gap:7px;margin-top:15px;padding:9px 11px;border-radius:10px;background:#f3f5fb;color:#77819a;font-size:10.4px}.mentor-story-page aside i{color:#6274c0;font-size:15.6px}.family-mentor-relation{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin-top:7px;color:#6170aa;font-size:9.1px}.family-mentor-relation>i{height:5px;overflow:hidden;border-radius:99px;background:#e1e5f0}.family-mentor-relation>i b{height:100%;display:block;background:linear-gradient(90deg,#6579cc,#d2a54d)}
@media(max-width:560px){.mentor-story-grid{grid-template-columns:1fr}.mentor-relation-journey{gap:2px}.mentor-relation-journey article>i{width:38px;height:38px}.mentor-relation-journey:before{top:19px}}

/* Teacher-configurable knowledge-partner pacing */
.mentor-config-hero{align-items:center}.mentor-config-summary{min-width:170px;padding:15px;border:1px solid #dde3f1;border-radius:13px;background:rgba(255,255,255,.84);text-align:center}.mentor-config-summary strong,.mentor-config-summary span{display:block}.mentor-config-summary strong{color:#45599e;font-size:28.6px}.mentor-config-summary span{margin-top:3px;color:#8791a8;font-size:10.4px}.mentor-level-settings{display:grid;gap:7px;margin-top:14px}.mentor-level-settings article{min-height:60px;display:grid;grid-template-columns:38px 1fr 180px;align-items:center;gap:11px;padding:9px 12px;border:1px solid #e2e6ef;border-radius:12px;background:#fafbfe}.mentor-level-settings article>i{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#edf0fb;color:#6173bc;font-size:19.5px}.mentor-level-settings strong,.mentor-level-settings small{display:block}.mentor-level-settings strong{font-size:13px}.mentor-level-settings small{margin-top:3px;color:#9299aa;font-size:9.1px}.mentor-level-settings label{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#7d879e;font-size:10.4px}.mentor-level-settings input,.mentor-action-settings input{width:67px;height:34px;padding:0 7px;border:1px solid #d9dfeb;border-radius:8px;background:#fff;color:#43548f;font-size:14.3px;font-weight:800;text-align:center}.mentor-level-settings input[readonly]{background:#f0f2f6;color:#9aa1b0}.mentor-action-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.mentor-action-settings label{min-height:82px;display:grid;grid-template-columns:38px 1fr 50px auto;align-items:center;gap:9px;padding:11px;border:1px solid #e1e5ee;border-radius:13px;background:#fafbfe}.mentor-action-settings label>i{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#eef1fc;color:#5e71bf;font-size:19.5px}.mentor-action-settings strong,.mentor-action-settings small{display:block}.mentor-action-settings strong{font-size:11.7px}.mentor-action-settings small{margin-top:3px;color:#9199aa;font-size:9.1px}.mentor-action-settings input{width:50px}.mentor-action-settings label>b{color:#7f89a0;font-size:9.1px}@media(max-width:900px){.mentor-action-settings{grid-template-columns:1fr}.mentor-level-settings article{grid-template-columns:38px 1fr}.mentor-level-settings label{grid-column:2;justify-content:flex-start}}

/* Knowledge-partner co-creation submissions */
.mentor-chapter-task{position:relative;margin-top:13px;padding:13px;border:1px solid #dce2f2;border-radius:12px;background:#f8f9ff}.mentor-chapter-task small,.mentor-chapter-task strong,.mentor-chapter-task p{display:block}.mentor-chapter-task small{color:#6a78b4;font-size:9.1px}.mentor-chapter-task strong{margin-top:5px;color:#3f4b69;font-size:11.7px}.mentor-chapter-task p{margin:5px 0 0;color:#7e879b;font-size:10.4px;line-height:1.6}.mentor-chapter-task button{margin-top:9px;padding:7px 10px;border:0;border-radius:8px;background:#5e70c2;color:#fff;font-size:10.4px;font-weight:750;cursor:pointer}.mentor-chapter-task>b{position:absolute;right:12px;top:12px;padding:4px 7px;border-radius:99px;font-size:9.1px}.mentor-chapter-task>b.pending{background:#fff1d5;color:#9c6a19}.mentor-chapter-task>b.approved{background:#e6f5ed;color:#3b8063}.mentor-work-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.mentor-work-metrics article{padding:15px;border:1px solid #e1e5ef;border-radius:14px;background:#fff}.mentor-work-metrics strong,.mentor-work-metrics span{display:block}.mentor-work-metrics strong{color:#4f61ad;font-size:24.7px}.mentor-work-metrics span{margin-top:3px;color:#8b93a5;font-size:10.4px}.mentor-work-review{margin-top:14px;padding:18px}.mentor-work-list{display:grid;gap:9px}.mentor-work-card{display:grid;grid-template-columns:42px 1fr auto;align-items:start;gap:11px;padding:12px;border:1px solid #e1e5ef;border-radius:13px;background:#fafbfe}.mentor-work-avatar{width:41px;height:41px;display:grid;place-items:center;border-radius:12px;background:#e7ebff;color:#586cc2;font-size:14.3px;font-weight:800}.mentor-work-card small,.mentor-work-card strong{display:block}.mentor-work-card small{color:#7786bd;font-size:9.1px}.mentor-work-card strong{margin-top:3px;font-size:13px}.mentor-work-card p{margin:6px 0 0;color:#727b8f;font-size:10.4px;line-height:1.6}.mentor-work-card footer{display:flex;align-items:center;gap:7px}.mentor-work-card footer button{height:32px;padding:0 9px;border:1px solid #d7ddea;border-radius:8px;background:#fff;color:#737e95;font-size:9.1px;font-weight:750;cursor:pointer}.mentor-work-card footer button:last-child{border-color:#6679ca;background:#6679ca;color:#fff}.mentor-work-card div>b{display:inline-block;margin-top:7px;padding:4px 7px;border-radius:99px;font-size:9.1px}.mentor-work-card div>b.approved{background:#e6f5ed;color:#3b8063}.mentor-work-card div>b.returned{background:#f5e9e7;color:#a05c51}@media(max-width:900px){.mentor-work-card{grid-template-columns:42px 1fr}.mentor-work-card footer{grid-column:2;justify-content:flex-start}}

/* Knowledge-partner portfolio for student and family */
.student-mentor-portfolio>div:last-child,.family-mentor-works>div:last-child{display:grid;gap:8px}.student-mentor-portfolio button,.family-mentor-works button{width:100%;min-height:63px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:9px 11px;border:1px solid #dfe3ed;border-radius:12px;background:#fff;color:#46516d;text-align:left;cursor:pointer}.student-mentor-portfolio button>i,.family-mentor-works button>i:first-child{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#ebeeff;color:#6072bf;font-size:16.9px}.student-mentor-portfolio button strong,.student-mentor-portfolio button small,.family-mentor-works button strong,.family-mentor-works button small{display:block}.student-mentor-portfolio button strong,.family-mentor-works button strong{font-size:11.7px}.student-mentor-portfolio button small,.family-mentor-works button small{max-width:250px;margin-top:3px;overflow:hidden;color:#8b93a5;font-size:9.1px;text-overflow:ellipsis;white-space:nowrap}.student-mentor-portfolio button>b{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:99px;font-size:9.1px;white-space:nowrap}.student-mentor-portfolio button>b.approved{background:#e6f5ed;color:#3b8063}.student-mentor-portfolio button>b.pending{background:#fff1d5;color:#966716}.student-mentor-portfolio button>b.returned{background:#f5e9e7;color:#a05c51}.family-mentor-works{margin-top:12px}.family-mentor-works button>i:last-child{color:#9ba2b2}.mentor-work-detail{padding:15px 4px 4px}.mentor-work-detail>small{color:#7785b9;font-size:9.1px}.mentor-work-detail>p{margin:7px 0 12px;padding:13px;border-radius:11px;background:#f6f7fb;color:#4e5870;font-size:13px;line-height:1.8}.mentor-work-detail>b{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:99px;font-size:10.4px}.mentor-work-detail>b.approved{background:#e6f5ed;color:#3b8063}.mentor-work-detail>b.pending{background:#fff1d5;color:#966716}.mentor-work-detail>b.returned{background:#f5e9e7;color:#a05c51}.mentor-work-detail aside{display:flex;align-items:center;gap:6px;margin-top:12px;color:#7f899f;font-size:10.4px}

/* Teacher feedback and partner-work revisions */
.mentor-review-content{margin:14px 0;padding:14px;border:1px solid #e1e5ef;border-radius:12px;background:#f7f8fc;color:#4d5870;font-size:13px;line-height:1.8}.mentor-feedback-note,.mentor-work-detail>section{display:flex;align-items:flex-start;gap:9px;margin-top:11px;padding:10px;border-radius:10px;background:#eef2ff;color:#596ba9}.mentor-feedback-note>i,.mentor-work-detail>section>i{margin-top:2px;font-size:16.9px}.mentor-feedback-note small,.mentor-feedback-note strong,.mentor-work-detail>section small,.mentor-work-detail>section strong{display:block}.mentor-feedback-note small,.mentor-work-detail>section small{font-size:9.1px}.mentor-feedback-note strong,.mentor-work-detail>section strong{margin-top:3px;color:#4c587b;font-size:10.4px;line-height:1.55}.mentor-work-card footer [data-mentor-review]{border-color:#6679ca;background:#6679ca;color:#fff}

/* Class knowledge-partner learning overview */
.mentor-work-metrics{grid-template-columns:repeat(4,1fr)}.mentor-class-overview{margin:14px 0;padding:18px}.mentor-overview-head,.mentor-overview-list article{display:grid;grid-template-columns:1.25fr 1.15fr 1fr 1.35fr 58px;align-items:center;gap:12px}.mentor-overview-head{padding:0 12px 8px;color:#8b93a5;font-size:9.1px}.mentor-overview-list{display:grid;gap:7px}.mentor-overview-list article{min-height:66px;padding:9px 12px;border:1px solid #e2e6ef;border-radius:12px;background:#fafbfe}.mentor-overview-list article.needs-attention{border-color:#ecd4ce;background:#fffafa}.mentor-overview-list article.has-pending{border-color:#eadcae;background:#fffdf8}.mentor-overview-list article>div:first-child{display:grid;grid-template-columns:36px 1fr;align-items:center;column-gap:9px}.mentor-overview-list article>div:first-child>span{grid-row:1/3;width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#e8ecff;color:#5c6fc1;font-size:13px;font-weight:800}.mentor-overview-list article strong,.mentor-overview-list article small{display:block}.mentor-overview-list article strong{font-size:11.7px}.mentor-overview-list article small{margin-top:3px;color:#9098a9;font-size:9.1px}.mentor-overview-list article>div:nth-child(2)>i{height:5px;display:block;overflow:hidden;margin-top:5px;border-radius:99px;background:#e4e7ef}.mentor-overview-list article>div:nth-child(2)>i b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#6175c9,#d1a34c)}.mentor-overview-list article>div:nth-child(4)>b{display:inline-block;padding:4px 7px;border-radius:99px;font-size:9.1px}.mentor-overview-list article>div:nth-child(4)>b.returned{background:#f6e8e5;color:#a15d51}.mentor-overview-list article>div:nth-child(4)>b.pending{background:#fff0ce;color:#946515}.mentor-overview-list article>div:nth-child(4)>b.active{background:#e6f5ed;color:#3d8065}.mentor-overview-list article>div:nth-child(4)>b.empty{background:#eceef3;color:#858c9a}.mentor-overview-list article>button{height:31px;border:1px solid #d6dceb;border-radius:8px;background:#fff;color:#5e6fae;font-size:9.1px;font-weight:750;cursor:pointer}@media(max-width:1000px){.mentor-work-metrics{grid-template-columns:repeat(2,1fr)}.mentor-class-overview{overflow-x:auto}.mentor-overview-head,.mentor-overview-list article{min-width:820px}}

/* Individual knowledge-partner plans */
.mentor-overview-list article>footer{display:flex;gap:5px}.mentor-overview-list article>footer button{height:31px;padding:0 7px;border:1px solid #d6dceb;border-radius:8px;background:#fff;color:#5e6fae;font-size:9.1px;font-weight:750;cursor:pointer;white-space:nowrap}.mentor-overview-list article>footer button:first-child{border-color:#d7c999;color:#916b22;background:#fffdf4}.mentor-plan-review{margin:14px 0;padding:18px}.mentor-plan-review>div:last-child{display:grid;gap:8px}.mentor-plan-review article{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px;border:1px solid #e1e5ee;border-radius:12px;background:#fafbfe}.mentor-plan-review article>i{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#fff1d4;color:#9c711f;font-size:18.2px}.mentor-plan-review strong,.mentor-plan-review small{display:block}.mentor-plan-review strong{font-size:11.7px}.mentor-plan-review small{margin-top:3px;color:#8e96a8;font-size:9.1px}.mentor-plan-review p{margin:4px 0 0;color:#747e91;font-size:10.4px}.mentor-plan-review footer{display:flex;gap:6px}.mentor-plan-review footer button{height:32px;padding:0 9px;border:1px solid #d8deea;border-radius:8px;background:#fff;color:#707b92;font-size:9.1px;font-weight:750;cursor:pointer}.mentor-plan-review footer button:last-child{border-color:#6175c6;background:#6175c6;color:#fff}.student-mentor-plans{border-color:#ead9a9;background:linear-gradient(180deg,#fffdf7,#fff)}.student-mentor-plans>div:last-child{display:grid;gap:8px}.student-mentor-plans article{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;padding:10px;border:1px solid #eadfbf;border-radius:12px;background:#fff}.student-mentor-plans article>i{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#fff1d4;color:#99701e;font-size:16.9px}.student-mentor-plans strong,.student-mentor-plans small,.student-mentor-plans b{display:block}.student-mentor-plans strong{font-size:11.7px}.student-mentor-plans small{margin-top:3px;color:#7f8799;font-size:9.1px}.student-mentor-plans b{margin-top:4px;color:#9a7b42;font-size:9.1px}.student-mentor-plans button{height:32px;padding:0 9px;border:0;border-radius:8px;background:#c99431;color:#fff;font-size:9.1px;font-weight:750;cursor:pointer}.student-mentor-plans button:disabled{background:#e7e1d3;color:#9a927f;cursor:default}@media(max-width:900px){.mentor-plan-review article{grid-template-columns:38px 1fr}.mentor-plan-review footer{grid-column:2}.mentor-overview-head,.mentor-overview-list article{grid-template-columns:1.25fr 1.15fr 1fr 1.35fr 105px}}

/* Family visibility and overdue partner plans */
.mentor-work-metrics{grid-template-columns:repeat(5,1fr)}.mentor-overview-list article.plan-overdue{border-color:#eabeb6;background:#fff7f6}.mentor-overview-list article>div:nth-child(4)>b.overdue{background:#f7dfda;color:#a44e42}.family-mentor-plans{margin-top:12px}.family-mentor-plans>div:nth-child(2){display:grid;gap:8px}.family-mentor-plans article{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:10px;border:1px solid #e5dfcf;border-radius:12px;background:#fff}.family-mentor-plans article>i{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#fff1d4;color:#98701e;font-size:16.9px}.family-mentor-plans strong,.family-mentor-plans small,.family-mentor-plans b{display:block}.family-mentor-plans strong{font-size:11.7px}.family-mentor-plans small{margin-top:3px;color:#7f8799;font-size:9.1px}.family-mentor-plans b{margin-top:4px;color:#9a7b42;font-size:9.1px}.family-mentor-plans em{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:99px;background:#eef0f5;color:#7d8493;font-size:9.1px;font-style:normal;white-space:nowrap}.family-mentor-plans article.overdue{border-color:#edc9c2;background:#fff9f8}.family-mentor-plans article.overdue em{background:#f7dfda;color:#a44e42}.family-mentor-plans article.submitted em{background:#fff0ce;color:#946515}.family-mentor-plans article.confirmed em{background:#e6f5ed;color:#3d8065}.family-mentor-plans>aside{display:flex;align-items:center;gap:6px;margin-top:9px;color:#8a92a3;font-size:9.1px}@media(max-width:1000px){.mentor-work-metrics{grid-template-columns:repeat(3,1fr)}}

/* Active partner-plan management */
.mentor-plan-manage{margin:14px 0;padding:18px}.mentor-plan-manage>div:last-child{display:grid;gap:8px}.mentor-plan-manage article{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px;border:1px solid #e1e5ee;border-radius:12px;background:#fafbfe}.mentor-plan-manage article.overdue{border-color:#eabeb6;background:#fff8f7}.mentor-plan-manage article>i{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#fff1d4;color:#9c711f;font-size:18.2px}.mentor-plan-manage strong,.mentor-plan-manage small{display:block}.mentor-plan-manage strong{font-size:11.7px}.mentor-plan-manage small{margin-top:3px;color:#8e96a8;font-size:9.1px}.mentor-plan-manage p{margin:4px 0 0;color:#747e91;font-size:10.4px}.mentor-plan-manage footer{display:flex;gap:6px}.mentor-plan-manage footer button{height:32px;padding:0 10px;border:1px solid #d8deea;border-radius:8px;background:#fff;color:#707b92;font-size:9.1px;font-weight:750;cursor:pointer}.mentor-plan-manage footer button:last-child{border-color:#6175c6;color:#5367b5}@media(max-width:900px){.mentor-plan-manage article{grid-template-columns:38px 1fr}.mentor-plan-manage footer{grid-column:2}}

/* Batch knowledge-partner plans */
.mentor-batch-students{margin:2px 0;padding:12px;border:1px solid #dfe4ef;border-radius:13px}.mentor-batch-students legend{padding:0 7px;color:#586684;font-size:11.7px;font-weight:800}.mentor-batch-students legend span{margin-left:6px;color:#7a88be;font-size:9.1px}.mentor-batch-actions{display:flex;gap:6px;margin-bottom:9px}.mentor-batch-actions button{height:28px;padding:0 9px;border:1px solid #d8deea;border-radius:8px;background:#fff;color:#6070ab;font-size:9.1px;font-weight:750;cursor:pointer}.mentor-batch-students>div:last-child{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;max-height:220px;overflow:auto}.mentor-batch-students>div:last-child label{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:7px;padding:8px 9px;border:1px solid #e4e7ef;border-radius:10px;background:#fafbfe;cursor:pointer}.mentor-batch-students input{width:15px;height:15px;accent-color:#6377c8}.mentor-batch-students label span{color:#48536d;font-size:10.4px;font-weight:750}.mentor-batch-students label small{color:#9199aa;font-size:9.1px}@media(max-width:560px){.mentor-batch-students>div:last-child{grid-template-columns:1fr}}

/* Knowledge-partner plan batch progress */
.mentor-batch-manage{margin:14px 0;padding:18px;border-color:#d9def2;background:linear-gradient(180deg,#fbfcff,#fff)}.mentor-batch-manage>div:last-child{display:grid;gap:8px}.mentor-batch-manage article{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:11px;padding:12px;border:1px solid #dfe4f1;border-radius:13px;background:#fff}.mentor-batch-manage article>i{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#e9edff;color:#5b6fc1;font-size:19.5px}.mentor-batch-manage strong,.mentor-batch-manage small{display:block}.mentor-batch-manage strong{font-size:11.7px}.mentor-batch-manage small{margin-top:3px;color:#8b94a8;font-size:9.1px}.mentor-batch-manage p{margin:6px 0;color:#69758e;font-size:10.4px}.mentor-batch-manage span>i{height:6px;display:block;overflow:hidden;border-radius:99px;background:#e7eaf2}.mentor-batch-manage span>i b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#6478cb,#7dbb9f)}.mentor-batch-manage footer{display:flex;gap:6px}.mentor-batch-manage footer button{height:32px;padding:0 10px;border:1px solid #d8deea;border-radius:8px;background:#fff;color:#717b90;font-size:9.1px;font-weight:750;cursor:pointer}.mentor-batch-manage footer button:last-child{border-color:#6376c6;color:#5367b5}.mentor-batch-manage footer>b{padding:5px 8px;border-radius:99px;background:#e7f4ed;color:#438064;font-size:9.1px}@media(max-width:900px){.mentor-batch-manage article{grid-template-columns:40px 1fr}.mentor-batch-manage footer{grid-column:2}}

/* Class knowledge-partner learning report */
.mentor-report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.mentor-report-metrics article{padding:12px;border:1px solid #dfe4f0;border-radius:12px;background:#f8f9fd;text-align:center}.mentor-report-metrics strong,.mentor-report-metrics span{display:block}.mentor-report-metrics strong{color:#5266b3;font-size:20.8px}.mentor-report-metrics span{margin-top:3px;color:#8790a4;font-size:clamp(14px,.9vw,16px)}.mentor-report-table{max-height:360px;overflow:auto;border:1px solid #e0e4ed;border-radius:12px}.mentor-report-table>div,.mentor-report-table article{display:grid;grid-template-columns:1.2fr 1fr .55fr 1.15fr 1.05fr;align-items:center;gap:8px;padding:8px 10px}.mentor-report-table>div{position:sticky;top:0;z-index:1;background:#eef1f8;color:#7b8498;font-size:clamp(14px,.9vw,16px);font-weight:750}.mentor-report-table article{border-top:1px solid #eceef3;background:#fff}.mentor-report-table article.attention{background:#fff9f7}.mentor-report-table strong,.mentor-report-table small{display:block}.mentor-report-table strong,.mentor-report-table article>b{color:#4c5871;font-size:clamp(14px,.9vw,16px)}.mentor-report-table small{margin-top:2px;color:#9299a9;font-size:clamp(14px,.9vw,16px)}.mentor-report-table article>b{text-align:center}@media(max-width:560px){.mentor-report-metrics{grid-template-columns:repeat(2,1fr)}.mentor-report-table{overflow-x:auto}.mentor-report-table>div,.mentor-report-table article{min-width:650px}}

/* Knowledge-partner stage feedback */
.mentor-report-table>div,.mentor-report-table article{grid-template-columns:1.15fr .95fr .45fr 1.1fr 1fr .7fr}.mentor-report-table article>button{height:30px;padding:0 8px;border:1px solid #cfd7ee;border-radius:8px;background:#f5f7ff;color:#5368b7;font-size:clamp(14px,.9vw,16px);font-weight:750;cursor:pointer}.mentor-stage-feedback{display:grid;grid-template-columns:42px 1fr;align-items:start;gap:11px;border-color:#d8dff4;background:linear-gradient(135deg,#f2f5ff,#fff)}.mentor-stage-feedback>i{width:41px;height:41px;display:grid;place-items:center;border-radius:12px;background:#dfe6ff;color:#5369bb;font-size:19.5px}.mentor-stage-feedback small,.mentor-stage-feedback h2,.mentor-stage-feedback p{display:block}.mentor-stage-feedback small{color:#7180b7;font-size:9.1px}.mentor-stage-feedback h2{margin:4px 0;color:#394766;font-size:14.3px}.mentor-stage-feedback p{margin:0;color:#66718a;font-size:10.4px;line-height:1.7}.family-section.mentor-stage-feedback{margin-top:12px}

/* Student response to partner-stage feedback */
.mentor-stage-feedback aside{grid-column:1/-1;margin-top:9px;padding:9px 10px;border-radius:10px;background:#fff;color:#5f6b84}.mentor-stage-feedback aside b,.mentor-stage-feedback aside span{display:block}.mentor-stage-feedback aside b{color:#5368b2;font-size:9.1px}.mentor-stage-feedback aside span{margin-top:4px;font-size:10.4px;line-height:1.6}.mentor-stage-feedback div>button{margin-top:9px;height:31px;padding:0 10px;border:1px solid #cdd6f0;border-radius:8px;background:#fff;color:#5268b6;font-size:9.1px;font-weight:750;cursor:pointer}.mentor-feedback-prompt{margin:12px 0;padding:12px;border-left:3px solid #687aca;border-radius:0 10px 10px 0;background:#f2f4fb;color:#59647d;font-size:11.7px;line-height:1.7}

/* Teacher acknowledgement of student action plan */
.mentor-report-table article>footer{display:grid;gap:4px}.mentor-report-table article>footer button{height:27px;padding:0 7px;border:1px solid #cfd7ee;border-radius:7px;background:#f5f7ff;color:#5368b7;font-size:clamp(14px,.9vw,16px);font-weight:750;cursor:pointer;white-space:nowrap}.mentor-report-table article>footer button:last-child{border-color:#c9dfd2;background:#f1faf5;color:#438064}.mentor-report-table article>footer>b{display:inline-flex;align-items:center;justify-content:center;padding:4px 6px;border-radius:99px;background:#e7f4ed;color:#438064;font-size:clamp(14px,.9vw,16px)}.mentor-stage-feedback aside em{display:inline-flex;align-items:center;gap:4px;margin-top:7px;padding:4px 7px;border-radius:99px;background:#e7f4ed;color:#438064;font-size:9.1px;font-style:normal}.mentor-stage-feedback aside em i{font-size:11.7px}

/* Mentor feedback history, achievements and family encouragement */
.mentor-feedback-actions{display:flex;gap:6px}.mentor-stage-feedback>div>footer{display:flex;align-items:flex-start;gap:7px;margin-top:9px;padding:9px 10px;border-radius:10px;background:#fff6f3;color:#8b5d58}.mentor-stage-feedback>div>footer>i{margin-top:2px;color:#d07872}.mentor-stage-feedback>div>footer span,.mentor-stage-feedback>div>footer b{display:block}.mentor-stage-feedback>div>footer b{margin-bottom:3px;font-size:9.1px}.mentor-stage-feedback>div>footer span{font-size:10.4px;line-height:1.6}.mentor-feedback-history{display:grid;gap:9px;max-height:450px;overflow:auto;margin:13px 0}.mentor-feedback-history>article{padding:12px;border:1px solid #e0e4ef;border-radius:12px;background:#fafbfe}.mentor-feedback-history header{display:flex;justify-content:space-between;gap:10px}.mentor-feedback-history header strong,.mentor-feedback-history header small{display:block}.mentor-feedback-history header strong{font-size:11.7px}.mentor-feedback-history header small{margin-top:3px;color:#8d96a9;font-size:9.1px}.mentor-feedback-history header>b{align-self:flex-start;padding:4px 7px;border-radius:99px;background:#eef1f8;color:#64708d;font-size:8.5px;white-space:nowrap}.mentor-feedback-history>article>p{margin:8px 0;color:#616c83;font-size:10.4px;line-height:1.65}.mentor-feedback-history aside,.mentor-feedback-history footer{margin-top:8px;padding:9px;border-radius:9px;background:#fff}.mentor-feedback-history aside strong,.mentor-feedback-history aside span,.mentor-feedback-history footer strong{display:block}.mentor-feedback-history aside strong,.mentor-feedback-history footer strong{color:#566ab6;font-size:9.1px}.mentor-feedback-history aside span,.mentor-feedback-history footer span{margin-top:3px;color:#69748b;font-size:10.4px;line-height:1.55}.mentor-feedback-history>article>em{display:inline-flex;align-items:center;gap:4px;margin-top:7px;color:#438064;font-size:9.1px;font-style:normal}.mentor-feedback-history footer{display:flex;gap:6px;background:#fff6f3}.mentor-feedback-history footer>i{color:#d07872}.mentor-achievement-section{background:linear-gradient(180deg,#fffdf7,#fff)}.mentor-achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mentor-achievement-grid article{min-height:88px;display:grid;justify-items:center;align-content:center;gap:4px;padding:9px;border:1px solid #e1e5ef;border-radius:12px;background:#f7f8fb;text-align:center}.mentor-achievement-grid article>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e8ebf1;color:#9aa1af;font-size:16.9px}.mentor-achievement-grid strong{font-size:10.4px}.mentor-achievement-grid small{color:#9098a9;font-size:8.5px;line-height:1.4}.mentor-achievement-grid article.unlocked{border-color:#ead9ab;background:#fffdf6}.mentor-achievement-grid article.unlocked>i{background:#fff0ca;color:#a97618}.mentor-achievement-grid article.unlocked strong{color:#755a27}@media(max-width:560px){.mentor-achievement-grid{grid-template-columns:repeat(2,1fr)}}

/* Pet journal, achievements and class report */
.atlas-report-action{display:flex;justify-content:flex-end;margin:-6px 0 12px}.companion-journal-section,.companion-achievement-section{background:linear-gradient(180deg,#fff,#fbfcff)}.companion-journal-section .student-section-title>button{height:32px;padding:0 10px;border:0;border-radius:8px;background:#5f72c4;color:#fff;font-size:9.1px;font-weight:750;cursor:pointer}.companion-journal-list{display:grid;gap:8px}.companion-journal-list article{display:grid;grid-template-columns:36px 1fr;align-items:start;gap:9px;padding:10px;border:1px solid #e0e4ef;border-radius:11px;background:#fff}.companion-journal-list article>i{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#e9edff;color:#5b6fc0;font-size:16.9px}.companion-journal-list strong,.companion-journal-list small{display:block}.companion-journal-list strong{font-size:10.4px}.companion-journal-list small{margin-top:3px;color:#939aac;font-size:9.1px}.companion-journal-list p{margin:5px 0 0;color:#657087;font-size:10.4px;line-height:1.6}.family-pet-journals{margin-top:12px}.companion-report-table{max-height:380px;overflow:auto;border:1px solid #e0e4ed;border-radius:12px}.companion-report-table>div,.companion-report-table article{display:grid;grid-template-columns:1.15fr 1fr .55fr .8fr 1.7fr;align-items:center;gap:8px;padding:8px 10px}.companion-report-table>div{position:sticky;top:0;z-index:1;background:#eef1f8;color:#7b8498;font-size:clamp(14px,.9vw,16px);font-weight:750}.companion-report-table article{border-top:1px solid #eceef3;background:#fff}.companion-report-table strong,.companion-report-table small{display:block}.companion-report-table strong,.companion-report-table article>b{font-size:clamp(14px,.9vw,16px)}.companion-report-table small{margin-top:2px;color:#9299a9;font-size:clamp(14px,.9vw,16px)}.companion-report-table article>p{margin:0;color:#667188;font-size:clamp(14px,.9vw,16px);line-height:1.45}@media(max-width:560px){.companion-report-table{overflow-x:auto}.companion-report-table>div,.companion-report-table article{min-width:650px}}

/* Pet journal review, archive and companionship insights */
.companion-journal-section .student-section-title>div:last-child,.family-journal-actions{display:flex;align-items:center;gap:7px}.companion-journal-section .student-section-title .secondary-action,.family-journal-actions button{height:32px;padding:0 10px;border:1px solid #d6dcef;border-radius:8px;background:#fff;color:#586db8;font-size:9.1px;font-weight:750;cursor:pointer}.family-journal-actions>span{color:#818ba0;font-size:9.1px}.companion-journal-list aside,.companion-journal-list footer{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px 9px;border-radius:9px;font-size:9.7px;line-height:1.55}.companion-journal-list aside{background:#f1f4ff;color:#596baf}.companion-journal-list footer{background:#fff4f1;color:#8d625c}.companion-journal-list aside>i,.companion-journal-list footer>i{margin-top:2px}.companion-journal-list aside span,.companion-journal-list aside b,.companion-journal-list footer span,.companion-journal-list footer b{display:block}.companion-journal-list aside b,.companion-journal-list footer b{margin-bottom:2px;font-size:8.5px}.family-journal-encourage{display:inline-flex;align-items:center;gap:5px;margin-top:8px;height:29px;padding:0 9px;border:1px solid #eccfc9;border-radius:8px;background:#fff8f6;color:#a3615a;font-size:8.5px;font-weight:750;cursor:pointer}.companion-rhythm-section{background:linear-gradient(150deg,#fbfcff,#fffdf9)}.companion-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.companion-week-grid article{display:grid;justify-items:center;gap:5px;padding:8px 3px;border:1px solid #e3e6ef;border-radius:10px;background:#f7f8fb;color:#a2a8b5}.companion-week-grid article.done{border-color:#cbd5f0;background:#eef2ff;color:#5d70bb}.companion-week-grid small,.companion-week-grid b{font-size:8.5px}.companion-week-grid i{font-size:14.3px}.companion-mood-trend{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid #eceef4}.companion-mood-trend>strong{margin-right:auto;font-size:10.4px}.companion-mood-trend>span{display:inline-flex;gap:5px;padding:5px 8px;border-radius:99px;background:#eef1fa;color:#65728f;font-size:8.5px}.companion-mood-trend>span b{color:#5368b4}.companion-mood-trend>small{color:#939aac;font-size:9.1px}.companion-journal-archive{display:grid;gap:9px;max-height:450px;overflow:auto;margin:13px 0}.companion-journal-archive>article{padding:12px;border:1px solid #e0e4ef;border-radius:12px;background:#fafbfe}.companion-journal-archive header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.companion-journal-archive header strong,.companion-journal-archive header small{display:block}.companion-journal-archive header strong{font-size:11px}.companion-journal-archive header small{margin-top:3px;color:#8e97aa;font-size:9.1px}.companion-journal-archive header>b{padding:4px 7px;border-radius:99px;background:#eef1fa;color:#6170aa;font-size:8.5px}.companion-journal-archive>article>p{margin:8px 0;color:#626d83;font-size:10.4px;line-height:1.65}.companion-journal-archive aside,.companion-journal-archive footer{display:flex;gap:7px;margin-top:7px;padding:9px;border-radius:9px}.companion-journal-archive aside{background:#f0f3ff;color:#596aaa}.companion-journal-archive footer{background:#fff4f1;color:#8d625c}.companion-journal-archive aside span,.companion-journal-archive aside strong,.companion-journal-archive footer span,.companion-journal-archive footer strong{display:block}.companion-journal-archive aside strong,.companion-journal-archive footer strong{margin-bottom:2px;font-size:8.5px}.companion-journal-archive aside span,.companion-journal-archive footer span{font-size:9.7px;line-height:1.55}.companion-report-table article>p button{display:block;margin-top:5px;height:26px;padding:0 7px;border:1px solid #cfd7ee;border-radius:7px;background:#f5f7ff;color:#5368b7;font-size:clamp(14px,.9vw,16px);font-weight:750;cursor:pointer}@media(max-width:560px){.companion-week-grid{gap:3px}.companion-week-grid article{padding:7px 1px}.companion-journal-section .student-section-title{align-items:flex-start}.companion-journal-section .student-section-title>div:last-child{flex-direction:column;align-items:stretch}}

/* Pet observation center: filters, summaries, prompts and family co-reading */
.companion-report-filters{display:grid;grid-template-columns:1fr 170px;gap:8px;margin:11px 0}.companion-report-filters input,.companion-report-filters select{height:34px;padding:0 10px;border:1px solid #dce1ed;border-radius:9px;background:#fff;color:#58647b;font-size:clamp(14px,.9vw,16px);outline:none}.companion-report-table>section>article{display:grid;grid-template-columns:1.15fr 1fr .55fr .8fr 1.7fr;align-items:center;gap:8px;padding:8px 10px;border-top:1px solid #eceef3;background:#fff}.report-row-actions{display:flex;flex-wrap:wrap;gap:4px}.companion-report-table article>p .report-row-actions button{display:inline-flex}.journal-quick-feedback{display:flex;flex-wrap:wrap;gap:6px}.journal-quick-feedback button{padding:7px 9px;border:1px solid #d5dcf0;border-radius:8px;background:#f6f8ff;color:#576bb4;font-size:9.1px;font-weight:700;cursor:pointer}.journal-tag-field{border:0;padding:0}.journal-tag-field legend{margin-bottom:7px;color:#58647b;font-size:9.7px;font-weight:750}.journal-tag-field label{display:inline-flex;align-items:center;gap:4px;margin:0 6px 6px 0;padding:6px 8px;border:1px solid #e0e4ee;border-radius:99px;background:#fff;font-size:8.5px}.journal-tag-field input{accent-color:#6074c5}.companion-archive-tools{display:flex;justify-content:flex-end;gap:7px;margin:10px 0}.companion-archive-tools button,.journal-favorite{height:30px;padding:0 9px;border:1px solid #d6dcef;border-radius:8px;background:#fff;color:#596db6;font-size:8.5px;font-weight:750;cursor:pointer}.companion-journal-archive>article.favorite{border-color:#e8cd83;background:#fffdf5}.companion-journal-archive aside em{display:block;margin-top:4px;color:#7b88b8;font-size:8.5px;font-style:normal}.companion-journal-archive footer.co-read{background:#f2f8f5;color:#557c69}.journal-favorite{margin-top:8px;color:#9a711f}.companion-month-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.companion-month-summary article{display:grid;gap:3px;padding:12px;border:1px solid #e1e5ef;border-radius:11px;background:#fafbfe;text-align:center}.companion-month-summary strong{color:#5369b6;font-size:16px}.companion-month-summary span{color:#838da0;font-size:8.5px}.companion-month-story,.companion-next-prompt{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #dce2f1;border-radius:12px;background:linear-gradient(145deg,#f4f7ff,#fff)}.companion-month-story>i,.companion-next-prompt>i{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#e7ecff;color:#5d71bd;font-size:16.9px}.companion-month-story strong,.companion-next-prompt strong{display:block;font-size:10.4px}.companion-month-story p,.companion-next-prompt p{margin:5px 0 0;color:#69748a;font-size:9.7px;line-height:1.6}.companion-next-prompt small{display:block;margin-bottom:3px;color:#8992a5;font-size:8.5px}.family-journal-encourage.co-read{margin-left:5px;border-color:#cfe1d7;background:#f5fbf7;color:#4f8068}@media(max-width:560px){.companion-report-filters{grid-template-columns:1fr}.companion-month-summary{grid-template-columns:repeat(2,1fr)}.companion-report-table>section>article{min-width:650px}}

/* Pet journal classroom operations and exemplary records */
.companion-report-filters{grid-template-columns:minmax(130px,1fr) 120px 120px 110px auto}.companion-report-filters button{height:34px;padding:0 10px;border:1px solid #cfd8ef;border-radius:9px;background:#eef2ff;color:#5369b5;font-size:clamp(14px,.9vw,16px);font-weight:750;white-space:nowrap;cursor:pointer}.exemplary-mark{display:inline-flex!important;align-items:center;gap:3px;margin-left:5px;padding:3px 6px;border-radius:99px;background:#fff0c8;color:#956a12;font-size:8px!important;font-style:normal;white-space:nowrap}.journal-exemplary-toggle{display:flex!important;align-items:center;gap:8px;padding:10px;border:1px solid #ead8a9!important;border-radius:10px;background:#fffaf0}.journal-exemplary-toggle>span{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:6px}.journal-exemplary-toggle i{grid-row:1/3;color:#b27c16;font-size:16px}.journal-exemplary-toggle b{font-size:9.7px}.journal-exemplary-toggle small{color:#8d8067;font-size:8.5px}.companion-journal-archive>article.exemplary{box-shadow:inset 3px 0 #e0b24c}.companion-archive-tools select{height:30px;margin-right:auto;padding:0 8px;border:1px solid #d6dcef;border-radius:8px;background:#fff;color:#65718a;font-size:8.5px}@media(max-width:800px){.companion-report-filters{grid-template-columns:1fr 1fr}.companion-report-filters input{grid-column:1/-1}}

/* Pet observation challenges across teacher, student and family */
.atlas-report-action{gap:7px}.challenge-dashboard-actions{display:flex;justify-content:flex-end;gap:8px;margin:11px 0}.challenge-dashboard-actions select,.challenge-dashboard-actions button{height:34px;padding:0 10px;border:1px solid #d6dcef;border-radius:9px;background:#fff;color:#596db5;font-size:9.1px;font-weight:750}.challenge-dashboard-actions button{background:#6074c5;color:#fff;cursor:pointer}.companion-challenge-list{display:grid;gap:8px;max-height:410px;overflow:auto}.companion-challenge-list article,.student-companion-challenges article,.family-companion-challenges article{display:grid;grid-template-columns:34px 1fr auto;align-items:start;gap:9px;padding:10px;border:1px solid #e0e4ee;border-radius:11px;background:#fff}.companion-challenge-list article>i,.student-companion-challenges article>i,.family-companion-challenges article>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf1ff;color:#5d71bd;font-size:15.6px}.companion-challenge-list strong,.companion-challenge-list small,.student-companion-challenges strong,.student-companion-challenges small,.family-companion-challenges strong,.family-companion-challenges small{display:block}.companion-challenge-list strong,.student-companion-challenges strong,.family-companion-challenges strong{font-size:10.4px}.companion-challenge-list small,.student-companion-challenges small,.family-companion-challenges small{margin-top:3px;color:#8d96a9;font-size:8.5px}.companion-challenge-list p,.student-companion-challenges p,.family-companion-challenges p{margin:5px 0;color:#657087;font-size:9.7px;line-height:1.55}.companion-challenge-list em,.student-companion-challenges em,.family-companion-challenges em{display:block;color:#5c70b7;font-size:8.5px;font-style:normal}.companion-challenge-list footer{display:flex;gap:5px}.companion-challenge-list footer button,.student-companion-challenges article>button{height:28px;padding:0 8px;border:1px solid #ced7ef;border-radius:7px;background:#f4f7ff;color:#5368b5;font-size:8.5px;font-weight:750;cursor:pointer}.companion-challenge-list footer button:last-child{background:#6074c5;color:#fff}.companion-challenge-list article.overdue,.student-companion-challenges article.overdue,.family-companion-challenges article.overdue{border-color:#edc8c2;background:#fff8f6}.companion-challenge-list article.confirmed,.student-companion-challenges article.confirmed{border-color:#cfe3d7;background:#f7fcf9}.student-companion-challenges>div,.family-companion-challenges>div{display:grid;gap:8px}.student-companion-challenges article>b{align-self:center;padding:5px 7px;border-radius:99px;background:#edf1f8;color:#68748d;font-size:8.5px}.family-companion-challenges article{grid-template-columns:34px 1fr}.family-companion-challenges>aside{display:flex;gap:5px;margin-top:8px;color:#778298;font-size:8.5px}

/* Long-term pet challenge management */
.challenge-batch-list{display:grid;gap:7px;max-height:170px;overflow:auto;margin:10px 0}.challenge-batch-list article{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:9px;border:1px solid #e0e4ee;border-radius:10px;background:#fafbfe}.challenge-batch-list article>i{color:#6275bd;font-size:15px}.challenge-batch-list strong,.challenge-batch-list small{display:block}.challenge-batch-list strong{font-size:9.7px}.challenge-batch-list small{margin-top:2px;color:#8b94a5;font-size:8.5px}.challenge-batch-list span>i{display:block;height:4px;margin-top:6px;border-radius:99px;background:#e6e9f1}.challenge-batch-list span>i>b{display:block;height:100%;border-radius:99px;background:#6679c7}.challenge-batch-list footer{display:flex;gap:4px}.challenge-batch-list button,.companion-challenge-list footer button{height:26px;padding:0 7px;border:1px solid #d3daec;border-radius:7px;background:#fff;color:#5c6eac;font-size:8px;font-weight:700;cursor:pointer}.companion-challenge-list article.cancelled{opacity:.68;background:#f5f5f6}.student-companion-challenges .student-section-title select{height:30px;padding:0 8px;border:1px solid #d6dcef;border-radius:8px;background:#fff;color:#64718b;font-size:8.5px}.family-companion-challenges article{grid-template-columns:34px 1fr auto}.family-companion-challenges article>button{align-self:center}.student-companion-challenges article[hidden]{display:none}

/* Three-role pet companionship weekly reports */
.weekly-report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.weekly-report-metrics article{padding:12px;border:1px solid #e1e5ef;border-radius:11px;background:#fafbfe;text-align:center}.weekly-report-metrics strong,.weekly-report-metrics span{display:block}.weekly-report-metrics strong{color:#566bb8;font-size:16px}.weekly-report-metrics span{margin-top:3px;color:#8992a5;font-size:clamp(14px,.9vw,16px)}.weekly-report-story{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:11px;border:1px solid #dfe4f1;border-radius:11px;background:#f7f9ff}.weekly-report-story small,.weekly-report-story strong{display:block}.weekly-report-story small{color:#9098a9;font-size:clamp(14px,.9vw,16px)}.weekly-report-story strong{margin-top:4px;font-size:clamp(14px,.9vw,16px)}.weekly-report-story aside{grid-column:1/-1;color:#b26055;font-size:clamp(14px,.9vw,16px)}.weekly-note{margin-top:8px;padding:10px;border-radius:10px;background:#f5f7ff}.weekly-note.teacher{background:#eef3ff}.weekly-note.family{background:#fff5f2}.weekly-note b{font-size:9.1px}.weekly-note p{margin:4px 0 0;color:#657087;font-size:9.7px;line-height:1.55}.weekly-export-button{width:100%;height:32px;margin-top:9px;border:1px solid #d3daec;border-radius:8px;background:#fff;color:#596db5;font-size:9.1px;font-weight:750;cursor:pointer}.weekly-class-list{display:grid;gap:7px;max-height:410px;overflow:auto}.weekly-class-list article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e1e5ee;border-radius:10px;background:#fff}.weekly-class-list article.attention{border-color:#edc8c2;background:#fff9f7}.weekly-class-list strong,.weekly-class-list small{display:block}.weekly-class-list strong{font-size:10.4px}.weekly-class-list small{margin-top:3px;color:#8e96a8;font-size:8.5px}.weekly-class-list article>b{color:#69758f;font-size:8.5px}.weekly-class-list button{height:28px;padding:0 8px;border:1px solid #d2d9ec;border-radius:7px;background:#f5f7ff;color:#586db6;font-size:8.5px;font-weight:750;cursor:pointer}@media(max-width:560px){.weekly-report-metrics{grid-template-columns:repeat(2,1fr)}.weekly-report-story{grid-template-columns:1fr}.weekly-class-list article{grid-template-columns:1fr auto}.weekly-class-list button{grid-column:1/-1}}
.weekly-period-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}.weekly-period-nav button{height:30px;padding:0 10px;border:1px solid #d4dced;border-radius:8px;background:#fff;color:#5368b4;font-size:9px;font-weight:700;cursor:pointer}.weekly-period-nav button:disabled{opacity:.4;cursor:default}.weekly-period-nav strong{color:#58657e;font-size:10px}
.weekly-class-toolbar{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:9px;margin:12px 0 6px}.weekly-class-toolbar label{display:grid;gap:4px;color:#67728d;font-size:10px;font-weight:700}.weekly-class-toolbar input,.weekly-class-toolbar select{width:100%;min-width:0;height:34px;padding:0 9px;border:1px solid #d6ddec;border-radius:8px;background:#fff;color:#3d4c6c;font:inherit;font-size:11px}.weekly-class-count{margin:8px 0;color:#69758e;font-size:10px}.weekly-class-empty{padding:24px 12px;border:1px dashed #d6ddec;border-radius:10px;color:#7b859b;text-align:center;font-size:11px}@media(max-width:560px){.weekly-class-toolbar{grid-template-columns:1fr 1fr}.weekly-class-toolbar label:first-child{grid-column:1/-1}}
.modal-card:has(#weeklyClassRows){width:min(700px,calc(100vw - 48px))}.modal-card:has(#weeklyClassRows) .weekly-class-list strong{font-size:13px}.modal-card:has(#weeklyClassRows) .weekly-class-list small,.modal-card:has(#weeklyClassRows) .weekly-class-list article>b,.modal-card:has(#weeklyClassRows) .weekly-class-list button{font-size:10px}
.modal-card:has(.weekly-evidence){width:min(680px,calc(100vw - 48px))}.weekly-comparison{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 12px}.weekly-comparison>div{padding:10px;border:1px solid #e1e6f0;border-radius:10px;background:#fff}.weekly-comparison b,.weekly-comparison small{display:block}.weekly-comparison b{color:#4e63a7;font-size:11px}.weekly-comparison small{margin-top:3px;color:#8190a8;font-size:9px}.weekly-milestone{display:flex;align-items:center;gap:9px;margin:10px 0;padding:10px;border-radius:10px;background:#f4f7ff;color:#5668a4}.weekly-milestone p{margin:0;font-size:11px;line-height:1.5}.weekly-milestone i{font-size:18px}.weekly-activity-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:10px 0}.weekly-activity-grid article{display:grid;justify-items:center;gap:3px;padding:8px 2px;border:1px solid #e5e9f1;border-radius:9px;color:#8e98aa;background:#fafbfe}.weekly-activity-grid article.active{border-color:#b8c7f2;background:#eff3ff;color:#5169b4}.weekly-activity-grid small,.weekly-activity-grid span{font-size:8px}.weekly-activity-grid b{font-size:10px}.weekly-evidence{margin:12px 0}.weekly-evidence h3{display:flex;justify-content:space-between;gap:8px;margin:0 0 7px;color:#435273;font-size:13px}.weekly-evidence h3 small{color:#8b96a9;font-size:9px;font-weight:500}.weekly-evidence>div{display:grid;gap:6px;max-height:210px;overflow:auto}.weekly-evidence article{display:flex;gap:9px;padding:9px;border:1px solid #e4e8f1;border-radius:9px}.weekly-evidence article>i{color:#6079bf;font-size:16px}.weekly-evidence strong,.weekly-evidence small{display:block}.weekly-evidence strong{color:#465576;font-size:11px}.weekly-evidence small{margin-top:2px;color:#919aab;font-size:9px}.weekly-evidence p{margin:4px 0 0;color:#65728b;font-size:10px;line-height:1.45}.weekly-response-status{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.weekly-response-status span{padding:5px 8px;border-radius:999px;background:#f3f4f7;color:#8992a3;font-size:9px}.weekly-response-status span.done{background:#eaf5ef;color:#428168}@media(max-width:560px){.weekly-comparison{grid-template-columns:1fr}.weekly-activity-grid{gap:2px}.weekly-activity-grid article{padding:6px 1px}.weekly-activity-grid span{font-size:7px}.weekly-evidence h3{display:block}}
.weekly-personal-trend,.weekly-class-trend{margin:11px 0;padding:11px;border:1px solid #e1e6f1;border-radius:12px;background:#fafbff}.weekly-personal-trend h3,.weekly-class-trend h3{margin:0 0 8px;color:#485a83;font-size:12px}.weekly-personal-trend>div,.weekly-class-trend>div:last-child{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.weekly-personal-trend button,.weekly-class-trend [data-class-week]{display:grid;gap:3px;text-align:left;padding:8px;border:1px solid #dce3f2;border-radius:9px;background:#fff;color:#63718d;cursor:pointer}.weekly-personal-trend button.selected,.weekly-class-trend [data-class-week].selected{border-color:#7290db;background:#edf3ff}.weekly-personal-trend b,.weekly-class-trend strong{color:#4d64ae;font-size:12px}.weekly-personal-trend span,.weekly-personal-trend small,.weekly-class-trend small{font-size:9px}.weekly-class-trend>div:first-child{display:flex;align-items:center;gap:8px;margin-bottom:8px}.weekly-class-trend h3{margin:0 auto 0 0}.weekly-class-trend select,.weekly-class-trend>div:first-child button{height:29px;padding:0 7px;border:1px solid #d5deef;border-radius:7px;background:#fff;color:#566aa8;font-size:10px;cursor:pointer}.weekly-class-trend [data-class-week] i{height:5px;overflow:hidden;border-radius:99px;background:#e8edf8}.weekly-class-trend [data-class-week] i b{display:block;height:100%;border-radius:99px;background:#7d94d7}@media(max-width:560px){.weekly-personal-trend>div,.weekly-class-trend>div:last-child{grid-template-columns:repeat(2,1fr)}.weekly-class-trend>div:first-child{flex-wrap:wrap}.weekly-class-trend h3{width:100%}}
.weekly-class-alerts{display:flex;gap:8px;margin:8px 0}.weekly-class-alerts span{padding:7px 10px;border-radius:8px;background:#fff4ed;color:#a56a4d;font-size:10px}.weekly-class-alerts b{font-size:12px}.weekly-goal-review,.weekly-followup-card{margin:11px 0;padding:12px;border:1px solid #dfe6f2;border-radius:11px;background:#f8faff}.weekly-goal-review h3,.weekly-followup-card h3{margin:0 0 7px;color:#4a5f94;font-size:12px}.weekly-goal-review p,.weekly-followup-card p{margin:4px 0;color:#5c6984;font-size:11px;line-height:1.5}.weekly-goal-review span{display:inline-block;margin:5px 0;padding:4px 7px;border-radius:7px;background:#e9f0ff;color:#536bb2;font-size:10px}.weekly-followup-card small{display:block;color:#7986a0;font-size:10px}.weekly-followup-card button{margin-top:8px;padding:6px 10px;border:1px solid #cad6ed;border-radius:8px;background:#fff;color:#526bad;font-size:10px;cursor:pointer}.modal-card:has(#weeklyClassRows) .weekly-class-list article:has([data-weekly-followup]){grid-template-columns:1fr auto auto auto}@media(max-width:560px){.modal-card:has(#weeklyClassRows) .weekly-class-list article:has([data-weekly-followup]){grid-template-columns:1fr auto}.modal-card:has(#weeklyClassRows) .weekly-class-list article:has([data-weekly-followup]) button{grid-column:auto}}
.weekly-followup-inbox{display:grid;gap:8px;max-height:400px;overflow:auto}.weekly-followup-inbox article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px;border:1px solid #e0e6f1;border-radius:10px;background:#fff}.weekly-followup-inbox strong,.weekly-followup-inbox small{display:block}.weekly-followup-inbox strong{color:#445577;font-size:12px}.weekly-followup-inbox small{margin-top:3px;color:#8c97a9;font-size:10px}.weekly-followup-inbox p{margin:5px 0 0;color:#69768d;font-size:11px}.weekly-followup-inbox button{padding:6px 11px;border:1px solid #d2dcef;border-radius:8px;background:#f4f7ff;color:#546bb0;font-size:11px;cursor:pointer}

/* Teacher mobile app · phones use a dedicated navigation and single-column workspace */
.teacher-mobile-nav,.mobile-role-switch{display:none}.teacher-mobile-menu{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:16px 0}.teacher-mobile-menu button{min-height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #e0e5f0;border-radius:14px;background:#f8f9fd;color:#5265aa;font-weight:750;cursor:pointer}.teacher-mobile-menu button i{font-size:25px}.teacher-mobile-menu button.active{border-color:#aebded;background:#edf2ff;color:#354c9b}

@media(max-width:767px){
  body{min-width:0;padding-bottom:72px;background:#f3f5fb;font-size:14px}.app-shell{min-height:100dvh}.app-shell[hidden]+.teacher-mobile-nav{display:none!important}
  .topbar{height:64px;padding:0 12px;position:sticky}.brand{width:auto;gap:7px}.brand-mark{width:38px;height:38px}.brand strong{font-size:22px}.brand small{display:none}.main-nav{display:none}.top-actions{margin-left:auto;gap:5px}.class-switcher{max-width:88px;padding:8px 9px;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.class-switcher i{display:none}.role-switch,.teacher-name{display:none}.mobile-role-switch{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:#eef1fa;color:#6171a4;font-size:18px}.teacher-avatar{display:none}.icon-button{width:34px;height:34px}
  main{padding:0 12px 18px}.hero{min-height:auto;display:block;margin:0 -12px;padding:24px 16px 16px;background-position:center,right center}.hero-copy{min-width:0;padding:0}.eyebrow{font-size:12px}.hero h1{max-width:280px;font-size:31px;line-height:1.2}.hero-copy>p:last-child{max-width:300px;font-size:13px;line-height:1.55}.class-energy{width:100%;height:68px;margin-top:18px;padding:10px 12px;border-radius:15px}.energy-emblem{width:43px;height:43px}.energy-label{margin-bottom:7px;font-size:11px}.energy-label strong{font-size:14px}.energy-label b{font-size:17px}.energy-value{font-size:21px}
  .workspace{min-height:0;display:block;margin-top:12px;border-radius:16px;overflow:visible}.roster-panel{padding:12px}.toolbar{height:auto;flex-direction:column;align-items:stretch;gap:8px}.toolbar-left{width:100%;display:grid;grid-template-columns:auto 1fr;gap:7px}.toolbar-right{width:100%;justify-content:space-between}.search-box{min-width:0}.select-button,.batch-button{font-size:11px}.selection-hint{font-size:10px}.view-button{display:none}
  .student-grid,.student-grid.list-view{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.student-card,.student-grid.list-view .student-card{min-height:216px;display:block;padding:10px;border-radius:14px}.student-card.selected{padding:9px}.student-grid.list-view .card-head,.student-grid.list-view .life-energy,.student-grid.list-view .card-stats{display:flex;grid-column:auto;grid-row:auto}.student-card .card-head{gap:3px}.student-card .card-head h3{font-size:15px;white-space:nowrap}.student-card .card-head .level{max-width:66px;overflow:hidden;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.student-card .card-head button{display:none}.student-card .life-energy,.student-grid.list-view .life-energy{width:92px;height:92px;margin:5px auto}.student-card .life-energy img{width:88px;height:88px}.student-card .card-stats{margin-top:2px}.student-card .card-stats span{font-size:12px}.student-card .card-stats small{max-width:64px;overflow:hidden;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.student-card .card-foot{font-size:9px}.student-card .quick-add{padding:4px 6px;font-size:9px}
  .detail-panel{display:none!important}.detail-panel.mobile-open{display:block!important;position:fixed;z-index:80;inset:66px 0 0;padding:18px 16px 100px;overflow-y:auto;border:0;border-radius:20px 20px 0 0;background:#fff;box-shadow:0 -10px 35px rgba(31,43,87,.2)}.detail-panel.mobile-open .close-detail{display:grid;position:sticky;top:0;z-index:2;margin-left:auto;background:#eef1f8}.detail-panel.mobile-open .score-actions{grid-template-columns:1fr}.detail-panel.mobile-open .student-summary{padding-right:40px}.detail-panel.mobile-open .confirm-button{position:sticky;bottom:0;box-shadow:0 -8px 20px #fff}
  .quest-strip{height:auto;min-height:0;display:grid;grid-template-columns:1fr auto;margin:12px 0 0;padding:16px;border-radius:16px}.quest-copy h3{font-size:20px}.quest-copy p{font-size:11px}.quest-progress{grid-column:1/-1;width:100%}.quest-reward{display:none}.round-next{grid-row:1;grid-column:2}
  .secondary-page{min-height:calc(100dvh - 136px);padding:18px 0 26px}.page-header{min-height:0;display:block;margin-bottom:14px}.page-header p{font-size:11px}.page-header h1{font-size:31px}.page-header span{font-size:12px;line-height:1.55}.page-actions{display:flex;gap:7px;margin-top:12px;overflow-x:auto}.page-actions button,.page-header>.page-primary{white-space:nowrap}
  .content-grid,.growth-layout,.mission-grid,.term-grid,.template-row{grid-template-columns:1fr}.content-card,.records-card,.dimension-card,.activity-section{padding:14px;border-radius:14px}.section-title{align-items:flex-start}.section-title h2{font-size:17px}.section-title p{font-size:10px}.filter-row{max-width:100%;overflow-x:auto}.chip{flex:0 0 auto}.records-table,.audit-table,.companion-report-table{overflow-x:auto}.records-table>div,.records-table>article{min-width:700px}.mission-card{padding:14px}.template-row{gap:8px}.template-row button{height:62px}.atlas-grid,.store-grid,.tools-grid{grid-template-columns:1fr!important}.atlas-tabs,.manage-tabs{max-width:100%;width:auto;overflow-x:auto;scrollbar-width:none}.atlas-tabs button,.manage-tabs button{flex:0 0 auto;padding:0 12px;font-size:12px}.manage-tabs{margin-bottom:12px}.term-grid>section{min-height:0;padding:15px}.growth-config-hero{padding:15px}.growth-level-card{padding:13px}.growth-level-list article{padding:8px 7px}.release-actions{display:grid;grid-template-columns:1fr}.release-actions button{width:100%}
  .metric-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}.metric-row article{min-width:0;min-height:104px;grid-template-columns:34px minmax(0,1fr);column-gap:9px;padding:12px}.metric-row article>i{width:34px;height:34px;font-size:21px}.metric-row span{font-size:11px;line-height:1.35}.metric-row strong{font-size:24px}.metric-row small{font-size:9px;line-height:1.35}.record-list{margin-top:10px}.record-item{min-height:84px;grid-template-columns:34px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:5px 9px;padding:9px 0}.record-avatar{grid-row:1/3;width:32px;height:32px}.record-main{min-width:0}.record-main strong,.record-main span{font-size:13px}.record-main span{margin-left:5px}.record-main small{font-size:9px;line-height:1.45}.record-main em{max-width:100%;font-size:9px}.record-item>b{grid-column:3;grid-row:1/3;font-size:17px}.record-item>b small{font-size:8px;white-space:nowrap}.record-more{position:absolute;right:4px;margin-top:54px;font-size:19px}.record-item{position:relative;padding-right:25px}.records-card .section-title{display:grid;gap:9px}.records-card .filter-row{width:100%}.records-card .chip{flex:1}.dimension-card{margin-top:0}
  .atlas-summary{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:10px;padding:15px}.atlas-summary>div:first-child{min-width:0;padding-left:48px}.atlas-mark{width:38px;height:38px;font-size:22px}.atlas-summary small{font-size:10px}.atlas-summary h2{font-size:21px;line-height:1.3}.atlas-summary p{font-size:10px;line-height:1.55}.atlas-stat{width:70px;height:70px}.atlas-stat strong{font-size:20px}.atlas-stat span{font-size:8px;text-align:center}.atlas-report-action{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:9px 0 11px}.atlas-report-action button{min-width:0;height:auto;min-height:42px;padding:6px 4px;font-size:clamp(14px,.9vw,16px);line-height:1.3}.placeholder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.placeholder-grid article{min-width:0;padding:9px}.companion-stage-visual{height:145px}.life-energy.atlas-energy{width:130px;height:130px}.life-energy.atlas-energy img{width:126px;height:126px}.placeholder-grid article>div:nth-child(2){align-items:flex-start}.placeholder-grid article strong{font-size:14px}.placeholder-grid article>div:nth-child(2) span{max-width:82px;font-size:9px;text-align:right}.stage-meta{font-size:9px}.companion-tile>button{font-size:10px}
  .mentor-assignment{padding:12px}.mentor-assignment>div{width:100%;min-width:0}.mentor-assignment p{max-width:235px;line-height:1.45}.mentor-intro{align-items:flex-start;padding:12px}.mentor-intro>i{font-size:28px}.mentor-intro strong{font-size:13px}.mentor-intro p{font-size:10px;line-height:1.55}.mentor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mentor-tile{min-width:0;padding:9px;border-radius:13px}.mentor-visual{height:190px}.mentor-info{align-items:flex-start;gap:5px}.mentor-info small{display:block;max-width:90px;overflow:hidden;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.mentor-info h2{font-size:18px}.status-pill{flex:0 0 auto;padding:3px 5px;font-size:8px!important}.mentor-tile>p{min-height:45px;font-size:9px;line-height:1.55}.mentor-tile>button{font-size:10px}
  .store-layout{grid-template-columns:1fr}.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.reward-card{min-width:0;padding:10px}.reward-visual{height:135px;font-size:56px}.reward-card h2{font-size:16px}.reward-card p{font-size:10px}.reward-card button{padding:0 8px;font-size:10px}.coin-balance{min-width:0;margin-top:10px}.redemption-panel{padding:14px}
  .tool-grid{grid-template-columns:1fr}.tool-card{min-height:0;padding:16px}.timer-display{margin:24px 0 20px;font-size:54px}.group-list{grid-template-columns:1fr;margin:18px 0}.board-preview{height:145px}
  .mission-hero{min-height:190px;padding:20px}.mission-hero h2{font-size:25px}.mission-hero>strong{width:88px;height:88px;font-size:27px}.repair-review-list article{grid-template-columns:1fr auto}.repair-review-list article p{grid-column:1/-1}
  .manage-actions{flex-direction:column;align-items:stretch;gap:10px}.manage-actions>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px}.manage-actions>div:last-child .page-primary{grid-column:1/-1}.manage-actions>div:last-child button{min-width:0;height:auto;min-height:40px;padding:7px;font-size:10px;line-height:1.35}.parent-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.parent-metrics article{min-height:78px;padding:0 13px}.parent-metrics strong{font-size:25px}.parent-metrics span{font-size:10px}.family-review{padding:14px}.family-review-list{grid-template-columns:1fr}.family-submission{min-height:0}.submission-body{min-height:0}.parent-table{padding:10px}.parent-table .table-head{display:none}.parent-table article{grid-template-columns:1fr auto;gap:6px 10px;padding:10px 2px}.parent-table article>strong{padding:0;font-size:13px}.parent-table article>span:nth-of-type(1){justify-self:end}.parent-table article>span:nth-of-type(2),.parent-table article>span:nth-of-type(3),.parent-table article>span:nth-of-type(4){grid-column:1;display:block;font-size:9px}.parent-table article>span:nth-of-type(2)::before{content:"家庭项目：";color:#9aa2b4}.parent-table article>span:nth-of-type(3)::before{content:"每日上限：";color:#9aa2b4}.parent-table article>span:nth-of-type(4)::before{content:"审核方式：";color:#9aa2b4}.parent-table article>button{grid-column:2;grid-row:2/5;align-self:center}
  .modal-backdrop{padding:10px}.modal-card{width:100%;max-height:calc(100dvh - 20px);padding:16px;border-radius:18px}.modal-heading h2{font-size:21px}.modal-actions{position:sticky;bottom:-16px;margin:14px -16px -16px;padding:12px 16px;background:#fff;border-top:1px solid #edf0f5}.form-columns{grid-template-columns:1fr}.health-summary{grid-template-columns:repeat(3,1fr);gap:5px}.health-summary article{padding:9px 3px}.local-recovery-list article{align-items:flex-start;flex-wrap:wrap}.local-recovery-list article button{margin-left:30px}
  .teacher-mobile-nav{height:66px;display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:70;right:0;bottom:0;left:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #dfe4f0;background:rgba(255,255,255,.96);box-shadow:0 -8px 24px rgba(38,49,91,.1);backdrop-filter:blur(15px)}.teacher-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:#8a93a8;font-size:10px}.teacher-mobile-nav i{font-size:22px}.teacher-mobile-nav button.active{color:#425db7;font-weight:800}
  .toast{min-width:0;width:calc(100vw - 24px);bottom:78px}.board-mode:not([hidden]),.login-mode:not([hidden]),.family-mode:not([hidden]),.student-mode:not([hidden]){z-index:100}
}

/* RC15: experience, accessibility, teacher dashboard and release polish */
.skip-link{position:fixed;z-index:500;top:8px;left:8px;transform:translateY(-150%);padding:10px 14px;border-radius:10px;background:#253765;color:#fff;font-weight:800;text-decoration:none;transition:.18s}.skip-link:focus{transform:translateY(0)}
.save-indicator{display:flex;align-items:center;gap:5px;color:#748096;font-size:10px;white-space:nowrap}.save-indicator i{font-size:17px;color:#4b9274}.save-indicator.saved{color:#3f7e65}.save-indicator.failed,.save-indicator.failed i{color:#b95353}.experience-button{display:grid!important}
.today-dock{display:grid;gap:12px;margin:0 0 15px;padding:15px;border:1px solid #dfe5f1;border-radius:17px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(243,246,255,.96));box-shadow:0 10px 28px rgba(44,57,111,.06)}.today-dock-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.today-dock-heading small,.today-dock-heading strong{display:block}.today-dock-heading small{color:#7887b5;font-size:9px;font-weight:800;letter-spacing:.5px}.today-dock-heading strong{margin-top:2px;color:#344363;font-size:16px}.today-dock-heading button{height:31px;padding:0 10px;border:1px solid #dce3f3;border-radius:8px;background:#fff;color:#6171a6;font-size:10px;font-weight:750;cursor:pointer}.today-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.today-metrics button{min-width:0;display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #e4e8f1;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.today-metrics button:hover{border-color:#aebce2;transform:translateY(-1px)}.today-metrics>button>i{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#edf1ff;color:#5d71ba;font-size:18px}.today-metrics b,.today-metrics small{display:block}.today-metrics b{color:#3c4b6b;font-size:17px}.today-metrics small{overflow:hidden;color:#8c95a8;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.today-quick-actions{display:flex;gap:6px;overflow-x:auto;padding-bottom:1px}.today-quick-actions button{height:32px;padding:0 10px;border:0;border-radius:8px;background:#edf1fb;color:#5669aa;font-size:9px;font-weight:750;white-space:nowrap;cursor:pointer}.today-quick-actions button:first-child{background:#5a6fc0;color:#fff}
.experience-status{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.experience-status article{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e1e6f0;border-radius:11px;background:#fafbfe}.experience-status i{font-size:23px;color:#6075bd}.experience-status small,.experience-status strong{display:block}.experience-status small{color:#939bac;font-size:8px}.experience-status strong{margin-top:2px;color:#495673;font-size:10px}.experience-options{display:grid;gap:8px}.experience-options>div,.experience-options>label{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 12px;border:1px solid #e1e6ef;border-radius:11px;background:#fff}.experience-options strong,.experience-options small{display:block}.experience-options strong{color:#46536d;font-size:12px}.experience-options small{margin-top:2px;color:#929aaa;font-size:9px}.experience-options>div button{height:29px;padding:0 12px;border:1px solid #d9dfec;background:#fff;color:#7a849a;cursor:pointer}.experience-options>div button:first-child{border-radius:8px 0 0 8px}.experience-options>div button:last-child{border-radius:0 8px 8px 0}.experience-options>div button.active{border-color:#667bc5;background:#667bc5;color:#fff}.experience-options input{width:19px;height:19px;accent-color:#6076c4}.experience-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.experience-actions button{min-height:58px;display:grid;grid-template-columns:35px 1fr;align-items:center;gap:8px;padding:9px;border:1px solid #dfe4ee;border-radius:11px;background:#f9faff;text-align:left;cursor:pointer}.experience-actions button:disabled{opacity:.48;cursor:not-allowed}.experience-actions>button>i{font-size:23px;color:#5d72bc}.experience-actions strong,.experience-actions small{display:block}.experience-actions strong{color:#46536e;font-size:11px}.experience-actions small{margin-top:2px;color:#8c95a7;font-size:8px}
.command-search{height:46px;display:flex!important;align-items:center;gap:8px;margin:14px 0 8px;padding:0 12px;border:1px solid #ccd6eb;border-radius:12px;background:#fff}.command-search i{font-size:20px;color:#6779b6}.command-search input{width:100%;height:100%;border:0!important;outline:0;font-size:13px}.command-list{max-height:min(52vh,470px);display:grid;gap:4px;overflow:auto}.command-list>button{min-height:53px;display:grid;grid-template-columns:37px 1fr auto;align-items:center;gap:9px;padding:8px 10px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.command-list>button.active,.command-list>button:hover{border-color:#d7dff1;background:#f0f3ff}.command-list>button>i{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#e8edff;color:#586fb9;font-size:19px}.command-list strong,.command-list small{display:block}.command-list strong{color:#3f4d69;font-size:12px}.command-list small{margin-top:2px;color:#9098a9;font-size:9px}.command-list kbd,.command-footer kbd{padding:2px 5px;border:1px solid #d9dfeb;border-radius:4px;background:#fff;color:#7b8496;font:9px system-ui;box-shadow:0 1px 1px #e1e5ec}.command-empty{padding:30px;text-align:center;color:#929bad}.command-footer{display:flex;justify-content:flex-end;gap:13px;margin-top:10px;color:#9098a7;font-size:8px}.command-footer span{display:flex;align-items:center;gap:3px}
.back-to-top{position:fixed;z-index:60;right:18px;bottom:22px;height:38px;display:flex;align-items:center;gap:5px;padding:0 12px;border:0;border-radius:999px;background:#344a91;color:#fff;box-shadow:0 8px 22px rgba(41,57,112,.26);font-size:10px;font-weight:750;cursor:pointer}.back-to-top[hidden]{display:none}.image-load-error{object-fit:contain!important;background:repeating-linear-gradient(135deg,#eef1f7,#eef1f7 8px,#e4e8f1 8px,#e4e8f1 16px);opacity:.65}button[aria-busy="true"]{pointer-events:none;opacity:.72}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(65,101,205,.35)!important;outline-offset:2px}.high-contrast body{color:#222d49}.high-contrast .content-card,.high-contrast .student-card,.high-contrast .modal-card{border-color:#aeb8cc}.high-contrast small,.high-contrast p{color:#59647b!important}html[data-font="large"]{font-size:112.5%}.compact-ui .content-card{padding-top:14px;padding-bottom:14px}.compact-ui .student-grid{gap:9px}.quiet-ui *{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
@media(max-width:900px){.save-indicator{display:none}.today-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:767px){.experience-button{display:grid!important}.today-dock{margin:0 12px 12px;padding:12px}.today-dock-heading{align-items:flex-start}.today-dock-heading button{font-size:0}.today-dock-heading button i{font-size:16px}.today-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.today-metrics button{min-height:51px}.today-quick-actions{margin-right:-12px;padding-right:12px}.experience-status{grid-template-columns:1fr}.experience-actions{grid-template-columns:1fr}.command-footer{justify-content:flex-start}.back-to-top{right:12px;bottom:78px}.modal-card button,.teacher-mobile-nav button{min-height:42px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
@media print{.topbar,.teacher-mobile-nav,.today-quick-actions,.page-actions,.back-to-top,.toast{display:none!important}.app-shell main{padding:0!important}.content-card{break-inside:avoid;box-shadow:none!important}}

/* RC16: advanced ledger and pet catalog */
.growth-advanced-toolbar,.companion-advanced-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:12px 0;padding:10px;border:1px solid #e1e6f0;border-radius:12px;background:#f8f9fd}.growth-advanced-toolbar>label:first-child,.companion-advanced-toolbar>label{min-width:240px;flex:1;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #dce2ed;border-radius:9px;background:#fff}.growth-advanced-toolbar>label:first-child input,.companion-advanced-toolbar>label input{width:100%;height:34px;border:0;outline:0;background:transparent;font-size:10px}.growth-advanced-toolbar select,.companion-advanced-toolbar select,.growth-advanced-toolbar>button,.companion-advanced-toolbar>button{height:36px;padding:0 9px;border:1px solid #dae1ed;border-radius:9px;background:#fff;color:#596681;font-size:9px;font-weight:700;cursor:pointer}.growth-advanced-toolbar>button:hover,.companion-advanced-toolbar>button:hover{border-color:#9dafdc;color:#4a60ae}.score-minimum{min-width:126px!important;flex:0 0 auto!important;color:#7e8799;font-size:9px}.score-minimum input{width:44px!important;text-align:center}.growth-advanced-toolbar>b,.companion-advanced-toolbar>b{margin-left:auto;color:#6675a5;font-size:9px;white-space:nowrap}.companion-advanced-toolbar>button:nth-last-of-type(2){border-color:#dcc27f;background:#fff8e8;color:#9c6d18}
.fixed-catalog-toolbar{display:flex;gap:7px;align-items:center;margin:14px 0}.fixed-catalog-toolbar>label{min-width:260px;flex:1;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #dce2ed;border-radius:9px}.fixed-catalog-toolbar input{width:100%;height:38px;border:0;outline:0}.fixed-catalog-toolbar select{height:38px;padding:0 9px;border:1px solid #dce2ed;border-radius:9px;background:#fff;color:#596681}.fixed-catalog-toolbar>b{color:#5b70b7;font-size:11px;white-space:nowrap}.fixed-pet-catalog-grid{max-height:58vh;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:auto;padding-right:3px}.fixed-pet-catalog-grid>button{min-width:0;display:grid;grid-template-columns:80px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:7px;border:1px solid #e0e5ef;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.fixed-pet-catalog-grid>button:hover{border-color:#9fb0dd;background:#f7f9ff}.catalog-pet-sprite{width:80px;aspect-ratio:1;display:block;border-radius:9px;background-image:url('./assets/pets/juvenile-pet-atlas-v7-centered-glow.png');background-repeat:no-repeat;background-size:500% 400%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}.fixed-pet-catalog-grid small,.fixed-pet-catalog-grid strong,.fixed-pet-catalog-grid em{display:block}.fixed-pet-catalog-grid small{color:#8c96a9;font-size:8px}.fixed-pet-catalog-grid strong{margin:3px 0;color:#3f4e6e;font-size:14px}.fixed-pet-catalog-grid em{overflow:hidden;color:#6f7b95;font-size:9px;font-style:normal;white-space:nowrap;text-overflow:ellipsis}.fixed-pet-catalog-grid>button>i{color:#8692aa}.catalog-empty{grid-column:1/-1;display:grid;place-items:center;gap:6px;padding:40px;color:#8b95aa}.catalog-empty i{font-size:32px}.catalog-empty span{font-size:10px}
.fixed-pet-detail{display:grid;grid-template-columns:260px 1fr;gap:18px;margin:14px 0}.fixed-pet-hero{position:relative;overflow:hidden;border-radius:17px;background:#edf1fb}.fixed-pet-hero .catalog-pet-sprite{width:100%;height:100%;min-height:260px;border-radius:inherit}.fixed-pet-hero>span{position:absolute;right:10px;top:10px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.9);color:#596eb4;font-size:9px;font-weight:800}.fixed-pet-detail>section>small{color:#7f8aa3;font-size:9px;font-weight:800}.fixed-route{display:grid;gap:6px;margin-top:8px}.fixed-route article{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;padding:7px;border:1px solid #e1e6ef;border-radius:9px;background:#fafbfe}.fixed-route article>i{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#e8edff;color:#5a70ba;font-size:10px;font-style:normal;font-weight:800}.fixed-route strong,.fixed-route small{display:block}.fixed-route strong{color:#475571;font-size:11px}.fixed-route small{color:#929aaa;font-size:8px}.pet-trait-tags{display:flex;gap:6px;margin-top:10px}.pet-trait-tags span{padding:5px 8px;border-radius:999px;background:#eef3ff;color:#5d70ae;font-size:9px}.pet-assigned{margin:10px 0 0;padding:9px;border-radius:9px;background:#f4f6fa;color:#748097;font-size:9px}.bulk-claim-list{max-height:45vh;display:grid;grid-template-columns:repeat(2,1fr);gap:7px;overflow:auto;margin:14px 0}.bulk-claim-list span{padding:9px;border:1px solid #e1e6ef;border-radius:9px;background:#fafbfe}.bulk-claim-list b,.bulk-claim-list small{display:block}.bulk-claim-list b{font-size:11px}.bulk-claim-list small{margin-top:3px;color:#858fa4;font-size:8px}
@media(max-width:767px){.growth-advanced-toolbar,.companion-advanced-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.growth-advanced-toolbar>label:first-child,.companion-advanced-toolbar>label{min-width:0;grid-column:1/-1}.growth-advanced-toolbar>button,.companion-advanced-toolbar>button{min-width:0}.growth-advanced-toolbar>b,.companion-advanced-toolbar>b{margin:0}.score-minimum{min-width:0!important}.fixed-catalog-toolbar{display:grid;grid-template-columns:1fr 1fr}.fixed-catalog-toolbar>label{min-width:0;grid-column:1/-1}.fixed-pet-catalog-grid{grid-template-columns:1fr;max-height:55vh}.fixed-pet-detail{grid-template-columns:1fr}.fixed-pet-hero .catalog-pet-sprite{min-height:280px}.bulk-claim-list{grid-template-columns:1fr}}

/* RC17: unified teacher work queue and system reports */
.todo-button{position:relative}.todo-button>b{min-width:16px;height:16px;display:grid;place-items:center;position:absolute;right:-3px;top:-4px;padding:0 3px;border:2px solid #fff;border-radius:999px;background:#e36b51;color:#fff;font-size:8px}.todo-button>b[hidden]{display:none}.todo-summary{display:grid;grid-template-columns:100px repeat(3,1fr);gap:7px;margin:14px 0}.todo-summary>strong{grid-row:span 2;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#5369b7,#7b69b5);color:#fff;font-size:30px}.todo-summary>strong small{display:block;margin-top:-18px;font-size:9px}.todo-summary button{min-height:48px;display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:6px;padding:7px;border:1px solid #e1e5ee;border-radius:10px;background:#fafbfe;color:#667189;text-align:left;cursor:pointer}.todo-summary button.has-items{border-color:#e8cc91;background:#fffaf0}.todo-summary button i{font-size:18px;color:#6678b7}.todo-summary button span{font-size:9px}.todo-summary button b{color:#b87517}.todo-warning{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #f0cf93;border-radius:10px;background:#fff8e9;color:#8b651f}.todo-warning>i{font-size:23px}.todo-warning strong,.todo-warning small{display:block}.todo-warning strong{font-size:10px}.todo-warning small{margin-top:2px;font-size:8px}.todo-groups{max-height:48vh;display:grid;gap:8px;overflow:auto}.todo-groups>section{border:1px solid #e1e6ef;border-radius:11px;overflow:hidden}.todo-groups header{display:grid;grid-template-columns:25px 1fr auto auto;align-items:center;gap:7px;padding:8px 10px;background:#f6f8fc}.todo-groups header>i{font-size:18px;color:#5f72b5}.todo-groups header strong{font-size:11px}.todo-groups header>b{color:#b8781b;font-size:10px}.todo-groups header button{border:0;background:transparent;color:#5b70b6;font-size:9px;cursor:pointer}.todo-groups article{padding:7px 10px;border-top:1px solid #edf0f5}.todo-groups article strong,.todo-groups article small{display:block}.todo-groups article strong{color:#47536c;font-size:10px}.todo-groups article small{margin-top:2px;color:#8d96a7;font-size:8px}.todo-groups>section>p{margin:0;padding:6px 10px;background:#fafbfc;color:#9199a8;font-size:8px}.todo-empty{display:grid;place-items:center;gap:5px;padding:35px;color:#71809c}.todo-empty i{font-size:35px;color:#4b9a77}.todo-empty span{font-size:9px}
.class-system-report>header{display:flex;justify-content:space-between;padding:10px;border-radius:10px;background:#f4f6fb}.class-system-report>header small,.class-system-report>header strong{display:block}.class-system-report>header small{color:#8c95a8;font-size:clamp(14px,.9vw,16px)}.class-system-report>header strong{margin-top:2px;font-size:clamp(14px,.9vw,16px)}.class-report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.class-report-metrics article{padding:10px;border:1px solid #e1e6ef;border-radius:10px;background:#fff}.class-report-metrics strong,.class-report-metrics span{display:block}.class-report-metrics strong{color:#4d61a5;font-size:20px}.class-report-metrics span{color:#8791a4;font-size:clamp(14px,.9vw,16px)}.class-report-dimensions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}.class-report-dimensions div{display:grid;grid-template-columns:32px 1fr 24px;align-items:center;gap:5px;color:#69758e;font-size:clamp(14px,.9vw,16px)}.class-report-dimensions i{height:5px;overflow:hidden;border-radius:99px;background:#e8ebf2}.class-report-dimensions i b{display:block;height:100%;border-radius:inherit;background:#677bc1}.class-report-table{max-height:43vh;overflow:auto;border:1px solid #e1e5ee;border-radius:10px}.class-report-table>div,.class-report-table>article{min-width:650px;display:grid;grid-template-columns:110px 130px 100px 70px 1fr;align-items:center}.class-report-table>div{padding:7px 9px;background:#edf1f8;color:#7c879c;font-size:clamp(14px,.9vw,16px);font-weight:800}.class-report-table>article{padding:8px 9px;border-top:1px solid #edf0f5;color:#5b667e;font-size:clamp(14px,.9vw,16px)}.class-report-table article span:first-child b,.class-report-table article span:first-child small{display:block}.class-report-table article span:first-child b{font-size:clamp(14px,.9vw,16px)}.class-report-table article span:first-child small{color:#929aaa;font-size:clamp(14px,.9vw,16px)}.readiness-score{display:flex;align-items:end;gap:9px;margin:14px 0;padding:14px;border-radius:13px;background:linear-gradient(135deg,#eef3ff,#f7f9ff)}.readiness-score strong{color:#4f64ac;font-size:31px}.readiness-score span{padding-bottom:4px;color:#74809a;font-size:10px}.readiness-list{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.readiness-list article{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px;padding:8px;border:1px solid #e1e6ef;border-radius:10px}.readiness-list article>i{font-size:21px}.readiness-list .ok>i{color:#4b9875}.readiness-list .pending{border-color:#edcf98;background:#fffaf0}.readiness-list .pending>i{color:#c18124}.readiness-list strong,.readiness-list small{display:block}.readiness-list strong{color:#4c5870;font-size:9px}.readiness-list small{margin-top:2px;color:#929aab;font-size:8px}.ledger-date{min-width:138px!important;flex:0 0 auto!important;color:#7e8799;font-size:9px}.ledger-date input{width:98px!important;text-align:center}
@media(max-width:767px){.todo-summary{grid-template-columns:repeat(2,1fr)}.todo-summary>strong{grid-column:1/-1;grid-row:auto;min-height:75px}.todo-summary>strong small{margin-top:-12px}.readiness-list{grid-template-columns:1fr}.class-report-metrics{grid-template-columns:repeat(2,1fr)}.class-report-dimensions{grid-template-columns:repeat(2,1fr)}.ledger-date{min-width:0!important}.ledger-date input{width:100%!important}.todo-button{display:grid!important}}

/* Full mentor portraits and student-selected pet evolution routes */
img[src*="/characters/historical/"]{cursor:zoom-in}.image-preview-stage{height:min(68vh,720px);display:grid;place-items:center;overflow:hidden;border:1px solid #e1e6f0;border-radius:18px;background:radial-gradient(circle at 50% 35%,#fff 0,#f1f4fb 62%,#e5eaf4 100%)}.image-preview-stage img{width:100%;height:100%;object-fit:contain;cursor:default}.image-preview-heading+ .image-preview-stage{margin-top:14px}
.pet-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pet-mode-options label{display:grid;grid-template-columns:20px 38px 1fr;align-items:center;gap:9px;padding:12px;border:1px solid #dce2ef;border-radius:13px;background:#fafbfe;cursor:pointer}.pet-mode-options label:has(input:checked){border-color:#7388d5;background:#eef2ff;box-shadow:0 0 0 2px rgba(99,119,198,.1)}.pet-mode-options input{width:16px;height:16px;accent-color:#6077c8}.pet-mode-options label>i{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e5eaff;color:#5368b6;font-size:18px}.pet-mode-options strong,.pet-mode-options small{display:block}.pet-mode-options strong{color:#44516d;font-size:12px}.pet-mode-options small{margin-top:3px;color:#8790a2;font-size:9px}
.adaptive-route-explain{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:10px;padding:12px;border:1px solid #dfe5f1;border-radius:12px;background:#f8faff;opacity:.55}.adaptive-route-explain.selected{border-color:#b9c9ed;background:#eef5ff;opacity:1}.adaptive-route-explain>i{font-size:25px;color:#647bc6}.adaptive-route-explain strong,.adaptive-route-explain small{display:block}.adaptive-route-explain strong{color:#4b5c84;font-size:12px}.adaptive-route-explain small{margin-top:3px;color:#7f8aa0;font-size:10px;line-height:1.5}.fixed-pet-picker{display:grid;gap:14px;max-height:45vh;overflow:auto;padding:2px 4px 2px 0;transition:.2s}.fixed-pet-picker.disabled{max-height:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.pet-choice-group h3{display:flex;align-items:center;gap:8px;margin:0 0 7px;color:#48567a;font-size:13px}.pet-choice-group h3 small{color:#969eaf;font-size:9px;font-weight:500}.pet-choice-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pet-choice-card{display:grid;grid-template-columns:18px 36px minmax(0,1fr) 20px;align-items:center;gap:7px;padding:9px;border:1px solid #e0e5ee;border-radius:11px;background:#fff;cursor:pointer}.pet-choice-card:has(input:checked){border-color:#7087d4;background:#f0f4ff}.pet-choice-card>input{width:15px;height:15px;accent-color:#6077c8}.pet-choice-card>i{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#eef1fa;color:#596eb8;font-size:18px}.pet-choice-card span{min-width:0}.pet-choice-card strong,.pet-choice-card small,.pet-choice-card em{display:block}.pet-choice-card strong{color:#46536d;font-size:11px}.pet-choice-card small{margin-top:2px;color:#7d889d;font-size:8px}.pet-choice-card em{margin-top:3px;overflow:hidden;color:#9aa2b0;font-size:7px;font-style:normal;white-space:nowrap;text-overflow:ellipsis}.pet-choice-card>b{width:18px;height:18px;display:none;place-items:center;border-radius:50%;background:#6077c8;color:#fff;font-size:10px}.pet-choice-card:has(input:checked)>b{display:grid}.fixed-pet-picker.compact{max-height:330px}
.pet-route-summary{background:linear-gradient(135deg,#f5f7ff,#fff)}.pet-route-summary .student-section-title button{height:34px;padding:0 12px;border:1px solid #cbd5ee;border-radius:9px;background:#fff;color:#5268b2;font-weight:750;cursor:pointer}.pet-route-current{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:12px;border:1px solid #dfe5f1;border-radius:13px;background:#fff}.pet-route-current>i{width:47px;height:47px;display:grid;place-items:center;border-radius:13px;background:#e9eeff;color:#566fc2;font-size:24px}.pet-route-current small,.pet-route-current strong,.pet-route-current p{display:block}.pet-route-current small{color:#7987a6;font-size:9px}.pet-route-current strong{margin-top:2px;color:#3f4f70;font-size:15px}.pet-route-current p{margin:3px 0 0;color:#78849b;font-size:10px}.pet-route-current>b{padding:5px 8px;border-radius:999px;background:#edf3ff;color:#5771bc;font-size:9px}.pet-route-steps{display:flex;gap:5px;margin-top:10px;overflow-x:auto}.pet-route-steps span{min-width:max-content;display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:8px;background:#f1f2f5;color:#9299a7;font-size:9px}.pet-route-steps span.done{background:#e9f4ee;color:#478266}.pet-route-steps i{width:6px;height:6px;border-radius:50%;background:currentColor}.pet-route-note{margin:9px 0 0;color:#7b879d;font-size:9px}
@media(max-width:560px){.image-preview-stage{height:64vh}.pet-mode-options{grid-template-columns:1fr}.pet-choice-group>div{grid-template-columns:1fr}.fixed-pet-picker{max-height:48vh}.pet-route-current{grid-template-columns:42px 1fr}.pet-route-current>b{grid-column:2}.pet-route-summary .student-section-title{display:grid;gap:8px}.pet-route-summary .student-section-title button{width:100%}}

.pet-choice-card{grid-template-columns:18px 92px minmax(0,1fr) 20px;padding:8px}.pet-juvenile-preview{width:92px;aspect-ratio:1;display:block;overflow:hidden;border-radius:10px;background-image:url('./assets/pets/juvenile-pet-atlas-v7-centered-glow.png');background-repeat:no-repeat;background-size:500% 400%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 4px 12px rgba(47,59,99,.1)}.pet-choice-card strong{font-size:12px}.pet-choice-card small{font-size:9px}.pet-choice-card em{font-size:8px;white-space:normal;line-height:1.35}.life-energy.summon-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #b9c6e5;background:radial-gradient(circle,#f2f5ff,#e7ecf8);color:#6379bc}.life-energy.summon-empty>i{font-size:28px}.life-energy.summon-empty>strong{font-size:10px}.student-card.awaiting-summon{border-color:#bac8e9;background:linear-gradient(180deg,#fff,#f5f7ff)}.summon-button{height:27px!important;padding:0 9px!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#667cd1,#8a70c6)!important;color:#fff!important;font-size:9px!important;font-weight:800!important;cursor:pointer}.companion-tile.awaiting-summon{border-color:#b8c6e7;background:linear-gradient(180deg,#fff,#f3f6ff)}.companion-tile.awaiting-summon>button{border-color:#667ccd;background:#667ccd;color:#fff}
.pet-route-summary.awaiting .pet-route-current{grid-template-columns:48px 1fr auto}.pet-route-summary.awaiting .pet-route-current>button{height:36px;padding:0 14px;border:0;border-radius:9px;background:linear-gradient(135deg,#667cd1,#8a70c6);color:#fff;font-weight:800;cursor:pointer}
.modal-card:has(#petRouteForm){width:min(860px,calc(100vw - 28px))}.modal-card:has(#petRouteForm) .fixed-pet-picker{max-height:48vh}.modal-card:has(#petRouteForm) .pet-choice-card>span:nth-of-type(2){min-width:0}.modal-card:has(#petRouteForm) .pet-choice-card strong{white-space:nowrap}
.life-energy.pet-atlas-visual{background:#e9edf7}.pet-stage-sprite{width:100%;height:100%;display:block;border-radius:inherit;background-repeat:no-repeat;background-size:500% 400%;transition:transform .25s ease}.student-card:hover .pet-stage-sprite{transform:scale(1.035)}
@media(max-width:560px){.pet-choice-card{grid-template-columns:16px 82px minmax(0,1fr) 18px}.pet-juvenile-preview{width:82px}}

@media(max-width:767px){
  body.board-active{padding-bottom:0;background:#111f53}.board-mode{min-height:100dvh;overflow-x:hidden}.board-header{height:66px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 12px}.board-brand{min-width:0;gap:7px}.board-brand img{width:38px;height:38px}.board-brand strong{overflow:hidden;font-size:17px;white-space:nowrap;text-overflow:ellipsis}.board-brand small{font-size:8px}.board-clock{display:none}.board-header>button{height:34px;padding:0 10px;font-size:10px;white-space:nowrap}
  .board-stage{min-height:0;display:flex;flex-direction:column;gap:10px;padding:12px 12px 96px}.board-quest{min-height:230px;grid-template-columns:minmax(0,1fr) 88px;gap:10px;padding:20px;border-radius:18px}.board-quest-copy>span{font-size:10px}.board-quest h1{margin:7px 0;font-size:30px}.board-quest p{margin-bottom:16px;font-size:11px;line-height:1.5}.board-progress{height:9px}.board-progress-meta{display:grid;gap:4px;margin-top:8px;font-size:9px}.board-energy{width:84px;height:84px}.board-energy img{width:32px;height:32px}.board-energy strong{font-size:20px}.board-energy span{font-size:8px}
  .board-side{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;gap:10px}.board-spotlight{min-height:190px;padding:18px}.board-spotlight>i{font-size:42px}.board-spotlight h2{font-size:20px}.board-spotlight p{font-size:11px}.board-student-avatar{width:58px;height:58px;font-size:30px}.board-timer{min-height:112px;grid-template-columns:1fr auto;padding:14px}.board-timer>strong{font-size:37px}.board-timer button{padding:5px 7px}
  .board-activity{display:block;padding:16px;border-radius:18px}.board-activity h2{margin:5px 0 12px;font-size:18px}.board-event-list{grid-template-columns:1fr;gap:7px}.board-event-list article{min-height:64px;padding:9px}.board-event-list article>span{width:36px;height:36px}.board-event-list b{font-size:18px}
  .board-controls{height:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;position:fixed;z-index:20;right:0;bottom:0;left:0;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:rgba(7,15,43,.94);backdrop-filter:blur(12px)}.board-controls button{min-width:0;height:48px;padding:0 4px;font-size:10px}.board-controls i{display:block;margin:0 0 3px;font-size:18px}
}

/* RC18: audit trail and term archive center */
.rc18-archives{grid-column:1/-1;padding:22px}.rc18-archives>.section-title,.audit-card>.section-title{margin-bottom:16px}.rc18-archives>div:last-child{display:grid;gap:10px}.rc18-archives [data-rc18-archive]{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #e2e8f6;border-radius:14px;background:#fbfcff;text-align:left;color:#34405e}.rc18-archives [data-rc18-archive]>i{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eef1ff;color:#6272dc;font-size:21px}.rc18-archives [data-rc18-archive] span{display:grid;gap:3px}.rc18-archives [data-rc18-archive] small{color:#8490a9}.rc18-archives [data-rc18-archive] b{font-size:13px;color:#6272dc}.audit-card{grid-column:1/-1!important}.rc18-audit-tools{display:grid;grid-template-columns:minmax(220px,1fr) 160px auto;gap:10px;margin-bottom:14px}.rc18-audit-tools label{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #dde4f3;border-radius:12px;background:#fff}.rc18-audit-tools input,.rc18-audit-tools select{width:100%;height:42px;border:0;background:transparent;font:inherit;color:#36415c;outline:0}.rc18-audit-tools select,.rc18-audit-tools button{border:1px solid #dde4f3;border-radius:12px;background:#fff;padding:0 12px;color:#4a5878}.rc18-audit-tools button{font-weight:700}.rc18-audit-list{display:grid;max-height:420px;overflow:auto}.rc18-audit-list article{display:grid!important;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 2px!important;border-bottom:1px solid #edf0f7}.rc18-audit-list article>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f0f3ff;color:#6477d9}.rc18-audit-list article span{display:grid;gap:2px}.rc18-audit-list article small,.rc18-audit-list time{color:#8a95aa;font-size:12px}.rc18-empty{display:grid;justify-items:center;gap:6px;padding:28px;color:#8a95aa}.rc18-empty>i{font-size:28px}.rc18-archive-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0}.rc18-archive-metrics article{display:grid;gap:4px;padding:14px;border-radius:14px;background:#f4f6fc;text-align:center}.rc18-archive-metrics strong{font-size:23px;color:#4655ae}.rc18-archive-metrics span{font-size:12px;color:#78849d}.rc18-compare{padding:16px;border:1px solid #e1e6f2;border-radius:16px;margin-bottom:14px}.rc18-compare h3{margin:0 0 12px;font-size:15px}.rc18-compare>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.rc18-compare span{display:grid;grid-template-columns:1fr auto;gap:3px;padding:10px;border-radius:10px;background:#fafbfe;font-size:12px;color:#78849d}.rc18-compare strong{font-size:18px;color:#33405f}.rc18-compare i{grid-column:1/-1;font-style:normal;color:#9aa3b5}
@media(max-width:767px){.rc18-audit-tools{grid-template-columns:1fr 1fr}.rc18-audit-tools label{grid-column:1/-1}.rc18-audit-tools button{min-height:42px}.rc18-archives [data-rc18-archive]{grid-template-columns:38px minmax(0,1fr)}.rc18-archives [data-rc18-archive]>b{grid-column:2}.rc18-audit-list article{grid-template-columns:34px minmax(0,1fr)}.rc18-audit-list time{grid-column:2}.rc18-archive-metrics{grid-template-columns:repeat(2,1fr)}.rc18-archive-metrics article:last-child{grid-column:1/-1}.rc18-compare>div{grid-template-columns:1fr}.rc18-archives,.audit-card{padding:16px}}

/* RC19: family binding lifecycle */
.family-binding-profile{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;margin:18px 0;border:1px solid #dfe5f3;border-radius:16px;background:#fafbff}.family-binding-profile>i{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#e9f7ef;color:#38a169;font-size:27px}.family-binding-profile span{display:grid;gap:3px}.family-binding-profile small,.family-binding-profile em{font-size:12px;color:#8490a7;font-style:normal}.family-binding-profile b{padding:6px 10px;border-radius:999px;background:#e8f8ef;color:#2f9860;font-size:12px}.family-confirm-form>small{display:block;color:#8390a8;line-height:1.6}.family-invite-list{display:grid;gap:8px;max-height:360px;overflow:auto;border:0;padding:0}.family-invite-list legend{margin-bottom:10px;font-weight:800;color:#34405d}.family-invite-list label{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e1e6f1;border-radius:12px;background:#fbfcff}.family-invite-list input{width:18px;height:18px}.family-invite-list span{display:grid;gap:2px}.family-invite-list small{color:#8894aa}.danger-action{min-height:42px;padding:0 16px;border:1px solid #f0c8cc;border-radius:12px;background:#fff6f6;color:#c94a56;font-weight:750}
@media(max-width:767px){.family-binding-profile{grid-template-columns:44px minmax(0,1fr)}.family-binding-profile>b{grid-column:2;justify-self:start}.family-invite-list{max-height:300px}}

/* RC20: identity picker */
.role-login-form select{width:100%;height:46px;border:0;background:transparent;color:#34405c;font:inherit;font-weight:700;outline:0}.role-login-form .login-submit:disabled{opacity:.5;cursor:not-allowed}

/* RC21: teacher team and permissions */
.teacher-team-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.teacher-team-metrics article{display:grid;gap:3px;padding:16px;border:1px solid #e2e7f2;border-radius:15px;background:#fff}.teacher-team-metrics strong{font-size:25px;color:#4657b6}.teacher-team-metrics span{font-size:13px;color:#8490a6}.teacher-team-card{padding:0;overflow:hidden}.teacher-team-head,.teacher-team-list article{display:grid;grid-template-columns:1.2fr .8fr 1.8fr .55fr auto;align-items:center;gap:12px;padding:13px 18px}.teacher-team-head{background:#f5f7fc;color:#7d899f;font-size:12px;font-weight:700}.teacher-team-list article{border-top:1px solid #edf0f6}.teacher-team-list article.inactive{opacity:.68}.teacher-team-list article>div:first-child{display:flex;align-items:center;gap:10px}.teacher-team-list article>div:first-child>i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf0ff;color:#6173d5;font-size:19px}.teacher-team-list article span{display:grid;gap:2px}.teacher-team-list small{color:#8994a8}.teacher-permission-tags{display:flex!important;flex-wrap:wrap;gap:5px!important}.teacher-permission-tags b{padding:4px 7px;border-radius:7px;background:#f0f3fb;color:#586681;font-size:11px}.teacher-member-status{display:inline-flex!important;width:max-content;padding:5px 8px;border-radius:999px;font-size:12px}.teacher-member-status.active{background:#e9f8ef;color:#33945e}.teacher-member-status.inactive{background:#f1f2f5;color:#7f899a}.teacher-team-list article>button{border:1px solid #dce3f1;border-radius:9px;background:#fff;padding:7px 10px;color:#52607d;font-weight:700}.teacher-permission-fieldset{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;border:0;padding:0}.teacher-permission-fieldset legend{margin-bottom:9px;font-weight:800}.teacher-permission-fieldset label{display:flex;align-items:center;gap:8px;padding:11px;border:1px solid #e0e5f0;border-radius:11px}.teacher-permission-fieldset input{width:17px;height:17px}.teacher-status-toggle{display:flex!important;align-items:center;justify-content:space-between}.teacher-status-toggle span{display:grid;gap:2px}.teacher-status-toggle input{width:42px;height:22px}
@media(max-width:767px){.teacher-team-metrics{grid-template-columns:repeat(2,1fr)}.teacher-team-head{display:none}.teacher-team-list article{grid-template-columns:1fr auto;padding:14px}.teacher-team-list article>span:nth-child(2),.teacher-permission-tags{grid-column:1/-1}.teacher-member-status{grid-column:1}.teacher-team-list article>button{grid-column:2;grid-row:1}.teacher-permission-fieldset{grid-template-columns:1fr}}

/* RC23: release operations console */
.rc23-release-overview{display:grid;grid-template-columns:116px 1fr;align-items:center;gap:22px;margin:18px 0}.rc23-release-overview>strong{display:grid;place-items:center;width:108px;height:108px;border-radius:50%;background:conic-gradient(#6574da var(--score),#edf0f7 0);position:relative;font-size:29px;color:#3d4a78}.rc23-release-overview>strong:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}.rc23-release-overview>strong>* ,.rc23-release-overview>strong{isolation:isolate}.rc23-release-overview>strong small{font-size:12px;margin-left:2px}.rc23-release-overview>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.rc23-release-overview>div span{display:grid;gap:3px;padding:14px;border-radius:13px;background:#f5f7fc;color:#7c879e;font-size:12px}.rc23-release-overview>div b{font-size:22px;color:#3f4e78}.rc23-check-tools{display:grid;grid-template-columns:minmax(180px,1fr) 130px 130px auto;gap:8px;align-items:center;margin:14px 0}.rc23-check-tools label{display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #dfe5f1;border-radius:11px}.rc23-check-tools input,.rc23-check-tools select{height:40px;border:0;background:transparent;font:inherit;outline:0}.rc23-check-tools select{border:1px solid #dfe5f1;border-radius:11px;padding:0 9px;color:#4b5877}.rc23-check-tools>b{font-size:12px;color:#7f8ba1}.rc23-check-rows{display:grid;max-height:470px;overflow:auto;border:1px solid #e4e8f1;border-radius:14px}.rc23-check-rows article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid #edf0f6}.rc23-check-rows article:last-child{border-bottom:0}.rc23-check-rows article>i{font-size:22px;color:#35a36a}.rc23-check-rows article.warning>i{color:#dd9a32}.rc23-check-rows article.error>i{color:#cf5761}.rc23-check-rows article>span{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 8px}.rc23-check-rows article small{padding:3px 6px;border-radius:6px;background:#f0f2f8;color:#6f7b92;font-size:10px}.rc23-check-rows article strong{font-size:13px}.rc23-check-rows article em{grid-column:1/-1;color:#8994a8;font-size:12px;font-style:normal}.rc23-check-rows article button{border:0;background:transparent;color:#6071d2;font-weight:750;font-size:12px}.release-actions .page-primary{color:#fff;background:#6474d9}
@media(max-width:767px){.rc23-release-overview{grid-template-columns:82px 1fr;gap:12px}.rc23-release-overview>strong{width:78px;height:78px;font-size:22px}.rc23-release-overview>div{grid-template-columns:repeat(2,1fr)}.rc23-release-overview>div span{padding:10px}.rc23-check-tools{grid-template-columns:1fr 1fr}.rc23-check-tools label{grid-column:1/-1}.rc23-check-tools>b{justify-self:end}.rc23-check-rows{max-height:430px}.rc23-check-rows article{grid-template-columns:30px minmax(0,1fr)}.rc23-check-rows article>button{grid-column:2;justify-self:start;padding:4px 0}}

/* RC24: data handoff center */
.rc24-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:18px 0}.rc24-summary article{display:grid;gap:3px;padding:14px;border-radius:13px;background:#f4f6fc}.rc24-summary strong{font-size:22px;color:#4656ad}.rc24-summary span{font-size:12px;color:#818ca1}.rc24-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto;align-items:center;gap:9px;margin-bottom:13px}.rc24-toolbar label{display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #dfe5f0;border-radius:11px}.rc24-toolbar input,.rc24-toolbar select{height:40px;border:0;background:transparent;font:inherit;outline:0}.rc24-toolbar select{border:1px solid #dfe5f0;border-radius:11px;padding:0 9px}.rc24-toolbar>b{font-size:12px;color:#818ca3}.rc24-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:480px;overflow:auto}.rc24-cards>article{display:grid;grid-template-columns:39px minmax(0,1fr);gap:10px;padding:13px;border:1px solid #e0e5f0;border-radius:14px;background:#fcfdff}.rc24-cards>article>i{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#edf0ff;color:#6273d3;font-size:20px}.rc24-cards>article>span{display:grid;gap:2px}.rc24-cards small,.rc24-cards em{color:#8994a8;font-size:11px;font-style:normal}.rc24-cards p{margin:2px 0;color:#66728a;font-size:12px}.rc24-cards footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:6px}.rc24-cards footer button{min-height:31px;padding:0 10px;border:1px solid #dde3ef;border-radius:8px;background:#fff;color:#56647f;font-weight:700;font-size:11px}.rc24-cards footer button:last-child{border-color:#6776d4;background:#6776d4;color:#fff}.rc24-bulk{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.rc24-bulk button{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #e0e5f0;border-radius:12px;background:#f9faff;text-align:left;color:#44516e}.rc24-bulk button>i{font-size:20px;color:#6575d0}.rc24-bulk span{display:grid}.rc24-bulk small{color:#8994a8;font-size:10px}.rc24-preview-table{overflow:auto;max-height:460px;border:1px solid #e1e6f0;border-radius:13px}.rc24-preview-table>div,.rc24-preview-table>article{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(110px,1fr);min-width:max-content}.rc24-preview-table>div{position:sticky;top:0;background:#f1f4fa;z-index:1}.rc24-preview-table b,.rc24-preview-table span{width:140px;padding:9px;border-right:1px solid #e8ebf2;border-bottom:1px solid #e8ebf2;font-size:11px}.rc24-preview-table span{color:#657189;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:767px){.rc24-summary{grid-template-columns:repeat(2,1fr)}.rc24-toolbar{grid-template-columns:1fr 1fr}.rc24-toolbar label{grid-column:1/-1}.rc24-toolbar>b{justify-self:end}.rc24-cards{grid-template-columns:1fr;max-height:430px}.rc24-bulk{grid-template-columns:repeat(2,1fr)}.rc24-bulk button{min-width:0}.rc24-bulk small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* RC25: phone account login */
.login-method-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;margin-bottom:24px;border-radius:13px;background:#f0f2f7}.login-method-tabs button{height:38px;border:0;border-radius:10px;background:transparent;color:#78839a;font-weight:750}.login-method-tabs button.active{background:#fff;color:#5265bd;box-shadow:0 3px 10px rgba(55,69,123,.1)}.phone-prefix{padding-right:10px;border-right:1px solid #dde3ef;color:#55627d;font-weight:750}.phone-login-form>label>div{display:flex;align-items:center}.phone-login-form input{flex:1}.local-account-help,.phone-back{display:inline-flex;align-items:center;gap:6px;margin-top:13px;border:0;background:transparent;color:#6172c8;font-weight:700}.phone-back{margin:0 0 16px;padding:0}.phone-code-input button{height:34px;padding:0 8px;border:0;border-left:1px solid #e0e5ef;background:transparent;color:#6071c8;font-weight:700;white-space:nowrap}.phone-code-input button:disabled{color:#9aa3b5}.phone-account-summary{display:flex;align-items:center;gap:11px;padding:13px;margin-bottom:15px;border-radius:13px;background:#f4f6fc}.phone-account-summary>i{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#e8edff;color:#6072d1;font-size:20px}.phone-account-summary span{display:grid}.phone-account-summary small{color:#8994a8}.local-phone-accounts{display:grid;gap:8px;max-height:390px;overflow:auto;margin:18px 0}.local-phone-accounts button{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #e0e5ef;border-radius:12px;background:#fbfcff;text-align:left}.local-phone-accounts button>i{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#edf0ff;color:#6172d0;font-size:20px}.local-phone-accounts span{display:grid}.local-phone-accounts small{color:#8994a8}.local-phone-accounts b{color:#6071c8}
@media(max-width:767px){.login-method-tabs{margin-bottom:18px}.local-phone-accounts{max-height:320px}}

/* RC29: browse the complete mentor cast without loading all portraits at once. */
.mentor-catalog-tools{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:16px 0;color:#68718b}.mentor-catalog-tools label{display:grid;gap:6px;font-size:13px;font-weight:600;min-width:0}.mentor-catalog-tools label:first-child{flex:1;min-width:190px}.mentor-catalog-tools input,.mentor-catalog-tools select{box-sizing:border-box;min-height:44px;border:1px solid #dce2f0;border-radius:10px;background:#fff;padding:10px 12px;font:inherit;color:#354261;width:100%}.mentor-catalog-tools [role=status]{font-size:13px;line-height:44px;white-space:nowrap}.mentor-catalog-more{display:block;margin:18px auto;min-height:44px;padding:10px 20px}.mentor-catalog-empty{padding:24px;text-align:center;color:#737d96}.mentor-grid>[hidden],.student-mentor-shelf>[hidden],.mentor-catalog-more[hidden],.mentor-catalog-empty[hidden]{display:none!important}
@media(max-width:600px){.mentor-catalog-tools{gap:9px}.mentor-catalog-tools label:first-child{flex-basis:100%}.mentor-catalog-tools label:nth-child(2){flex:1}.mentor-catalog-tools [role=status]{font-size:12px}.mentor-catalog-tools input,.mentor-catalog-tools select{font-size:16px}}
.mentor-preview-image{height:min(64vh,580px);background:#edf0f6}.mentor-preview-image img{object-fit:contain;object-position:center}
.pet-picker-tools{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:8px 12px}.pet-picker-tools label{display:grid;gap:5px;font-size:13px;color:#657294}.pet-picker-tools input,.pet-picker-tools select{min-width:0;width:100%;min-height:42px;padding:8px 11px;border:1px solid #dce3f2;border-radius:10px;background:#fff;color:#384a73;font:inherit}.pet-picker-tools p{grid-column:1/-1;margin:0;color:#7b86a1;font-size:12px}.pet-picker-selected{margin:0;color:#4e6298;font-size:14px;font-weight:700}.pet-picker-empty{padding:20px;text-align:center;color:#7e8aa4}.pet-choice-card[hidden],.pet-choice-group[hidden],.pet-picker-empty[hidden]{display:none!important}@media(max-width:560px){.pet-picker-tools{grid-template-columns:minmax(0,1fr) 130px}.pet-picker-tools input,.pet-picker-tools select{font-size:16px}.modal-card:has(#petRouteForm) .fixed-pet-picker{max-height:38vh}.pet-choice-group h3{flex-wrap:wrap}}

/* Full pet evolution gallery links on teacher and student pages. */
.fixed-catalog-toolbar{flex-wrap:wrap}.fixed-catalog-toolbar select{min-width:0;max-width:100%}
.pet-gallery-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;max-width:100%;border:1px solid #d7dff0;border-radius:12px;background:#fff;color:#5268b2;font-size:14px;font-weight:700;text-decoration:none;line-height:1.5}.pet-gallery-link:hover{background:#eff3ff}.pet-gallery-link:focus-visible{outline:3px solid #7c92d4;outline-offset:3px}

.mentor-reward-config{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 0}.mentor-reward-config label{display:flex;align-items:center;gap:8px}.mentor-reward-config input{width:80px;min-height:42px;padding:8px;border:1px solid #ccd5e8;border-radius:8px;font:inherit}

/* Mobile scoring keeps behaviour choices immediately below the pupil name. */
@media(max-width:767px){
.detail-panel.mobile-open .partner-switch,.detail-panel.mobile-open .partner-view{display:none!important}
.detail-panel.mobile-open{overscroll-behavior:contain;max-height:calc(100dvh - 66px);padding-bottom:100px}
.detail-panel.mobile-open .score-tabs{margin-top:12px}
.detail-panel.mobile-open .score-actions button{min-height:56px}
}

/* Readable responsive workbench and wrapping dialog actions. */
.modal-actions{flex-wrap:wrap}
.modal-actions>button{height:auto;min-height:44px;max-width:100%;padding:10px 14px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;flex-shrink:0}
.today-dock-heading small{font-size:clamp(13px,.8vw,16px);color:#596b91}
.today-dock-heading strong{font-size:clamp(17px,1.1vw,22px)}
.today-dock-heading button{height:auto;min-height:44px;font-size:14px;padding:8px 12px}
.today-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.today-metrics button{min-height:76px;padding:12px;gap:10px}
.today-metrics b{font-size:clamp(21px,1.4vw,28px)}
.today-metrics small{font-size:clamp(14px,.85vw,17px);color:#5d6b85;white-space:normal;overflow:visible;line-height:1.5}
.today-quick-actions{flex-wrap:wrap;overflow:visible;gap:8px}
.today-quick-actions button{height:auto;min-height:44px;padding:10px 14px;font-size:clamp(14px,.85vw,17px);line-height:1.45;white-space:normal}
.modal-card:has(#rc23CheckRows) .modal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));justify-content:stretch}
.modal-card:has(#rc23CheckRows) .modal-actions>button{min-width:0;width:100%;font-size:15px}
.rc23-check-tools{grid-template-columns:minmax(0,1fr) 110px 110px auto}
.rc23-check-tools input{min-width:0;width:100%}
@media(max-width:767px){
.today-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.today-dock-heading button{font-size:14px;flex-shrink:0;max-width:110px}
.today-quick-actions{margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.today-quick-actions button{min-width:0}
.rc23-check-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
.rc23-check-tools label{grid-column:1/-1}
.rc23-check-tools select{min-width:0;width:100%}
.rc23-release-overview{grid-template-columns:1fr;gap:12px}
.rc23-release-overview>div{grid-template-columns:repeat(2,minmax(0,1fr))}
.modal-card:has(#rc23CheckRows) .modal-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Reports keep readable columns rather than shrinking their text. */
.class-system-report>header{flex-wrap:wrap;gap:14px;line-height:1.5}
.class-report-metrics span,.mentor-report-metrics span,.weekly-report-metrics span{line-height:1.5;color:#606f88}
.class-report-dimensions div{grid-template-columns:3em minmax(20px,1fr) 3em;line-height:1.5}
.class-report-table>div,.class-report-table>article{min-width:740px;grid-template-columns:120px 160px 120px 80px minmax(210px,1fr);gap:8px;line-height:1.6}
.mentor-report-table article>button,.mentor-report-table article>footer button,.companion-report-filters button{height:auto;min-height:40px;padding:8px;white-space:normal;line-height:1.4}
.report-dimensions>div{grid-template-columns:3em 1fr 3em}
@media(max-width:767px){.class-report-metrics,.report-stats,.weekly-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.class-system-report>header>div{min-width:0}.class-report-dimensions{grid-template-columns:repeat(2,minmax(0,1fr))}}
