@charset "UTF-8";
/* Generated by game-opening/scripts/build-showcase-bundles.cjs; edit the source files. */
/* Source: workbench.css */
:root{--ink:#293f3a;--muted:#82918a;--green:#387c65;--orange:#ee9147;--line:#e9ede5;--paper:#fff;--bg:#f7f8f3;font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #eea256;outline-offset:4px}[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}button{border:0}h1,h2,h3,p{margin:0}small{font-size:12px}button:hover:not(:disabled),a:hover{transition:background .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}
.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fffefa;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:34px 20px 22px;z-index:30}.brand{display:flex;gap:11px;align-items:center;font-size:17px;font-weight:750;white-space:nowrap}.brand-mark{background:#ed914a;color:white;width:43px;height:46px;border-radius:15px 15px 15px 5px;display:grid;place-items:center;font-size:28px;box-shadow:inset 0 -4px 0 #d67d38}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#7c8d82;margin-top:6px;font-weight:600}.space-label{font-size:11px;letter-spacing:2px;color:#a3aea5;margin:48px 16px 14px}.sidebar nav{display:grid;gap:7px}.sidebar nav a,.sidebar-bottom a{display:flex;align-items:center;gap:13px;padding:14px 17px;border-radius:12px;font-size:14px;font-weight:550;color:#74817b}.sidebar nav a:hover,.sidebar-bottom a:hover{background:#f4f6ef}.sidebar nav a.active,.sidebar-bottom a.active{background:#eaf3e8;color:#327359;font-weight:750}.sidebar nav a.active svg{stroke-width:2.2}.nav-dot{width:6px;height:6px;background:#efb16a;border-radius:50%;margin-left:auto}.side-guide{position:relative;margin:70px 9px 35px;padding:65px 14px 17px;background:linear-gradient(150deg,#fcf4d9,#f3f0d9);border:1px solid #f0e7c7;border-radius:19px;text-align:center}.pencil-crop{position:absolute;width:90px;aspect-ratio:1;top:-32px;left:50%;transform:translateX(-50%);background:url('assets/props.webp') 0 0/200% 200%}.side-guide p{font-size:13px;line-height:1.8;color:#8c7c50;font-weight:550}.side-guide button{margin-top:14px;background:none;color:#a98b50;font-size:11px}.side-guide button span{margin-left:10px}.sidebar-bottom{margin-top:auto}.sidebar-bottom>span{display:block;font-size:10px;color:#a4ada3;text-align:center;margin-top:18px}.workspace{margin-left:238px;min-height:100vh;display:flex;flex-direction:column}.app-header{height:88px;background:#fffefb;border-bottom:1px solid var(--line);padding:0 38px;display:flex;justify-content:space-between;align-items:center}.header-left,.header-actions{display:flex;align-items:center;gap:15px;font-size:12px}.header-left>span,.header-left i{color:#9aa49b;font-style:normal}.header-left strong{font-weight:550}.help-button{display:flex;align-items:center;gap:6px;font-size:12px;color:#8d998f;background:none}.help-button svg{width:17px;height:17px}.header-divider{height:25px;width:1px;background:var(--line);margin:0 6px}.profile-button{display:flex;gap:9px;align-items:center;font-size:12px}.avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:24px;background:#fae2bc;color:#a96c2b;font-weight:750;font-size:30px;border:4px solid #fff9eb}.avatar.small{width:35px;height:35px;border-radius:12px;font-size:17px;border:2px solid #fff5e5}.profile-chevron{color:#9ca79d;margin-left:4px}.icon-button{width:34px;height:34px;background:#f5f6f0;border-radius:50%;display:grid;place-items:center}.icon-button svg{width:18px;height:18px}.mobile-menu{display:none}main#content{width:100%;max-width:1580px;padding:33px 38px 36px;margin:0 auto;flex:1}main#content:focus{outline:none}.app-footer{max-width:1580px;width:100%;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#a9b2a9;padding:0 38px 25px;margin:0 auto}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-intro h1{font-size:27px;letter-spacing:.4px;font-weight:750;line-height:1.5}.page-intro p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.7}.eyebrow{color:#9aa78f;letter-spacing:2px;font-size:10px;margin-bottom:6px}.date-chip{display:flex;gap:7px;align-items:center;font-size:11px;color:#819181;white-space:nowrap;border:1px solid #e5e9dd;background:#fffef8;padding:10px 13px;border-radius:10px}.date-chip svg{width:15px;height:15px}.primary,.secondary,.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 21px;border-radius:10px;font-size:13px;font-weight:650}.primary{color:white;background:#ed934c;box-shadow:0 4px 0 #d47c39}.primary:hover{background:#f3a15c}.primary svg{width:17px;height:17px}.primary.green{background:#4c8971;box-shadow:0 4px 0 #37725d}.secondary{background:#fff;border:1px solid #e5e8df;color:#6f8275}.soft-button{background:#eef3e8;color:#5e805f;padding:9px 14px;font-size:11px}.text-link{display:inline-flex;align-items:center;gap:6px;color:#8e9b8e;font-size:11px;background:none}.text-link svg{width:14px;height:14px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:7px;background:#f3f5ea;color:#8c9d76;padding:5px 8px;font-size:10px;font-weight:550;white-space:nowrap}.pill.orange{background:#fff0db;color:#ca8b43}.pill.green{background:#eaf4e9;color:#538564}.hero{position:relative;min-height:260px;border-radius:22px;overflow:hidden;background:#edf3e2 url('assets/wheat-world.webp') center right/cover;isolation:isolate;margin-bottom:23px}.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eff5e4 2%,#eff5e4f7 26%,#eef5e4a8 47%,#eef5e400 73%);z-index:-1}.hero-content{padding:31px 35px;position:relative;z-index:2}.hero h2{font-size:29px;line-height:1.55;letter-spacing:1px;margin:10px 0 6px}.hero h2 em{font-style:normal;color:#5a8552}.hero p{font-size:12px;line-height:1.9;color:#76876d;margin-bottom:23px}.hero-actions{display:flex;align-items:center;gap:15px}.hero-actions>span{font-size:10px;color:#8e9b80}.hero-mouse{position:absolute;right:8%;bottom:-18px;width:31%;max-width:310px;aspect-ratio:1;background:url('assets/mouse.webp') 100% 100%/200% 200%;filter:drop-shadow(0 8px 9px #73692830)}.hero-label{position:absolute;right:22px;top:19px;color:#fffef1;background:#6f8b4ea8;backdrop-filter:blur(5px);border:1px solid #ffffff50;border-radius:8px;font-size:10px;padding:7px 11px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat-card{display:flex;gap:14px;align-items:center;padding:19px;background:white;border:1px solid var(--line);border-radius:15px}.stat-icon{display:grid;place-items:center;width:44px;height:44px;background:#f8f0db;color:#c79c46;border-radius:13px}.stat-card:nth-child(2) .stat-icon{background:#eaf3e7;color:#78a178}.stat-card:nth-child(3) .stat-icon{background:#f9e9df;color:#cf9478}.stat-card:nth-child(4) .stat-icon{background:#edf0f8;color:#9daccf}.stat-value{font-family:ui-rounded,"PingFang SC",sans-serif;font-size:25px;font-weight:650;line-height:1.2}.stat-value small{font-size:10px;font-weight:400;margin-left:6px;color:#9ca995}.stat-label{font-size:10px;color:#9ca995;margin-top:5px}.home-columns{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:23px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px;gap:10px}.section-heading h2{font-size:16px;font-weight:700}.section-heading h2 small{font-size:10px;color:#a5afa1;letter-spacing:1px;margin-left:11px;font-weight:400}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.feature-card{position:relative;overflow:hidden;min-height:182px;border:1px solid #e4eadb;border-radius:16px;padding:22px;background:#eef3e7}.feature-card.practice{background:#fcf1df;border-color:#f2e5cd}.feature-card h3{font-size:18px;margin:12px 0 8px;position:relative;z-index:2}.feature-card p{color:#8a9981;font-size:10px;line-height:1.8;max-width:70%;position:relative;z-index:2}.feature-card.practice p{color:#b29b76}.feature-card .circle-link{position:relative;z-index:3;display:grid;place-items:center;width:30px;height:30px;background:#fff;border:1px solid #e5ebdd;border-radius:50%;margin-top:15px;color:#719064}.feature-card .circle-link svg{width:14px;height:14px}.feature-card .card-motif{position:absolute;right:8px;bottom:20px;width:38%;aspect-ratio:1;opacity:.8;transform:rotate(-9deg);color:#a7ba8b}.feature-card .card-motif svg{width:100%;height:100%;stroke-width:.7}.feature-card.practice .card-motif{color:#dfb56f}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:15px}.quick-link{border:1px solid var(--line);border-radius:12px;padding:16px 12px;background:#fff;display:flex;align-items:center;gap:10px;font-size:11px}.quick-link svg{color:#b09e78;width:20px;height:20px}.quick-link small{display:block;font-size:9px;color:#a0ab9d;margin-top:4px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px}.daily-panel{height:100%}.daily-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.daily-head h2{font-size:15px}.daily-head span{font-size:10px;color:#b2baaa}.quest{display:flex;align-items:center;gap:11px;margin:17px 0;text-align:left;width:100%;background:none;padding:0}.quest-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#f8f3e6;color:#c4ac72}.quest-icon svg{width:15px;height:15px}.quest.done .quest-icon{background:#eaf3e6;color:#63906b}.quest p{flex:1;font-size:11px}.quest small{display:block;color:#a9b2a1;margin-top:5px;font-size:9px}.quest>span:last-child{font-size:10px;color:#adb89f}.daily-foot{border-top:1px dashed #e7eadd;padding-top:14px;margin-top:22px;display:flex;gap:8px;align-items:center;color:#b4bca9;font-size:9px;line-height:1.6}.daily-foot svg{color:#d8b970;width:20px;height:20px}.recent-panel{margin-top:25px}.empty-inline{background:#fbfcf7;border:1px dashed #e7ecdf;border-radius:12px;padding:21px;color:#a1ad9c;font-size:11px;text-align:center}.recent-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #f1f3eb;font-size:11px}.recent-item>svg{color:#92ab81}.recent-item p{flex:1}.recent-item small{display:block;color:#a4afa0;margin-top:5px;font-size:9px}.recent-item>span{color:#7c9a6b;font-size:10px}.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 19px;background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:18px}.map-toolbar p{font-size:12px}.map-toolbar small{color:#98a58f;font-size:10px}.map-legend{display:flex;gap:15px;font-size:10px;color:#8d9b84}.map-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e6b16b;margin-right:5px}.map-legend span+span i{background:#b4c4a3}.adventure-map{position:relative;aspect-ratio:1.72;background:#bbdecb url('assets/zodiac-world.webp') center/cover;border-radius:22px;border:4px solid #fff;box-shadow:0 5px 25px #71896b15;overflow:hidden;min-height:540px}.map-title{position:absolute;top:23px;left:27px;color:#fffefa;text-shadow:0 2px 6px #56745d;font-size:25px;letter-spacing:2px;pointer-events:none}.map-subtitle{display:block;font-size:11px;letter-spacing:1px;margin-top:5px}.map-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;background:none;width:120px;z-index:3;filter:drop-shadow(0 5px 7px #456d4325)}.map-node:hover{transform:translate(-50%,-54%)}.node-face{display:grid;place-items:center;width:51px;height:51px;border:3px solid #e9e6cc;background:#f8f1dc;border-radius:19px;color:#a3ab91;font-size:21px;font-weight:800;box-shadow:0 3px 0 #9eac8b;position:relative}.node-face svg{position:absolute;width:12px;height:12px;bottom:-4px;right:-4px;background:#8eaa8b;color:white;padding:2px;border-radius:5px}.map-node:first-of-type .node-face{background:#fff2b6;border-color:#ffdd74;box-shadow:0 4px 0 #dba153;width:67px;height:67px;border-radius:24px}.node-mouse{position:absolute;inset:-8px;background:url('assets/mouse.webp') 0 0/200% 200%}.node-label{display:block;background:#fff9e9ed;padding:7px 10px;border:1px solid #ffffff;border-radius:10px;margin-top:6px;min-width:98px;box-shadow:0 3px 0 #a0b19155}.node-label b{font-size:10px;white-space:nowrap;color:#6f7f61}.node-label small{display:block;font-size:8px;color:#a8b09d;margin-top:3px;white-space:nowrap}.map-node:first-of-type .node-label{background:#fff7db;border:2px solid #efb65c}.map-node:first-of-type .node-label b{color:#b67a31}.map-node:first-of-type .node-label small{color:#c39b5b}.map-caption{margin-top:14px;color:#99a592;font-size:11px;line-height:1.8}.map-caption a{color:#799966;text-decoration:underline}.detail-dialog{border:1px solid #eee9dc;padding:0;border-radius:24px;width:min(630px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 30px 90px #2c4b3d40}.detail-dialog::backdrop{background:#243e3466;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:16px;top:16px;z-index:4;background:#ffffffdf}.dialog-cover{height:175px;background:url('assets/zodiac-world.webp') center/cover;position:relative}.dialog-cover.wheat{background-image:url('assets/wheat-world.webp')}.dialog-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,#172e3233)}.dialog-body{padding:27px}.dialog-body h2{font-size:24px;margin:8px 0 10px}.dialog-body>p{font-size:12px;color:#8a9a88;line-height:1.9}.scene-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.scene-tile{background:#f5f7ef;border:1px solid #e9eddf;border-radius:13px;padding:15px 10px;text-align:left}.scene-tile:hover{background:#eef3e6}.scene-tile b{display:block;color:#a5b39a;font-size:10px;letter-spacing:1px}.scene-tile strong{display:block;font-size:13px;margin:9px 0}.scene-tile small{font-size:9px;line-height:1.7;display:block;color:#9fa992}.dialog-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:24px}.dialog-actions .secondary svg{width:15px;height:15px}.dialog-targets{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.dialog-targets span{background:#f6f7ef;border:1px solid #e9eddf;border-radius:8px;padding:7px 10px;font-size:10px;color:#8b9b7e}.chapter-plan{border-left:2px solid #e4ebd8;margin:20px 0;padding-left:19px;display:grid;gap:18px}.chapter-plan b{font-size:13px}.chapter-plan p{font-size:11px;line-height:1.7;color:#9aa78f;margin-top:5px}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.practice-card{border:1px solid #e8eddf;border-radius:19px;background:#fff;padding:25px;position:relative;overflow:hidden}.practice-symbol{height:80px;display:flex;align-items:center;gap:9px;margin-bottom:20px}.practice-symbol b{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#edf3e3;color:#82a365;font-size:27px;transform:rotate(-8deg)}.practice-symbol b:nth-child(2){background:#fff0d8;color:#d4a968;transform:rotate(8deg);width:35px;height:35px;font-size:21px}.practice-card:nth-child(2) .practice-symbol b:first-child{background:#f9e8da;color:#d69d7b}.practice-card:nth-child(3) .practice-symbol b:first-child{background:#e9edf8;color:#98a6cb}.practice-card h2{font-size:18px;margin:9px 0}.practice-card p{font-size:11px;line-height:1.9;color:#9ca990;min-height:42px;margin-bottom:20px}.practice-card .primary{width:100%;font-size:12px}.practice-banner{display:flex;align-items:center;gap:20px;background:#f5eddf;border:1px solid #ece2cd;border-radius:18px;padding:25px;margin-top:23px}.practice-banner>.tank-mini{width:65px;height:85px;background:url('assets/grain-tank.webp') left/290% 100%}.practice-banner>div:nth-child(2){flex:1}.practice-banner h3{font-size:17px;margin-bottom:7px}.practice-banner p{font-size:11px;line-height:1.8;color:#ab9776}.choice-row{display:flex;gap:10px;margin:17px 0;flex-wrap:wrap}.choice-row button{border:1px solid #e4e9d9;border-radius:10px;padding:10px 16px;background:#fff;color:#97a18a;font-size:12px}.choice-row button.selected{border-color:#8cad73;background:#edf4e4;color:#64864f}.practice-play{max-width:790px;margin:0 auto}.play-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.play-top>span{font-size:12px;color:#a0ad92}.progress-track{height:7px;background:#e9eddf;border-radius:9px;overflow:hidden;margin-bottom:25px}.progress-track i{display:block;height:100%;background:#9cb87f;border-radius:9px;transition:width .3s}.practice-stage{position:relative;background:#fffef7;border:1px solid #ecebdb;border-radius:23px;padding:34px;text-align:center;min-height:465px}.practice-stage .eyebrow{margin-bottom:15px}.equation-display{display:flex;align-items:center;justify-content:center;gap:15px;font-size:47px;font-weight:650;color:#52684a;margin:23px 0}.answer-input{background:#f3f6e8;border:2px dashed #b9c9a6;border-radius:16px;min-width:92px;min-height:70px;padding:6px 13px;color:#739059;font-size:40px;letter-spacing:3px}.answer-input.correct{background:#e7f0d9;border-color:#8fb477}.practice-hint{color:#9eac8e;font-size:12px;min-height:40px;line-height:1.8;margin:15px 0}.practice-hint.retry{color:#c2905b}.numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:330px;margin:12px auto}.numpad button{padding:12px;background:#f3f5ed;border:1px solid #e7ebdc;border-radius:11px;font-size:21px;color:#657d55;box-shadow:0 3px 0 #e0e6d4}.numpad button:hover{background:#e8efdd}.numpad button.control{font-size:12px;color:#a4ac98}.practice-stage>.primary{width:330px;max-width:100%;margin-top:13px;background:#85a86a;box-shadow:0 4px 0 #708f56}.practice-summary{text-align:center;padding:35px;max-width:660px;margin:15px auto}.summary-medal{margin:auto;display:grid;place-items:center;width:94px;height:94px;background:#fff0cb;border:5px solid #ffe3a2;border-radius:50%;color:#d9ad57}.summary-medal svg{width:48px;height:48px}.practice-summary h2{font-size:26px;margin:25px 0 10px}.practice-summary p{color:#98a68b;line-height:1.8;font-size:12px}.summary-stats{display:flex;justify-content:center;gap:40px;margin:30px 0}.summary-stats strong{font-size:27px;color:#759364}.summary-stats small{display:block;color:#a6b197;font-size:10px;margin-top:8px}.summary-actions{display:flex;gap:12px;justify-content:center;margin-top:25px;flex-wrap:wrap}.badge-banner{display:flex;gap:23px;align-items:center;background:linear-gradient(100deg,#fbf2da,#f9f6e9);border:1px solid #eee7d3;padding:25px;border-radius:20px;margin-bottom:24px}.badge-banner svg{width:60px;height:60px;color:#d6b163;stroke-width:1.1}.badge-banner h2{font-size:20px;margin-bottom:7px}.badge-banner p{font-size:11px;line-height:1.8;color:#ada184}.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.badge-card{border:1px solid var(--line);background:#fff;border-radius:17px;padding:23px 15px;text-align:center;position:relative}.badge-art{position:relative;width:80px;height:80px;display:grid;place-items:center;margin:0 auto 18px;background:#f0f2ec;border:5px solid #e8ece3;border-radius:27px;color:#b9c1b0;font-size:33px;font-weight:700;box-shadow:0 4px 0 #dce1d4}.badge-art svg{width:37px;height:37px;stroke-width:1.2}.badge-card.earned .badge-art{background:#fff0bf;border-color:#ffe3a0;box-shadow:0 4px 0 #dfb977;color:#c8953e}.badge-art .badge-mouse{position:absolute;inset:-5px;background:url('assets/mouse.webp') 100% 100%/200% 200%}.badge-card h3{font-size:13px;margin-bottom:7px}.badge-card p{font-size:10px;color:#a3ae9a;line-height:1.7}.badge-card>small{display:block;margin-top:13px;font-size:9px;color:#b4bda9}.badge-card.earned>small{color:#c6a15d}.record-tools{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button{background:none;padding:10px 15px;border-radius:9px;color:#9ca993;font-size:12px}.tabs button.active{background:#eaf2e2;color:#759661}.records-list{display:grid;gap:12px}.record-card{background:#fff;border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:17px;padding:20px}.record-card>svg{width:40px;height:40px;padding:10px;background:#eff4e7;border-radius:13px;color:#94aa7f}.record-card>div{flex:1}.record-card h3{font-size:13px;margin-bottom:7px}.record-card p{font-size:10px;color:#a6b29a;line-height:1.7}.record-card>strong{font-size:17px;color:#8ca772}.record-card>strong small{display:block;font-size:9px;font-weight:400;text-align:right;color:#b1baa7;margin-top:6px}.empty-state{text-align:center;background:#fff;border:1px dashed #dce5d2;border-radius:20px;padding:60px 25px;margin-top:15px}.empty-state>svg{width:55px;height:55px;color:#c7d3ba;stroke-width:1.1;margin-bottom:22px}.empty-state h2{font-size:18px;margin-bottom:11px}.empty-state p{font-size:12px;color:#a4af9c;line-height:1.9;margin-bottom:22px}.bag-panels{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.bag-panels .panel h2{font-size:17px;margin-bottom:8px}.bag-panels .panel>p{font-size:11px;color:#a3ad98;line-height:1.8;margin-bottom:22px}.wrong-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-top:1px solid #edf0e6}.wrong-item b{font-size:18px;color:#879b75}.wrong-item p{font-size:10px;color:#aeb8a2;margin-top:6px}.wrong-item button{background:#f3f6ec;border:1px solid #e4eadb;border-radius:8px;font-size:10px;padding:8px 12px;color:#8c9f7b}.saved-level{background:#f8f7ec;border:1px solid #ecebd7;border-radius:12px;padding:15px;display:flex;align-items:center;gap:13px;margin-bottom:12px}.saved-level .saved-number{width:38px;height:38px;display:grid;place-items:center;background:#ebeeda;border-radius:13px;font-size:19px;color:#95a477}.saved-level>span:nth-child(2){flex:1;font-size:12px}.saved-level small{display:block;font-size:9px;color:#a7b197;margin-top:6px}.saved-level button{background:none;color:#9dac8b;font-size:17px}.bag-note{padding:20px;border:1px solid #ebe6d2;background:#f9f4e5;border-radius:14px;margin-top:22px}.bag-note h3{font-size:13px;margin-bottom:8px;color:#ac9568}.bag-note p{font-size:11px;line-height:1.9;color:#b1a283}.settings-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:23px;align-items:start}.settings-panel h2{font-size:17px;margin-bottom:25px}.profile-preview{display:flex;align-items:center;gap:16px;margin-bottom:24px}.profile-preview h3{font-size:15px;margin-bottom:6px}.profile-preview p{font-size:10px;color:#a8b39d}.field{display:block;font-size:11px;color:#899a7c;margin:18px 0}.field input,.field select{display:block;width:100%;border:1px solid #e4eadb;border-radius:10px;background:#fbfcf7;color:#607452;padding:12px;margin-top:9px;font-size:13px}.field small{display:block;font-size:9px;margin-top:7px;color:#a7b19c}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid #edf0e5}.setting-row b{font-size:12px;font-weight:550}.setting-row small{display:block;font-size:10px;margin-top:7px;color:#a3af96;line-height:1.6}.toggle{appearance:none;-webkit-appearance:none;width:39px;height:23px;border-radius:13px;background:#dce3d5;position:relative;cursor:pointer;flex:none}.toggle:checked{background:#8eaf77}.toggle::after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:white;box-shadow:0 2px 4px #69795a20;transition:transform .2s}.toggle:checked::after{transform:translateX(16px)}.about-note{font-size:11px;line-height:1.9;color:#a3ad98}.help-list{display:grid;gap:19px;margin-top:25px}.help-list h3{font-size:14px;color:#7e9569;margin-bottom:7px}.help-list p{font-size:12px;line-height:1.9;color:#a0ad93}.game-shell{position:fixed;inset:0;z-index:100;background:#163b38;display:flex;flex-direction:column}.game-shell header{height:45px;flex:none;background:#fffdf3;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 22px;font-size:11px;color:#8c997f}.game-shell header button{background:none;color:#6e845b;font-size:12px;font-weight:600;display:flex;gap:9px;align-items:center}.game-shell iframe{flex:1;width:100%;min-height:0;border:0}.game-open{overflow:hidden}.app-toast{position:fixed;left:50%;bottom:35px;transform:translateX(-50%);z-index:200;background:#3f5746;color:#fff;font-size:12px;padding:14px 24px;border-radius:12px;box-shadow:0 8px 30px #31463622}.motion-reduced *, .motion-reduced *::before,.motion-reduced *::after{animation:none!important;transition:none!important}
@media(min-width:1500px){.hero{min-height:300px}.hero-content{padding:40px 42px}.hero h2{font-size:35px}.hero p{font-size:13px}.feature-card{min-height:205px}.feature-card h3{font-size:20px}.feature-card p{font-size:11px}.hero-mouse{max-width:350px;right:9%}.sidebar{width:250px}.workspace{margin-left:250px}}
@media(max-width:1180px){.sidebar{width:205px;padding:28px 15px}.brand{font-size:14px;gap:8px}.brand small{font-size:7px;letter-spacing:1px}.brand-mark{width:36px;height:40px;font-size:24px}.workspace{margin-left:205px}.app-header{padding:0 26px}.header-left{gap:9px;font-size:11px}main#content{padding:28px 26px}.app-footer{padding-left:26px;padding-right:26px}.hero h2{font-size:26px}.hero-content{padding:28px}.hero-mouse{right:2%;width:34%;bottom:0}.home-columns{grid-template-columns:1.6fr 1fr;gap:17px}.stat-card{padding:14px;gap:10px}.stat-icon{width:34px;height:34px;border-radius:10px}.stat-icon svg{width:18px;height:18px}.stat-value{font-size:23px}.feature-card{padding:18px}.quick-link{padding:14px 10px;gap:7px}.quick-link svg{width:16px;height:16px}.quick-link small{font-size:8px}.quick-link{font-size:10px}.practice-card{padding:20px}.badge-grid{grid-template-columns:repeat(3,1fr)}.adventure-map{min-height:590px}.map-node{width:100px}.node-label{padding:6px;min-width:90px}.node-label b{font-size:9px}.node-label small{font-size:7px}}
@media(max-width:960px){.header-left>span,.header-left i{display:none}.home-columns{grid-template-columns:1fr}.stats-row{gap:10px}.stat-card{gap:8px}.stat-value small{display:none}.daily-panel{margin-top:3px}.daily-panel .quests{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.daily-foot{margin-top:10px}.quest>span:last-child{display:none}.practice-grid{grid-template-columns:1fr}.practice-card{display:grid;grid-template-columns:75px 1fr 155px;align-items:center;gap:15px}.practice-symbol{grid-row:1/5;margin:0;height:70px}.practice-symbol b{width:40px;height:40px}.practice-symbol b:nth-child(2){display:none}.practice-card>.pill{grid-column:2;justify-self:start}.practice-card h2{grid-column:2;margin:0}.practice-card p{grid-column:2;margin:0;min-height:0}.practice-card>.primary{grid-column:3;grid-row:1/5}.bag-panels,.settings-grid{grid-template-columns:1fr}.adventure-map{min-height:650px}.map-title{font-size:20px}.node-face{width:42px;height:42px;font-size:18px;border-radius:15px}.map-node:first-of-type .node-face{width:55px;height:55px}.node-label{min-width:80px}.node-label b{font-size:8px}.node-label small{font-size:6px}.adventure-map{background-size:auto 100%}.map-legend{gap:9px;font-size:9px}.hero h2{font-size:23px}.hero p{max-width:70%;font-size:11px}.hero-mouse{right:0;width:35%;bottom:5px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:238px;box-shadow:5px 0 40px #263c301c}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:grid}.app-header{height:68px;padding:0 18px}.header-actions{gap:8px}.help-button{font-size:0}.header-divider{margin:0 2px}.profile-button{font-size:10px;gap:6px}.app-header .header-left strong{font-size:12px}.profile-chevron{display:none}main#content{padding:25px 18px}.app-footer{padding:0 18px 20px;font-size:8px;flex-wrap:wrap;gap:5px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:24px}.page-intro p{font-size:11px}.date-chip{font-size:9px;padding:8px}.date-chip svg{display:none}.hero{min-height:258px}.hero-content{padding:24px}.hero h2{font-size:25px;margin-top:10px}.hero p{max-width:65%;font-size:10px;margin-bottom:20px}.hero-mouse{right:-25px;bottom:5px;width:48%}.hero-label{font-size:8px;top:15px;right:15px}.hero-actions{gap:10px;align-items:flex-start;flex-direction:column}.hero-actions>.primary{font-size:12px;padding:11px 16px}.hero-actions>span{font-size:9px}.stats-row{grid-template-columns:1fr 1fr;margin-bottom:23px}.stat-card{padding:16px}.stat-icon{width:38px;height:38px}.feature-grid{gap:12px}.feature-card{padding:17px;min-height:183px}.feature-card h3{font-size:16px}.feature-card p{max-width:80%;font-size:9px}.feature-card .card-motif{width:35%;right:6px;bottom:12px}.section-heading h2{font-size:15px}.section-heading h2 small{font-size:8px}.quick-links{gap:8px}.quick-link{font-size:9px;padding:13px 9px}.quick-link svg{width:17px;height:17px}.quick-link small{font-size:7px}.daily-panel .quests{display:block}.quest>span:last-child{display:block}.map-toolbar{padding:13px;flex-wrap:wrap}.map-toolbar p{font-size:11px}.map-toolbar small{font-size:9px}.map-title{left:18px;top:20px;font-size:20px}.map-subtitle{font-size:9px}.map-node{width:100px}.adventure-map{min-height:740px;aspect-ratio:auto;background-size:auto 100%}.node-face{width:43px;height:43px}.node-label{min-width:86px}.node-label b{font-size:9px}.node-label small{font-size:7px}.badge-grid{grid-template-columns:1fr 1fr;gap:12px}.badge-art{width:70px;height:70px;font-size:27px}.badge-card{padding:22px 12px}.badge-card h3{font-size:12px}.badge-card p{font-size:9px}.badge-banner{padding:22px;gap:16px}.badge-banner h2{font-size:18px}.badge-banner svg{width:45px;height:45px}.practice-card{grid-template-columns:52px 1fr;gap:12px}.practice-card>.primary{grid-column:2;grid-row:auto;margin-top:9px;width:auto;justify-self:start}.practice-symbol{grid-row:1/5}.practice-card h2{font-size:17px}.practice-banner{flex-wrap:wrap;padding:20px;gap:15px}.practice-banner .secondary{font-size:11px;padding:10px 15px}.practice-banner>.tank-mini{width:45px;height:65px}.practice-banner h3{font-size:15px}.practice-banner p{font-size:10px}.record-tools{align-items:flex-start;gap:8px}.tabs{gap:2px}.tabs button{font-size:10px;padding:8px 10px}.record-tools>.secondary{font-size:9px;padding:8px 10px;white-space:nowrap}.record-card{padding:16px;gap:12px}.record-card h3{font-size:12px}.record-card>strong{font-size:15px}.record-card>svg{width:33px;height:33px;padding:8px}.scene-list{gap:7px}.scene-tile{padding:12px 8px}.scene-tile strong{font-size:11px}.scene-tile small{font-size:8px}.dialog-body{padding:22px}.dialog-body h2{font-size:22px}.dialog-actions .primary,.dialog-actions .secondary{font-size:11px;padding:11px 15px}.practice-stage{padding:27px 15px}.equation-display{font-size:36px;gap:10px}.answer-input{font-size:30px;min-height:60px;min-width:75px}.practice-hint{font-size:11px}.summary-stats{gap:25px}.summary-stats strong{font-size:24px}.practice-summary{padding:25px 15px}.practice-summary h2{font-size:23px}.game-shell-note{display:none}.game-shell header{font-size:10px;padding:0 13px}.game-shell header button{font-size:11px}}
.map-node{left:clamp(65px,var(--x),calc(100% - 65px))}.node-label{max-width:138px}.node-label b{display:block;overflow:hidden;text-overflow:ellipsis}.greeting-dot{color:#dbb974;font-size:24px;vertical-align:2px;margin-left:5px}

.sidebar{overflow-y:auto}
.sign-out{display:flex;align-items:center;gap:12px;background:none;color:#7a877d;padding:14px 17px;font-size:13px;width:100%}.sign-out svg{width:19px;height:19px}.mode-button,.screen-button{border-radius:9px;padding:10px 13px;font-size:12px;font-weight:650;min-height:42px}.mode-button{background:#e9f3e5;color:#47795a}.screen-button{background:#fff4dd;color:#a17535}.learning-context{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fffdf4;border:1px solid #ece9d6;border-radius:13px;padding:14px 20px;margin-bottom:25px;font-size:11px;color:#929b82}.learning-context b{color:#506e58;margin-left:20px;font-size:13px}.learning-context a{color:#6e8b5e;white-space:nowrap;min-height:30px;display:flex;align-items:center}.project-expansion{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:22px}.project-expansion svg{width:24px;height:24px;color:#89a576;float:left;margin-right:12px}.project-expansion h3{font-size:14px;margin-bottom:7px}.project-expansion p{font-size:11px;line-height:1.8;color:#93a18b}
.campus-student-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.campus-student-notes{background:#fbfcf7;border:1px solid #eef1e6;padding:15px 18px;border-radius:10px;margin:17px 0}.campus-student-notes>div{display:flex;gap:20px;font-size:11px;line-height:1.9;margin-bottom:6px}.campus-student-notes dt{color:#8ca176;white-space:nowrap;flex:none}.campus-student-notes dd{color:#9ba78e;overflow-wrap:anywhere}.campus-archived-list{border-top:1px solid #e9eddf;padding-top:17px}.campus-archived-list summary{font-size:12px;color:#8ca076;cursor:pointer;min-height:38px}.campus-student-dialog{position:fixed;inset:0;margin:auto;border:1px solid #e4e9d7;border-radius:20px;background:#fffef8;width:min(580px,calc(100% - 32px));max-height:90vh;overflow:auto;padding:34px;box-shadow:0 20px 80px #27462b20;color:#4f6844}.campus-student-dialog::backdrop{background:#2a432d70;backdrop-filter:blur(3px)}.campus-dialog-close{position:absolute;right:15px;top:12px;background:#f0f4e7;border-radius:50%;font-size:23px;color:#7f966a;width:34px;height:34px}.campus-student-form{display:grid;gap:16px}.campus-student-form h2{font-size:23px}.campus-student-form p{font-size:11px;line-height:1.9;color:#96a386}.campus-student-form textarea{resize:vertical}.campus-student-form small{font-size:9px;color:#a3ad94}.campus-student-form .campus-form-error{color:#bd7951}.campus-student-form .campus-student-toolbar{justify-content:flex-end;margin:0}
.portal-mode .sidebar,.portal-mode .workspace{display:none}#loginRoot{min-height:100vh;background:#f7f8ef;padding:35px;display:grid;place-items:center}#loginRoot[hidden]{display:none}.portal-welcome{width:100%;max-width:1250px;display:grid;grid-template-columns:1.2fr 1fr;background:#fffefa;border:1px solid #e8eadc;border-radius:28px;overflow:hidden;box-shadow:0 20px 65px #4564400c;min-height:700px}.portal-story{position:relative;background:#eef4e4;padding:42px 45px;overflow:hidden;isolation:isolate;display:flex;flex-direction:column}.portal-wordmark{display:flex;align-items:center;gap:13px;z-index:2}.portal-wordmark b{font-size:18px}.portal-wordmark small{display:block;font-size:8px;letter-spacing:1.7px;font-weight:500;color:#86977b;margin-top:7px}.portal-kicker{font-size:12px;color:#6a8d61;margin-top:55px;z-index:2}.portal-story h1{font-size:38px;line-height:1.5;margin-top:15px;letter-spacing:2px;z-index:2;color:#355c44}.portal-story>p{font-size:14px;line-height:2;color:#6f8b64;margin-top:16px;z-index:2}.portal-art{position:absolute;inset:28% -10% -20% -20%;background:url('assets/zodiac-world.webp') center bottom/cover;z-index:-1;mask-image:linear-gradient(transparent,black 28%);opacity:.65}.portal-story:after{content:'';position:absolute;right:-60px;bottom:20px;width:75%;aspect-ratio:1;background:url('assets/mouse.webp') 100% 100%/200% 200%;z-index:-1}.portal-points{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:220px;z-index:2}.portal-points span{background:#fffef4d9;border:1px solid #fff;padding:8px 10px;border-radius:8px;color:#6b855c;font-size:10px}.portal-login{padding:47px 48px}.portal-login h2{font-size:28px;margin:11px 0 8px}.portal-login>p{font-size:13px;color:#91a087;line-height:1.8}.portal-login form{margin-top:25px}.portal-login .field{margin-bottom:14px}.portal-login .primary{width:100%;min-height:48px}.portal-login input{min-height:46px}.login-error{font-size:12px;color:#b86a40;min-height:18px;margin:0 0 8px}.portal-demo{margin-top:25px;border-top:1px solid #eceee3;padding-top:23px}.portal-demo h3{font-size:13px}.portal-demo p{font-size:10px;color:#97a38a;line-height:1.8;margin:7px 0 12px}.portal-demo button{display:flex;justify-content:space-between;align-items:center;width:100%;background:#f3f6ed;border:1px solid #e8eddd;border-radius:10px;padding:13px 14px;margin-top:9px;color:#5c7c52;text-align:left;min-height:46px}.portal-demo button b{font-size:12px}.portal-demo button span{font-size:9px;color:#91a180}.portal-demo button.demo-secondary{background:transparent;border:0;justify-content:center;font-size:11px;min-height:32px;padding:8px}.portal-demo small{display:block;text-align:center;color:#a0aa94;font-size:9px;line-height:1.8;margin-top:9px}.portal-login .portal-limit{font-size:10px;margin-top:18px;color:#a4ad9a}
.campus-workspace{color:#344c3d}.campus-page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.campus-page-intro h1{font-size:28px;line-height:1.5;margin:6px 0}.campus-page-intro p{font-size:12px;line-height:1.8;color:#8e9c86}.campus-eyebrow{font-size:10px;letter-spacing:1.8px;color:#91a37f}.campus-status{display:inline-flex;align-items:center;border-radius:7px;padding:6px 9px;background:#eef1e9;color:#8e9d80;font-size:10px;white-space:nowrap}.campus-status.is-on{background:#e7f2df;color:#648a50}.campus-status.is-off{background:#fff0dc;color:#c28a43}.campus-demo-note{padding:12px 16px;border:1px solid #e7e9db;border-radius:11px;background:#fbfcf6;color:#97a08c;font-size:10px;line-height:1.8;margin-bottom:22px}.campus-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:26px}.campus-metric{padding:23px;background:#fff;border:1px solid #e9ecdf;border-radius:15px;display:flex;flex-direction:column;gap:9px}.campus-metric span{font-size:11px;color:#8d9d85}.campus-metric strong{font-size:29px;color:#416e53}.campus-metric small{font-size:11px;color:#a5af9c;font-weight:400;margin-left:6px}.campus-panel{padding:24px;background:#fff;border:1px solid #e8ecdf;border-radius:16px;min-width:0}.campus-panel h2{font-size:16px;line-height:1.5}.campus-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.campus-muted{font-size:11px;line-height:1.8;color:#92a087}.campus-section-gap{margin-top:24px}.campus-teacher-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:21px}.campus-selectors{display:grid;grid-template-columns:1fr 1fr;gap:15px}.campus-selectors label,.campus-filter,.campus-student-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#74876b}.campus-selectors select,.campus-filter select,.campus-student-form select,.campus-student-form input,.campus-student-form textarea{min-height:48px;border:1px solid #dfe5d6;border-radius:10px;background:#fbfcf8;padding:10px 13px;color:#4d6846;font:inherit;width:100%}.campus-student-focus{display:flex;align-items:center;gap:18px;background:#f1f6e8;border:1px solid #e6eddc;border-radius:14px;padding:23px 20px;margin:20px 0}.campus-student-avatar{width:54px;height:54px;flex:none;display:grid;place-items:center;background:#f9dfab;color:#af7b37;font-size:25px;font-weight:700;border-radius:19px;border:3px solid #fff8e8}.campus-student-focus h2{font-size:21px;margin:5px 0}.campus-student-focus p{color:#94a087;font-size:11px}.campus-student-focus>strong{font-size:32px;margin-left:auto;color:#7a9757;white-space:nowrap}.campus-student-focus>strong small{display:block;font-size:9px;font-weight:400;color:#97a780;text-align:center;margin-top:5px}.campus-learning-actions{display:flex;gap:12px;margin-bottom:13px}.campus-primary,.campus-secondary,.campus-table-button,.campus-danger-button{min-height:44px;border-radius:9px;padding:11px 15px;font-size:12px;font-weight:600}.campus-primary{background:#5f8a66;color:#fff;box-shadow:0 3px 0 #497750}.campus-primary:disabled,.campus-secondary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.campus-secondary,.campus-table-button{background:#f4f7ec;border:1px solid #e5ebd9;color:#6e895c}.campus-table-button{min-height:38px;padding:8px 11px;font-size:11px}.campus-danger-button{color:#b16f49;background:#fff3e9;border:1px solid #f2dfce}.campus-access-note{font-size:11px;line-height:1.8;color:#b58b53;background:#fff8e9;border-radius:9px;padding:12px 15px;margin-top:15px}.campus-table-scroll{overflow-x:auto}.campus-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.campus-table th{font-size:10px;font-weight:500;color:#98a18d;padding:13px 12px;background:#f8faf3;white-space:nowrap}.campus-table td{padding:16px 12px;border-bottom:1px solid #eef1e8;line-height:1.6;vertical-align:middle}.campus-table td b{font-size:12px;font-weight:600}.campus-table small{display:block;font-size:9px;color:#a0aa94;margin-top:3px}.campus-table tr.is-selected{background:#f5f9ed}.campus-table .campus-points{font-weight:700;color:#b68b40;font-size:15px}.campus-empty{padding:45px 20px;border:1px dashed #e5e9db;border-radius:12px;text-align:center;font-size:12px;color:#a0ac94;line-height:1.9;background:#fbfcf8}.campus-campus-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.campus-summary-list{margin:18px 0}.campus-summary-list>div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #edf0e6;font-size:12px}.campus-summary-list dt{color:#9aa58e}.campus-summary-list dd{font-weight:600;color:#6b815a;font-size:12px;text-align:right}.campus-project-line{font-size:10px;color:#95a386;line-height:1.8}.campus-project-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.campus-project-cards article{background:#f8faf3;border:1px solid #e9eedf;border-radius:12px;padding:20px}.campus-project-cards h3{font-size:14px;margin:12px 0 9px}.campus-project-cards p{font-size:11px;line-height:1.8;color:#95a18c}.campus-switch{display:inline-flex;gap:8px;align-items:center;font-size:10px;color:#8b9c7d;min-height:44px;white-space:nowrap;cursor:pointer}.campus-switch input{appearance:none;width:40px;height:24px;border-radius:20px;background:#dde3d3;position:relative;flex:none;cursor:pointer}.campus-switch input:checked{background:#7c9b64}.campus-switch input:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;transition:transform .15s;box-shadow:0 1px 3px #4b634325}.campus-switch input:checked:after{transform:translateX(16px)}.campus-permission-table{min-width:700px}.campus-filter{min-width:230px}.campus-feedback{font-size:11px;color:#70915d;line-height:1.8;margin-top:15px}.campus-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.teaching-mode .sidebar{display:none}.teaching-mode .workspace{margin-left:0;background:linear-gradient(180deg,#eaf7f3,#fff9e8 70%)}.teaching-mode .app-header{background:#ffffffd9;border-bottom:1px solid #dae8da}.teaching-mode .profile-button,.teaching-mode .header-divider{display:none}.teaching-mode main#content{max-width:1500px;padding-top:20px}.teaching-mode .app-footer{display:none}.teaching-mode .mobile-menu{display:none}.teaching-nav{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}.teaching-nav a{background:#fffdf5;border:2px solid #e0ead7;border-radius:18px;padding:10px 25px;color:#739357;font-size:13px;font-weight:650;box-shadow:0 3px 0 #dbe5cb;min-height:44px}.teaching-mode .learning-context{max-width:950px;margin:0 auto 10px;background:#ffffffa8;padding:10px 18px}.teaching-welcome{text-align:center;position:relative;padding:20px 0 25px}.teaching-welcome h1{font-size:36px;letter-spacing:2px;color:#557a4e;margin:15px 0 10px}.teaching-welcome p{font-size:13px;color:#8da17c;line-height:1.8}.teaching-projects{display:grid;grid-template-columns:1fr 1fr;gap:24px}.teaching-project{position:relative;border:5px solid white;border-radius:28px;min-height:370px;overflow:hidden;box-shadow:0 8px 0 #dce9cf,0 12px 30px #78966416;isolation:isolate}.adventure-project{background:#cdeca9 url('assets/wheat-world.webp') center/cover}.adventure-project:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f3f7d7 1%,#f2f6d2e0 38%,#edf4d000 85%);z-index:-1}.teaching-project-tag{position:absolute;top:21px;left:25px;font-size:10px;color:#688b4f;background:#fffcebcf;padding:7px 12px;border-radius:8px}.teaching-project-copy{padding:85px 30px 30px;position:relative;z-index:3}.teaching-project-copy small{font-size:12px;color:#99a26c}.teaching-project-copy h2{font-size:29px;line-height:1.6;letter-spacing:1px;color:#667e3b;margin:12px 0 20px}.teaching-project-copy p{font-size:10px;color:#9a9e6a;margin-top:18px;max-width:80%}.teaching-cta{display:inline-block;padding:13px 26px;border-radius:16px;background:#ffae4c;border:2px solid #fff7d0;color:#fff;box-shadow:0 4px 0 #df8732;font-size:17px;font-weight:750}.teaching-cta.green{background:#8ab96f;box-shadow:0 4px 0 #6d9d52}.teaching-project-mouse{position:absolute;width:58%;aspect-ratio:1;right:-5%;bottom:-5%;background:url('assets/mouse.webp') 100% 100%/200% 200%;filter:drop-shadow(0 5px 5px #60784620);z-index:1}.arithmetic-project{background:radial-gradient(ellipse at 85% 15%,#fff8ca,#fff2d9 55%,#ffe3c7)}.arithmetic-project .teaching-project-tag{color:#bc8a50}.arithmetic-project h2{color:#b48c53}.arithmetic-project .teaching-project-copy small{color:#c4a378}.arithmetic-project .teaching-project-copy p{color:#bca077}.teaching-pencil{position:absolute;width:50%;aspect-ratio:1;right:-7%;bottom:1%;background:url('assets/props.webp') 0 0/200% 200%;transform:rotate(5deg);z-index:2}.teaching-number{position:absolute;display:grid;place-items:center;right:9%;width:60px;height:66px;border:3px solid #fff8e7;border-radius:19px;background:#ffe6a4;color:#c9934b;box-shadow:0 5px 0 #edc482;font-size:32px;font-weight:750;transform:rotate(12deg)}.teaching-number.n1{right:26%;top:23px;transform:rotate(-12deg)}.teaching-number.n2{right:13%;top:45px;width:48px;height:51px;font-size:24px;background:#e6efc6;color:#91a568}.teaching-number.n3{right:1%;top:18px;background:#f7d3bc;color:#c69579}.teaching-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;margin-top:30px}.teaching-bottom>a,.teaching-bottom>div{background:#fffdf5;border:2px solid #e6ebd7;border-radius:18px;padding:22px 25px;font-size:18px;font-weight:650;color:#8b9d66;display:block}.teaching-bottom svg{width:28px;height:28px;float:left;margin-right:15px;color:#d5ad57}.teaching-bottom span{display:block;font-size:10px;font-weight:400;margin:8px 0 0 43px;color:#a9b38e}.large-screen main#content{max-width:1800px}.large-screen .campus-page-intro h1,.large-screen .teaching-welcome h1{font-size:42px}.large-screen .campus-panel h2{font-size:23px}.large-screen .campus-table,.large-screen .campus-table td b{font-size:16px}.large-screen .campus-primary,.large-screen .campus-secondary,.large-screen .campus-selectors label{font-size:17px;min-height:54px}.large-screen .campus-student-focus h2{font-size:29px}.large-screen .teaching-project{min-height:430px}.large-screen .teaching-project h2{font-size:36px}.large-screen .teaching-cta{font-size:22px;padding:15px 32px}.large-screen .primary,.large-screen .secondary{font-size:18px;min-height:52px}.large-screen .teaching-nav a{font-size:17px}
@media(max-width:1150px){.campus-teacher-grid{grid-template-columns:1fr}.campus-metric{padding:18px}.portal-story{padding:35px}.portal-login{padding:38px 30px}.portal-story h1{font-size:31px}.teaching-project-copy h2{font-size:25px}.teaching-project-copy{padding:75px 22px 25px}.teaching-project{min-height:330px}.teaching-project-mouse{width:57%}.campus-panel-heading{flex-wrap:wrap}.teaching-bottom>a,.teaching-bottom>div{font-size:16px;padding:18px}}
@media(max-width:760px){#loginRoot{padding:15px}.portal-welcome{grid-template-columns:1fr}.portal-story{min-height:370px;padding:28px}.portal-story h1{font-size:28px}.portal-kicker{margin-top:25px}.portal-story>p{font-size:12px}.portal-points{padding-top:60px}.portal-story:after{width:55%;right:-25px;bottom:15px}.portal-login{padding:30px 25px}.portal-wordmark b{font-size:15px}.portal-wordmark small{font-size:7px}.campus-metrics{grid-template-columns:1fr 1fr;gap:10px}.campus-metric{padding:16px}.campus-metric strong{font-size:25px}.campus-page-intro h1{font-size:25px}.campus-page-intro{align-items:flex-start}.campus-panel{padding:19px}.campus-selectors{gap:10px}.campus-student-focus{padding:18px 12px;gap:10px}.campus-student-focus h2{font-size:18px}.campus-student-avatar{width:44px;height:44px;font-size:20px;border-radius:16px}.campus-student-focus>strong{font-size:28px}.campus-learning-actions{flex-wrap:wrap}.campus-campus-cards,.campus-project-cards{grid-template-columns:1fr}.campus-panel-heading{gap:10px}.campus-table th,.campus-table td{padding:12px 8px}.campus-table{font-size:11px}.campus-page-intro>span{font-size:8px}.mode-button,.screen-button{font-size:9px;padding:8px;min-height:36px}.header-actions{gap:5px}.header-actions .help-button{display:none}.learning-context{font-size:9px;padding:12px;gap:10px}.learning-context b{display:block;margin:6px 0 0;font-size:12px}.project-expansion{flex-wrap:wrap;gap:15px}.teaching-nav{gap:7px}.teaching-nav a{font-size:10px;padding:10px 12px;border-radius:12px}.teaching-welcome h1{font-size:25px}.teaching-welcome p{font-size:10px;padding:0 8px}.teaching-projects{grid-template-columns:1fr;gap:23px}.teaching-project{min-height:300px;border-width:4px}.teaching-project-copy{padding:70px 22px 25px}.teaching-project-copy h2{font-size:25px}.teaching-project-mouse{width:55%;right:-8%;bottom:-3%}.teaching-project-tag{font-size:9px}.teaching-project-copy p{font-size:9px;max-width:95%}.teaching-bottom{grid-template-columns:1fr;gap:14px;margin-top:25px}.teaching-bottom>a,.teaching-bottom>div{font-size:16px}.teaching-number{width:45px;height:50px;font-size:26px}.teaching-number.n2{width:40px;height:43px;font-size:23px;right:14%}.teaching-number.n1{right:28%}.large-screen .teaching-project h2{font-size:26px}}
@media(max-height:850px){.side-guide{display:none}.space-label{margin-top:32px}.sidebar-bottom{padding-top:24px}}
@media(max-width:760px){.map-node:nth-of-type(3n+1){left:18%}.map-node:nth-of-type(3n+2){left:50%}.map-node:nth-of-type(3n){left:82%}.map-node:nth-of-type(-n+3){top:23%}.map-node:nth-of-type(n+4):nth-of-type(-n+6){top:44%}.map-node:nth-of-type(n+7):nth-of-type(-n+9){top:65%}.map-node:nth-of-type(n+10){top:86%}.node-label{min-width:0;width:100%;padding:7px 3px}.node-label b{font-size:9px;white-space:normal}.node-label small{font-size:7px}.node-face{box-shadow:0 3px 0 #d7deba,0 3px 16px #25372d38}}

/* Source: workbench-polish.css */
/* Clear type, quiet surfaces and restrained translucency for classroom use. */
:root{--ink:#20322d;--muted:#6f7e78;--line:#e5eae6;--bg:#f5f7f6;--green:#337963;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:.1px}
body{background:#f5f7f6;-webkit-font-smoothing:antialiased}.workspace{background:radial-gradient(ellipse at 80% 0%,#f1f6f2 0,transparent 40%),#f5f7f6}.sidebar{background:#fbfcfbf2;border-right:1px solid #e1e7e2;padding-top:30px}.brand{font-weight:700;font-size:16px;letter-spacing:-.3px}.brand-mark{background:linear-gradient(145deg,#f9b265,#ea8743);box-shadow:inset 0 1px 1px #ffffff90,0 4px 10px #bd834220;border-radius:15px;font-size:26px}.brand small{font-size:7px;letter-spacing:1.7px;color:#74847b}.space-label{font-size:10px;letter-spacing:1px;color:#8d9a92}.sidebar nav{gap:5px}.sidebar nav a,.sidebar-bottom a{font-size:13px;font-weight:500;padding:14px 16px;color:#61756b;min-height:47px;border:1px solid transparent}.sidebar nav a.active,.sidebar-bottom a.active{background:#fff;color:#326e53;box-shadow:0 3px 12px #314b3910,0 1px 3px #314b3905;border-color:#e3e9df;font-weight:650}.sidebar nav a svg{width:19px;height:19px}.sign-out{color:#778b7d;font-size:12px}.sidebar-bottom>span{color:#96a399;font-size:9px}.app-header{background:#ffffffc9;backdrop-filter:blur(24px) saturate(1.2);-webkit-backdrop-filter:blur(24px) saturate(1.2);border-bottom:1px solid #e0e7e066;height:80px}.header-left{color:#698174}.header-left>span,.header-left i{color:#7b8c81}.header-left strong{font-size:13px;font-weight:600}.help-button{color:#6d8175}.profile-button{font-size:12px;font-weight:500}.avatar.small{background:#f8ead5;color:#a37d46}.mode-button,.screen-button{border:1px solid #e1e9dd;box-shadow:inset 0 1px 0 #fff,0 2px 5px #344c3608;border-radius:12px;min-height:42px;font-size:11px}.mode-button{background:#fff;color:#496f56}.screen-button{background:#fffaf0;color:#9c793d}.page-intro h1{font-size:29px;letter-spacing:-.6px;color:#233b2e;font-weight:700}.page-intro p{color:#6f8375;font-size:13px;line-height:1.85}.eyebrow{color:#7b9281;letter-spacing:1.6px;font-size:9px}.pill{border-radius:7px;font-size:10px;font-weight:500}.pill.green{background:#eef5e7;color:#5b7c4a}.pill.orange{background:#fff3e3;color:#a97b35}.primary,.secondary,.soft-button{border-radius:12px;min-height:44px;font-size:13px;letter-spacing:0;font-weight:600}.primary{background:linear-gradient(180deg,#f6a653,#ed9544);border:1px solid #efa04e;box-shadow:inset 0 1px 0 #ffffff66,0 3px 7px #c88b3c24;color:white}.primary:hover{background:#f3a458}.primary.green,.campus-primary{background:linear-gradient(180deg,#568a65,#467a56);box-shadow:inset 0 1px 0 #ffffff33,0 4px 10px #316a3c1c;border:1px solid #4a7c56}.secondary,.campus-secondary{background:#fff;border:1px solid #dfe7d8;box-shadow:inset 0 1px 0 #fff,0 2px 5px #425b3406;color:#6a8059}.text-link{font-size:11px;color:#64845a}.panel,.stat-card,.campus-panel,.campus-metric,.practice-card,.badge-card,.record-card,.feature-card{border-radius:19px;border-color:#e4eadd;box-shadow:0 3px 12px #38513605,0 1px 2px #38513603}.hero{border-radius:24px;box-shadow:0 3px 12px #47623808;border:1px solid #e2ead7}.hero h2{color:#3e5e38;font-weight:700;letter-spacing:-.6px}.hero p{color:#627c55}.hero-actions>span{color:#71865c;font-size:11px}.stat-card{padding:22px 19px}.stat-icon{border-radius:13px}.stat-value{font-size:28px;letter-spacing:-.7px;font-weight:600}.stat-label{font-size:11px;color:#7d8c75}.stat-value small{color:#8a997e}.feature-card{background:linear-gradient(145deg,#f3f7ec,#edf3e5)}.feature-card.practice{background:linear-gradient(145deg,#fff7e9,#fcf0da)}.feature-card h3{font-size:20px;color:#4e6e3d;font-weight:650;letter-spacing:-.4px}.feature-card p,.feature-card.practice p{color:#8a9a77;font-size:11px;line-height:1.9}.feature-card .circle-link{box-shadow:0 2px 5px #526a3d09}.quick-link{border-radius:14px;color:#7f956b}.quick-link small{color:#98a68a}.section-heading h2,.daily-head h2{color:#49643c;font-weight:650}.daily-head span{color:#8da078}.quest p{color:#648354}.quest small{color:#96a789}.daily-foot{color:#96a184}.empty-inline,.empty-state p{color:#8b9c7d}.recent-item p{color:#6e895a}.recent-item small,.recent-item>span{color:#96a985}.date-chip{background:#ffffffd4;color:#7e9070;border-color:#e2e9d8}.learning-context{background:#ffffffa6;backdrop-filter:blur(16px);border:1px solid #e1e9d9;box-shadow:inset 0 1px 0 #ffffffc9;border-radius:14px;color:#8a9a7b}.learning-context b{color:#587748;font-weight:600}.learning-context a{color:#8b9e76;font-size:11px;min-height:34px}.project-expansion h3{color:#6c8658}.project-expansion p{color:#8d9e7d}.app-footer{color:#94a28a;font-size:9px}
.campus-page-intro h1{font-size:29px;letter-spacing:-.6px;color:#304d32;font-weight:700}.campus-page-intro p{color:#809670;font-size:13px}.campus-eyebrow{color:#8b9f78;letter-spacing:1.6px;font-size:9px}.campus-demo-note{background:#f8faf3;border:1px solid #e5ebd9;font-size:10px;color:#8b9b79;box-shadow:inset 0 1px 0 #ffffffa8}.campus-metric{padding:23px;gap:12px;background:linear-gradient(140deg,#fff,#fcfdf9)}.campus-metric span{color:#7b9168;font-size:11px}.campus-metric strong{color:#456e3b;font-size:33px;font-weight:600;letter-spacing:-1px}.campus-metric small{font-size:11px;color:#9baa88}.campus-panel{padding:25px}.campus-panel h2{font-size:17px;letter-spacing:-.3px;color:#527343;font-weight:650}.campus-muted{color:#8b9e77;font-size:11px}.campus-student-focus{background:linear-gradient(125deg,#f0f7e5,#f7faee);border:1px solid #e1eacb;border-radius:16px;padding:24px 20px}.campus-student-focus h2{font-size:22px;color:#5d7f45}.campus-student-focus>strong{color:#85a258;font-weight:600;font-size:34px;letter-spacing:-1px}.campus-student-avatar{background:linear-gradient(145deg,#ffedc5,#f1dba8);box-shadow:inset 0 1px 0 #fff;color:#b99350}.campus-student-focus p{color:#8fa17a}.campus-selectors select,.campus-filter select,.campus-student-form select,.campus-student-form input,.campus-student-form textarea{background:#fbfcf7;border:1px solid #dde5d0;box-shadow:inset 0 2px 3px #5e723207;border-radius:12px;color:#65804e}.campus-selectors label,.campus-filter,.campus-student-form label{color:#7c9465;font-size:12px;font-weight:500}.campus-primary,.campus-secondary,.campus-danger-button{border-radius:11px;min-height:45px;font-size:12px;font-weight:550}.campus-student-toolbar{gap:10px}.campus-danger-button{background:#fff8ef;color:#bc8c58;border-color:#f2e3cf}.campus-student-notes{background:#fcfdf8;border-color:#ecf0df}.campus-student-notes dt{color:#839969}.campus-student-notes dd{color:#99a884}.campus-table th{background:#f7faf0;color:#95a67d;font-size:10px}.campus-table td{color:#6a8651;font-size:12px;padding:17px 13px;border-color:#eef2e4}.campus-table td b{color:#65834b;font-weight:550}.campus-table small{color:#9aad82;font-size:10px}.campus-table .campus-points{color:#b4a05d;font-size:16px;font-weight:600}.campus-table tr.is-selected{background:#f7faee}.campus-table-button{background:#f4f9e9;border-color:#e4eccd;color:#8ba362;border-radius:9px}.campus-status.is-on{background:#edf5df;color:#8aa460}.campus-status.is-off{background:#fff4df;color:#b59c64}.campus-summary-list dt{color:#90a378}.campus-summary-list dd{color:#6c8752;font-weight:550}.campus-project-line{color:#92a67a}.campus-empty{background:#fcfdf8;color:#9aac84}.campus-project-cards article{background:#f8fbf1;border-color:#e9efdc;border-radius:15px}.campus-project-cards h3{color:#6d8b4f;font-weight:600}.campus-project-cards p{color:#94a97c}.campus-switch input:checked,.toggle:checked{background:#91ae66}.campus-switch{color:#91a773}.campus-student-dialog,.detail-dialog{border-radius:24px;border:1px solid #ffffffb0;background:#fffef9;box-shadow:0 35px 100px #29402125}.campus-student-dialog::backdrop,.detail-dialog::backdrop{background:#263a2f5c;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.campus-student-form h2,.dialog-body h2{font-weight:650;letter-spacing:-.4px}.campus-student-form p,.dialog-body p{color:#94a57e}.campus-dialog-close,.dialog-close{background:#f4f7eb;color:#9bae81}.field{color:#859a70;font-size:12px}.field small,.setting-row small{color:#9aaa87}.field input,.field select{background:#fcfdf8;border-color:#e1e8d3;border-radius:12px;color:#68854e;min-height:46px}.setting-row b{color:#68884c;font-size:13px}.practice-card{background:linear-gradient(150deg,#fff,#fefff9)}.practice-card h2{color:#698d4c;font-size:20px;font-weight:650}.practice-card p{color:#9cae84;font-size:12px}.choice-row button.selected{background:#f4f9e9;border-color:#9eb77a;color:#87a25e}.practice-stage{border-radius:24px;background:linear-gradient(145deg,#fff,#fcfff5);box-shadow:0 10px 45px #5d75390b;border:1px solid #e5edd7}.equation-display{color:#6c914c}.answer-input{border-radius:15px;background:#f7fbed;border-color:#e4edce;color:#7a9b54}.numpad button{border-radius:13px;background:#fff;border:1px solid #e6ecd9;box-shadow:0 3px 0 #e9efd9;color:#8fa86b}.numpad button:hover{background:#f5fae9}.practice-hint{color:#97ac7a}.practice-summary h2{color:#729b4e}.summary-stats strong{color:#85a75b}.record-card h3{color:#7b985d}.record-card p{color:#9aaf7f}.record-card>strong{color:#91ab6d}.record-card>strong small{color:#a2b585}.badge-card h3{color:#88a365}.badge-card p{color:#a4b68b}.badge-card.earned{border-color:#e6dca7;background:#fffdf2}.badge-banner{background:linear-gradient(120deg,#fff9e9,#fffdf7);border:1px solid #eee5c7;border-radius:19px}.badge-banner h2{color:#a79559}.badge-banner p{color:#b4ac87}
.teaching-mode .workspace{background:radial-gradient(ellipse at 8% 0%,#e7f5eb 0,transparent 45%),radial-gradient(ellipse at 95% 35%,#fff2dc 0,transparent 45%),#fafbf4}.teaching-mode .app-header{background:#ffffffb3;border-bottom:1px solid #dbe6d581;backdrop-filter:blur(24px)}.teaching-mode main#content{padding-top:24px}.teaching-nav{gap:12px;margin-bottom:19px}.teaching-nav a{border-radius:16px;background:#ffffffb5;backdrop-filter:blur(16px);border:1px solid #e0e8d8;box-shadow:inset 0 1px 0 #fff,0 4px 12px #486a3509;color:#78985a;padding:12px 25px;font-weight:600}.teaching-nav a:hover{background:#fff;box-shadow:0 5px 15px #486a3510}.teaching-mode .learning-context{background:#ffffff8c;border-color:#e0e9d3;border-radius:14px}.teaching-welcome{padding:20px 0 30px}.teaching-welcome h1{font-size:36px;color:#577b3c;letter-spacing:-.7px;font-weight:650;margin:17px 0 12px}.teaching-welcome p{color:#96ad7e;font-size:13px}.teaching-projects{gap:26px}.teaching-project{border:5px solid #fffffff0;border-radius:29px;box-shadow:0 3px 0 #dfe8c7,0 15px 35px #778f4520;transition:transform .25s,box-shadow .25s}.teaching-project:hover{transform:translateY(-4px);box-shadow:0 4px 0 #dfe8c7,0 20px 45px #778f4528}.teaching-project-tag{border:1px solid #ffffffa8;border-radius:9px;color:#7b9b59;font-size:10px;box-shadow:0 2px 10px #667d3310;background:#fffef2bc;backdrop-filter:blur(10px)}.teaching-project-copy h2{font-size:30px;letter-spacing:-.5px;color:#658d40;font-weight:650}.teaching-project-copy small{color:#9fac71}.teaching-project-copy p{color:#a4ae7e}.teaching-cta{border-radius:15px;background:linear-gradient(180deg,#ffc570,#f6b153);border:1px solid #ffdf98;box-shadow:inset 0 1px 0 #fff6c9,0 4px 0 #dfa24f,0 6px 12px #cda04b25;font-size:17px;font-weight:650;padding:14px 28px}.teaching-cta.green{background:linear-gradient(180deg,#b6cf84,#9fbe6d);border-color:#d5e5a9;box-shadow:inset 0 1px 0 #edf5d8,0 4px 0 #8ca95e,0 6px 12px #84a85020}.arithmetic-project h2{color:#bca062}.arithmetic-project .teaching-project-copy small{color:#c5b184}.arithmetic-project .teaching-project-copy p{color:#bfaf87}.teaching-bottom>a,.teaching-bottom>div{border-radius:19px;border:1px solid #e5e9d4;box-shadow:inset 0 1px 0 #fff,0 5px 18px #6d81340a;background:#fffef7c9;backdrop-filter:blur(15px);font-size:18px;font-weight:600;color:#96a76f}.teaching-bottom span{color:#b0bd92;font-size:11px}.teaching-bottom svg{color:#d6bc7a}.map-toolbar{border-radius:15px;box-shadow:0 2px 8px #54783a04;background:#ffffffce;border-color:#e4ecd5}.map-toolbar p{color:#8ba374}.adventure-map{border-radius:24px;box-shadow:0 12px 35px #63844417;border:5px solid #fff}.node-label{box-shadow:0 4px 12px #394f2f25;border-color:#ffffff80;background:#fffdf0e8;backdrop-filter:blur(12px)}.node-label b{color:#788b57}.node-label small{color:#9aa77f}.map-caption{color:#8da778}.portal-welcome{border:1px solid #e4eadb;box-shadow:0 22px 70px #415f2b0c;border-radius:30px}.portal-story{background:#eff5e6}.portal-story h1{font-size:38px;letter-spacing:-.7px;color:#547940;font-weight:650}.portal-kicker,.portal-story>p{color:#94aa7f}.portal-wordmark b{font-weight:650;color:#5e7c49}.portal-login h2{color:#688d4b;font-weight:650}.portal-login>p{color:#a0b18b}.portal-demo button{background:#f8fbf0;border-color:#e8eedb;border-radius:12px;box-shadow:0 2px 6px #60793204}.portal-demo button b{color:#8da568}.portal-demo button span{color:#a7b98b}.portal-demo h3{color:#8da76b}.portal-demo p,.portal-demo small{color:#b0bf98}
@media(min-width:1500px){.teaching-welcome{padding:24px 0 36px}.teaching-welcome h1{font-size:43px}.teaching-project{min-height:390px}.teaching-project-copy{padding:100px 37px 35px}.teaching-project-copy h2{font-size:35px}.teaching-project-tag{top:24px;left:32px}.campus-panel{padding:30px}.campus-page-intro h1{font-size:34px}}
@media(max-width:1150px){.teaching-project-copy h2{font-size:25px}.campus-teacher-grid{grid-template-columns:1fr}.header-actions{gap:9px}.help-button{font-size:0}.teaching-project-copy{padding-top:75px}.portal-story h1{font-size:31px}}
@media(max-width:760px){.app-header{height:70px;padding:0 16px}.mode-button,.screen-button{font-size:9px;padding:8px;min-height:38px;border-radius:10px}.header-actions{gap:5px}.page-intro h1,.campus-page-intro h1{font-size:25px}.learning-context{font-size:9px;padding:12px}.learning-context b{font-size:12px}.learning-context a{font-size:9px}.stat-card{padding:17px}.stat-label{font-size:10px}.campus-panel{padding:20px}.campus-metric{padding:17px;gap:9px}.campus-metric strong{font-size:28px}.campus-page-intro p{font-size:11px}.teaching-nav{gap:7px;margin-bottom:16px}.teaching-nav a{font-size:10px;padding:11px 12px;border-radius:13px}.teaching-welcome{padding:23px 0 28px}.teaching-welcome h1{font-size:26px}.teaching-welcome p{font-size:11px}.teaching-project{border-radius:25px;min-height:310px}.teaching-project-copy h2{font-size:25px}.teaching-bottom>a,.teaching-bottom>div{font-size:17px}.teaching-project-copy p{font-size:9px}.teaching-project-copy{padding:74px 22px 26px}.teaching-cta{padding:12px 25px}.portal-story h1{font-size:29px}.campus-student-dialog{padding:28px 22px}.campus-student-notes>div{gap:12px}.portal-welcome{border-radius:23px}.large-screen .teaching-welcome h1{font-size:28px}}
@media(prefers-reduced-transparency:reduce){.app-header,.teaching-nav a,.learning-context,.node-label{backdrop-filter:none;background:#fffef7}}
/* Keep essential text crisp on a tablet and from the back of a classroom. */
.page-intro h1,.campus-page-intro h1,.campus-panel h2,.section-heading h2,.daily-head h2{color:#2d4737}
.page-intro p,.campus-page-intro p,.campus-muted,.practice-card p,.record-card p,.field,.setting-row small,.empty-inline,.project-expansion p{color:#71816b}
.campus-eyebrow,.eyebrow,.campus-demo-note{color:#84927b}
.campus-metric span,.stat-label{color:#70836b}.campus-metric strong,.stat-value{color:#365c3d}
.campus-table td,.campus-table td b,.campus-summary-list dd,.campus-student-focus h2,.campus-selectors label,.campus-filter,.campus-student-form label{color:#4d6645}
.campus-table th,.campus-table small,.campus-student-focus p,.campus-student-notes dt,.campus-student-notes dd,.campus-project-line,.campus-project-cards p{color:#849577}
.campus-table .campus-points{color:#9c7a30}.campus-student-focus>strong{color:#719348}.campus-student-focus>strong small{color:#8b9c73}
.campus-primary{color:#fff}.campus-secondary,.campus-table-button{color:#678552}.campus-status.is-on{color:#718e4d}
.learning-context b{color:#4c6945}.learning-context a{color:#7b9166}
.practice-card h2,.record-card h3,.badge-card h3,.badge-banner h2,.practice-summary h2{color:#577847}
.practice-hint,.badge-card p,.badge-banner p{color:#879b72}.equation-display{color:#56793e}.numpad button{color:#6b8a48}
.teaching-welcome h1{color:#365f3c}.teaching-welcome p{color:#7b956b}.teaching-project-copy h2{color:#486b37}
.teaching-project-copy small,.teaching-project-copy p{color:#809363}.arithmetic-project h2{color:#927538}
.arithmetic-project .teaching-project-copy small,.arithmetic-project .teaching-project-copy p{color:#a18e62}
.teaching-nav a{color:#63864b}.teaching-bottom>a,.teaching-bottom>div{color:#7f985b}.teaching-bottom span{color:#9aaf7c}
.teaching-cta{background:linear-gradient(180deg,#ffc371,#f4aa4c);color:#80521d;border-color:#ffda95;font-size:18px;box-shadow:inset 0 1px 0 #fff6c9,0 3px 0 #dda050,0 6px 12px #cda04b25}
.teaching-cta.green{background:linear-gradient(180deg,#a7c779,#96b966);color:#466729;border-color:#c6de9b;box-shadow:inset 0 1px 0 #e4f0c7,0 3px 0 #85a854,0 6px 12px #84a85020}
.portal-wordmark b,.portal-story h1,.portal-login h2{color:#45633a}.portal-login>p,.portal-story>p,.portal-kicker{color:#859a74}
.portal-demo h3,.portal-demo button b{color:#748f58}.portal-demo p,.portal-demo button span,.portal-demo small{color:#9bad86}
.map-node:active:not(:disabled){transform:translate(-50%,-50%) scale(.98)}
.campus-teacher-grid{align-items:start}.campus-teacher-grid .campus-table td:nth-child(3){white-space:nowrap}
/* Information text stays readable against the soft classroom palette. */
.page-intro p,.campus-page-intro p,.campus-muted,.practice-card p,.record-card p,.field,.field small,.setting-row small,.empty-inline,.project-expansion p,.campus-eyebrow,.eyebrow,.campus-demo-note,.campus-metric span,.campus-metric small,.stat-label,.campus-table th,.campus-table small,.campus-student-focus p,.campus-student-notes dt,.campus-student-notes dd,.campus-project-line,.campus-project-cards p,.campus-student-focus>strong small,.learning-context,.learning-context a,.practice-hint,.badge-card p,.badge-banner p,.teaching-welcome p,.teaching-project-copy small,.teaching-project-copy p,.arithmetic-project .teaching-project-copy small,.arithmetic-project .teaching-project-copy p,.teaching-bottom span,.portal-login>p,.portal-story>p,.portal-kicker,.portal-demo p,.portal-demo button span,.portal-demo small{color:#5f6e55}
.campus-secondary,.campus-table-button,.campus-status.is-on,.teaching-nav a,.teaching-bottom>a,.teaching-bottom>div,.portal-demo h3,.portal-demo button b{color:#506d3e}
.campus-primary{background:#4d7555}.campus-table .campus-points{color:#856422}.teaching-cta{color:#694416}.teaching-cta.green{color:#304620}

/* Source: workbench-brand.css */
/* 朋阳品牌工作台。官方角色原图直接使用，不重绘角色。 */
:root{--ink:#26334b;--muted:#717887;--orange:#e87321;--line:#eae7e2;--bg:#f7f7fa;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink)}
body{background:radial-gradient(ellipse at 80% 0,#fff6e9 0,transparent 40%),#f7f7fa}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e97b2b;outline-offset:4px}
.sidebar{background:#fff;border-right:1px solid #eae8e5;padding:26px 17px 20px}
.brand{gap:9px;font-size:16px;color:#29364c;letter-spacing:-.4px}
.brand small{font-size:7px;letter-spacing:1.4px;color:#78808f}
.brand-mark.brand-ip-mark{position:relative;overflow:hidden;background:#fff0dd;border:1px solid #ffe2ba;border-radius:16px;box-shadow:none;width:46px;height:52px;flex:none}
.brand-ip-mark>img{width:76px;height:76px;object-fit:contain;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);mix-blend-mode:multiply}
.space-label{margin:35px 15px 14px;font-size:10px;letter-spacing:1.5px;color:#8a8993}
.sidebar nav{gap:7px}.sidebar nav a,.sidebar-bottom a{position:relative;min-height:49px;padding:13px 16px;color:#687181;font-size:13px;font-weight:550;border:1px solid transparent}
.sidebar nav a:hover,.sidebar-bottom a:hover{background:#faf7f2;color:#9b5422}
.sidebar nav a.active,.sidebar-bottom a.active{color:#b85013;background:linear-gradient(105deg,#ffebd5,#fff5e9);border:1px solid #ffe2bf;box-shadow:0 4px 12px #ca792d09}
.sidebar nav a.active::before{content:"";width:4px;height:19px;border-radius:4px;background:#ef8b37;position:absolute;left:-1px}
.sidebar nav a.active svg{color:#e97b26}.sidebar-bottom>span{font-size:9px;color:#888b95}
.sign-out{color:#7b7b88!important}.sidebar .side-guide{margin:62px 8px 22px;background:#fff4df;border:1px solid #ffe6be;border-radius:20px;padding:75px 12px 16px;overflow:visible;box-shadow:none}
.sidebar-official-ip{position:absolute;top:-36px;left:50%;transform:translateX(-50%);width:110px;height:112px;overflow:hidden;mix-blend-mode:multiply}
.sidebar-official-ip img{width:145px;height:145px;object-fit:contain;position:absolute;top:-16px;left:-18px}
.side-guide p{font-size:12px;color:#8c5d28;line-height:1.9}.side-guide button{color:#a6501b;font-size:11px}
.app-header{height:80px;background:#ffffffdc;backdrop-filter:blur(16px);border-bottom:1px solid #ebe8e5;padding:0 32px}
.header-left>span,.header-left i{color:#858795}.header-left strong{font-weight:600;color:#425067}.header-actions{gap:12px}.help-button{color:#6c7585}
.profile-button{color:#47536a}.avatar.small{background:#fff0da;color:#b76a29;border-color:#fff8ee}
.mode-button,.screen-button{border:1px solid #e8e5e1;border-radius:12px;min-height:42px;font-size:11px;font-weight:600;color:#526171;background:#fff;box-shadow:0 2px 5px #26334b04}
.mode-button{background:#fff0dd;border-color:#ffd8aa;color:#a54b14}.mode-button:hover{background:#ffe6c7}.screen-button:hover{background:#f2f5fa}
main#content{padding:28px 32px 36px;max-width:1760px}.app-footer{max-width:1760px;color:#818593;padding-left:32px;padding-right:32px}
.page-intro h1,.campus-page-intro h1,.campus-panel h2,.section-heading h2,.daily-head h2{color:#2a3750}
.page-intro p,.campus-page-intro p,.campus-muted{color:#747b89}.campus-eyebrow,.eyebrow{color:#8b7a65}
.brand-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:center;min-height:267px;isolation:isolate;overflow:hidden;padding:28px 34px;border-radius:25px;margin-bottom:19px;border:1px solid #ffe0b9;background:linear-gradient(110deg,#fff5e7 0,#fff0da 58%,#ffdeb3 100%);box-shadow:0 12px 32px #ba77380a}
.brand-hero::before{content:"";position:absolute;width:400px;height:400px;right:-65px;top:-76px;border:40px solid #ffffff70;border-radius:50%;z-index:-1}
.brand-hero::after{content:"";position:absolute;width:240px;height:240px;right:47px;bottom:-152px;border:1px solid #efb46a80;border-radius:50%;z-index:-1}
.brand-hero-copy{position:relative;z-index:2}.brand-hero-kicker{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:650;letter-spacing:1px;color:#a45a20;background:#ffffffa8;border:1px solid #f7d7b0;border-radius:30px;padding:7px 11px}
.brand-hero-kicker::before{content:"";width:6px;height:6px;border-radius:50%;background:#ed8a32;box-shadow:0 0 0 3px #ed8a3215}
.brand-hero h1{font-size:31px;line-height:1.4;letter-spacing:-.5px;font-weight:750;color:#353444;margin:17px 0 11px;max-width:650px}
.brand-hero p{color:#85705f;font-size:12px;line-height:1.9;max-width:550px}.brand-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.brand-hero-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:12px;padding:11px 19px;font-size:12px;font-weight:650;background:#e97c28;color:#fff;box-shadow:0 4px 12px #d8722620}
.brand-hero-actions button+button{background:#fffdf7;color:#8f5627;border:1px solid #f0d6b7;box-shadow:none}
.brand-hero-art{position:relative;height:210px;align-self:center;mix-blend-mode:multiply;pointer-events:none}
.brand-hero-art img{position:absolute;width:345px;height:345px;object-fit:contain;right:-28px;top:-65px;max-width:none}
.brand-hq .brand-hero{background:linear-gradient(110deg,#fff4e7,#ffecd2 65%,#ffe1b7)}
.brand-hq .brand-hero h1{max-width:530px}.campus-demo-note{font-size:10px;background:#fff;border:1px solid #eae7e3;border-radius:12px;color:#7b7e89;padding:10px 14px;margin-bottom:20px;box-shadow:none}
.campus-metrics{gap:15px;margin-bottom:23px}.campus-metric{position:relative;min-height:125px;border:1px solid #ece8e4;border-radius:19px;padding:21px 22px;background:#fff;box-shadow:0 6px 19px #24334b04;gap:12px}
.campus-metric span:not(.campus-metric-icon){font-size:11px;color:#747b89;font-weight:550;padding-right:35px}.campus-metric strong{font-size:35px;color:#2c3a52;font-weight:700;letter-spacing:-1.2px;line-height:1.2}.campus-metric small{font-size:11px;color:#878795;margin-left:6px;font-weight:400;letter-spacing:0}
.campus-metric-icon{display:grid;place-items:center;position:absolute;right:17px;top:18px;width:34px;height:34px;border-radius:11px;color:#d47b2b;background:#fff2df}.campus-metric-icon svg{width:19px;height:19px}
.campus-metric:nth-child(2) .campus-metric-icon{background:#e8f5f4;color:#3f9698}.campus-metric:nth-child(3) .campus-metric-icon{background:#f0eafb;color:#8a70b8}.campus-metric:nth-child(4) .campus-metric-icon{background:#eaf0fc;color:#6184b6}
.campus-metric:nth-child(1){border-bottom:3px solid #f7d6a9}.campus-metric:nth-child(2){border-bottom:3px solid #cce8e5}.campus-metric:nth-child(3){border-bottom:3px solid #e0d4ef}.campus-metric:nth-child(4){border-bottom:3px solid #d4dff3}
.campus-panel{border:1px solid #e8e6e3;border-radius:20px;box-shadow:0 7px 23px #25334c04;padding:24px;background:#fff}.campus-panel h2{font-size:16px;letter-spacing:-.2px;font-weight:700}.campus-panel-heading{margin-bottom:19px;gap:12px}
.campus-teacher-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:20px}
.campus-selectors{gap:12px;align-items:end}.campus-selectors label{color:#747b89;font-size:11px}
.campus-selectors select,.campus-filter select,.campus-student-form input,.campus-student-form select,.campus-student-form textarea{background:#fafbfe;color:#48566d;border:1px solid #e0e4ec;border-radius:12px;min-height:48px}
.campus-primary{background:#e77a26;box-shadow:0 3px 0 #c8621d;color:white;border:1px solid #de7021;border-radius:11px}.campus-primary:hover:not(:disabled){background:#dc6b1c}
.campus-secondary,.campus-table-button{background:#f3f5fa;color:#53627d;border:1px solid #e2e7ef;border-radius:11px}.campus-secondary:hover:not(:disabled),.campus-table-button:hover{background:#eaf0fa}
.campus-danger-button{background:#fff4ed;color:#ac6339;border:1px solid #f2dfd3;border-radius:11px}.campus-primary,.campus-secondary,.campus-danger-button{font-size:12px;min-height:44px}
.campus-student-focus{background:linear-gradient(115deg,#fff5e8,#fffaf2);border:1px solid #f9dfbc;border-radius:17px;padding:21px 18px;margin:18px 0}
.campus-student-avatar{background:#ffdca9;border:3px solid #fffaf0;color:#ab5c21;border-radius:18px;font-size:24px}.campus-student-focus h2{color:#3d4353;font-size:22px}.campus-student-focus p{color:#847c76}.campus-student-focus>strong{color:#b96827;font-size:35px}.campus-student-focus>strong small{color:#96806c;font-size:9px}
.campus-student-notes{background:#fafbfe;border:1px solid #eaecf2;border-radius:13px}.campus-student-notes dt{color:#747d8e}.campus-student-notes dd{color:#7d8491}
.campus-table th{background:#f5f6fa;color:#7e8595;font-size:10px;padding:13px 12px}.campus-table td{color:#515d73;font-size:12px;padding:15px 12px;border-color:#eff0f4}.campus-table td b{color:#3f4c64;font-weight:650}.campus-table small{color:#818797;font-size:10px}.campus-table tr.is-selected{background:#fff8ed}.campus-table .campus-points{color:#b56b25;font-size:17px;font-weight:700}
.campus-table-button[aria-pressed=true]{background:#fff1dd;color:#ad631f;border-color:#f5d9b1}.campus-status{background:#f0f2f7;color:#7a8191;border-radius:7px;font-size:10px}.campus-status.is-on{background:#e8f5ef;color:#40836c}.campus-status.is-off{background:#fff0df;color:#b3742a}
.campus-campus-cards{gap:18px}.campus-overview-card{position:relative;overflow:hidden}.campus-overview-card::before{content:"";position:absolute;right:-25px;top:-28px;width:110px;height:110px;border:20px solid #fff5e7;border-radius:50%;pointer-events:none}.campus-overview-card .campus-panel-heading{position:relative}.campus-overview-card:nth-child(2)::before{border-color:#eaf4f5}
.campus-summary-list dt{color:#858c99}.campus-summary-list dd{color:#43536c;font-weight:650}.campus-project-line{color:#7e8390;font-size:11px}.campus-project-cards article{background:#fafbfe;border-color:#e6e9f1;border-radius:15px}.campus-project-cards h3{color:#465774}.campus-project-cards p{color:#7c8391}.campus-switch{color:#6a778d}.campus-switch input:checked,.toggle:checked{background:#e9954b}
.brand-helper{display:flex;align-items:center;gap:8px;margin:-7px -7px 20px;padding:8px 14px 8px 0;background:#f7f4fd;border:1px solid #ebe4f4;border-radius:15px;overflow:hidden}
.brand-helper img{width:100px;height:95px;object-fit:contain;mix-blend-mode:multiply;flex:none}.brand-helper p{font-size:11px;line-height:1.8;color:#8a789b}.brand-helper strong{display:block;font-size:13px;color:#6e5d80;margin-bottom:5px}
.learning-context{max-width:1080px;background:#fff;border:1px solid #e5e7ef;border-radius:16px;display:flex;align-items:center;gap:13px;padding:14px 18px;color:#7c8594;box-shadow:0 6px 15px #28365003;font-size:10px}
.learning-context b{color:#37455e;font-size:13px;margin-left:17px}.learning-student-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#fff0da;color:#b56a27;font-size:17px;font-weight:650;flex:none}.student-switch-button{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:11px;background:#fff1df;border:1px solid #f6d4aa;color:#a45b21;font-size:12px;font-weight:650;white-space:nowrap}.student-switch-button svg{width:16px;height:16px}.student-switch-button:hover{background:#ffe6c8}
.teaching-mode{background:radial-gradient(ellipse at 85% 2%,#fff0d9,transparent 40%),linear-gradient(125deg,#f5f8ff,#fffaf3)}
.teaching-nav a{background:#fff;border:1px solid #e6e6ef;color:#6e6a87;border-radius:15px;font-size:13px;box-shadow:0 3px 7px #3d355d04}.teaching-nav a:hover{background:#fff1dc;border-color:#f5d3a5;color:#a45a20}
.teaching-welcome{padding:28px 0 32px}.teaching-welcome h1{color:#34415b;font-size:34px;font-weight:750;letter-spacing:-.8px}.teaching-welcome p{color:#7e8493;font-size:12px;margin-top:12px}
.teaching-project{border:4px solid white;border-radius:28px;box-shadow:0 7px 0 #e9daca65,0 14px 30px #6b654c0b}.teaching-project-tag{background:#ffffffdc;border:1px solid #ffffffd9;color:#8a775b;border-radius:10px}.teaching-project-copy h2{color:#3b5a3d}.teaching-project-copy small,.teaching-project-copy p{color:#697b61}.arithmetic-project{background:linear-gradient(120deg,#fff0da,#fff8e6)}.arithmetic-project h2{color:#a26024}.arithmetic-project .teaching-project-copy small,.arithmetic-project .teaching-project-copy p{color:#8f745d}
.teaching-pencil{background:url('assets/brand/ip-welcome.webp') center/contain no-repeat;width:54%;height:105%;right:-3%;bottom:-8%;mix-blend-mode:multiply;filter:none}
.teaching-cta{background:linear-gradient(#f9ac55,#ee8b31);border-color:#ffc480;color:#744010;box-shadow:inset 0 1px 0 #ffddb1,0 3px 0 #cc7126,0 6px 12px #bc762820}.teaching-cta.green{background:linear-gradient(#7db8af,#6aa69f);color:#173f3b;border-color:#9dd0c6;box-shadow:inset 0 1px 0 #bbded5,0 3px 0 #518a83,0 6px 12px #659d8e20}
.teaching-bottom>a,.teaching-bottom>div{background:#fff;border-color:#e6e7ef;color:#6d6888;box-shadow:0 4px 10px #4b406d05;border-radius:18px}.teaching-bottom span{color:#888698}.teaching-bottom svg{color:#b396c8}.teaching-bottom>a:nth-child(2) svg{color:#70a4ac}.teaching-bottom>div svg{color:#db9e59}
.pill.orange{color:#a96527;background:#fff0dd}.pill.green{color:#51806d;background:#eaf5ee}.primary,.primary.green{background:#e9802d;box-shadow:0 3px 0 #c96921;color:#fff;border-radius:11px}.primary:hover,.primary.green:hover{background:#df7322}.secondary{color:#69768b;background:#fff;border-color:#e2e7ef}
.practice-card{border-color:#e7e7ef;box-shadow:0 6px 20px #3a3f5a05}.practice-card h2,.record-card h3,.badge-card h3,.practice-summary h2{color:#4a5b76}.practice-card p,.record-card p,.badge-card p{color:#778295}.practice-card:nth-child(1){border-top:4px solid #ffc878}.practice-card:nth-child(2){border-top:4px solid #b3d7cf}.practice-card:nth-child(3){border-top:4px solid #c6b7df}
.campus-student-dialog,.detail-dialog{background:#fff;border-color:#e5e7ee;box-shadow:0 35px 100px #23314c30}.campus-student-dialog::backdrop,.detail-dialog::backdrop{background:#26354d66;backdrop-filter:blur(9px)}.campus-student-form h2{color:#34425b}.campus-student-form p,.campus-student-form label{color:#768299}.campus-dialog-close,.dialog-close{color:#68758c;background:#f1f3f8}
.portal-mode{background:radial-gradient(ellipse at 12% 20%,#fff0d9,transparent 45%),#f6f7fb}.portal-welcome{background:#fff;border:1px solid #e7e6e3;border-radius:30px;box-shadow:0 30px 90px #2836510c;max-width:1200px}
.portal-story{position:relative;padding:39px 40px 30px;background:linear-gradient(145deg,#fff5e8,#fff0dc);min-height:750px;overflow:hidden}.portal-story::after{display:none}.portal-wordmark b{color:#3b4253;font-size:17px}.portal-wordmark small{color:#9d7e5e;letter-spacing:1.5px}.portal-story h1{color:#3b3b47;font-size:38px;line-height:1.45;letter-spacing:-.7px;position:relative;z-index:2;margin:20px 0 14px}.portal-story>p{color:#96785e;font-size:12px;position:relative;z-index:2}.portal-kicker{color:#ab652b;font-size:10px;background:#fffaf3;border:1px solid #f6d8b5;border-radius:30px;padding:7px 12px;margin-top:37px;display:inline-block}
.portal-official-ip{position:relative;height:350px;margin-top:12px}.portal-ip-orbit{position:absolute;width:285px;height:285px;right:20px;top:33px;background:#ffe3b6;border-radius:50%;border:18px solid #ffebc9;box-shadow:0 0 0 1px #f3d7b0}
.portal-ip-welcome{position:absolute;width:400px;height:400px;max-width:none;object-fit:contain;right:-37px;top:-13px;mix-blend-mode:multiply}.portal-ip-note{position:absolute;left:4px;top:122px;z-index:2;max-width:160px;border:1px solid #f1dbbf;background:#fffefaed;border-radius:16px 16px 3px 16px;padding:14px 16px;box-shadow:0 7px 20px #bc844115;transform:rotate(-5deg)}.portal-ip-note span{display:block;color:#b47b45;font-size:10px;margin-bottom:7px}.portal-ip-note strong{color:#9c612e;font-size:14px;line-height:1.6;display:block}.portal-ip-sticker{position:absolute;right:5px;bottom:5px;background:#fffaf1;border:1px solid #f5d9b5;border-radius:30px;padding:10px 15px;color:#ae723a;font-size:11px;transform:rotate(5deg)}
.portal-points{padding-top:7px;gap:7px;position:relative;z-index:2;display:flex;flex-wrap:wrap}.portal-points span{background:#ffffffa8;border:1px solid #f5dec4;border-radius:8px;padding:7px 9px;color:#a67c54;font-size:9px}.portal-login{padding:44px 39px;background:#fff}.portal-login h2{color:#32405b;font-size:28px;font-weight:700}.portal-login>p{color:#7a8393;font-size:12px}.portal-login .field{color:#6c788c}.portal-login .field input{background:#f8f9fc;border-color:#e3e7f0;color:#44516b}.portal-login .primary{min-height:47px}.portal-demo{border-top:1px solid #eeeef2;padding-top:22px}.portal-demo h3{color:#65738d;font-size:12px}.portal-demo p,.portal-demo small{color:#838c9e;font-size:10px}.portal-demo button{border:1px solid #ece7df;border-radius:13px;background:#fff9ef;min-height:65px}.portal-demo button:nth-of-type(2){background:#f2f6fc;border-color:#e3eaf5}.portal-demo button b{color:#a9632a;font-size:13px}.portal-demo button span{color:#a2876d;font-size:10px}.portal-demo button:nth-of-type(2) b{color:#54789a}.portal-demo button:nth-of-type(2) span{color:#7b91a6}.portal-demo .demo-secondary{background:none;border:0;min-height:35px;color:#7c879c}.portal-limit{font-size:9px!important;color:#8b92a0!important;line-height:1.8}
@media(min-width:1600px){.brand-hero{min-height:283px;padding:34px 42px;grid-template-columns:minmax(0,1fr) 370px}.brand-hero h1{font-size:38px}.brand-hero p{font-size:13px}.brand-hero-art img{width:390px;height:390px;top:-86px;right:0}.campus-metric{min-height:140px}.campus-metric strong{font-size:39px}.campus-teacher-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:1150px){.campus-teacher-grid{grid-template-columns:1fr}.brand-hero{grid-template-columns:minmax(0,1fr) 220px;padding:26px}.brand-hero h1{font-size:27px}.brand-hero-art img{width:295px;height:295px;right:-35px;top:-37px}.brand-hero p{font-size:11px}.portal-story{padding:32px 28px}.portal-ip-welcome{right:-65px}.portal-ip-orbit{right:-18px}.portal-ip-note{left:-2px;max-width:140px}.portal-login{padding:36px 29px}.campus-metric{padding:18px}.campus-metric-icon{right:12px;top:15px;width:28px;height:28px}.campus-metric strong{font-size:30px}.header-actions{gap:7px}.help-button{font-size:0}.teaching-welcome h1{font-size:30px}}
@media(max-height:850px) and (min-width:761px){.sidebar .side-guide{display:none}}
@media(max-width:760px){.app-header{height:70px;padding:0 16px}.header-actions{gap:6px}.mode-button,.screen-button{font-size:9px;min-height:39px;padding:8px}.header-left{gap:8px}.header-left>span,.header-left i{display:none}.header-left strong{font-size:11px}.profile-button{display:none}.header-divider{display:none}main#content{padding:22px 17px 29px}.app-footer{padding:0 17px 24px;font-size:9px}.brand-hero{min-height:248px;padding:22px;grid-template-columns:1fr;border-radius:22px}.brand-hero-copy{max-width:78%}.brand-hero h1{font-size:25px;max-width:290px;line-height:1.45}.brand-hero p{font-size:10px;max-width:240px}.brand-hero-kicker{font-size:8px;padding:6px 8px}.brand-hero-actions{gap:8px;margin-top:17px}.brand-hero-actions button{font-size:10px;padding:10px 12px;min-height:42px}.brand-hero-art{position:absolute;width:160px;height:190px;right:-40px;bottom:0;opacity:.9;z-index:-1}.brand-hero-art img{width:235px;height:235px;right:-6px;top:-11px}.brand-hero::before{width:260px;height:260px;right:-155px;border-width:25px;top:-10px}.campus-demo-note{font-size:9px;line-height:1.8}.campus-metrics{grid-template-columns:1fr 1fr;gap:11px}.campus-metric{padding:17px;min-height:114px;border-radius:16px}.campus-metric span:not(.campus-metric-icon){font-size:10px}.campus-metric strong{font-size:31px}.campus-panel{padding:19px;border-radius:17px}.campus-student-focus{padding:18px 12px;gap:10px}.campus-student-focus h2{font-size:18px}.campus-student-focus>strong{font-size:29px}.campus-student-toolbar{gap:7px}.campus-primary,.campus-secondary,.campus-danger-button{font-size:10px;padding:10px 12px}.campus-table td,.campus-table th{padding:13px 8px}.campus-table td{font-size:11px}.brand-helper{margin:-3px -3px 20px}.brand-helper img{width:87px;height:85px}.brand-helper p{font-size:10px}.brand-helper strong{font-size:12px}.learning-context{padding:12px;gap:9px;font-size:9px;flex-wrap:wrap}.learning-context b{display:block;margin:4px 0 0;font-size:12px}.learning-student-avatar{width:34px;height:34px;border-radius:11px;font-size:15px}.student-switch-button{font-size:10px;padding:9px 11px;gap:5px;min-height:42px}.student-switch-button svg{display:none}.teaching-nav{gap:6px}.teaching-nav a{font-size:10px;padding:10px 11px;border-radius:12px}.teaching-welcome h1{font-size:26px}.teaching-welcome p{font-size:10px}.teaching-welcome{padding:23px 0 27px}.teaching-pencil{width:54%;height:100%;bottom:-5%;right:-5%}.teaching-project{min-height:310px}.teaching-project-copy h2{font-size:25px}.teaching-bottom>a,.teaching-bottom>div{font-size:16px}.portal-story{min-height:680px;padding:27px}.portal-story h1{font-size:32px}.portal-story>p{font-size:11px}.portal-wordmark b{font-size:15px}.portal-kicker{margin-top:29px}.portal-official-ip{height:315px}.portal-ip-welcome{width:350px;height:350px;right:-50px;top:0}.portal-ip-orbit{width:250px;height:250px;right:-4px;top:33px}.portal-ip-note{top:120px;max-width:132px;padding:13px}.portal-ip-note strong{font-size:12px}.portal-ip-sticker{right:0;bottom:5px;font-size:9px}.portal-login{padding:30px 25px}.portal-login h2{font-size:26px}}
.portal-official-ip{inset:auto;background:none;mask-image:none;-webkit-mask-image:none;opacity:1;z-index:0;flex:none;width:100%;mix-blend-mode:multiply}.portal-kicker{align-self:flex-start}.portal-login .primary{border:1px solid #de7828}
.campus-metric>p{color:#737d90;font-size:11px;font-weight:550;padding-right:33px}.brand-hero-status{display:block;font-size:10px;color:#ab7b51;margin-top:17px}.brand-hero-note{position:absolute;right:0;bottom:5px;z-index:2;background:#fffaf1e8;border:1px solid #f5d5a9;box-shadow:0 6px 15px #b57e3610;border-radius:14px 14px 14px 3px;padding:12px 17px;font-size:11px;color:#ad7b47;line-height:1.8;transform:rotate(5deg)}.brand-hero-note b{color:#9e632d;font-weight:650}.brand-hq .brand-hero-art img{width:292px;height:292px;right:6px;top:-39px}.brand-helper>div>span{color:#7f6897;font-size:12px;font-weight:650;display:block;margin-bottom:5px}
.campus-overview-mark{display:inline-flex;align-items:center;gap:8px;background:#fff1df;color:#d38a45;border:1px solid #f7e0c2;border-radius:11px;padding:7px 10px;font-size:10px;margin-bottom:18px}.campus-overview-mark svg{width:16px;height:16px}.campus-overview-card:nth-child(2) .campus-overview-mark{background:#edf6f7;color:#6b9ca2;border-color:#deedef}
.campus-student-picker-control>span{display:block;color:#747b89;font-size:11px;margin-bottom:8px}.campus-student-picker-trigger{display:flex;align-items:center;gap:9px;min-height:58px;width:100%;padding:9px 12px;border-radius:12px;background:#fff3e3;border:1px solid #f3cf9f;text-align:left;box-shadow:0 2px 5px #be803b05}.campus-selectors select{min-height:58px}.campus-picker-avatar{width:33px;height:33px;display:grid;place-items:center;background:#ffdfa9;color:#ab6128;font-size:15px;font-weight:650;border-radius:10px;flex:none}.campus-student-picker-trigger strong{display:block;font-size:12px;color:#a3622c}.campus-student-picker-trigger small{display:block;font-size:9px;color:#b58b61;margin-top:4px}.campus-picker-arrow{margin-left:auto;color:#c07f3e;font-size:17px}
.student-picker-dialog{padding:30px;border:1px solid #e6e6ed;border-radius:26px;width:min(850px,calc(100vw - 40px));max-height:88vh;overflow:auto;color:#34425d;background:#fff;box-shadow:0 30px 100px #25344e38}.student-picker-dialog::backdrop{background:#26354d75;backdrop-filter:blur(10px)}
.student-picker-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.student-picker-head h2{font-size:27px;letter-spacing:-.6px;color:#37435b;line-height:1.4;margin:14px 0 7px;font-weight:750}.student-picker-head p{color:#8b8995;font-size:12px;line-height:1.7}.student-picker-close{width:38px;height:38px;background:#f3f4f8;color:#7d879a;border:1px solid #e9ebf1;border-radius:50%;font-size:24px;font-weight:400;flex:none;display:grid;place-items:center}
.student-picker-search{display:flex;align-items:center;gap:10px;border:1px solid #e1e5ee;border-radius:13px;background:#f8f9fc;padding:0 15px;min-height:49px}.student-picker-search>span:first-child{color:#8992a2;font-size:24px}.student-picker-search input{border:0;outline:none;background:none;width:100%;height:47px;font-size:13px;color:#4b5871;min-width:0}.student-picker-search input::placeholder{color:#959cab}.student-picker-search:focus-within{border-color:#e6a364;box-shadow:0 0 0 3px #fff0de}.student-picker-search input:focus-visible{outline:0}
.student-picker-classes{display:flex;gap:8px;flex-wrap:wrap;padding:18px 0 5px}.student-picker-class{min-height:42px;border-radius:11px;padding:9px 15px;background:#f4f5f9;border:1px solid #e9ebf2;color:#7c8496;font-size:12px}.student-picker-class.is-active{background:#fff0da;border-color:#f3c88f;color:#ab631e;font-weight:650}.student-picker-count{font-size:11px;color:#9199a9;margin:12px 0 16px}
.student-picker-results{min-height:180px}.student-picker-group{margin-bottom:23px}.student-picker-group h3{font-size:13px;font-weight:650;color:#6f7b91;display:flex;align-items:center;gap:9px;margin-bottom:12px}.student-picker-group h3>span{font-size:10px;font-weight:400;color:#a4aaba}.student-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.student-choice{position:relative;display:flex;align-items:center;gap:11px;padding:17px 13px;min-height:88px;border:1px solid #e5e8f0;border-radius:15px;text-align:left;background:#fff;box-shadow:0 4px 12px #33426303;transition:background .15s,border-color .15s,box-shadow .15s}.student-choice:hover{background:#fffbf5;border-color:#efc187;box-shadow:0 6px 15px #d29a4a0c}.student-choice.is-current{background:#fff7e9;border:2px solid #edb265;padding:16px 12px;box-shadow:0 5px 12px #d4a4510c}
.student-choice-avatar{display:grid;place-items:center;width:43px;height:43px;flex:none;border-radius:15px;background:#fff0db;color:#c28a47;font-size:20px;font-weight:650;box-shadow:inset 0 -3px 0 #e7c79520}.student-choice:nth-child(3n+2) .student-choice-avatar{background:#e8f4f1;color:#649b91}.student-choice:nth-child(3n+3) .student-choice-avatar{background:#f0eafa;color:#9b80b9}.student-choice-info{min-width:0;flex:1}.student-choice-info strong{font-size:13px;line-height:1.6;color:#48556d;display:block;overflow-wrap:anywhere}.student-choice-info small{font-size:10px;color:#8f97a7;display:block;margin-top:5px}.student-choice-check{color:#c1c5d0;font-size:15px;flex:none}.student-choice.is-current .student-choice-check{display:grid;place-items:center;color:#fff;background:#e9a04b;border-radius:50%;width:21px;height:21px;font-size:12px}
.student-picker-empty{text-align:center;padding:10px 15px 25px;border:1px dashed #e4e7ef;background:#fafbfe;border-radius:16px}.student-picker-empty img{width:115px;height:115px;object-fit:contain;mix-blend-mode:multiply}.student-picker-empty h3{font-size:15px;color:#69768e;margin:5px 0 9px}.student-picker-empty p{font-size:11px;color:#929aaa;line-height:1.8}.student-picker-footer{border-top:1px solid #eceef3;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.student-picker-footer p{font-size:10px;color:#969ba7;line-height:1.8}.student-picker-footer button{flex:none}
@media(min-width:1600px){.brand-hq .brand-hero-art img{width:325px;height:325px;right:32px;top:-58px}.brand-hero-note{right:10px}.student-picker-dialog{width:940px;padding:35px}.student-choice{min-height:98px}.student-choice-info strong{font-size:15px}.student-picker-class{font-size:13px}}
@media(max-width:1150px){.brand-hq .brand-hero-art img{width:245px;height:245px;right:-14px;top:-14px}.brand-hero-note{font-size:9px;padding:9px 12px;right:-7px;bottom:0}}
@media(max-width:760px){.brand-hero-note{display:none}.brand-hero-status{font-size:9px;margin-top:13px}.brand-hq .brand-hero-art img{width:175px;height:175px;right:10px;top:10px}.campus-student-picker-trigger{gap:7px;padding:9px;min-height:58px}.campus-student-picker-trigger strong{font-size:11px}.campus-student-picker-trigger small{font-size:8px}.campus-picker-avatar{width:28px;height:28px;font-size:13px}.campus-picker-arrow{font-size:14px}.student-picker-dialog{padding:23px 18px;width:calc(100vw - 24px);max-height:91vh;border-radius:22px}.student-picker-head h2{font-size:24px}.student-picker-head p{font-size:11px}.student-picker-head{margin-bottom:18px;gap:10px}.student-picker-close{width:33px;height:33px}.student-picker-search{min-height:48px}.student-picker-class{font-size:11px;padding:9px 11px;min-height:42px}.student-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.student-choice{min-height:90px;padding:12px 10px;gap:8px;flex-wrap:wrap}.student-choice.is-current{padding:11px 9px}.student-choice-avatar{width:32px;height:32px;border-radius:11px;font-size:16px}.student-choice-info strong{font-size:12px}.student-choice-info small{font-size:9px}.student-choice-check{display:none}.student-choice.is-current .student-choice-check{position:absolute;right:7px;top:7px;width:16px;height:16px;font-size:10px}.student-picker-footer{flex-wrap:wrap;gap:10px}.student-picker-footer p{font-size:9px}.student-picker-group{margin-bottom:18px}}
/* The classroom opens into a game world, with portals and a shared player HUD. */
.teaching-mode{background:#8fcee6 url('assets/brand/learning-world.webp') center center/cover fixed no-repeat}
.teaching-mode .workspace{background:linear-gradient(#ffffff18,#ffffff05);min-height:100vh}
.teaching-mode .app-header{background:#fffaf3bc;border-bottom:1px solid #ffffff90;backdrop-filter:blur(12px)}
.teaching-mode main#content{max-width:1700px;padding-top:18px;padding-bottom:25px}
.teaching-mode .app-footer{display:none}.teaching-nav{margin-bottom:15px;gap:10px}.teaching-nav a{border:2px solid #fff7df;background:linear-gradient(#fff8e8,#fce9c8);color:#97642e;box-shadow:0 3px 0 #caac77a0,0 5px 10px #69593012;font-size:12px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:10px 21px;border-radius:14px}
.teaching-nav a:hover{background:#fff7df;border-color:#ffd699;transform:translateY(-2px)}
.teaching-mode .learning-context{background:#fffdf0e8;border:2px solid #fff6da;box-shadow:0 4px 0 #c3b68a5c,0 7px 20px #3a604318;max-width:900px;padding:9px 14px;border-radius:15px;backdrop-filter:blur(10px);margin-bottom:0;color:#8d7a5e}
.teaching-mode .learning-context b{color:#705b3e}.teaching-mode .student-switch-button{background:#f7b966;border:1px solid #e8a24d;color:#774616;min-height:39px;padding:8px 14px;box-shadow:inset 0 1px 0 #ffe5b6,0 2px 0 #c58a3f}
.teaching-mode .learning-student-avatar{background:#ffdf9e;color:#a16625;border:2px solid #fff6db}
.game-hub{position:relative;margin:0 auto;max-width:1250px;padding-top:22px}.game-hub-top{text-align:center;position:relative}.game-hub-title>span{display:inline-flex;border-radius:30px;padding:5px 13px;background:#fff8dfd9;color:#a56b27;border:1px solid #f2d39d;font-size:10px;font-weight:650;box-shadow:0 3px 7px #5369440b}
.game-hub-title h1{color:#fff8df;font-size:40px;letter-spacing:1px;font-weight:850;line-height:1.35;margin:9px 0 5px;-webkit-text-stroke:1px #c87926;paint-order:stroke fill;text-shadow:0 3px 0 #bd6b21,0 5px 0 #a35b27,0 8px 12px #6c6d3c30}
.game-hub-title p{font-size:12px;color:#4b745e;font-weight:550;text-shadow:0 1px 2px #ffffff}
.game-hub-hud{display:flex;gap:10px;justify-content:center;margin:16px 0 0}.game-hub-hud>span{display:inline-flex;align-items:center;gap:7px;background:#fff9e9eb;border:2px solid #fff4cd;border-radius:30px;min-height:36px;padding:7px 16px;font-size:11px;color:#90774d;box-shadow:0 3px 0 #c4b38266}.game-hub-hud svg{width:19px;height:19px;color:#e9a22f;fill:#ffdb7533}.game-hub-hud strong{font-size:15px;color:#b77a2b}.game-hub-hud>span:nth-child(2) svg{color:#bd8bca;fill:#dbb7e733}
.game-world-portals{display:grid;grid-template-columns:1fr 1fr;gap:100px;max-width:930px;margin:20px auto 0;padding:0 22px}
.world-portal{position:relative;display:flex;flex-direction:column;align-items:center;min-height:365px;isolation:isolate;transition:transform .2s;filter:drop-shadow(0 10px 10px #385e3b20)}
.world-portal:hover{transform:translateY(-7px)}.world-portal:focus-visible{outline:4px solid #fff9dd;outline-offset:7px;border-radius:120px 120px 30px 30px}
.world-portal-art{position:relative;width:100%;height:258px;border:6px solid #fff3ca;border-radius:150px 150px 55px 55px;background:#e7f0ca url('assets/wheat-world.webp') 49% 52%/cover;box-shadow:inset 0 0 0 3px #c6a46a,0 7px 0 #99aa70;overflow:hidden}
.world-portal-art::after{content:"";position:absolute;inset:auto 0 0;height:60px;background:linear-gradient(transparent,#829c5370);pointer-events:none}
.hub-mouse.teaching-project-mouse{position:absolute;width:78%;height:112%;right:-6%;bottom:-7%;background:url('assets/mouse.webp') 100% 100%/200% 200%;z-index:1;filter:drop-shadow(0 4px 7px #345a3330)}
.arithmetic-portal .world-portal-art{background:radial-gradient(circle at 15% 25%,#fff9e9 0,#fff1c9 45%,#f6dba1);border-color:#fff8da;box-shadow:inset 0 0 0 3px #ddb47e,0 7px 0 #c5aa75}
.hub-official-ip{position:absolute;width:330px;height:330px;object-fit:contain;left:50%;top:50%;transform:translate(-50%,-47%);mix-blend-mode:multiply}
.arithmetic-portal .world-portal-art::before{content:"8 + 5";position:absolute;top:25px;left:29px;font-size:27px;letter-spacing:6px;font-weight:750;color:#d5a75e;transform:rotate(-12deg);text-shadow:0 2px 0 #fff6d5;z-index:2}
.world-portal-sign{position:relative;z-index:3;background:linear-gradient(#ffdb93,#efb55d);border:3px solid #fff0bc;box-shadow:inset 0 0 0 2px #d79a49,0 5px 0 #aa803f,0 8px 10px #56733514;border-radius:17px;width:90%;text-align:center;padding:11px 14px 12px;margin-top:-42px}
.world-portal-sign::before,.world-portal-sign::after{content:"";position:absolute;top:50%;width:6px;height:6px;border:1px solid #a9793c;border-radius:50%;background:#bf8b40;box-shadow:inset 0 1px 0 #efd08e}.world-portal-sign::before{left:11px}.world-portal-sign::after{right:11px}
.world-portal-sign small{color:#aa7a38;font-size:9px;letter-spacing:1px;display:block}.world-portal-sign h2{font-size:25px;letter-spacing:1px;color:#8b4b1b;font-weight:750;text-shadow:0 1px 0 #ffeeb9;margin-top:4px}
.arithmetic-portal .world-portal-sign{background:linear-gradient(#b4dbca,#8dbfae);border-color:#e8f1cd;box-shadow:inset 0 0 0 2px #7ca691,0 5px 0 #648f78,0 8px 10px #56733514}.arithmetic-portal .world-portal-sign small{color:#527f6d}.arithmetic-portal .world-portal-sign h2{color:#2e6152;text-shadow:0 1px 0 #dbecce}.arithmetic-portal .world-portal-sign::before,.arithmetic-portal .world-portal-sign::after{background:#729783;border-color:#5d8470}
.world-portal-cta{position:relative;z-index:4;margin-top:16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:12px 31px;min-width:154px;background:linear-gradient(#ffae4f,#f08729);border:2px solid #ffe6a8;border-radius:30px;color:#fff9e7;text-shadow:0 1px 1px #bd6926;font-weight:750;font-size:16px;box-shadow:inset 0 1px 0 #ffcf87,0 4px 0 #b86d2b,0 8px 10px #53734420}.world-portal-cta svg{width:18px;height:18px}.arithmetic-portal .world-portal-cta{background:linear-gradient(#78b7a5,#4e997e);border-color:#d3e9bb;box-shadow:inset 0 1px 0 #b8dbb8,0 4px 0 #39795b,0 8px 10px #53734420;text-shadow:0 1px 1px #3d7c60}
.world-portal-progress{font-size:10px;color:#517442;background:#faffdfd9;border:1px solid #e3edb0;border-radius:30px;padding:6px 12px;margin-top:12px;text-align:center;max-width:100%;line-height:1.6;box-shadow:0 3px 6px #6574380a}
.hub-guide{display:flex;align-items:center;justify-content:center;margin:0 auto 8px;gap:7px;max-width:420px}.hub-guide img{width:63px;height:63px;object-fit:contain;mix-blend-mode:multiply;background:#fff7e1;border-radius:50%;border:2px solid #ffe9b7}.hub-guide p{font-size:11px;color:#8c754e;background:#fffae7e8;border:1px solid #fff5ce;border-radius:3px 15px 15px 15px;padding:12px 17px;box-shadow:0 3px 0 #cfbf846b;line-height:1.7}
.game-hub-treasures{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;max-width:840px;margin:0 auto;padding-top:4px}.hub-treasure{display:flex;align-items:center;gap:13px;padding:15px 18px;background:linear-gradient(#fff9e7ee,#f7ecccf0);border:2px solid #fff4d7;border-radius:18px;box-shadow:0 4px 0 #baa66d8c,0 7px 13px #3e6b4920;color:#977440;transition:transform .18s}.hub-treasure:hover{transform:translateY(-4px);background:#fff9df}.hub-treasure>svg{width:34px;height:34px;stroke-width:1.7;color:#ce9b37;filter:drop-shadow(0 2px 0 #fff1c5)}.hub-treasure:nth-child(2)>svg{color:#7b9e77}.hub-treasure:nth-child(3)>svg{color:#a487bd}.hub-treasure strong{display:block;font-size:14px;color:#8a6c3b}.hub-treasure small{display:block;font-size:9px;color:#a28a61;margin-top:5px;line-height:1.5}
.game-hub-hud>a{display:inline-flex;align-items:center;gap:8px;background:#fff9e9eb;border:2px solid #fff4cd;border-radius:30px;min-height:39px;padding:7px 16px;color:#b77a2b;box-shadow:0 3px 0 #c4b38266}.game-hub-hud b{display:flex;align-items:center;gap:7px;font-size:16px}.game-hub-hud small{font-size:10px;font-weight:500;color:#90774d}.game-hub-hud>a:nth-child(2) svg{color:#bd8bca;fill:#dbb7e733}.hub-number{display:none}.hub-treasure b{display:block;font-size:14px;color:#8a6c3b}
.class-roster-panel{margin-top:20px}.class-roster-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.class-roster-student{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:17px 14px;background:#fafbfe;border:1px solid #e6e9f1;border-radius:15px;min-height:118px;text-align:left}.class-roster-student.is-current{background:#fff7e9;border-color:#efbd77}.roster-avatar{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#bc8646;background:#fff0d6;font-size:19px;font-weight:650}.class-roster-student:nth-child(3n+2) .roster-avatar{background:#e9f3f2;color:#6e9a94}.class-roster-student:nth-child(3n+3) .roster-avatar{background:#f0eafa;color:#9e80b9}.roster-info strong,.roster-info b{display:block;font-size:12px;color:#485670;line-height:1.6}.roster-info small{display:block;font-size:9px;color:#9198a8;margin-top:3px}.roster-score{grid-column:1/-1;font-size:10px;color:#8f97a8;display:flex;align-items:center;gap:6px}.roster-score strong,.roster-score b{font-size:17px;color:#bc8b43}.roster-state{position:absolute;right:12px;bottom:16px;color:#bd8b47;font-size:9px}.class-roster-student:hover{border-color:#e5b16f;background:#fff9ee}.campus-table-compact td:nth-child(2){white-space:nowrap}.campus-table-compact td:nth-child(3){white-space:nowrap}
@media(min-width:1600px){.game-hub{padding-top:25px;max-width:1400px}.game-hub-title h1{font-size:47px}.game-world-portals{max-width:1110px;gap:145px;margin-top:30px}.world-portal{min-height:407px}.world-portal-art{height:290px}.hub-official-ip{width:375px;height:375px}.world-portal-sign h2{font-size:29px}.world-portal-sign{padding:13px 17px}.world-portal-cta{font-size:18px;padding:13px 37px}.world-portal-progress{font-size:11px}.game-hub-treasures{max-width:960px}.hub-treasure{padding:18px 23px}.hub-treasure strong{font-size:16px}}
@media(max-width:1150px){.game-world-portals{gap:55px;max-width:840px}.world-portal-art{height:238px}.world-portal{min-height:350px}.hub-official-ip{width:310px;height:310px}.game-hub-title h1{font-size:34px}.game-hub-treasures{max-width:750px}.hub-treasure{padding:14px}.class-roster-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.teaching-mode{background-position:center;background-attachment:fixed}.teaching-mode main#content{padding:16px 14px 30px}.teaching-nav{gap:6px;flex-wrap:wrap;margin-bottom:15px}.teaching-nav a{font-size:10px;padding:8px 11px;min-height:37px;border-radius:12px}.teaching-mode .learning-context{padding:9px;gap:8px}.teaching-mode .student-switch-button{font-size:10px;min-height:37px;padding:8px 10px}.game-hub{padding-top:23px}.game-hub-title h1{font-size:29px;letter-spacing:0}.game-hub-title>span{font-size:9px}.game-hub-title p{font-size:10px;line-height:1.8;max-width:275px;margin:auto;color:#3b644f}.game-hub-hud{gap:8px;margin-top:12px}.game-hub-hud>span{font-size:10px;min-height:33px;padding:5px 11px}.game-hub-hud strong{font-size:13px}.game-world-portals{grid-template-columns:1fr;gap:20px;max-width:330px;margin-top:22px;padding:0 13px}.world-portal{min-height:350px}.world-portal-art{height:235px}.hub-official-ip{width:310px;height:310px}.world-portal-sign h2{font-size:25px}.world-portal-cta{font-size:16px;padding:11px 27px}.world-portal-progress{font-size:9px}.hub-guide{margin:4px auto 15px}.hub-guide img{width:52px;height:52px}.hub-guide p{font-size:10px;padding:10px 12px}.game-hub-treasures{grid-template-columns:1fr;max-width:310px;gap:13px}.hub-treasure{padding:14px 20px;min-height:74px}.hub-treasure strong{font-size:14px}.class-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.class-roster-student{grid-template-columns:32px minmax(0,1fr);padding:14px 10px;gap:8px}.roster-avatar{width:32px;height:32px;border-radius:11px;font-size:16px}.roster-info strong,.roster-info b{font-size:11px}.roster-score{font-size:9px}.roster-state{font-size:8px;right:10px;bottom:13px}}
@media(max-height:850px) and (min-width:761px){.game-hub{padding-top:13px}.game-hub-title>span{font-size:9px;padding:4px 11px}.game-hub-title h1{font-size:31px;margin:6px 0 4px}.game-hub-title p{font-size:10px}.game-hub-hud{margin-top:10px}.game-hub-hud>a{min-height:32px;padding:5px 13px}.game-world-portals{max-width:800px;gap:100px;margin-top:17px}.world-portal{min-height:283px}.world-portal-art{height:191px}.hub-official-ip{width:260px;height:260px}.world-portal-sign{margin-top:-35px;padding:8px 12px}.world-portal-sign h2{font-size:21px}.world-portal-sign small{font-size:8px}.world-portal-cta{margin-top:13px;padding:10px 25px;font-size:14px}.world-portal-progress{font-size:9px;margin-top:10px;padding:5px 10px}.hub-guide{display:none}.game-hub-treasures{max-width:800px;margin-top:12px;gap:15px}.hub-treasure{padding:12px 17px;min-height:66px}.hub-treasure b{font-size:13px}.hub-treasure>svg{width:29px;height:29px}}
.world-portal-cta{color:#713e15;text-shadow:0 1px 0 #ffd397}.arithmetic-portal .world-portal-cta{color:#1f4838;text-shadow:0 1px 0 #b3d7bb}.world-portal-progress{color:#3e5b2e}.hub-guide img{mix-blend-mode:normal;background:#fff}.arithmetic-portal .world-portal-art::before{left:60px;top:45px;font-size:24px;letter-spacing:4px}
@media(min-height:851px) and (max-height:950px) and (min-width:761px){.teaching-mode main#content{padding-bottom:12px}.game-hub{padding-top:16px}.game-world-portals{margin-top:16px}.world-portal-art{height:232px}.hub-guide img{width:55px;height:55px}.hub-guide p{padding:9px 14px}}
@media(max-height:850px) and (min-width:761px){.arithmetic-portal .world-portal-art::before{left:30px;top:43px;font-size:21px}}
@media(max-height:850px) and (min-width:761px){.teaching-mode main#content{padding-bottom:0}}
@media(prefers-reduced-transparency:reduce){.app-header{background:#fff;backdrop-filter:none}.student-picker-dialog::backdrop{backdrop-filter:none}.teaching-mode .learning-context{backdrop-filter:none;background:#fff9e7}}

/* Source: workbench-details.css */
.lesson-panel{max-width:1080px;padding:30px}.lesson-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.lesson-heading h2{font-size:26px;margin:14px 0 10px;color:#34425a}.lesson-heading p{font-size:12px;line-height:1.9;color:#727d90}.lesson-heading img{width:145px;height:145px;object-fit:contain;mix-blend-mode:multiply}.lesson-panel fieldset{border:0;padding:0;margin:0 0 28px;min-width:0}.lesson-panel legend{font-size:15px;font-weight:700;color:#43516a;margin-bottom:14px}.lesson-panel legend small{font-size:11px;font-weight:400;color:#818a9b;margin-left:8px}.lesson-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lesson-topic{display:flex;align-items:flex-start;gap:11px;padding:18px 14px;border:1px solid #e4e8ee;border-radius:15px;background:#fafbfe;cursor:pointer;min-height:91px}.lesson-topic:has(:checked){background:#fff5e7;border-color:#eeb16d;box-shadow:0 0 0 1px #eeb16d inset}.lesson-topic input{margin-top:3px;accent-color:#df7c30;width:18px;height:18px;flex:none}.lesson-topic b{font-size:12px;display:block;color:#44516a;line-height:1.6}.lesson-topic small{font-size:10px;display:block;color:#7a8598;margin-top:6px;line-height:1.5}.lesson-options{display:flex;flex-wrap:wrap;gap:12px}.lesson-options label{display:flex;align-items:center;gap:10px;padding:14px 19px;border-radius:13px;border:1px solid #e1e6ed;cursor:pointer;background:#fafbfe;min-width:130px}.lesson-options label:has(:checked){background:#edf7f3;border-color:#7db8a8}.lesson-options input{accent-color:#609c8b;width:17px;height:17px}.lesson-options span{font-size:14px;font-weight:650;color:#43536a}.lesson-options small{display:block;font-size:10px;font-weight:400;color:#758499;margin-top:5px}.lesson-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.lesson-rule,.points-rule-note{padding:15px 18px;background:#fff8e9;border:1px solid #f0e0bd;border-radius:12px;font-size:11px;line-height:1.8;color:#8c6d3e;margin:0 0 20px}.lesson-actions a{margin-left:auto}.classroom-launch{max-width:1080px;display:flex;align-items:center;gap:20px;padding:26px 35px;background:linear-gradient(120deg,#fff9e9,#fffef9)}.classroom-launch>img{width:220px;height:250px;object-fit:contain;mix-blend-mode:multiply;flex:none}.classroom-launch h2{font-size:30px;line-height:1.5;color:#76501f;margin:14px 0 10px}.classroom-launch p{font-size:12px;line-height:1.8;color:#7c735f}.classroom-tags{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0 22px}.classroom-tags span{font-size:10px;border:1px solid #e1e9d7;background:#f2f7ea;border-radius:9px;padding:7px 11px;color:#637c53}.classroom-teacher-link{font-size:11px;color:#667f65;text-align:center;padding:20px}.classroom-teacher-link a{color:#765b2f;text-decoration:underline;text-underline-offset:4px}.practice-answer-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:570px;gap:23px;margin:20px auto 12px}.practice-answer-choices button{position:relative;min-width:0;height:136px;background:#fff6d9;border:3px solid #f6cd76;box-shadow:0 6px 0 #c99b47,0 10px 18px #8663231a;border-radius:27px;color:#83521b;transition:transform .15s}.practice-answer-choices button:hover:not(:disabled){transform:translateY(-5px);background:#ffedb3}.practice-answer-choices button:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #c99b47}.practice-answer-choices button>svg{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);stroke:#e9b445;fill:#ffe8a0;stroke-width:1.2;opacity:.7}.practice-answer-choices b{position:relative;z-index:1;font-size:42px;font-weight:750;text-shadow:0 2px 0 #fff8df}.practice-answer-choices button.correct{background:#d7efd9;border-color:#77b87f;box-shadow:0 5px 0 #589866;color:#2b6f40}.practice-answer-choices button.wrong{background:#f2f0e9;border-color:#d9d1bc;box-shadow:0 3px 0 #aaa28e;opacity:.6}.practice-answer-choices button:focus-visible{outline:4px solid #5d8dba;outline-offset:6px}.practice-star-trail{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;max-width:660px;margin:20px auto 0}.practice-star-trail svg{width:24px;height:24px;fill:#e7e7df;stroke:#d5d1bf;stroke-width:1.4}.practice-star-trail .filled svg{fill:#ffcb54;stroke:#d99620;filter:drop-shadow(0 2px 0 #ffe6a2)}.practice-star-trail .current svg{fill:#fff3c8;stroke:#d99620;transform:scale(1.15)}.practice-companion{display:flex;justify-content:center;align-items:center;gap:7px;margin:10px auto 0}.practice-companion img{width:62px;height:74px;object-fit:contain;mix-blend-mode:multiply}.practice-companion p{font-size:11px;color:#8b7049;background:#fff6dc;border-radius:12px 12px 12px 3px;border:1px solid #eed8a8;padding:10px 15px;line-height:1.7}.practice-stage .equation-display{margin-top:17px}.practice-play.practice-island .practice-stage{background:linear-gradient(#fffef6,#fffae9);border:3px solid #fff4d4;box-shadow:0 7px 0 #b8a56d70,0 16px 25px #29462f14}.practice-island .practice-hint{color:#8d744d}.campus-student-toolbar{flex-wrap:wrap}.campus-empty [data-campus-add-student]{margin-top:16px}.points-rule-note{margin-top:-4px}.lesson-panel .campus-form-error:empty{display:none}
@media(max-width:1150px){.lesson-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.classroom-launch{padding:24px}.classroom-launch>img{width:170px;height:220px}.classroom-launch h2{font-size:26px}}
@media(max-width:760px){.lesson-panel{padding:22px 18px}.lesson-heading{gap:0}.lesson-heading img{width:80px;height:100px}.lesson-heading h2{font-size:22px}.lesson-heading p{font-size:10px}.lesson-topics{grid-template-columns:1fr 1fr;gap:9px}.lesson-topic{padding:13px 10px;gap:7px;min-height:103px}.lesson-topic b{font-size:11px}.lesson-topic small{font-size:9px}.lesson-options{gap:9px}.lesson-options label{padding:12px;min-width:calc(50% - 8px);flex:1}.lesson-options span{font-size:12px}.lesson-actions>*{width:100%;justify-content:center;text-align:center}.lesson-actions a{margin:8px 0}.classroom-launch{padding:20px 17px;gap:0}.classroom-launch>img{width:85px;height:160px;margin-left:-7px}.classroom-launch h2{font-size:21px}.classroom-launch p{font-size:10px}.classroom-tags span{font-size:8px;padding:5px 7px}.classroom-launch .primary{font-size:12px}.practice-answer-choices{gap:12px}.practice-answer-choices button{height:103px;border-radius:20px}.practice-answer-choices b{font-size:30px}.practice-star-trail{gap:7px}.practice-star-trail svg{width:20px;height:20px}.lesson-rule,.points-rule-note{font-size:10px}.practice-companion img{width:48px;height:60px}}
@media(max-height:850px) and (min-width:761px){.practice-star-trail{margin-top:10px}.practice-companion{display:none}.practice-play.practice-island .practice-stage{padding:18px 30px}.practice-answer-choices button{height:108px}.practice-answer-choices{margin-top:15px}.practice-stage .equation-display{margin-top:10px}}

/* Source: workbench-theme.css */
/* 朋阳工作台 · 暖杏与墨绿。照片、官方 IP 均保持原始比例。 */
body:not(.teaching-mode){--ink:#173f3d;--muted:#647970;--green:#235a55;--orange:#f7832b;--line:#d8d8be;--bg:#f4e3cb;background:#f4e3cb;color:var(--ink)}
body:not(.teaching-mode) .workspace{background:radial-gradient(ellipse at 95% 4%,#fff4df 0,transparent 52%),#f4e3cb}
body:not(.teaching-mode) .sidebar{background:#235a55;border-right:1px solid #ffffff12;padding-top:25px;color:#f9f2df}
body:not(.teaching-mode) .brand{color:#fff7e8;font-size:16px;letter-spacing:-.4px}
body:not(.teaching-mode) .brand small{color:#d0dfcd;letter-spacing:1.8px}
body:not(.teaching-mode) .brand-mark.brand-ip-mark{background:#e5ebd6;border-color:#d9e7cd;box-shadow:0 3px 8px #0b343322}
body:not(.teaching-mode) .space-label{color:#b8cdc1;margin-top:31px;font-size:11px}
body:not(.teaching-mode) .sidebar nav{gap:9px}
body:not(.teaching-mode) .sidebar nav a,body:not(.teaching-mode) .sidebar-bottom a{color:#ebf0df;min-height:51px;font-size:14px;padding:13px 16px;border-radius:15px;border-color:transparent}
body:not(.teaching-mode) .sidebar nav a svg,body:not(.teaching-mode) .sidebar-bottom a svg{width:21px;height:21px}
body:not(.teaching-mode) .sidebar nav a:hover,body:not(.teaching-mode) .sidebar-bottom a:hover{background:#ffffff12;color:#fff}
body:not(.teaching-mode) .sidebar nav a.active,body:not(.teaching-mode) .sidebar-bottom a.active{background:linear-gradient(120deg,#ff9a39,#f47c27);color:#fff9eb;border:1px solid #ffad60;box-shadow:0 6px 18px #113a3122}
body:not(.teaching-mode) .sidebar nav a.active svg{color:#fff9eb}
body:not(.teaching-mode) .sidebar nav a.active::before{display:none}
body:not(.teaching-mode) .sidebar-bottom>span{color:#b9cdc0}
body:not(.teaching-mode) .sign-out{color:#dbe6d5!important}
body:not(.teaching-mode) .sidebar .side-guide{background:#d9e2c8;border-color:#d9e2c8;color:#416459;margin-top:30px;padding-top:127px}
body:not(.teaching-mode) .sidebar-official-ip{top:9px;width:110px;height:112px;background:#d9e2c8;mix-blend-mode:normal;isolation:isolate;overflow:hidden}
body:not(.teaching-mode) .sidebar-official-ip img{object-fit:contain;mix-blend-mode:multiply}
body:not(.teaching-mode) .side-guide p{color:#416459;font-size:13px}
body:not(.teaching-mode) .side-guide button{color:#476855;font-size:12px;min-height:40px}
body:not(.teaching-mode) .app-header{background:#f8eddbd9;border-color:#d9d1b9;backdrop-filter:blur(16px);height:76px}
body:not(.teaching-mode) .header-left strong{color:#214b46;font-size:14px}
body:not(.teaching-mode) .header-left>span,body:not(.teaching-mode) .header-left i{color:#668077}
body:not(.teaching-mode) .mode-button,body:not(.teaching-mode) .screen-button{background:#fff5e6;border-color:#dcd2bb;color:#315c51;font-size:12px;min-height:44px}
body:not(.teaching-mode) .mode-button{background:#f78932;color:#fffaf0;border-color:#f9a25e}
body:not(.teaching-mode) .help-button,body:not(.teaching-mode) .profile-button{color:#45675b}
#teachingModeToggle.mode-switch{display:inline-flex;align-items:center;padding:4px;gap:2px;min-height:48px;border-radius:28px;border:1px solid #fff9eb;background:#fff6e9;box-shadow:0 3px 10px #8062350a}
#teachingModeToggle.mode-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border-radius:24px;background:none;color:#315b51;font-size:13px;font-weight:650;padding:10px 16px;white-space:nowrap}
#teachingModeToggle.mode-switch button[aria-pressed="true"]{background:linear-gradient(110deg,#ff9736,#f67b28);color:#fffaf0;box-shadow:0 2px 7px #d5752c20}
#teachingModeToggle.mode-switch button:hover:not([aria-pressed="true"]){background:#f2e9d4}
#teachingModeToggle.mode-switch button svg{width:16px;height:16px}
body.page-teacher:not(.teaching-mode) .app-footer{display:none}
body.page-teacher:not(.teaching-mode) main#content{padding-top:0}
body:not(.teaching-mode) main#content{padding:22px 28px 30px;max-width:1760px}
body:not(.teaching-mode) .app-footer{color:#728274;padding-left:28px;padding-right:28px;font-size:11px}
body:not(.teaching-mode) .page-intro h1,body:not(.teaching-mode) .campus-page-intro h1,body:not(.teaching-mode) .campus-panel h2,body:not(.teaching-mode) .section-heading h2{color:#224e46}
body:not(.teaching-mode) .campus-panel,body:not(.teaching-mode) .panel,body:not(.teaching-mode) .practice-card,body:not(.teaching-mode) .record-card,body:not(.teaching-mode) .badge-card,body:not(.teaching-mode) .campus-metric{background:#fff6e6;border-color:#e3d5bc;box-shadow:0 5px 20px #80633708}
body:not(.teaching-mode) .campus-metric:nth-child(2n),body:not(.teaching-mode) .campus-overview-card:nth-child(2n){background:#e5ead8;border-color:#cdddc6}
body:not(.teaching-mode) .campus-demo-note{background:#f8eedb;border-color:#e3d4b7;color:#7c765e;font-size:12px}
body:not(.teaching-mode) .campus-metric strong,body:not(.teaching-mode) .stat-value{color:#24554c}
body:not(.teaching-mode) .campus-metric span:not(.campus-metric-icon),body:not(.teaching-mode) .campus-metric small{color:#677c6b;font-size:12px}
body:not(.teaching-mode) .campus-secondary,body:not(.teaching-mode) .campus-table-button,body:not(.teaching-mode) .secondary{background:#f0f0df;border-color:#d5ddc6;color:#456b58}
body:not(.teaching-mode) .campus-primary,body:not(.teaching-mode) .primary,body:not(.teaching-mode) .primary.green{background:#f7872e;border-color:#f99a4d;color:#fff9ed;box-shadow:0 3px 0 #d76b22}
body:not(.teaching-mode) .campus-primary:hover:not(:disabled),body:not(.teaching-mode) .primary:hover:not(:disabled){background:#ee7926}
body:not(.teaching-mode) .campus-table th{background:#e7e9d5;color:#5b7462;font-size:12px}
body:not(.teaching-mode) .campus-table td{border-color:#e8dfc9;color:#456453;font-size:13px}
body:not(.teaching-mode) .campus-table td b{color:#345d4a;font-size:13px}
body:not(.teaching-mode) .campus-table small{color:#738574;font-size:12px}
body:not(.teaching-mode) .campus-table tr.is-selected{background:#ffecd0}
body:not(.teaching-mode) .campus-selectors select,body:not(.teaching-mode) .campus-filter select{background:#fff8eb;border-color:#d6d7bb;color:#365d4d}
body:not(.teaching-mode) .brand-hero{background:linear-gradient(110deg,#fbe4be,#f9dca9 65%,#e4e8cf);border-color:#efd4a6}
body:not(.teaching-mode) .brand-hero h1{color:#244e45}
body:not(.teaching-mode) .brand-hero p{color:#6f765d;font-size:13px}
body:not(.teaching-mode) .learning-context{background:#e4e9d5;border-color:#cfdabf;color:#657a65;font-size:12px}
body:not(.teaching-mode) .learning-context b{color:#315b4c;font-size:14px}
body:not(.teaching-mode) .student-switch-button{background:#fff2dc;border-color:#edbc81;color:#a85422;font-size:13px}
body:not(.teaching-mode) .lesson-panel{background:#fff5e3}
body:not(.teaching-mode) .lesson-topic{background:#f4efdd;border-color:#d9ddc4}
body:not(.teaching-mode) .lesson-topic:has(:checked){background:#ffebc8;border-color:#f0a962}
body:not(.teaching-mode) .lesson-options label{background:#e9edda;border-color:#cad9c1}
body:not(.teaching-mode) .classroom-launch{background:linear-gradient(120deg,#fff0ce,#e3ead3)}
body:not(.teaching-mode) .map-toolbar,body:not(.teaching-mode) .badge-banner,body:not(.teaching-mode) .practice-banner{background:#e5ead6;border-color:#cad8be}
body:not(.teaching-mode) .class-roster-student{background:#f7f0dd;border-color:#e4dbc1}
body:not(.teaching-mode) .class-roster-student.is-current{background:#ffe9c5;border-color:#e6ad69}

/* Teacher home: a photo-led classroom invitation, two project entrances, then records. */
.teacher-dashboard{display:grid;gap:14px;color:#244e46}
.teacher-welcome{position:relative;display:block;isolation:isolate;min-height:280px;height:clamp(280px,20vw,340px);border:1px solid #fff5de;border-radius:25px;overflow:hidden;background:#ffdfac;box-shadow:0 7px 25px #8b6c3512}
.teacher-welcome::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#ffe5bb 0,#ffe5bb 26%,#ffe5bbea 36%,#ffe5bb75 44%,#ffe5bb14 50%,#ffe5bb00 52%);z-index:1;pointer-events:none}
.teacher-welcome::after{content:"";position:absolute;left:23%;top:-115px;width:260px;height:260px;border:35px solid #fff4d944;border-radius:50%;z-index:1;pointer-events:none}
.teacher-welcome-photo{position:absolute;inset:0 0 0 43%;z-index:0;overflow:hidden}
.teacher-welcome-photo>img{width:100%;height:100%;object-fit:cover;object-position:50% 34%;display:block}
.teacher-welcome-copy{position:relative;z-index:3;padding:30px 34px;width:51%;max-width:650px}
.teacher-welcome-copy>.kicker,.teacher-welcome-copy>.teacher-welcome-kicker,.teacher-welcome-copy>.brand-hero-kicker{display:inline-flex;align-items:center;gap:9px;color:#d76e23;font-size:13px;font-weight:600;line-height:1.5;background:none;border:0;padding:0;border-radius:0;letter-spacing:.3px}
.teacher-welcome-copy>.kicker::before,.teacher-welcome-copy>.teacher-welcome-kicker::before,.teacher-welcome-copy>.brand-hero-kicker::before{content:"";width:4px;height:17px;border-radius:4px;background:#f1812e;box-shadow:none}
.teacher-welcome-copy h1{font-size:clamp(30px,2.6vw,48px);font-weight:800;line-height:1.3;letter-spacing:-1px;color:#173f3d;max-width:440px;margin:18px 0 12px}
.teacher-welcome-copy p{font-size:15px;line-height:1.8;color:#597062;max-width:390px}
.teacher-start-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 25px;background:linear-gradient(110deg,#ff982e,#fa7923);border:1px solid #ffb25e;border-radius:30px;color:#fffaf0;font-size:17px;font-weight:700;box-shadow:inset 0 1px 0 #ffc47a,0 4px 12px #d5782420;margin-top:20px}
.teacher-start-button:hover{background:#f67823;transform:translateY(-2px)}
.teacher-start-button svg{width:21px;height:21px}
.teacher-welcome-mascot{position:absolute;left:35%;bottom:-10px;width:260px;height:260px;z-index:2;pointer-events:none;mix-blend-mode:multiply}
.teacher-welcome-mascot>img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.teacher-welcome-bubble{position:absolute;right:-15px;top:-38px;border:1px solid #fff8e8;border-radius:55% 50% 50% 12%;background:#fff3deed;color:#76552e;font-size:13px;font-weight:650;line-height:1.55;padding:11px 17px;transform:rotate(-5deg);max-width:150px;box-shadow:0 4px 10px #aa7b3610}
.classroom-quickbar{display:flex;align-items:center;gap:16px;padding:16px 21px;background:#dce4cd;border:1px solid #f0ecd9;border-radius:22px;min-height:87px;box-shadow:inset 0 1px 0 #eff2df}
.quickbar-heading{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:11px;flex:1;min-width:155px}
.quickbar-heading>svg,.quickbar-heading>.icon{grid-row:1/3;width:36px;height:36px;align-self:center;color:#66917c}
.quickbar-heading h2{font-size:21px;color:#224d43;line-height:1.4;font-weight:750}
.quickbar-heading p{font-size:12px;color:#6c806b;line-height:1.65;margin-top:2px;max-width:290px}
.quickbar-class{position:relative;display:block;width:208px;flex:none}
.quickbar-class select{appearance:auto;display:block;width:100%;min-height:49px;padding:12px 15px;background:#fff8ec;border:1px solid #f3edda;border-radius:17px;color:#234e43;font-size:14px;font-weight:650;cursor:pointer}
.quickbar-student{display:flex;align-items:center;gap:10px;padding-left:17px;border-left:1px solid #a8b8a3;min-width:132px;flex:none}
.quickbar-student>.avatar,.quickbar-student>.campus-student-avatar,.quickbar-student>.campus-picker-avatar{width:47px;height:47px;min-width:47px;border-radius:50%;border:3px solid #fff1d5;background:#ffb957;color:#fffaf0;font-size:22px;display:grid;place-items:center}
.quickbar-student strong{display:block;font-size:17px;color:#224b42;max-width:105px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.quickbar-student small{display:block;font-size:12px;color:#6b755c;margin-top:4px;white-space:nowrap}
.quickbar-switch,.quickbar-lesson{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:46px;font-size:14px;font-weight:650;white-space:nowrap}
.quickbar-switch{border:1px solid #ed8a47;border-radius:25px;padding:10px 18px;background:#fff5e4;color:#bf631f;box-shadow:inset 0 1px 0 #fffdf5}
.quickbar-switch:hover{background:#ffebcc}
.quickbar-lesson{background:none;color:#496c58;padding:10px 1px 10px 4px;font-size:13px}
.quickbar-switch svg,.quickbar-lesson svg{width:19px;height:19px}
.teacher-project-heading{display:flex;align-items:center;justify-content:space-between;min-height:34px;margin-top:2px;padding:0 5px}
.teacher-project-heading h2{font-size:26px;font-weight:750;letter-spacing:-.5px;line-height:1.5;color:#224b43}
.teacher-project-heading h2::after{content:"";display:inline-block;width:9px;height:9px;background:#f48a2f;border-radius:2px;transform:rotate(-25deg);margin-left:13px;vertical-align:top;margin-top:5px}
.teacher-project-heading a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:7px 3px;color:#496e5a;font-size:13px;font-weight:550;white-space:nowrap}
.teacher-project-heading a:hover{color:#225749;text-decoration:underline;text-underline-offset:4px}
.teacher-project-heading a svg{width:16px;height:16px}
.teacher-local-note{color:#78816d;font-size:12px;line-height:1.7;padding:1px 5px 2px}
.teacher-project-grid{display:grid;grid-template-columns:1.18fr 1fr;gap:17px}
.teacher-project{position:relative;isolation:isolate;overflow:hidden;min-width:0;height:clamp(208px,14.5vw,253px);border:1px solid #fff5df;border-radius:23px;background:#f3dcac;box-shadow:0 5px 20px #8d703e0d;transition:transform .2s,box-shadow .2s}
.teacher-project:hover{transform:translateY(-3px);box-shadow:0 9px 24px #8d703e19}
.teacher-project-art{position:absolute;inset:0;z-index:-2}
.teacher-project-art>img{display:block;width:100%;height:100%;object-fit:cover;object-position:58% 50%}
.teacher-project::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#ffe2ac 0,#ffe4b3ec 26%,#ffe4b366 54%,#ffe4b300 74%)}
.teacher-project-copy{position:relative;z-index:3;padding:24px 26px;width:72%;pointer-events:none}
.teacher-project-copy h3{font-size:clamp(22px,1.9vw,31px);font-weight:800;line-height:1.3;letter-spacing:-.5px;color:#254d3f;margin-bottom:10px}
.teacher-project-copy p{font-size:13px;line-height:1.7;color:#6f795c;margin-top:10px;max-width:300px}
.teacher-project-copy .pill,.teacher-project-pill{display:inline-flex;align-items:center;font-size:12px;border:1px solid #efd092;border-radius:20px;background:#fff0c4ba;color:#a46424;min-height:29px;padding:5px 12px;line-height:1.5}
.teacher-project-copy button{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(110deg,#ff9b32,#fa7b25);border:1px solid #ffc06a;color:#fff9e8;border-radius:26px;min-height:45px;padding:10px 22px;font-size:16px;font-weight:700;margin-top:14px;box-shadow:inset 0 1px 0 #ffc77d,0 3px 8px #cb782c14}
.teacher-project-copy button svg{width:20px;height:20px}
.teacher-project-copy button:disabled{opacity:.5}
.teacher-tile-mouse{position:absolute;z-index:2;width:30%;max-width:215px;aspect-ratio:1;right:8%;bottom:0;background:url('assets/mouse.webp') 100% 100%/200% 200%;filter:drop-shadow(0 4px 5px #75653a1f);pointer-events:none}
.arithmetic-tile{background:#dfe6ca}
.arithmetic-tile .teacher-project-art{left:29%}
.arithmetic-tile .teacher-project-art>img{object-position:48% 46%}
.arithmetic-tile::before{background:linear-gradient(90deg,#dee6ca 0,#dfe7cbe6 34%,#dfe7cb44 61%,#dfe7cb00 83%)}
.arithmetic-tile .teacher-project-copy{width:72%}
.arithmetic-tile .teacher-project-copy h3{color:#254e42}
.arithmetic-tile .teacher-project-copy p{max-width:240px;color:#5e795e}
.teacher-stats-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;min-height:74px;border-radius:23px;background:#fff4e2;border:1px solid #fff2db;padding:13px 22px;box-shadow:0 4px 15px #916a3007}
.teacher-stats-strip>div{display:flex;align-items:center;gap:10px;min-width:0;padding:2px 18px;border-right:1px solid #c9cbb3;color:#6e7866}
.teacher-stats-strip>div:first-child{padding-left:0}
.teacher-stats-strip>div>svg,.teacher-stats-strip>div>.stat-icon{width:35px;height:35px;flex:none;color:#ed8c35;padding:7px;background:#fce3bd;border-radius:50%}
.teacher-stats-strip>div>span{font-size:13px;white-space:nowrap}
.teacher-stats-strip>div>strong{font-size:29px;color:#214d46;letter-spacing:-.5px;font-weight:750;white-space:nowrap}
.teacher-stats-strip>div>small{font-size:13px;color:#486052;margin-left:-5px;white-space:nowrap}
.teacher-stats-strip>button,.teacher-stats-strip>a{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;background:none;color:#d3732e;font-size:14px;white-space:nowrap;padding:10px 0 10px 23px}
.teacher-stats-strip>button svg,.teacher-stats-strip>a svg{width:18px;height:18px}
.teacher-management-details{margin-top:6px;background:#f6ecd7;border:1px solid #e5d8ba;border-radius:20px;overflow:hidden}
.teacher-management-details>summary{padding:17px 23px;min-height:58px;cursor:pointer;font-size:14px;font-weight:650;color:#5d765f;list-style-position:inside;background:#f5ebd5}
.teacher-management-details[open]>summary{border-bottom:1px solid #e2d5b8;margin-bottom:18px}
.teacher-management-details .campus-teacher-grid,.teacher-management-details .class-roster-panel{margin:0 18px 18px}
.teacher-management-details .campus-student-focus{background:#f5e7cd;border-color:#e9d7b3}
.teacher-management-details .campus-student-notes{background:#f2efdf;border-color:#e5dec6}
.teacher-management-details .campus-empty{background:#f8f0dc;border-color:#e1d5b6;color:#7b856a}

@media(min-width:1600px){
 body:not(.teaching-mode) .sidebar{width:252px;padding:28px 20px 22px}
 body:not(.teaching-mode) .workspace{margin-left:252px}
 body:not(.teaching-mode) .app-header{height:80px;padding:0 36px}
 body:not(.teaching-mode) main#content{padding:24px 32px 32px}
 body:not(.teaching-mode) .sidebar nav a,body:not(.teaching-mode) .sidebar-bottom a{min-height:57px;font-size:15px}
 .teacher-dashboard{gap:10px}
 .teacher-welcome{height:375px}
 .teacher-welcome-copy{padding:35px 42px}
 .teacher-welcome-copy h1{font-size:48px;margin-top:23px}
 .teacher-welcome-copy p{font-size:17px}
 .teacher-start-button{margin-top:23px;font-size:19px;min-height:52px;padding:13px 29px}
 .teacher-welcome-mascot{width:315px;height:315px;left:29%;bottom:-12px}
 .teacher-welcome-bubble{font-size:15px;right:-8px;top:-38px;padding:13px 21px;max-width:160px}
 .classroom-quickbar{padding:17px 25px;gap:24px;min-height:92px}
 .quickbar-heading h2{font-size:24px}
 .quickbar-heading p{font-size:13px}
 .quickbar-class{width:260px}
 .quickbar-class select{font-size:16px;min-height:53px}
 .quickbar-student{min-width:160px;padding-left:24px;gap:14px}
 .quickbar-student strong{font-size:20px;max-width:130px}
 .quickbar-student small{font-size:13px}
 .quickbar-switch{font-size:16px;padding:11px 25px;min-height:49px}
 .quickbar-lesson{font-size:15px;padding-left:10px}
 .teacher-project-heading h2{font-size:30px}
 .teacher-project{height:222px}
 .teacher-project-copy{padding:27px 32px}
 .teacher-project-copy h3{font-size:33px}
 .teacher-project-copy p{font-size:15px;margin-top:12px}
 .teacher-project-copy .pill,.teacher-project-pill{font-size:14px}
 .teacher-project-copy button{font-size:18px;min-height:49px;margin-top:16px;padding:12px 26px}
 .teacher-stats-strip{min-height:74px;padding:14px 28px}
 .teacher-stats-strip>div{gap:14px;padding:2px 25px}
 .teacher-stats-strip>div>strong{font-size:35px}
 .teacher-stats-strip>div>span,.teacher-stats-strip>div>small{font-size:15px}
 .teacher-stats-strip>button,.teacher-stats-strip>a{font-size:16px;padding-left:28px}
}
@media(max-width:1350px) and (min-width:1051px){
 .classroom-quickbar{gap:11px;padding:15px 16px}
 .quickbar-heading{grid-template-columns:30px minmax(0,1fr);gap:7px;min-width:135px}
 .quickbar-heading>svg,.quickbar-heading>.icon{width:29px;height:29px}
 .quickbar-heading h2{font-size:19px}
 .quickbar-heading p{font-size:11px;max-width:210px}
 .quickbar-class{width:173px}
 .quickbar-class select{font-size:13px;padding:11px}
 .quickbar-student{min-width:143px;padding-left:11px;gap:8px}
 .quickbar-student strong{font-size:16px;max-width:112px}
 .quickbar-switch{font-size:13px;padding:10px 14px;gap:6px}
 .quickbar-lesson{font-size:12px;gap:5px}
 .teacher-welcome-mascot{left:28%;width:220px;height:220px;bottom:-2px}
 .teacher-welcome-bubble{right:12px;top:-43px;max-width:140px}
 .teacher-project-copy{padding:22px 23px}
 .teacher-project-copy p{font-size:12px;max-width:235px}
 .teacher-project-copy .pill,.teacher-project-pill{font-size:11px}
 .teacher-stats-strip{padding:12px 17px}
 .teacher-stats-strip>div{gap:8px;padding:2px 13px}
 .teacher-stats-strip>div>span{font-size:12px}
 .teacher-stats-strip>div>strong{font-size:27px}
 .teacher-stats-strip>button,.teacher-stats-strip>a{font-size:13px;padding-left:17px}
}
@media(max-width:1050px){
 .teacher-welcome{height:295px}
 .teacher-welcome-copy{width:61%;padding:27px}
 .teacher-welcome-copy h1{font-size:35px;max-width:350px}
 .teacher-welcome-copy p{font-size:14px}
 .teacher-welcome-mascot{left:26%;width:185px;height:185px;bottom:-4px}
 .teacher-welcome-bubble{font-size:11px;right:10px;top:-35px;padding:9px 13px;max-width:130px}
 .teacher-welcome-photo{left:43%}
 .classroom-quickbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:13px;padding:18px}
 .quickbar-heading{grid-column:1/3}
 .quickbar-class{grid-column:1;width:100%}
 .quickbar-student{grid-column:2;min-width:0}
 .quickbar-switch{grid-column:3;grid-row:2}
 .quickbar-lesson{grid-column:3;grid-row:1;font-size:12px}
 .teacher-project-grid{grid-template-columns:1fr;gap:15px}
 .teacher-project{height:225px}
 .teacher-project-copy{padding:25px 29px;width:65%}
 .teacher-project-copy h3{font-size:28px}
 .teacher-project-copy p{font-size:14px;max-width:320px}
 .teacher-tile-mouse{width:33%;right:12%}
 .arithmetic-tile .teacher-project-copy{width:60%}
 .teacher-stats-strip{grid-template-columns:repeat(3,minmax(0,1fr));padding:13px 17px;gap:8px}
 .teacher-stats-strip>div{gap:7px;padding:1px 10px;flex-wrap:wrap}
 .teacher-stats-strip>div:nth-child(3){border-right:0}
 .teacher-stats-strip>div>span{font-size:12px}
 .teacher-stats-strip>div>strong{font-size:27px}
 .teacher-stats-strip>button,.teacher-stats-strip>a{grid-column:1/-1;justify-self:end;padding:5px 0;min-height:39px;font-size:13px}
}
@media(max-width:760px){
 body:not(.teaching-mode) .sidebar{width:238px;padding:25px 17px 20px}
 body:not(.teaching-mode) .workspace{margin-left:0}
 body:not(.teaching-mode) .app-header{height:68px;padding:0 15px}
 body:not(.teaching-mode) .header-left strong{font-size:12px}
 body:not(.teaching-mode) .mode-button,body:not(.teaching-mode) .screen-button{font-size:10px;min-height:42px;padding:8px}
 #teachingModeToggle.mode-switch{min-height:44px;padding:3px;gap:0}
 #teachingModeToggle.mode-switch button{font-size:10px;min-height:36px;padding:8px 10px}
 #teachingModeToggle.mode-switch button svg{display:none}
 body:not(.teaching-mode) main#content{padding:16px 14px 28px}
 body:not(.teaching-mode) .app-footer{font-size:10px;padding:0 15px 20px}
 .teacher-dashboard{gap:13px}
 .teacher-welcome{height:340px;min-height:340px;border-radius:22px}
 .teacher-welcome-copy{width:85%;padding:24px 22px;max-width:380px}
 .teacher-welcome-copy>.kicker,.teacher-welcome-copy>.teacher-welcome-kicker,.teacher-welcome-copy>.brand-hero-kicker{font-size:12px}
 .teacher-welcome-copy h1{font-size:32px;max-width:270px;letter-spacing:-.7px;margin:15px 0 11px}
 .teacher-welcome-copy p{font-size:13px;max-width:245px}
 .teacher-start-button{font-size:15px;min-height:46px;padding:11px 18px;margin-top:17px}
 .teacher-welcome-photo{left:38%;opacity:.8}
 .teacher-welcome-photo>img{object-position:50% 32%}
 .teacher-welcome::before{background:linear-gradient(90deg,#ffe5bb 0,#ffe5bbf5 27%,#ffe5bbaa 55%,#ffe5bb14 85%)}
 .teacher-welcome-mascot{left:auto;right:-8px;width:170px;height:170px;bottom:-4px}
 .teacher-welcome-bubble{display:none}
 .classroom-quickbar{grid-template-columns:minmax(0,1fr) auto;padding:16px 15px;gap:12px;border-radius:20px}
 .quickbar-heading{grid-column:1;min-width:0;grid-template-columns:29px minmax(0,1fr);gap:8px}
 .quickbar-heading>svg,.quickbar-heading>.icon{width:29px;height:29px}
 .quickbar-heading h2{font-size:19px}
 .quickbar-heading p{font-size:11px;max-width:220px}
 .quickbar-lesson{grid-column:2;grid-row:1;font-size:11px;max-width:103px;white-space:normal;line-height:1.5;text-align:left}
 .quickbar-lesson svg{width:16px;height:16px}
 .quickbar-class{grid-column:1/-1;grid-row:2}
 .quickbar-class select{min-height:47px;font-size:14px;border-radius:13px}
 .quickbar-student{grid-column:1;grid-row:3;border:0;padding:0}
 .quickbar-student strong{font-size:17px;max-width:150px}
 .quickbar-student small{font-size:12px}
 .quickbar-switch{grid-column:2;grid-row:3;font-size:12px;padding:10px 14px;min-height:45px}
 .teacher-project-heading{min-height:31px;padding:1px 3px}
 .teacher-project-heading h2{font-size:24px}
 .teacher-project{height:235px;border-radius:21px}
 .teacher-project-copy{padding:23px 21px;width:86%}
 .teacher-project-copy h3{font-size:26px;max-width:260px}
 .teacher-project-copy p{font-size:13px;max-width:235px}
 .teacher-project-copy .pill,.teacher-project-pill{font-size:11px;padding:5px 9px;max-width:100%;white-space:normal}
 .teacher-project-copy button{font-size:15px;min-height:45px;padding:10px 20px;margin-top:15px}
 .teacher-tile-mouse{width:40%;right:2%;bottom:-1%}
 .teacher-project::before{background:linear-gradient(90deg,#ffe2ac 0,#ffe4b3ef 36%,#ffe4b34d 73%,#ffe4b310 100%)}
 .arithmetic-tile .teacher-project-copy{width:86%}
 .arithmetic-tile .teacher-project-art{left:20%}
 .arithmetic-tile::before{background:linear-gradient(90deg,#dee6ca 0,#dfe7cbef 40%,#dfe7cb69 73%,#dfe7cb11 100%)}
 .arithmetic-tile .teacher-project-copy p{max-width:225px}
 .teacher-stats-strip{grid-template-columns:1fr;gap:7px;padding:17px 19px;border-radius:20px}
 .teacher-stats-strip>div,.teacher-stats-strip>div:first-child{border-right:0;border-bottom:1px solid #dfdcc6;padding:7px 0;gap:11px;flex-wrap:nowrap}
 .teacher-stats-strip>div>span{font-size:13px;flex:1}
 .teacher-stats-strip>div>strong{font-size:28px}
 .teacher-stats-strip>button,.teacher-stats-strip>a{grid-column:1;padding:7px 0;font-size:13px;min-height:44px}
 .teacher-management-details>summary{padding:16px;font-size:13px;min-height:56px}
 .teacher-management-details .campus-teacher-grid,.teacher-management-details .class-roster-panel{margin:0 10px 12px}
}
.teaching-mode .practice-play .play-top{min-height:48px;padding:0 15px;margin:8px 0 17px;background:#fff4dfeb;border:1px solid #fff9ed;border-radius:15px}
.teaching-mode .practice-play .play-top>span,.teaching-mode .practice-play .play-top .text-link{color:#365d48;font-size:13px}
.teaching-mode .practice-play .play-top .text-link{min-height:44px}
@media(prefers-reduced-motion:reduce){.teacher-project,.teacher-start-button{transition:none}.teacher-project:hover,.teacher-start-button:hover{transform:none}}
@media(prefers-reduced-transparency:reduce){body:not(.teaching-mode) .app-header{background:#f8eddb;backdrop-filter:none}.teacher-welcome-bubble{background:#fff3de}}

/* Source: workbench-login-theme.css */
/* Current-project originals only: photographs use cover; IP uses contain.
   No generated people, CSS stretch, photo filters, or transformed faces. */
.portal-mode #loginRoot{background:radial-gradient(ellipse at 6% 8%,#d6e1cd 0,transparent 48%),radial-gradient(ellipse at 95% 82%,#edcca4 0,transparent 48%),#f2e5d2;padding:32px}
.portal-welcome{max-width:1240px;border:1px solid #fff4df;border-radius:30px;background:#fff7e9;box-shadow:0 25px 70px #214d4021;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}
.portal-story{min-height:750px;background:#f7dfba;padding:34px 36px 28px;overflow:hidden}
.portal-story::before{content:"";position:absolute;right:-110px;top:35px;width:340px;aspect-ratio:1;border:45px solid #fff3dd77;border-radius:50%;pointer-events:none}
.portal-wordmark b{color:#183f36;font-size:17px}.portal-wordmark small{color:#5a7161;letter-spacing:1.5px}.portal-wordmark .brand-ip-mark{background:#fff5e6;border:1px solid #f2cfa5;mix-blend-mode:normal}
.portal-kicker{margin-top:28px;color:#a94e17;background:#fff2da;border-color:#ecc697;font-size:10px}
.portal-story h1{color:#153f35;font-size:37px;letter-spacing:-.7px;line-height:1.35;margin:16px 0 12px}
.portal-story>p{color:#506450;font-size:12px;line-height:1.9;margin-top:0;max-width:415px}
.portal-photo-window{position:relative;flex:1;min-height:285px;margin-top:23px;border:1px solid #fff8ed;border-radius:22px;overflow:hidden;background:#d7d6bb;box-shadow:0 7px 19px #76562b12}
.portal-photo-window>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 34%;max-width:none}
.portal-photo-window>span{position:absolute;left:16px;bottom:17px;color:#fff9ec;font-size:11px;padding:8px 12px;background:#194f42eb;border:1px solid #fff5d644;border-radius:20px;box-shadow:0 2px 7px #193e3320;z-index:1}
.portal-story .portal-official-ip{position:absolute;inset:auto 25px 73px auto;width:158px;height:158px;margin:0;mix-blend-mode:normal;z-index:3;pointer-events:none;background:#fff5e7;border:4px solid #fff8ed;border-radius:50%;box-shadow:0 9px 25px #5f4d2d25;overflow:visible}
.portal-story .portal-ip-welcome{position:static;display:block;width:100%;height:100%;object-fit:contain;max-width:100%;border-radius:50%;mix-blend-mode:multiply;transform:none}
.portal-story .portal-ip-orbit,.portal-story .portal-ip-sticker{display:none}
.portal-story .portal-ip-note{left:-114px;top:116px;max-width:175px;width:175px;padding:10px 12px;border-color:#edcda7;background:#fff8e8;box-shadow:0 4px 12px #76562b12;transform:none;border-radius:12px 2px 12px 12px}
.portal-story .portal-ip-note span{color:#927348;font-size:9px;margin-bottom:3px}.portal-story .portal-ip-note strong{color:#805029;font-size:10px;white-space:nowrap}
.portal-story .portal-points{margin-top:25px;padding-top:0;gap:7px}.portal-story .portal-points span{background:#fff6e7;border:1px solid #efcea4;color:#6b633f;font-size:9px;padding:7px 9px;border-radius:8px}
.portal-login{background:#fff7e9;padding:42px 38px;align-content:center}.portal-login .eyebrow{color:#98713f;letter-spacing:1.5px;font-size:10px}.portal-login h2{color:#194b3e;font-size:29px;margin:12px 0 9px}.portal-login>p{color:#68715b;font-size:12px}.portal-login form{margin-top:24px}.portal-login .field{color:#485d4e;font-size:11px}.portal-login .field input{background:#fffcf5;border:1px solid #d9d9c2;border-radius:12px;color:#234b3f;min-height:47px;box-shadow:inset 0 2px 4px #6b724306}.portal-login .field input:focus{border-color:#537d64;outline:3px solid #6a977b20}.portal-login .primary{background:linear-gradient(110deg,#fa9636,#f47a23);border:1px solid #ee7721;min-height:48px;border-radius:12px;color:#fff8e8;font-size:13px;box-shadow:0 5px 14px #df722323}.portal-login .primary:hover{background:#ea7520}.portal-login .login-error{color:#a43b27}
.portal-login .portal-demo{border-top:1px solid #e3d6bb;margin-top:25px;padding-top:20px}.portal-login .portal-demo h3{color:#385c4b;font-size:12px}.portal-login .portal-demo p{color:#72745c;font-size:10px}.portal-login .portal-demo button{background:#f5e9ce;border:1px solid #e8d4ad;min-height:61px;border-radius:13px;padding:12px 14px;transition:background .18s,border-color .18s}.portal-login .portal-demo button b{color:#70552c;font-size:12px}.portal-login .portal-demo button span{color:#7f7457;font-size:9px}.portal-login .portal-demo button:hover{background:#eddbb8;border-color:#cdae79}.portal-login .portal-demo button:nth-of-type(2){background:#dfe8d4;border-color:#c9dac1}.portal-login .portal-demo button:nth-of-type(2) b{color:#295643}.portal-login .portal-demo button:nth-of-type(2) span{color:#5c775d}.portal-login .portal-demo button:nth-of-type(2):hover{background:#cfdfc5;border-color:#9bb98f}.portal-login .portal-demo button.demo-secondary{background:none;border:0;color:#57735a;min-height:33px}.portal-login .portal-demo small{color:#7a7a61;font-size:9px}.portal-login .portal-limit{color:#7a7a66!important;font-size:9px!important;line-height:1.8}

/* HQ copy stays on the warm panel. The original classroom photo sits on the
   right, and the original IP sits in a separate pale circle below the face. */
.brand-hq .brand-hero.brand-hero-hq{position:relative;display:block;min-height:322px;padding:30px 34px;background:#f6dfb9;border:1px solid #ffefd5;box-shadow:0 9px 30px #32553f0a;overflow:hidden}
.brand-hq .brand-hero-hq::before{inset:0 0 0 auto;width:45%;height:100%;border:0;border-radius:0;background:url('assets/brand/photos/classroom-math.webp') 63% 42%/cover no-repeat;z-index:0}
.brand-hq .brand-hero-hq::after{inset:0;width:100%;height:100%;border:0;border-radius:0;background:linear-gradient(90deg,#f6dfb9 0,#f6dfb9 49%,#f6dfb9d9 55%,#f6dfb900 69%);z-index:1;pointer-events:none}
.brand-hq .brand-hero-hq .brand-hero-copy{max-width:61%;position:relative;z-index:3}
.brand-hq .brand-hero-hq .brand-hero-kicker{color:#a4511d;background:#fff1d5;border-color:#e9c591;font-size:10px}
.brand-hq .brand-hero-hq h1{color:#153e35;max-width:100%;font-size:32px;line-height:1.35;margin:16px 0 11px}
.brand-hq .brand-hero-hq p{color:#56674f;max-width:430px;font-size:12px;line-height:1.85}
.brand-hq .brand-hero-hq .brand-hero-actions button{background:#f58529;color:#fff8e9;border:1px solid #ed7822;box-shadow:0 4px 12px #cb692220}
.brand-hq .brand-hero-hq .brand-hero-actions button+button{background:#fff5df;color:#325d48;border:1px solid #d4c19b;box-shadow:none}
.brand-hq .brand-hero-hq .brand-hero-status{color:#6b7556;margin-top:17px}
.brand-hq .brand-hero-hq .brand-hero-art{position:absolute;left:59%;right:auto;bottom:18px;width:140px;height:140px;mix-blend-mode:normal;z-index:2;background:#fff7e9;border:4px solid #fffaf0;border-radius:50%;box-shadow:0 5px 20px #3d5d4020}
.brand-hq .brand-hero-hq .brand-hero-art img{position:static;display:block;width:100%;height:100%;max-width:100%;object-fit:contain;border-radius:50%;mix-blend-mode:multiply;transform:none}
.brand-hq .brand-hero-hq .brand-hero-note,.brand-hq .brand-hero-hq .brand-hero-orbit{display:none}
@media(min-width:1600px){.brand-hq .brand-hero.brand-hero-hq{min-height:345px;padding:35px 42px}.brand-hq .brand-hero-hq h1{font-size:38px}.brand-hq .brand-hero-hq .brand-hero-art{width:165px;height:165px;left:58%;bottom:16px}}
@media(max-width:1150px){.portal-mode #loginRoot{padding:24px}.portal-story{padding:30px 27px;min-height:740px}.portal-story h1{font-size:32px}.portal-wordmark b{font-size:15px}.portal-wordmark small{font-size:7px}.portal-photo-window{min-height:285px}.portal-login{padding:37px 28px}.portal-story .portal-official-ip{right:22px;width:135px;height:135px;bottom:75px}.portal-story .portal-ip-note{top:98px;left:-125px}.brand-hq .brand-hero.brand-hero-hq{padding:26px;min-height:310px}.brand-hq .brand-hero-hq h1{font-size:28px}.brand-hq .brand-hero-hq p{font-size:11px}.brand-hq .brand-hero-hq .brand-hero-copy{max-width:61%}.brand-hq .brand-hero-hq .brand-hero-art{left:58%;width:120px;height:120px;bottom:20px}}
@media(max-width:760px){.portal-mode #loginRoot{padding:15px}.portal-welcome{grid-template-columns:1fr;border-radius:23px}.portal-story{padding:27px;min-height:680px}.portal-wordmark b{font-size:16px}.portal-story h1{font-size:33px}.portal-story>p{font-size:11px}.portal-kicker{margin-top:24px}.portal-photo-window{min-height:275px}.portal-story .portal-official-ip{width:128px;height:128px;right:25px;bottom:76px}.portal-story .portal-ip-note{top:91px;left:-130px}.portal-story .portal-points{gap:5px;margin-top:26px}.portal-story .portal-points span{font-size:8px;padding:7px}.portal-login{padding:32px 26px}.brand-hq .brand-hero.brand-hero-hq{padding:23px;min-height:335px;display:block}.brand-hq .brand-hero-hq::before{width:48%;background-position:65% 42%}.brand-hq .brand-hero-hq::after{background:linear-gradient(90deg,#f6dfb9 0,#f6dfb9 45%,#f6dfb9e8 56%,#f6dfb900 83%)}.brand-hq .brand-hero-hq .brand-hero-copy{max-width:79%}.brand-hq .brand-hero-hq h1{font-size:26px;max-width:280px}.brand-hq .brand-hero-hq p{max-width:240px;font-size:10px}.brand-hq .brand-hero-hq .brand-hero-art{width:85px;height:85px;left:auto;right:13px;bottom:16px;opacity:1}.brand-hq .brand-hero-hq .brand-hero-actions button{font-size:10px;padding:10px 12px}.brand-hq .brand-hero-hq .brand-hero-status{font-size:9px}}

/* Source: map-unlock.css */
/* Progress states decorate the existing map; positions and preview nodes stay intact. */
.adventure-map .level-node .node-face {
  border-color: #e4ecdc;
  background: #f6f8ee;
  color: #47614c;
  box-shadow: 0 3px 0 #acbca6, 0 4px 12px #263d2825;
}
.adventure-map .level-node .node-label { background: #f9fbf2f2; border: 1px solid #d7e2d0; box-shadow: 0 2px 0 #a0b19140; }
.adventure-map .level-node .node-label b { color: #35533f; }
.adventure-map .level-node .node-label small { color: #586f55; font-size: 10px; }
.adventure-map .level-node .node-cow { position: absolute; inset: -8px; background: url('assets/ox-trial/cow.webp') 0 0 / 200% 200% no-repeat; }
.adventure-map .level-node.is-completed .node-face { border-color: #739878; background: #edf4e8; box-shadow: 0 0 0 3px #f8faf0cc, 0 3px 0 #729175; }
.adventure-map .level-node.is-completed .node-face::after { content: "✓"; position: absolute; right: -7px; bottom: -5px; display: grid; place-items: center; width: 23px; height: 23px; border: 2px solid #f7f9f0; border-radius: 50%; background: #426b50; color: #fff; font-size: 13px; line-height: 1; }
.adventure-map .level-node.is-completed .node-label { border-color: #98b39a; }
.adventure-map .level-node.is-unlocked .node-face { border-color: #8aa88a; box-shadow: 0 0 0 3px #f8faf0cc, 0 3px 0 #839c7d; }
.adventure-map .level-node.is-unlocked .node-label { border-color: #a5bea0; }
.adventure-map .level-node.is-locked .node-face { border-color: #c7cfc0; background: #eef1e8; box-shadow: 0 3px 0 #aeb9a7; }
.adventure-map .level-node.is-locked .node-cow { filter: grayscale(1); opacity: .55; }
.adventure-map .level-node.is-locked .node-label { background: #f1f4ebef; border-color: #c8d1bf; }
.adventure-map .level-node.is-locked .node-label b, .adventure-map .level-node.is-locked .node-label small { color: #66725e; }
.adventure-map .level-node.is-locked .node-face svg { z-index: 1; width: 19px; height: 19px; padding: 3px; background: #66785e; }
.adventure-map .level-node.is-planned .node-face { background: #eff2e8; border-color: #dbe1d2; color: #7b8a70; }
.adventure-map .level-node.is-planned .node-label { background: #f4f6edef; }
.adventure-map .level-node:focus-visible { outline: 3px solid #315e4e; outline-offset: 7px; border-radius: 15px; }
.adventure-map .level-node.is-locked:hover { transform: translate(-50%, -50%); }

/* Cover only the iframe while it changes level. The host exit remains usable. */
.game-shell.is-changing-level > header { position: relative; z-index: 2; }
.game-shell.is-changing-level::after {
  content: attr(data-transition-label);
  position: absolute;
  inset: 45px 0 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eef3e9;
  color: #315343;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 650;
  letter-spacing: .04em;
  text-align: center;
}
@media (max-width: 760px) {
  .adventure-map .level-node .node-label small { font-size: 9px; white-space: normal; }
  .adventure-map .level-node .node-face::after { width: 20px; height: 20px; font-size: 12px; }
}

/* Source: demo-workbench.css */
/* Public showcase controls; original workbench styling remains underneath. */
.demo-ribbon{position:relative;z-index:80;min-height:44px;display:flex;align-items:center;justify-content:center;gap:18px;padding:8px 20px;background:#244d42;color:#fff9ec;font-size:11px;line-height:1.6}
.demo-ribbon strong{white-space:nowrap;letter-spacing:.06em}.demo-ribbon>span{color:#e0e8d9}.demo-ribbon nav{display:flex;gap:18px;flex-wrap:wrap}.demo-ribbon a{color:#fff9ec;border-bottom:1px solid #c7d5c780}.demo-ribbon a:hover{border-color:#fff}
.public-demo .sidebar{top:44px;overflow-y:auto}.public-demo .workspace{min-height:calc(100vh - 44px)}
.public-demo .sidebar-bottom>span{font-size:10px}
.demo-role-picker{width:min(880px,100%);padding:42px;background:#fffaf0;border:1px solid #e8decb;border-radius:28px;color:#234b40}.demo-role-picker>img{display:block;object-fit:contain;margin:22px 0}.demo-role-picker h1{font-size:30px;line-height:1.4;margin:15px 0}.demo-role-picker>p{font-size:14px;line-height:1.9;color:#6d7868}.demo-role-picker>div{display:grid;gap:12px;margin-top:28px}.demo-role-picker button{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:70px;padding:18px 22px;text-align:left;border:1px solid #d9dfcc;border-radius:12px;background:#edf1e3;color:#244d42}.demo-role-picker button:hover{background:#e0e9d4}.demo-role-picker button b{font-size:16px;white-space:nowrap}.demo-role-picker button span{font-size:13px;line-height:1.6}.demo-back{font-size:13px}.public-demo .sidebar .side-guide{margin-top:45px}
@media(max-width:760px){.demo-ribbon{justify-content:flex-start;gap:5px 14px;padding:9px 16px;font-size:10px;min-height:70px;flex-wrap:wrap}.demo-ribbon nav{width:100%;gap:17px}.public-demo .sidebar{top:70px}.public-demo .workspace{min-height:calc(100vh - 70px)}.demo-role-picker{padding:25px}.demo-role-picker h1{font-size:23px}.demo-role-picker button{display:block;padding:16px}.demo-role-picker button span{display:block;margin-top:6px;font-size:12px}.public-demo .app-header{flex-wrap:wrap;height:auto!important;min-height:78px;padding:12px 16px!important;gap:12px}.public-demo .header-actions{flex-wrap:wrap}.public-demo .header-divider,.public-demo .profile-button{display:none}}

/* The original customized portal is the visual source; no extra ribbon on its welcome screen. */
.portal-mode .demo-ribbon{display:none}

/* Source: demo-brand.css */
/* Public showcase only. Confirmed corporate orange: #FF6A00 / RGB 255,106,0.
   Original login portal layout and game iframe remain outside these rules. */
html[data-demo-theme] body.public-demo:not(.portal-mode){
  --demo-accent:#FF6A00;--demo-accent-hover:#FF8A2C;--demo-accent-ink:#2a211d;
}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode){
  --demo-bg:#dce1e1;--demo-panel:#e9edec;--demo-inset:#d2dada;--demo-line:#bdc8c8;
  --demo-ink:#283336;--demo-muted:#3f5556;--demo-bare-ink:#2a211d;--demo-bare-muted:#39281d;--demo-sidebar:#30383b;--demo-sidebar-text:#e4ebeb;
  --demo-active:#c9d3d4;--demo-selected:#bccbce;
  --demo-hero:linear-gradient(115deg,#FF6A00 0%,#FF6A00 82%,#FF8A2C 100%);
  --demo-photo-fade:linear-gradient(90deg,#FF6A00 0%,#FF6A00 33%,#FF6A00ed 42%,#FF6A0070 51%,#FF6A0000 65%);
  --demo-hq-fade:linear-gradient(90deg,#FF6A00 0%,#FF6A00 49%,#FF6A00ed 58%,#FF6A0000 79%);
  --demo-tile-fade:linear-gradient(90deg,#FF6A00 0%,#FF6A00f5 36%,#FF6A0099 55%,#FF6A0000 79%);
  --demo-hero-cta-ink:#2a211d;--demo-hero-cta-shadow:#25342c20;
}
html[data-demo-theme="forest"] body.public-demo:not(.portal-mode){
  --demo-bg:#d4dfda;--demo-panel:#e3ebe6;--demo-inset:#c8d6ce;--demo-line:#adbfB3;
  --demo-ink:#243d33;--demo-muted:#2c4338;--demo-bare-ink:#ffffff;--demo-bare-muted:#ffffff;--demo-sidebar:#153c35;--demo-sidebar-text:#e3ede7;
  --demo-active:#c0d2c6;--demo-selected:#b4cdbd;
  --demo-hero:linear-gradient(115deg,#153c35 0%,#245448 58%,#3d7663 100%);
  --demo-photo-fade:linear-gradient(90deg,#153c35 0%,#1b463d 29%,#245448e8 39%,#2d605270 48%,#3d766300 61%);
  --demo-hq-fade:linear-gradient(90deg,#153c35 0%,#204e42 47%,#2d6052e8 56%,#3d766300 77%);
  --demo-tile-fade:linear-gradient(90deg,#153c35 0%,#204e42f2 32%,#2d605299 51%,#3d766300 77%);
}
html[data-demo-theme] body.public-demo:not(.portal-mode){
  --ink:var(--demo-ink);--muted:var(--demo-muted);--line:var(--demo-line);--bg:var(--demo-bg);
  --orange:var(--demo-accent);background:var(--demo-bg);color:var(--demo-ink);
}
html[data-demo-theme] body.public-demo:not(.portal-mode) .workspace{background:var(--demo-bg)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .sidebar{background:var(--demo-sidebar);border-right:1px solid #ffffff16;color:var(--demo-sidebar-text)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .brand{color:var(--demo-sidebar-text)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.brand small,.space-label,.sidebar-bottom>span){color:#b8c8c5}
html[data-demo-theme] body.public-demo:not(.portal-mode) .brand-mark.brand-ip-mark{background:#d8e0dd;border-color:#a9bab3;box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.sidebar nav a,.sidebar-bottom a){color:var(--demo-sidebar-text);border-radius:10px}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.sidebar nav a,.sidebar-bottom a):hover{background:#ffffff12;color:#fff}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.sidebar nav a.active,.sidebar-bottom a.active){background:var(--demo-accent);border-color:var(--demo-accent);color:var(--demo-accent-ink);box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) .sidebar nav a.active svg{color:var(--demo-accent-ink)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .sign-out{color:#d4e0dc!important}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.sidebar .side-guide,.sidebar-official-ip){background:#c6d1cc;border-color:#c6d1cc;box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.side-guide p,.side-guide button){color:#334d42}
html[data-demo-theme] body.public-demo:not(.portal-mode) .app-header{background:var(--demo-panel);border-color:var(--demo-line);backdrop-filter:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) .demo-ribbon{background:var(--demo-sidebar);border-bottom:1px solid #ffffff18;color:#edf2ef}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.demo-ribbon a,.demo-ribbon>span){color:#d7e1dc}

/* Quiet, readable surfaces for records, rosters and classroom settings. */
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-panel,.panel,.practice-card,.record-card,.badge-card,.campus-metric,.campus-overview-card,.stat-card,.feature-card,.feature-card.practice,.quick-link,.daily-panel,.campus-student-dialog,.detail-dialog,.student-picker-dialog,.student-choice){
  background:var(--demo-panel);border-color:var(--demo-line);box-shadow:0 5px 18px #18322c08;color:var(--demo-ink);
}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.header-left strong,.page-intro h1,.campus-page-intro h1,.campus-panel h2,.section-heading h2,.teacher-dashboard,.teacher-project-heading h2,.campus-metric strong,.stat-value,.learning-context b,.quickbar-heading h2,.quickbar-student strong,.campus-student-focus h2,.roster-info strong,.roster-score strong,.student-picker-head h2,.student-choice-info strong,.daily-head h2,.practice-card h2,.badge-card h3,.record-card h3){color:var(--demo-ink)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.header-left>span,.header-left i,.help-button,.profile-button,.page-intro p,.campus-page-intro p,.campus-muted,.app-footer,.eyebrow,.campus-eyebrow,.campus-metric>p,.campus-metric small,.stat-label,.stat-value small,.quickbar-heading p,.quickbar-student small,.teacher-local-note,.roster-info small,.roster-score,.roster-state,.student-picker-head p,.student-picker-count,.student-choice-info small,.student-picker-group h3,.student-picker-group h3>span,.student-picker-footer p,.feature-card p,.feature-card.practice p,.quick-link small,.practice-card p,.badge-card p){color:var(--demo-muted)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-demo-note,.learning-context,.map-toolbar,.badge-banner,.practice-banner,.lesson-topic,.lesson-options label,.class-roster-student,.campus-student-focus,.campus-student-notes,.empty-inline,.campus-empty,.student-picker-empty,.student-picker-search,.student-picker-class,.bag-note,.classroom-launch,.teacher-management-details,.teacher-management-details>summary,.classroom-quickbar){
  background:var(--demo-inset);border-color:var(--demo-line);color:var(--demo-muted);box-shadow:none;
}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.class-roster-student:hover,.student-choice:hover,.class-roster-student.is-current,.student-choice.is-current,.student-picker-class.is-active,.lesson-topic:has(:checked),.lesson-options label:has(:checked),.campus-table tr.is-selected){background:var(--demo-selected);border-color:#7b9b8b;color:var(--demo-ink)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-student-notes dt,.campus-student-notes dd,.campus-student-focus p,.campus-student-focus>strong small){color:var(--demo-muted)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-table th,.campus-selectors select,.campus-filter select,.quickbar-class select,.campus-student-form input,.campus-student-form select,.campus-student-form textarea,.student-picker-search input){background:var(--demo-panel);color:var(--demo-ink);border-color:var(--demo-line);box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) .campus-table th{background:var(--demo-inset)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-table td,.campus-table td b,.campus-table small,.campus-table .campus-points,.campus-student-focus>strong){color:var(--demo-ink);border-color:var(--demo-line)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-metric-icon,.campus-overview-mark,.campus-overview-card:nth-child(2) .campus-overview-mark,.stat-icon,.avatar,.avatar.small,.campus-student-avatar,.campus-picker-avatar,.roster-avatar,.student-choice-avatar,.learning-student-avatar){background:var(--demo-inset);border-color:var(--demo-line);color:var(--demo-ink);box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.brand-helper>div>span,.brand-helper p,.brand-helper strong,.teacher-project-heading a,.quickbar-lesson,.text-link){color:var(--demo-muted)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-status,.pill,.pill.green,.pill.orange,.teacher-project-pill){background:var(--demo-inset);border-color:var(--demo-line);color:var(--demo-ink)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-metric:nth-child(1),.campus-metric:nth-child(2),.campus-metric:nth-child(3),.campus-metric:nth-child(4)){border-bottom:1px solid var(--demo-line)}

/* Confirmed corporate orange, with dark text for contrast. */
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.primary,.primary.green,.campus-primary,.teacher-start-button,.teacher-project-copy button,.brand-hero-actions button:first-child,.world-portal-cta,.arithmetic-portal .world-portal-cta){
  background:var(--demo-accent);border:1px solid var(--demo-accent);color:var(--demo-accent-ink);border-radius:12px;box-shadow:0 3px 9px #25342c12;text-shadow:none;
}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.primary,.primary.green,.campus-primary,.teacher-start-button,.teacher-project-copy button,.brand-hero-actions button:first-child):hover:not(:disabled){background:var(--demo-accent-hover);border-color:var(--demo-accent-hover);transform:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.secondary,.campus-secondary,.campus-table-button,.screen-button,.mode-button,.student-switch-button,.quickbar-switch,.brand-hero-actions button+button,.icon-button,.student-picker-close){
  background:var(--demo-panel);border-color:var(--demo-line);color:var(--demo-ink);border-radius:12px;box-shadow:none;
}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.secondary,.campus-secondary,.campus-table-button,.screen-button,.student-switch-button,.quickbar-switch):hover:not(:disabled){background:var(--demo-active)}
html[data-demo-theme] body.public-demo:not(.portal-mode) #teachingModeToggle.mode-switch{background:var(--demo-inset);border-color:var(--demo-line);border-radius:13px;box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) #teachingModeToggle.mode-switch button{color:var(--demo-ink);border-radius:9px;box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) #teachingModeToggle.mode-switch button[aria-pressed="true"]{background:var(--demo-sidebar);color:#edf2ef}
html[data-demo-theme] body.public-demo:not(.portal-mode) #teachingModeToggle.mode-switch button:hover:not([aria-pressed="true"]){background:var(--demo-active)}

/* Existing photo compositions retain their geometry; only warm UI overlays change. */
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-welcome,.brand-hero,.brand-hero.brand-hero-hq){background:var(--demo-hero);border-color:#ffffff25;box-shadow:0 10px 26px #17382b0f}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome::before{background:var(--demo-photo-fade)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome::after{border-color:#ffffff12}
html[data-demo-theme] body.public-demo:not(.portal-mode).brand-hq .brand-hero-hq::after{background:var(--demo-hq-fade)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-welcome-copy h1,.teacher-welcome-copy p,.brand-hero h1,.brand-hero p,.brand-hero-status,.teacher-project-copy h3,.teacher-project-copy p){color:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-welcome-copy>.brand-hero-kicker,.brand-hero-kicker){background:#ffffff12;border-color:#ffffff35;color:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome-copy>.brand-hero-kicker::before{background:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome-bubble{background:#dce4e0;border-color:#bccbc3;color:#2e473b;box-shadow:0 4px 14px #122c2420}
html[data-demo-theme] body.public-demo:not(.portal-mode).brand-hq .brand-hero-hq .brand-hero-art{background:#d7e0db;border-color:#b9cac0;box-shadow:0 7px 22px #16392e1a}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-project,.arithmetic-tile){background:var(--demo-hero);border-color:#ffffff25;box-shadow:0 7px 19px #20372e0c}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-project,.arithmetic-tile)::before{background:var(--demo-tile-fade)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-project:hover{transform:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-project-copy .pill,.teacher-project-pill){background:#ffffff12;border-color:#ffffff4d;color:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-stats-strip{background:var(--demo-hero);border-color:#ffffff25;box-shadow:0 5px 18px #17382b0f}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-stats-strip>div{border-color:#ffffff30;color:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-stats-strip>div>strong,.teacher-stats-strip>div>small,.teacher-stats-strip>button,.teacher-stats-strip>a){color:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-stats-strip>div>svg{background:#ffffff16;color:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.quickbar-student>.campus-picker-avatar,.quickbar-student>.avatar,.quickbar-student>.campus-student-avatar){background:var(--demo-accent);border-color:var(--demo-panel);color:var(--demo-accent-ink)}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) :is(.teacher-welcome .teacher-start-button,.teacher-project-copy button,.brand-hero-actions button:first-child){background:#f1f4f2;border-color:#f1f4f2;color:var(--demo-hero-cta-ink);box-shadow:0 4px 12px var(--demo-hero-cta-shadow)}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) :is(.teacher-welcome .teacher-start-button,.teacher-project-copy button,.brand-hero-actions button:first-child):hover:not(:disabled){background:#dfe8e4;border-color:#dfe8e4}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) .campus-metric:first-child{background:var(--demo-hero);border-color:#ffffff25}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) :is(.campus-metric:first-child>p,.campus-metric:first-child>strong,.campus-metric:first-child>strong small){color:#f3f5f4}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) .campus-metric:first-child .campus-metric-icon{background:#ffffff18;color:#f3f5f4}

/* Teaching lobby remains illustrated, with mineral frames instead of cream panels. */
html[data-demo-theme] body.public-demo:not(.portal-mode) .teaching-nav a{background:var(--demo-panel);border:1px solid var(--demo-line);color:var(--demo-ink);box-shadow:0 3px 12px #17382b0a}
html[data-demo-theme] body.public-demo:not(.portal-mode) .game-hub-title>span{background:var(--demo-sidebar);border-color:var(--demo-sidebar);color:#e5eeea;box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) .game-hub-title h1{color:var(--demo-ink);-webkit-text-stroke:0;text-shadow:none;letter-spacing:-.02em}
html[data-demo-theme] body.public-demo:not(.portal-mode) .game-hub-title p{color:var(--demo-muted);text-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.game-hub-hud>a,.game-hub-hud>span,.world-portal-progress,.hub-treasure,.hub-guide p){background:var(--demo-panel);border:1px solid var(--demo-line);color:var(--demo-muted);box-shadow:0 5px 16px #183b2c0a}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.game-hub-hud strong,.game-hub-hud b,.game-hub-hud small,.hub-treasure b,.hub-treasure strong,.hub-treasure small){color:var(--demo-ink)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.game-hub-hud svg,.hub-treasure>svg){color:var(--demo-ink);fill:none;filter:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) .world-portal-art{border-color:var(--demo-panel);box-shadow:inset 0 0 0 1px var(--demo-line),0 7px 20px #17382b19}
html[data-demo-theme] body.public-demo:not(.portal-mode) .arithmetic-portal .world-portal-art{background:linear-gradient(135deg,var(--demo-panel),var(--demo-inset));border-color:var(--demo-panel);box-shadow:inset 0 0 0 1px var(--demo-line),0 7px 20px #17382b19}
html[data-demo-theme] body.public-demo:not(.portal-mode) .arithmetic-portal .world-portal-art::before{color:var(--demo-muted);text-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.world-portal-sign,.arithmetic-portal .world-portal-sign){background:var(--demo-hero);border:2px solid var(--demo-panel);box-shadow:0 5px 15px #17382b1c}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.world-portal-sign small,.world-portal-sign h2,.arithmetic-portal .world-portal-sign small,.arithmetic-portal .world-portal-sign h2){color:#eef3f0;text-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) .world-portal-sign::before,html[data-demo-theme] body.public-demo:not(.portal-mode) .world-portal-sign::after{background:#ffffff30;border-color:#ffffff20;box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) .hub-guide img{background:var(--demo-inset);border-color:var(--demo-line)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .hub-treasure:hover{background:var(--demo-inset);transform:none}

/* Additional existing platform surfaces; layout and original photographs stay intact. */
html[data-demo-theme] body.public-demo:not(.portal-mode) .hero::before{background:var(--demo-photo-fade)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.hero h2,.hero h2 em,.hero p,.hero-actions>span){color:#f3f5f4}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.hero-label,.date-chip,.campus-student-picker-trigger,.campus-learning-actions,.campus-project-cards>article){background:var(--demo-inset);border-color:var(--demo-line);color:var(--demo-ink);box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-student-picker-trigger strong,.campus-student-picker-trigger small,.campus-picker-arrow){color:var(--demo-muted)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .student-picker-search input::placeholder{color:var(--demo-muted)}

/* Exact orange surfaces use dark copy; white is an accent surface, not body text. */
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) :is(.teacher-welcome-copy h1,.teacher-welcome-copy p,.brand-hero h1,.brand-hero p,.brand-hero-status,.teacher-project-copy h3,.teacher-project-copy p,.hero h2,.hero h2 em,.hero p,.hero-actions>span,.teacher-stats-strip>div,.teacher-stats-strip>div>strong,.teacher-stats-strip>div>small,.teacher-stats-strip>button,.teacher-stats-strip>a,.campus-metric:first-child>p,.campus-metric:first-child>strong,.campus-metric:first-child>strong small,.world-portal-sign small,.world-portal-sign h2){color:#2a211d}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) :is(.teacher-welcome-copy>.brand-hero-kicker,.brand-hero-kicker,.teacher-project-copy .pill,.teacher-project-pill){color:#2a211d;background:#ffffff14;border-color:#2a211d28}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) .teacher-welcome-copy>.brand-hero-kicker::before{background:#2a211d}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) :is(.teacher-stats-strip>div>svg,.campus-metric:first-child .campus-metric-icon){background:#ffffff25;color:#2a211d}

/* Glass is limited to large UI containers. No animated or nested blur. */
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode){
  --demo-backdrop:radial-gradient(ellipse at 88% 100%,#ffffff33 0%,#ffffff00 52%),radial-gradient(ellipse at 8% 76%,#ffffff1c 0%,#ffffff00 46%),linear-gradient(166deg,#FF6A00 0%,#FF6A00 34%,#FF9238 100%);
  --demo-glass:rgba(231,239,237,.70);--demo-header-glass:rgba(234,241,239,.18);
  --demo-glass-line:rgba(255,255,255,.62);--demo-glass-shadow:0 12px 34px #273f3412,inset 0 1px 0 #ffffff6b;
}
html[data-demo-theme="forest"] body.public-demo:not(.portal-mode){
  --demo-backdrop:radial-gradient(ellipse at 92% 96%,#527b6980 0%,#527b6900 58%),linear-gradient(165deg,#153c35 0%,#244d40 40%,#527b69 100%);
  --demo-glass:rgba(224,237,229,.70);--demo-header-glass:rgba(224,237,229,.78);
  --demo-glass-line:rgba(255,255,255,.54);--demo-glass-shadow:0 12px 34px #102f2420,inset 0 1px 0 #ffffff52;
}
html[data-demo-theme] body.public-demo:not(.portal-mode),html[data-demo-theme] body.public-demo:not(.portal-mode) .workspace{background:var(--demo-backdrop);background-attachment:fixed}
html[data-demo-theme] body.public-demo:not(.portal-mode) .sidebar{background:color-mix(in srgb,var(--demo-sidebar) 91%,transparent);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);border-right-color:#ffffff2e;box-shadow:8px 0 28px #17342b0a}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.app-header,.classroom-quickbar,.campus-panel,.student-picker-dialog,.detail-dialog){background:var(--demo-glass);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);border:1px solid var(--demo-glass-line);border-radius:24px;box-shadow:var(--demo-glass-shadow)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .app-header{background:var(--demo-header-glass);margin:14px 22px 18px;position:relative;z-index:35}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-panel .campus-panel,.detail-dialog .campus-panel,.student-picker-dialog .campus-panel){backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--demo-panel);box-shadow:none}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-metric,.stat-card,.teacher-management-details,.feature-card,.record-card,.badge-card){background:var(--demo-glass);border:1px solid var(--demo-glass-line);border-radius:24px;box-shadow:var(--demo-glass-shadow)}
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-table-scroll,.campus-student-notes){background:rgba(244,248,245,.80);border-radius:16px;overflow:auto}
html[data-demo-theme] body.public-demo:not(.portal-mode) .classroom-quickbar{border-radius:24px}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-stats-strip{border-radius:24px;border:1px solid #ffffff66;box-shadow:var(--demo-glass-shadow)}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) .teacher-stats-strip{background:var(--demo-hero)}
html[data-demo-theme="orange"] body.public-demo:not(.portal-mode) .campus-metric:first-child{background:var(--demo-hero)}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teaching-nav a{background:var(--demo-glass);border-color:var(--demo-glass-line);border-radius:16px;box-shadow:0 5px 18px #16392c12}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.app-header,.classroom-quickbar,.campus-panel,.student-picker-dialog,.detail-dialog){background:var(--demo-panel)}
  html[data-demo-theme] body.public-demo:not(.portal-mode) .sidebar{background:var(--demo-sidebar)}
}
@media(prefers-reduced-transparency:reduce){
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.app-header,.classroom-quickbar,.campus-panel,.student-picker-dialog,.detail-dialog){backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--demo-panel)}
  html[data-demo-theme] body.public-demo:not(.portal-mode) .sidebar{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--demo-sidebar)}
}
@media(max-width:760px){
  html[data-demo-theme] body.public-demo:not(.portal-mode) .app-header{margin:10px 12px 16px;border-radius:24px}
}

/* QA correction: keep the original companion clear of the photograph's faces. */
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome-mascot{left:29%;right:auto;width:180px;height:180px;bottom:12px;mix-blend-mode:normal}
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome-bubble{right:24px;top:-23px;max-width:116px;padding:7px 10px;font-size:11px;line-height:1.5;transform:none}
@media(max-width:700px){
  html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome-mascot{left:auto;right:8px;width:100px;height:100px;bottom:12px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-welcome-bubble{display:none}
}

/* Bare-background copy follows the canvas; light panels retain their dark text. */
html[data-demo-theme] body.public-demo:not(.portal-mode) #content>.page-intro h1,
html[data-demo-theme] body.public-demo:not(.portal-mode) .campus-workspace>.campus-page-intro h1,
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-dashboard>.teacher-project-heading h2,
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-dashboard>.section-heading h2,
html[data-demo-theme] body.public-demo:not(.portal-mode) .campus-workspace>.campus-panel-heading h2,
html[data-demo-theme] body.public-demo:not(.portal-mode) #content>.section-heading h2,
html[data-demo-theme] body.public-demo:not(.portal-mode) #content>.recent-panel>.section-heading h2,
html[data-demo-theme] body.public-demo:not(.portal-mode) .home-columns>section>.section-heading h2,
html[data-demo-theme] body.public-demo:not(.portal-mode) .game-hub-title h1{color:var(--demo-bare-ink)}
html[data-demo-theme] body.public-demo:not(.portal-mode) #content>.page-intro :is(p,.eyebrow),
html[data-demo-theme] body.public-demo:not(.portal-mode) .campus-workspace>.campus-page-intro :is(p,.campus-eyebrow),
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-dashboard>.teacher-project-heading a,
html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-dashboard>.section-heading :is(a,small),
html[data-demo-theme] body.public-demo:not(.portal-mode) .campus-workspace>.campus-panel-heading :is(.campus-muted,.campus-filter),
html[data-demo-theme] body.public-demo:not(.portal-mode) #content>.section-heading :is(a,small),
html[data-demo-theme] body.public-demo:not(.portal-mode) #content>.recent-panel>.section-heading :is(a,small),
html[data-demo-theme] body.public-demo:not(.portal-mode) .home-columns>section>.section-heading :is(a,small),
html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.game-hub-title p,.app-footer,.teacher-local-note,.campus-workspace>.campus-feedback,.classroom-teacher-link,.classroom-teacher-link>a){color:var(--demo-bare-muted)}


/* Large web displays: comfortable reading and touch targets; game iframe is separate. */
@media(min-width:1600px){
  html[data-demo-theme] body.public-demo:not(.portal-mode) .teacher-project{height:auto;min-height:300px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.primary,.secondary,.campus-primary,.campus-secondary,.teacher-start-button,.teacher-project-copy button,.brand-hero-actions button,.world-portal-cta,.screen-button,.mode-button,.student-switch-button,.quickbar-switch){min-height:56px;font-size:20px;padding:12px 24px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.sidebar nav a,.sidebar-bottom a){min-height:56px;font-size:18px;padding:14px 16px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) .sidebar nav a svg{width:23px;height:23px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-welcome-copy h1,.brand-hero h1,.page-intro h1,.campus-page-intro h1,.game-hub-title h1){font-size:48px;line-height:1.25}
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-welcome-copy p,.brand-hero p,.page-intro p,.campus-page-intro p,.game-hub-title p,.teacher-project-copy p){font-size:18px;line-height:1.75}
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.teacher-project-heading h2,.section-heading h2,.campus-panel h2){font-size:26px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) .teaching-nav a{min-height:56px;font-size:20px;padding:13px 28px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) #teachingModeToggle.mode-switch button{min-height:50px;font-size:18px;padding:10px 20px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-selectors select,.campus-filter select,.quickbar-class select){min-height:56px;font-size:18px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) :is(.campus-table,.campus-table td,.campus-table td b,.campus-table th){font-size:17px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) .campus-table small{font-size:16px}
  html[data-demo-theme] body.public-demo:not(.portal-mode) .campus-table-button{min-height:52px;font-size:17px;padding:11px 16px}
}

/* Source: demo-assistant.css */
/* Scoped glass companion. The game launcher joins its existing topbar flow. */
.da-launcher,.da-panel,.da-panel *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.da-launcher{position:fixed;right:28px;bottom:100px;z-index:65;display:flex;align-items:center;gap:9px;min-height:58px;padding:6px 17px 6px 9px;border:1px solid #ffffffb3;border-radius:28px;background:rgba(255,255,255,.82);color:#30271f;box-shadow:0 8px 26px #3b261d26,inset 0 1px 0 #fff9;backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);font-size:12px;font-weight:650;cursor:pointer;touch-action:manipulation}
.da-launcher[hidden],.da-panel [hidden]{display:none!important}.da-launcher img{width:36px;height:45px;object-fit:contain;display:block}.da-launcher:focus-visible,.da-panel a:focus-visible,.da-panel button:focus-visible,.da-panel textarea:focus-visible{outline:3px solid #124f45;outline-offset:3px}
html[data-demo-theme=forest] .da-launcher{background:rgba(222,241,230,.88);border-color:#ffffff99;color:#173d30}
.da-panel{position:fixed;inset:auto 22px 22px auto;margin:0;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100svh - 36px));max-width:none;max-height:none;border:1px solid #ffffffbd;border-radius:26px;padding:0;background:rgba(246,250,251,.91);color:#322b23;box-shadow:0 20px 65px #1f231a40,inset 0 1px 0 #fff;backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%);text-align:left;display:none;overflow:hidden;font-size:14px;line-height:1.65}
.da-panel[open]{display:flex;flex-direction:column}.da-panel::backdrop{background:rgba(15,28,21,.2)}
.da-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 16px 13px 20px;border-bottom:1px solid #4435221f;flex:none}
.da-panel .da-header h2{font-size:18px!important;line-height:1.4!important;margin:0!important;letter-spacing:0!important;color:#322b23!important;font-weight:700!important;text-shadow:none!important;-webkit-text-stroke:0!important;filter:none!important}
.da-panel .da-subtitle{font-size:11px;color:#645849;margin:3px 0 0;line-height:1.6}
.da-panel button,.da-panel textarea{font:inherit;text-transform:none;letter-spacing:0;text-shadow:none;-webkit-text-stroke:0;box-shadow:none;filter:none}
.da-panel button{min-height:44px;border:1px solid #a996804d;border-radius:12px;padding:9px 12px;background:#fff9;color:#293a3d;cursor:pointer;touch-action:manipulation;font-size:12px;font-weight:550;line-height:1.45}
.da-panel button:hover:not(:disabled){background:#fff;border-color:#a17449}.da-panel button:disabled{opacity:.65;cursor:default}
.da-panel .da-icon-button{width:44px;height:44px;border:0;background:transparent;font-size:26px;line-height:1;padding:0;flex:none}
.da-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:80px;flex:1;padding:14px 20px 18px;scrollbar-width:thin}
.da-panel .da-note{font-size:11px;color:#6b5c4b;line-height:1.7;margin:0 0 12px}.da-reply{padding:15px;background:rgba(255,255,255,.6);border:1px solid #fff;border-radius:18px}
.da-panel .da-question{font-size:11px;color:#706352;margin:0 0 9px;overflow-wrap:anywhere}.da-panel .da-answer{font-size:14px;color:#322b23;line-height:1.85;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.da-audio-actions{display:flex;gap:8px;margin-top:12px}.da-panel .da-audio-actions button{font-size:11px;min-height:40px;padding:7px 10px}
.da-panel .da-status{font-size:11px;line-height:1.65;color:#715342;margin:7px 0 0;overflow-wrap:anywhere;min-height:0}
.da-panel .da-action{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;color:#5f371d;font-weight:650;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.da-panel .da-suggestion-title{font-size:12px;line-height:1.6;margin:17px 0 9px;color:#63523f;font-weight:650;text-shadow:none;-webkit-text-stroke:0}
.da-suggestions{display:grid;gap:7px}.da-panel .da-suggestions button{display:block;text-align:left;width:100%;background:rgba(255,255,255,.34);font-size:12px}
.da-form{padding:13px 20px 14px;border-top:1px solid #4435221f;flex:none;background:rgba(255,255,255,.3)}
.da-panel .da-input-label{font-size:12px;color:#584b3c;display:block;margin:0 0 6px}
.da-panel textarea{display:block;width:100%;resize:none;border:1px solid #a9968070;border-radius:13px;padding:10px 12px;min-height:64px;max-height:86px;background:#fffc;color:#322b23;font-size:16px!important;line-height:1.45!important}
.da-panel textarea::placeholder{color:#7a6e61}.da-input-actions{display:flex;gap:8px;justify-content:space-between;margin-top:9px}.da-input-actions button{flex:1}.da-panel .da-send{background:#FF6A00;color:#281f19;border-color:#ff8f3f;font-weight:650}
.da-panel .da-send:hover:not(:disabled){background:#ff8126;border-color:#ff8126}.da-panel .da-privacy{font-size:10px;line-height:1.65;color:#76695b;margin:8px 0 0}
html[data-demo-theme=forest] .da-panel{background:rgba(231,243,234,.97);border-color:#ffffff99}.da-panel[data-audience=student] .da-note{color:#476153}.da-panel[data-audience=student] .da-send{background:#2b6650;color:#fff;border-color:#2b6650}
.game .da-game-launcher{position:static;flex:none;bottom:auto;right:auto;min-height:44px;height:44px;padding:4px 10px;gap:5px;border-radius:15px;font-size:12px;box-shadow:0 3px 10px #263a241a;line-height:1.2}
.game .da-game-launcher img{width:25px;height:34px}.game .da-panel{z-index:1000;font-size:14px}.game .da-panel .da-header{position:static;background:none}.game .da-panel button{min-width:0}.game .da-panel .da-icon-button{min-width:44px}
@media(max-width:700px){.da-launcher{right:14px;bottom:20px;min-height:52px;padding:5px 14px 5px 8px;font-size:11px}.da-launcher img{width:31px;height:39px}.da-panel{inset:auto 14px 14px auto;width:calc(100vw - 28px);height:min(660px,calc(100svh - 28px));border-radius:24px}.da-header{padding:13px 13px 11px 16px}.da-scroll{padding:12px 16px 15px}.da-form{padding:11px 16px 12px}.game .da-game-launcher{padding:4px 8px}.game .da-game-launcher span{display:none}}
@media(max-height:500px){.da-panel{inset:8px 12px 8px auto;height:calc(100svh - 16px);width:min(520px,calc(100vw - 24px))}.da-header{padding-top:8px;padding-bottom:6px}.da-scroll{padding-top:10px;padding-bottom:10px}.da-form{padding-top:8px;padding-bottom:8px}.da-panel textarea{min-height:44px;height:44px}.da-panel .da-privacy{font-size:9px;margin-top:5px}.da-panel .da-note{margin-bottom:8px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.da-panel{background:#f6f9fa}.da-launcher{background:#f2f7f8}html[data-demo-theme=forest] .da-panel{background:#e7f3ea}}
@media(prefers-reduced-transparency:reduce){.da-panel,.da-launcher{backdrop-filter:none;-webkit-backdrop-filter:none}.da-panel{background:#f6f9fa}.da-launcher{background:#f2f7f8}}

@media(min-width:1600px) and (min-height:750px){.da-panel{width:500px;height:min(820px,calc(100svh - 48px));border-radius:30px}.da-panel .da-header h2{font-size:23px!important}.da-panel .da-subtitle,.da-panel .da-note,.da-panel .da-status,.da-panel .da-input-label{font-size:14px}.da-panel .da-answer{font-size:18px}.da-panel button,.da-panel .da-suggestions button{min-height:56px;font-size:16px}.da-panel .da-audio-actions button{min-height:48px;font-size:14px}.da-panel .da-suggestion-title{font-size:16px}.da-panel .da-question,.da-panel .da-action{font-size:15px}.da-panel .da-privacy{font-size:12px}.da-panel textarea{font-size:18px!important;min-height:80px}.da-header,.da-scroll,.da-form{padding-left:24px;padding-right:24px}.da-launcher{min-height:66px;font-size:15px}.da-launcher img{width:42px;height:51px}}
