:root{color:#17342f;--ink:#17342f;--green:#1f6f5f;--green2:#2f8875;--mint:#e8f3ee;--gold:#c69a54;--paper:#fff;--line:#dfe9e4;--muted:#73867f;background:#f5f7f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{-webkit-tap-highlight-color:transparent;background:radial-gradient(circle at 15% 0,#dfeee8 0,#0000 30%),radial-gradient(circle at 90% 20%,#f1eadb 0,#0000 23%),linear-gradient(#f2f7f4,#fbfcfb 55%,#f4f6f2);min-width:320px;margin:0}body:before{content:"";pointer-events:none;opacity:.18;background-image:radial-gradient(circle at 20px 20px,#2f88751c 1.5px,#0000 1.5px);background-size:34px 34px;position:fixed;inset:0}button,input,select,textarea{font:inherit}.app-shell{max-width:1180px;min-height:100vh;margin:0 auto;padding-bottom:118px;position:relative}.topbar{justify-content:space-between;align-items:center;gap:12px;padding:18px 16px 10px;display:flex}.brand-kicker,.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--green);font-size:9.5px;font-weight:900}.topbar h1{margin:3px 0 0;font-size:21px}.account-chip{border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffd9;border-radius:15px;align-items:center;gap:8px;padding:5px 6px 5px 8px;display:flex}.account-chip>span{background:var(--mint);width:34px;height:34px;color:var(--green);border-radius:10px;place-items:center;font-size:11px;font-weight:900;display:grid}.account-chip b,.account-chip small{white-space:nowrap;text-overflow:ellipsis;max-width:120px;display:block;overflow:hidden}.account-chip b{font-size:11px}.account-chip small{color:var(--muted);font-size:9px}.account-chip button{cursor:pointer;background:#f2f6f4;border:0;border-radius:9px;padding:7px;font-size:9px}.content{gap:13px;padding:8px 14px;display:grid}.hero-card{color:#fff;background:linear-gradient(135deg,#205f52,#2d806d);border-radius:24px;align-items:center;gap:14px;padding:20px;display:flex;position:relative;overflow:hidden;box-shadow:0 16px 34px #1f6f5f2b}.hero-card:after{content:"";border:24px solid #ffffff13;border-radius:50%;width:150px;height:150px;position:absolute;top:-78px;right:-48px}.hero-ornament{color:#fff1;font-size:66px;line-height:1;position:absolute;bottom:9px;right:28px;transform:rotate(-12deg)}.avatar{background:#fff2;border-radius:17px;flex:none;place-items:center;width:54px;height:54px;font-size:21px;font-weight:900;display:grid}.avatar.small{background:var(--mint);width:41px;height:41px;color:var(--green);border-radius:13px;font-size:12px}.hero-card .eyebrow{color:#d4eee5}.hero-card h2,.hero-card p{margin:2px 0}.hero-card h2{font-size:20px}.hero-card p{color:#d8f2ed;font-size:13px}.card{border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffeb;border-radius:20px;padding:16px;box-shadow:0 8px 26px #173c3510}.section-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section-head h3,.page-title h2,.feed h3{margin:3px 0}.section-head strong{color:var(--green);font-size:28px}.status-pill,.tag{background:var(--mint);color:var(--green);white-space:nowrap;border-radius:999px;padding:7px 9px;font-size:10px;font-weight:800}.tag.inactive{color:#8d5d59;background:#f4eeee}.status-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;display:grid}.status-btn{cursor:pointer;border:0;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:92px;padding:14px 7px;transition:transform .18s,box-shadow .18s;display:flex}.status-btn:active{transform:scale(.98)}.status-btn span{font-size:27px}.status-btn b{font-size:11px}.reason-box,.composer,.edit-box,.achievement-form{background:#f7faf8;border-radius:16px;gap:10px;margin-top:14px;padding:14px;display:grid}.reason-box label,.composer label,.edit-box label,.auth-card label{font-size:12px;font-weight:800}.reason-box select,.reason-box input,.composer select,.composer input,.composer textarea,.edit-box input,.edit-box select,.auth-card input,.auth-card select,.comment-input input,.reply-box input,.chat-input input,.achievement-form input,.achievement-form textarea{background:#fff;border:1px solid #d9e5e1;border-radius:13px;outline:none;width:100%;padding:12px 13px}.primary{background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;cursor:pointer;border:0;border-radius:13px;padding:12px 15px;font-weight:800;box-shadow:0 8px 18px #1f6f5f22}.primary:disabled{opacity:.45}.primary.inline{margin-top:12px}.primary.full{width:100%;margin-top:4px}.notice,.error-box{border-radius:13px;margin-top:12px;padding:11px 12px;font-size:13px}.notice{color:#0f665f;background:#eef8f5}.error-box{color:#9b342d;background:#fff0ef}.week-strip{grid-template-columns:repeat(7,1fr);gap:5px;margin-top:14px;display:grid}.week-strip div{text-align:center;background:#f5f8f6;border-radius:12px;padding:8px 2px}.week-strip span{color:#73908a;font-size:10px;display:block}.week-strip strong{font-size:17px}.future-note,.muted,.page-title p,.action-card p{color:var(--muted);font-size:13px;line-height:1.45}.page-title{padding:6px 2px}.page-title h2{font-size:23px}.teacher-title{border:1px solid var(--line);background:linear-gradient(135deg,#f4faf7,#fffaf1);border-radius:22px;justify-content:space-between;align-items:center;padding:16px;display:flex}.dashboard-art{background:#fff;border:1px solid #e8e0cd;border-radius:22px;place-items:center;width:68px;height:68px;font-size:42px;display:grid;box-shadow:0 8px 24px #8a6b3030}.big-score>div:first-child{justify-content:space-between;align-items:end;display:flex}.big-score strong{color:var(--green);font-size:38px}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stats.four{grid-template-columns:repeat(4,1fr)}.stat{border:1px solid var(--line);text-align:center;background:#ffffffeb;border-radius:17px;padding:12px 7px}.stat i{font-size:18px;font-style:normal;display:block}.stat span{color:#728b85;font-size:10px}.stat strong{font-size:22px;display:block}.student-cards,.list{gap:9px;display:grid}.student-performance,.list-item{border:1px solid var(--line);text-align:left;width:100%;color:inherit;cursor:pointer;background:#fffe;border-radius:18px;padding:12px;box-shadow:0 7px 20px #173c350b}.student-card-top,.list-item,.detail-top,.action-card,.account-main{align-items:center;gap:10px;display:flex}.grow{flex:1;min-width:0}.grow b,.grow span,.grow small{display:block}.grow span{color:#738983;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.score-mini{text-align:right}.score-mini strong,.score-mini span{display:block}.score-mini strong{color:var(--green);font-size:18px}.score-mini span{color:#82958f;font-size:9px}.mini-week{border-top:1px solid #edf2f1;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:10px;padding-top:9px;display:grid}.mini-week div{text-align:center}.mini-week span,.mini-week b{display:block}.mini-week span{color:#80938e;font-size:9px}.mini-week b{font-size:14px}.tap-hint{text-align:right;color:var(--green);margin-top:8px;font-size:10px;font-weight:800}.section-label{justify-content:space-between;align-items:end;padding:4px 2px;display:flex}.section-label h3{margin:3px 0}.section-label>span{color:#82958f;font-size:10px}.chev{color:#87a19b;font-size:24px}.detail-top{padding:7px 0}.detail-top h2{margin:2px 0}.back-btn{width:44px;height:44px;color:var(--green);cursor:pointer;background:#fff;border:1px solid #dbe7e3;border-radius:14px;font-size:28px}.detail-score{color:var(--green);margin-left:auto;font-size:26px;font-weight:900}.alert-card{border-left:4px solid #dc6b62}.feed{padding:0;overflow:hidden}.feed-unread{border-color:#9fcdbf;box-shadow:0 10px 28px #1f6f5f15}.feed-click{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:0;padding:16px;display:block}.feed-head,.feed-foot{justify-content:space-between;align-items:center;gap:8px;display:flex}.read-state{color:#7c928c;font-size:10px}.read-state.new{color:#a86b1e;background:#fff5df;border-radius:999px;padding:5px 8px;font-weight:800}.read-state.read{color:#47786b}.feed p{color:#6b817c;font-size:13px;line-height:1.55}.clamp-text{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.feed-foot{color:#82958f;border-top:1px solid #edf2f1;margin-top:14px;padding-top:10px;font-size:10px}.feed-expanded{border-top:1px solid #edf2f1;padding:0 16px 16px}.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;padding:10px 0 2px;font-size:11px;font-weight:800}.comment-list{gap:10px;margin-top:10px;display:grid}.comment-thread{gap:6px;display:grid}.comment{background:#f5f8f6;border-radius:13px;padding:10px}.comment.reply{border-left:3px solid var(--green);background:#eef6f2;margin-left:22px}.comment-author{justify-content:space-between;gap:8px;display:flex}.comment-author b{font-size:11px}.comment-author small{color:var(--muted);font-size:9px}.comment p{margin:4px 0 0}.comment-input,.reply-box{gap:7px;margin-top:12px;display:flex}.comment-input button,.reply-box button{background:var(--green);color:#fff;border:0;border-radius:12px;padding:0 12px;font-weight:800}.chat-title{gap:10px;display:flex}.chatbox{flex-direction:column;gap:10px;min-height:360px;padding:4px 2px;display:flex}.message-wrap{align-self:flex-start;max-width:86%}.message-wrap.mine{align-self:flex-end}.message-meta{color:#84958f;margin:0 6px 3px;font-size:9px}.message-wrap.mine .message-meta{text-align:right}.bubble{border-radius:16px;padding:11px 13px;font-size:13px;line-height:1.45}.bubble.other{border:1px solid var(--line);background:#fff}.chat-input{z-index:12;background:#f6faf8;border:1px solid #dce8e4;border-radius:17px;gap:7px;width:min(100% - 24px,700px);padding:7px;display:flex;position:fixed;bottom:78px;left:50%;transform:translate(-50%)}.chat-input button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:12px;width:45px}.unread{background:var(--green);color:#fff;border-radius:999px;place-items:center;min-width:23px;height:23px;font-size:10px;font-weight:800;display:grid}.notification-icon{background:#eef7f4;border-radius:13px;place-items:center;width:40px;height:40px;display:grid}.notification-row.is-unread{background:#f4fbf8;border-color:#cfe6de}.dot{background:var(--green);border-radius:50%;width:8px;height:8px}.bottom-nav{z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);width:min(100%,1180px);height:72px;padding-bottom:max(4px,env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid #dfeae7;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav.cols-2{grid-template-columns:repeat(2,1fr)}.bottom-nav button{color:#81938e;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:relative}.bottom-nav button>span{font-size:19px}.bottom-nav small{font-size:9px;font-weight:700}.bottom-nav button.active{color:var(--green)}.bottom-nav i{color:#fff;background:#c43d35;border-radius:999px;place-items:center;min-width:17px;height:17px;font-size:8px;font-style:normal;font-weight:900;display:grid;position:absolute;top:7px;right:23%}.auth-shell{place-items:center;min-height:100vh;padding:20px;display:grid;position:relative;overflow:hidden}.auth-shell:before,.auth-shell:after{content:"";border:28px solid #1f6f5f12;border-radius:50%;width:280px;height:280px;position:absolute}.auth-shell:before{top:-120px;left:-120px}.auth-shell:after{border-color:#c69a5414;bottom:-140px;right:-140px}.auth-card{border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:1;background:#ffffffeb;border-radius:28px;gap:10px;width:min(100%,440px);padding:24px;display:grid;position:relative;box-shadow:0 24px 65px #173c3522}.school-mark{background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;letter-spacing:.08em;border-radius:18px;place-items:center;width:58px;height:58px;margin:0 auto;font-weight:900;display:grid;box-shadow:0 10px 24px #1f6f5f33}.auth-brand{text-align:center;padding:4px 0 12px}.auth-brand h1{margin:5px 0}.auth-brand p{color:#6f8580;margin:0;font-size:13px}.segmented{background:#f0f5f3;border-radius:13px;grid-template-columns:1fr 1fr;margin-bottom:8px;padding:4px;display:grid}.segmented button{color:#70857f;background:0 0;border:0;border-radius:10px;padding:10px;font-weight:800}.segmented button.active{color:var(--green);background:#fff;box-shadow:0 4px 15px #173c3510}.demo-box{color:#617773;background:#f7faf9;border-radius:13px;gap:4px;margin-top:7px;padding:11px;font-size:10px;display:grid}.demo-box b{color:var(--ink)}.account-row{gap:10px;display:grid}.account-actions{gap:7px;display:flex}.account-actions button{cursor:pointer;background:#f7faf9;border:1px solid #dbe7e3;border-radius:10px;padding:8px 10px;font-size:10px;font-weight:800}.empty-state{text-align:center}.empty-state p{margin-bottom:0}.account-main .tag{margin-left:auto}.profile-hero{border:1px solid var(--line);background:linear-gradient(135deg,#eff8f4,#fff8ea);border-radius:24px;align-items:center;gap:16px;padding:18px;display:flex}.profile-hero h2,.profile-hero p{margin:3px 0}.profile-hero p{color:var(--muted);font-size:12px}.profile-avatar{background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;border-radius:24px;flex:none;place-items:center;width:82px;height:82px;font-size:24px;font-weight:900;display:grid;position:relative;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.photo-edit{width:26px;height:26px;color:var(--green);cursor:pointer;background:#fff;border-radius:9px;place-items:center;font-weight:900;display:grid;position:absolute;bottom:4px;right:4px;box-shadow:0 3px 9px #0002}.photo-edit input{display:none}.achievement-list{gap:8px;margin-top:12px;display:grid}.achievement{background:#f8faf7;border:1px solid #e7eee9;border-radius:14px;align-items:center;gap:10px;padding:10px;display:flex}.achievement>span{color:var(--gold);font-size:21px}.achievement b,.achievement small{display:block}.achievement small{color:var(--muted);margin-top:2px;font-size:10px}footer{text-align:center;color:#8b9b95;padding:18px 10px 0;font-size:10px}.name-link{text-align:left;background:0 0;border:0;padding:0}@media (width>=760px){.content{padding:14px 22px}.topbar{padding:20px 24px}.status-grid{max-width:620px}.hero-card,.stats{max-width:760px}.account-chip b,.account-chip small{max-width:220px}.bottom-nav{border-left:1px solid #dfeae7;border-right:1px solid #dfeae7;border-radius:20px 20px 0 0}.student-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-title{max-width:760px}}@media (width>=1050px){.student-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}.avatar img,.avatar.small img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.secondary{color:#315c52;cursor:pointer;background:#fff;border:1px solid #dbe7e3;border-radius:13px;padding:11px 14px;font-weight:800}.full{width:100%}.account-main>button{cursor:pointer;background:#f7faf9;border:1px solid #dbe7e3;border-radius:10px;padding:8px 10px;font-size:10px;font-weight:800}:root,[data-theme=dark]{--bg:#12130f;--bg-soft:#191b14;--surface:#1f2119;--surface-2:#292b20;--text:#f5f1df;--muted:#bdb7a2;--line:#3c3c2d;--brand:#f2c94c;--brand-2:#d9a91d;--brand-ink:#17160f;--danger:#e36d5c;--success:#8dbb78;--shadow:0 18px 50px #00000040}[data-theme=light]{--bg:#eee9d9;--bg-soft:#e6dfca;--surface:#f8f3e5;--surface-2:#eee5cd;--text:#242218;--muted:#746d59;--line:#d4c8a9;--brand:#dcae22;--brand-2:#bd8e08;--brand-ink:#18150b;--danger:#a94c3e;--success:#4d7b43;--shadow:0 16px 40px #463a141a}.card,.auth-card,.list-item,.student-performance,.bottom-nav,.topbar,.chatbox,.chat-input,.profile-hero,.page-title.teacher-title{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)!important}.hero-card,.school-mark,.primary,.status-pill,.unread{background:var(--brand)!important;color:var(--brand-ink)!important}.primary:hover{background:var(--brand-2)!important}.brand-kicker,.eyebrow,.section-head strong,.detail-score,.score-mini strong,.text-button{color:var(--brand)!important}input,select,textarea,.secondary,.account-chip,.segmented,.reason-box,.stat,.mini-week>div,.week-strip>div,.demo-box,.notice,.edit-box{background:var(--surface-2)!important;color:var(--text)!important;border-color:var(--line)!important}input::placeholder,textarea::placeholder,.muted,.feed-foot,.list-item span,.student-performance span,.page-title p,.hero-card p,small{color:var(--muted)}.theme-toggle{border:1px solid var(--line);background:var(--surface-2);width:38px;height:38px;color:var(--brand);cursor:pointer;border-radius:50%;font-size:18px}.student-performance:hover,.list-button:hover{transform:translateY(-1px);border-color:var(--brand)!important}.bottom-nav button.active,.bottom-nav button.active small{color:var(--brand)!important}.feed-unread{border-left:4px solid var(--brand)!important}.tag{border:1px solid #f2c94c40;color:var(--brand)!important;background:#f2c94c24!important}.avatar,.profile-avatar{background:linear-gradient(145deg,var(--brand),#8f6a00)!important;color:#17150d!important}.bubble.mine{background:var(--brand)!important;color:var(--brand-ink)!important}.bubble.other{background:var(--surface-2)!important;color:var(--text)!important}.chat-page{min-height:calc(100vh - 150px)}.chatbox{min-height:360px;max-height:58vh;overflow-y:auto}.chat-input{border:1px solid var(--line);z-index:5;border-radius:16px;gap:8px;padding:10px;display:flex;position:sticky;bottom:12px}.chat-input input{flex:1;min-width:0}.chat-input button{background:var(--brand);color:var(--brand-ink);cursor:pointer;border:0;border-radius:12px;padding:0 18px;font-weight:800}.empty-chat{min-height:220px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.admin-content-card{margin-bottom:14px}.admin-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.admin-actions button{border:1px solid var(--line);background:var(--surface-2);color:var(--text);cursor:pointer;border-radius:10px;padding:9px 12px}.admin-actions.mini{margin-top:6px}.admin-actions.mini button{padding:6px 9px;font-size:12px}.danger-btn{color:var(--danger)!important}.moderation-list{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.admin-comment{border-bottom:1px solid var(--line);padding:12px 0}.admin-comment small,.admin-reply small{display:block}.admin-reply{background:var(--surface-2);border-radius:12px;margin:10px 0 0 24px;padding:10px 12px}.auth-shell:before{content:"";pointer-events:none;opacity:.18;background-image:radial-gradient(circle at 20px 20px,var(--brand) 2px,transparent 2.5px);background-size:64px 64px;position:fixed;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 70%);mask-image:linear-gradient(#000,#0000 70%)}@media (width<=640px){.account-chip>div{display:none}.account-chip{gap:6px}.topbar{padding-left:16px!important;padding-right:16px!important}.chatbox{min-height:320px;max-height:55vh}}[data-theme=dark] .segmented button{color:#ded8c2!important;background:0 0!important}[data-theme=dark] .segmented button.active{box-shadow:0 4px 14px #f2c94c2e;background:var(--brand)!important;color:var(--brand-ink)!important}[data-theme=dark] .bottom-nav button{color:#aaa58f!important}[data-theme=dark] .bottom-nav button.active{color:var(--brand)!important;background:#f2c94c1f!important}[data-theme=dark] .bottom-nav button.active span,[data-theme=dark] .bottom-nav button.active small{color:var(--brand)!important}[data-theme=dark] select option{color:#f4efd9!important;background:#23251c!important}[data-theme=dark] button.primary,[data-theme=dark] .status-pill,[data-theme=dark] .unread{color:#15130b!important}[data-theme=dark] .status-btn{border:1px solid var(--line)!important;background:var(--surface-2)!important;color:var(--text)!important}[data-theme=dark] .status-btn:hover,[data-theme=dark] .status-btn:focus{box-shadow:0 0 0 3px #f2c94c1a;border-color:var(--brand)!important}[data-theme=dark] .read-state.new{background:var(--brand)!important;color:var(--brand-ink)!important}[data-theme=dark] .read-state.read{color:#ded8c2!important;background:#34372a!important}[data-theme=light] .segmented button{color:#6e6652!important}[data-theme=light] .segmented button.active{color:#f5d66c!important;background:#2a281f!important}[data-theme=light] .read-state.new{color:#f1c84f!important;background:#2b291f!important}[data-theme=light] .read-state.read{color:#5f5848!important;background:#ded4ba!important}.achievement-photo,.achievement-preview{object-fit:cover;border:1px solid var(--line);border-radius:14px;width:100%;max-height:260px;margin:10px 0;display:block}.achievement-rich{grid-template-columns:minmax(0,180px) 1fr;align-items:start;gap:14px;display:grid}.achievement.teacher-view{border:1px solid var(--line);background:var(--surface-2);border-radius:16px;margin-bottom:12px;padding:14px;display:block}.achievement-comment{border-left:3px solid var(--brand);background:#f2c94c0f;border-radius:8px;margin-top:10px;padding:10px 12px}.achievement-comment b,.achievement-comment span{display:block}.empty-state-inline{text-align:center;color:var(--muted);padding:20px}.assessment-form{gap:10px;margin-top:14px;display:grid}.teacher-note-preview{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;margin:10px 0;padding:14px}.teacher-note-preview>b,.teacher-note-preview>span{display:block}.teacher-note-preview>span{color:var(--muted);margin-top:3px;font-size:12px}.teacher-note-preview p{margin:8px 0 0}@media (width<=640px){.achievement-rich{grid-template-columns:1fr}.achievement-photo{max-height:220px}}.bottom-nav.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.bottom-nav.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.bottom-nav.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav.cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}@media (width<=520px){.bottom-nav.cols-6 button>span{font-size:17px}.bottom-nav.cols-6 small{font-size:8px}.bottom-nav.cols-6 i{top:6px;right:15%}}.backend-state{justify-content:center;margin:-2px 0 4px;display:flex}.backend-state span{border:1px solid var(--line);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.backend-state .online{color:var(--success);background:#5f9b5214}.backend-state .prototype{color:var(--muted);background:var(--surface-2)}.security-note{background:var(--surface-2);border:1px solid var(--line);border-radius:13px;flex-direction:column;gap:3px;padding:11px 12px;font-size:11px;display:flex}.security-note span{color:var(--muted);line-height:1.4}button:disabled,input:disabled,select:disabled{opacity:.55;cursor:not-allowed}.backend-loading{text-align:center;justify-items:center}.loading-bar{background:var(--surface-2);border-radius:999px;width:100%;height:7px;margin-top:10px;overflow:hidden}.loading-bar span{border-radius:inherit;background:var(--brand);width:42%;height:100%;animation:1.2s ease-in-out infinite gm-load;display:block}@keyframes gm-load{0%{transform:translate(-110%)}to{transform:translate(340%)}}.backend-state.left{justify-content:flex-start;margin:0 0 12px}.edit-box .primary{justify-self:start}.page-title.compact{padding-top:8px;padding-bottom:4px}.page-title.compact h3{margin:3px 0}.account-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.account-actions button{border:1px solid var(--line);background:var(--surface-2);color:var(--text);cursor:pointer;border-radius:10px;padding:9px 12px}.account-actions button:hover{border-color:var(--brand)}.compact-error{padding-top:8px;padding-bottom:0}.compact-error .error-box{margin:0}.comment-thread{scroll-margin-top:120px;transition:box-shadow .25s,transform .25s,background .25s}.comment-thread.comment-focus{box-shadow:0 0 0 2px var(--brand), 0 10px 30px #0000002e;transform:translateY(-2px)}.parent-account-editor{margin-top:14px}.parent-account-editor select{width:100%}.edit-divider{background:var(--line);height:1px;margin:18px 0}:root,[data-theme=light]{--bg:#fff3b8;--bg-soft:#ffefaa;--surface:#fff9dd;--surface-2:#fff2b9;--text:#1d1d18;--muted:#6f6853;--line:#eadb96;--brand:#f4d35e;--brand-2:#e6bc35;--brand-ink:#181711;--bar:#1d1d18;--bar-text:#f4d35e;--shadow:0 14px 34px #4a3b0a1a}[data-theme=dark]{--bg:#11110f;--bg-soft:#171713;--surface:#1d1d18;--surface-2:#27261f;--text:#fff7d6;--muted:#c1b997;--line:#44402e;--brand:#f4d35e;--brand-2:#e6bc35;--brand-ink:#17150c;--bar:#171713;--bar-text:#f4d35e;--shadow:0 18px 48px #00000047}html,body,#root{min-height:100%;background:var(--bg)!important}.topbar{z-index:30;min-height:64px;position:sticky;top:0;padding-top:max(10px,env(safe-area-inset-top))!important;background:var(--bar)!important;color:var(--bar-text)!important;border-bottom:1px solid color-mix(in srgb,var(--brand) 25%,transparent)!important}.topbar h1,.topbar .brand-kicker{color:var(--bar-text)!important}.account-chip{background:0 0!important;border-color:#f4d35e59!important;padding:3px!important}.account-chip>span{background:var(--brand)!important;color:#17150c!important}.account-chip button,.theme-toggle,.lang-toggle,.signout-btn,.compact-toggle{cursor:pointer;place-items:center;min-width:42px;min-height:42px;font-weight:900;display:grid;color:var(--bar-text)!important;background:#29281f!important;border:1px solid #f4d35e61!important;border-radius:12px!important;padding:0 10px!important}.lang-toggle{font-size:10px}.signout-btn{white-space:nowrap;font-size:9px}.auth-shell{padding-top:max(18px,env(safe-area-inset-top))!important;background:linear-gradient(#fff3b8,#ffefaa)!important}.auth-card{background:#fff9dd!important;border-color:#eadb96!important;box-shadow:0 24px 60px #3d300524!important}.auth-quick-controls{justify-content:flex-end;gap:8px;margin-bottom:-4px;display:flex}.auth-quick-controls .compact-toggle{color:#f4d35e!important;background:#1d1d18!important}.remember-row{color:var(--muted);align-items:center;gap:8px;font-size:11px!important;font-weight:700!important;display:flex!important}.remember-row input{accent-color:#1d1d18;width:18px!important;height:18px!important}[data-theme=light] .bottom-nav{background:#1d1d18!important;border-color:#2f2d22!important}[data-theme=light] .bottom-nav button{color:#f4d35e!important}[data-theme=light] .bottom-nav button.active{color:#f4d35e!important;background:#f4d35e29!important}[data-theme=light] .bottom-nav button>span{color:#f4d35e!important}[data-theme=dark] .bottom-nav{background:#171713!important;border-color:#3d3929!important}.bottom-nav{height:74px;padding-bottom:max(5px,env(safe-area-inset-bottom))!important}.bottom-nav button{min-width:0;min-height:52px}.chat-title{align-items:center}.chat-title>div{flex:1;min-width:0}.presence-pill{background:var(--surface-2);border:1px solid var(--line);color:var(--muted);border-radius:999px;align-items:center;gap:5px;margin-top:3px;padding:4px 8px;font-size:9px;font-weight:800;display:inline-flex}.presence-pill i{background:#8a8878;border-radius:50%;width:7px;height:7px}.presence-pill.is-online i{background:#59b86b;box-shadow:0 0 0 3px #59b86b24}.online-mini{white-space:nowrap;color:#3f9a52!important;font-size:9px!important;font-weight:800!important;display:inline!important}.chatbox{overscroll-behavior:contain;min-height:calc(100dvh - 285px)!important;max-height:calc(100dvh - 285px)!important;padding:8px 4px 12px!important;overflow-y:auto!important}.chat-input{left:auto!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;background:var(--surface)!important;border:1px solid var(--line)!important;z-index:15!important;border-radius:16px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:none!important;margin:2px 0 0!important;padding:8px!important;display:grid!important;position:sticky!important;transform:none!important}.chat-input input{background:var(--surface-2)!important;width:100%!important;min-width:0!important;height:46px!important;color:var(--text)!important;border:1px solid var(--line)!important;padding:0 13px!important}.chat-input button{background:var(--bar)!important;width:auto!important;min-width:72px!important;height:46px!important;color:var(--brand)!important;border-radius:12px!important;place-items:center!important;padding:0 16px!important;font-size:12px!important;font-weight:900!important;display:grid!important}.comment-input,.reply-box{grid-template-columns:minmax(0,1fr) auto!important;align-items:stretch!important;display:grid!important}.comment-input button,.reply-box button{min-width:68px;min-height:44px;background:var(--bar)!important;color:var(--brand)!important;padding:0 12px!important}.achievement-photo,.achievement-preview,.profile-avatar img,.avatar img{loading:lazy}@media (width<=640px){.topbar{gap:6px!important;padding-left:10px!important;padding-right:10px!important}.topbar h1{font-size:17px!important}.brand-kicker{font-size:8px!important}.account-chip{gap:4px!important}.account-chip>span{width:36px;height:36px}.account-chip>div{display:none!important}.account-chip button,.theme-toggle,.lang-toggle,.signout-btn{min-width:40px;min-height:40px;padding:0 8px!important}.content{padding-left:10px!important;padding-right:10px!important}.chatbox{min-height:calc(100dvh - 272px)!important;max-height:calc(100dvh - 272px)!important}.chat-input{bottom:calc(72px + env(safe-area-inset-bottom))!important}}.presence-summary{color:#cfc48f;letter-spacing:.01em;align-items:center;gap:5px;margin-top:3px;font-size:8px;font-weight:800;display:flex}.presence-summary i{background:#58b96b;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 2px #58b96b24}@media (width<=420px){.presence-summary{white-space:nowrap;text-overflow:ellipsis;max-width:150px;font-size:7px;overflow:hidden}}:root,[data-theme=light]{--bg:#fff5c9;--bg-soft:#fff0a9;--surface:#fff9df;--surface-2:#fff3c4;--text:#15140f;--muted:#726b51;--line:#ead89a;--brand:#f6cf4f;--brand-2:#e6b92d;--bar:#f8dc78;--bar-text:#14130f;--shadow:0 16px 40px #392b001f;--black:#0b0b0a;--black-2:#161613;--success:#48a55b}[data-theme=dark]{--bg:#0b0b0a;--bg-soft:#11110f;--surface:#161613;--surface-2:#22211b;--text:#fff7d7;--muted:#beb590;--line:#403a24;--brand:#f6cf4f;--brand-2:#e6b92d;--bar:#0f0f0d;--bar-text:#f6cf4f;--shadow:0 18px 48px #00000057;--black:#050505;--black-2:#11110f;--success:#62c575}html,body,#root{background:var(--bg)!important;color:var(--text)!important}body:before{display:none!important}.app-shell{background:var(--bg);max-width:1180px;min-height:100dvh}.card,.stat,.student-performance,.list-item{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important}.page-title h2,.page-title h3,.section-head h3,.feed h3,.grow b,.card h3,.card h2{color:var(--text)!important}.muted,.page-title p,.action-card p,.grow span,.feed p,.feed-foot,.week-strip span,.mini-week span{color:var(--muted)!important}.auth-shell{min-height:100dvh!important;padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom))!important;background:#080808!important;place-items:center!important;display:grid!important}.auth-card{position:relative;color:#15140f!important;background:#fff7d5!important;border:1px solid #efd780!important;border-radius:28px!important;width:min(100%,430px)!important;padding:22px!important;box-shadow:0 28px 70px #0000006b!important}[data-theme=dark] .auth-card{color:#fff5cc!important;background:#151511!important;border-color:#4b4122!important}.auth-brand{text-align:center;margin:8px 0 12px}.auth-brand h1{color:inherit;margin:6px 0 4px;font-size:26px}.auth-brand p{color:#5f5a49;max-width:310px;margin:0 auto;font-size:12px;line-height:1.4}[data-theme=dark] .auth-brand p{color:#c4ba98}.brand-logo{object-fit:cover;border-radius:22%;display:block;box-shadow:0 8px 22px #00000029}.auth-logo{border:2px solid #efc93e;width:82px;height:82px;margin:6px auto 12px}.header-logo{width:42px;height:42px;box-shadow:none;border:1px solid #14130f1f;border-radius:13px}.auth-card .brand-kicker{text-align:center;font-size:8px;display:block;color:#b88700!important}.auth-quick-controls{z-index:2;position:absolute;top:14px;right:14px;margin:0!important}.auth-quick-controls .compact-toggle{color:#f6cf4f!important;background:#171713!important;border-color:#2a281e!important;min-width:42px!important;height:42px!important}.auth-card label{color:#211f17!important}.auth-card input,.auth-card select{color:#17150f!important;background:#fff0b5!important;border-color:#e8d184!important;min-height:48px!important}.auth-card input::placeholder{color:#8e8264!important}[data-theme=dark] .auth-card input,[data-theme=dark] .auth-card select{color:#fff7d7!important;background:#24231d!important;border-color:#4a442d!important}.segmented{background:#1b1a15!important;border-radius:15px!important;padding:3px!important}.segmented button{color:#f4e7a8!important}.segmented button.active{background:var(--brand)!important;color:#14130f!important;box-shadow:none!important}.auth-card .primary{min-height:48px;color:#f6cf4f!important;box-shadow:none!important;background:#151511!important}.auth-card .security-note{color:#1a1914!important;background:#fff0b5!important;border-color:#ead385!important}[data-theme=dark] .auth-card .security-note{color:#fff6d1!important;background:#23221c!important;border-color:#453f29!important}.auth-card .security-note span{color:#655f4c!important}[data-theme=dark] .auth-card .security-note span{color:#bdb38e!important}.backend-state .online{color:#4d914e!important;background:#eff7cb!important;border-color:#a9bf75!important}[data-theme=dark] .backend-state .online{color:#73d27e!important;background:#1f2b1d!important;border-color:#395c38!important}.remember-row{color:#70684f!important}.splash-shell{background:#070707;place-items:center;min-height:100dvh;padding:24px;display:grid}.splash-inner{text-align:center;color:#fff}.splash-logo{border:2px solid #e9be2f;border-radius:28px;width:150px;height:150px;box-shadow:0 22px 60px #00000073}.splash-inner h1{color:#fff;margin:18px 0 2px;font-size:28px}.splash-inner p{color:#f6cf4f;margin:0;font-size:12px;font-weight:800}.splash-loader{background:#25231b;border-radius:999px;width:130px;height:4px;margin:24px auto 0;overflow:hidden}.splash-loader span{background:#f6cf4f;width:45%;height:100%;animation:.72s ease-in-out infinite splashmove;display:block}@keyframes splashmove{0%{transform:translate(-110%)}to{transform:translate(300%)}}.topbar{z-index:40;position:sticky;top:0;box-shadow:0 4px 18px #0000000f;min-height:68px!important;padding:max(10px,env(safe-area-inset-top)) 12px 9px!important;background:var(--bar)!important;color:var(--bar-text)!important;border-bottom:1px solid #0000001a!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;display:flex!important}.header-brand{align-items:center;gap:9px;min-width:0;display:flex}.header-brand>div{min-width:0}.topbar .brand-kicker{opacity:.72;color:var(--bar-text)!important;font-size:7px!important}.topbar h1{margin:2px 0;line-height:1.05;color:var(--bar-text)!important;font-size:17px!important}.presence-summary{opacity:.8;margin-top:2px;color:var(--bar-text)!important;font-size:8px!important}.presence-summary i{background:#40a652!important}.account-chip{background:0 0!important;border:0!important;gap:5px!important;padding:0!important}.account-chip>span{color:#f6cf4f!important;background:#151511!important;border-radius:12px!important;width:36px!important;height:36px!important}.account-chip button,.theme-toggle,.lang-toggle,.signout-btn{color:#f6cf4f!important;background:#12110df0!important;border:1px solid #12110d24!important;border-radius:11px!important;min-width:38px!important;min-height:38px!important}.signout-btn{padding:0 9px!important}.account-chip b,.account-chip small{color:var(--bar-text)!important}[data-theme=dark] .topbar{border-color:#2c291c!important}.topbar .header-logo{background:#111}.hero-card{color:#17150f!important;box-shadow:var(--shadow)!important;background:linear-gradient(135deg,#f7d75f,#efc239)!important;border:1px solid #e4bd32!important}.hero-card .eyebrow,.hero-card h2,.hero-card p{color:#17150f!important}.hero-card:after{border-color:#ffffff38!important}[data-theme=dark] .hero-card{color:#fff4c7!important;background:linear-gradient(135deg,#1d1c16,#12120f)!important;border-color:#504522!important}.teacher-title{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}.dashboard-art{background:var(--brand)!important;color:#15140f!important;border-color:#d7ae26!important}.status-pill,.tag{color:#1a1810!important;background:#f8df7b!important}.section-head strong,.big-score strong,.score-mini strong,.detail-score,.tap-hint,.text-button{color:#b98900!important}[data-theme=dark] .section-head strong,[data-theme=dark] .big-score strong,[data-theme=dark] .score-mini strong,[data-theme=dark] .detail-score,[data-theme=dark] .tap-hint,[data-theme=dark] .text-button{color:#f6cf4f!important}.status-btn{border:1px solid var(--line)!important}.yes{background:#edf5cf!important}.no{background:#ffe0d7!important}.sick{background:#fff0b9!important}.week-strip div,.mini-week,.reason-box,.composer,.edit-box,.achievement-form{background:var(--surface-2)!important}.primary{color:#f6cf4f!important;box-shadow:none!important;background:#151511!important}.secondary{background:var(--surface-2)!important;color:var(--text)!important}.chat-title{padding:8px 2px 4px!important}.chatbox{scrollbar-width:thin;background:#0b0b0a!important;border:1px solid #2b281d!important;border-radius:22px!important;min-height:calc(100dvh - 300px)!important;max-height:calc(100dvh - 300px)!important;padding:14px 10px!important;overflow-y:auto!important}.message-meta{color:#9b967f!important}.bubble.other{color:#15140f!important;background:#f5f4ef!important;border:0!important}.bubble.mine{color:#15140f!important;background:#f7d667!important;border:0!important}.chat-input{bottom:calc(78px + env(safe-area-inset-bottom))!important;background:#11110f!important;border:1px solid #393624!important;border-radius:22px!important;grid-template-columns:minmax(0,1fr) 48px!important;gap:8px!important;margin-top:8px!important;padding:8px!important;display:grid!important;position:sticky!important}.chat-input input{color:#fff8d9!important;background:#191916!important;border:1px solid #4b4837!important;border-radius:16px!important;height:48px!important;padding:0 14px!important}.chat-input input::placeholder{color:#8e8a78!important}.chat-input button,.send-icon-btn{color:#15140f!important;background:#f6cf4f!important;border:0!important;border-radius:50%!important;place-items:center!important;width:48px!important;min-width:48px!important;height:48px!important;padding:0!important;font-size:20px!important;line-height:1!important;display:grid!important}.presence-pill{color:#a9a58f!important;background:#141410!important;border-color:#313022!important}.presence-pill.is-online{color:#64c777!important}.presence-pill.is-online i{background:#58c46c!important}.chat-page .page-title h2,.chat-page .page-title p{color:var(--text)!important}.feed{background:var(--surface)!important}.feed-click{color:var(--text)!important}.comment{background:var(--surface-2)!important}.comment.reply{background:color-mix(in srgb,var(--brand) 18%,var(--surface-2))!important;border-left-color:var(--brand)!important}.comment-input input,.reply-box input{background:var(--surface-2)!important;color:var(--text)!important;border-color:var(--line)!important}.comment-input button,.reply-box button{color:#f6cf4f!important;background:#151511!important;border-radius:12px!important}.notification-tabs{background:#161613;border:1px solid #2e2b1e;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;display:grid}.notification-tabs button{color:#bdb89f;cursor:pointer;background:0 0;border:0;border-radius:11px;padding:10px 8px;font-size:11px;font-weight:800}.notification-tabs button.active{color:#15140f;background:#f6cf4f}.notification-tabs button i{color:#15140f;background:#f6cf4f;border-radius:999px;margin-left:3px;padding:2px 5px;font-style:normal}.notification-tabs button.active i{color:#f6cf4f;background:#15140f}.notification-row{border-color:var(--line)!important}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000009e;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.language-modal{color:#17150f;background:#fff4ca;border:1px solid #ebcf6d;border-radius:24px;width:min(100%,420px);padding:18px;box-shadow:0 28px 80px #00000073}[data-theme=dark] .language-modal{color:#fff5cc;background:#171713;border-color:#50451f}.modal-head{justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.modal-head h2{margin:2px 0}.modal-head p{color:#766e52;margin:0;font-size:12px}.modal-close{color:#f6cf4f;cursor:pointer;background:#17150f;border:0;border-radius:12px;width:38px;height:38px;font-size:24px}.language-choice{text-align:left;color:#17150f;cursor:pointer;background:#fff0b4;border:1px solid #e5cb6c;border-radius:16px;justify-content:space-between;align-items:center;width:100%;margin:8px 0;padding:14px;display:flex}.language-choice b,.language-choice span{display:block}.language-choice span{color:#71684e;margin-top:3px;font-size:11px}.language-choice i{border:1px solid #c59a14;border-radius:50%;place-items:center;width:30px;height:30px;font-style:normal;display:grid}.language-choice.selected{border:2px solid #d8a915}.language-choice.selected i{color:#f6cf4f;background:#17150f;border-color:#17150f}.language-help{text-align:center;color:#6c644c;margin:14px 8px;font-size:11px;line-height:1.45}[data-theme=dark] .language-choice{color:#fff5cc;background:#24231d;border-color:#4c4425}[data-theme=dark] .language-choice span,[data-theme=dark] .language-help,[data-theme=dark] .modal-head p{color:#beb38e}.bottom-nav{height:76px!important;padding:4px 4px max(5px,env(safe-area-inset-bottom))!important;background:#0d0d0b!important;border:1px solid #2e2b1e!important;box-shadow:0 -10px 30px #0003!important}.bottom-nav button{color:#aaa58e!important;border-radius:12px!important}.bottom-nav button>span{color:#aaa58e!important}.bottom-nav button.active{color:#f6cf4f!important;background:#f6cf4f1a!important}.bottom-nav button.active>span{color:#f6cf4f!important}.bottom-nav i{color:#15140f!important;background:#f6cf4f!important}@media (width<=640px){.app-shell{padding-bottom:104px!important}.content{gap:11px!important;padding:9px 10px!important}.card{border-radius:18px!important;padding:14px!important}.topbar{min-height:64px!important;padding-left:8px!important;padding-right:8px!important}.header-logo{width:38px;height:38px}.header-brand{gap:7px}.topbar h1{font-size:14px!important}.topbar .brand-kicker{display:none}.presence-summary{font-size:7px!important}.account-chip>div,.account-chip>span{display:none!important}.account-chip button,.theme-toggle,.lang-toggle,.signout-btn{min-width:36px!important;min-height:36px!important;padding:0 7px!important}.signout-btn{font-size:0!important}.signout-btn:after{content:"↪";font-size:16px}.auth-card{border-radius:24px!important;padding:20px 14px 16px!important}.auth-logo{width:76px;height:76px}.auth-brand h1{font-size:24px}.chatbox{min-height:calc(100dvh - 286px)!important;max-height:calc(100dvh - 286px)!important}.chat-input{bottom:calc(72px + env(safe-area-inset-bottom))!important}.bottom-nav.cols-6 small{font-size:7.5px!important}.bottom-nav button>span{font-size:17px!important}}@media (width<=390px){.topbar h1{font-size:13px!important}.presence-summary{max-width:118px!important}.lang-toggle,.theme-toggle,.signout-btn{width:34px!important;min-width:34px!important;padding:0!important}.auth-brand p{font-size:11px}.segmented button{font-size:10px!important}.bottom-nav small{font-size:7px!important}}html,body,#root{color:var(--text)!important;background:#080808!important}body{background:#080808!important}.app-shell{background:#080808!important;max-width:none!important;min-height:100dvh!important;padding-bottom:118px!important}.topbar{border-radius:0 0 16px 16px!important;width:min(1180px,100% - 28px)!important;margin:0 auto!important}.app-shell main{background:var(--bg)!important;border-radius:22px!important;width:min(1180px,100% - 28px)!important;min-height:calc(100dvh - 170px)!important;margin:12px auto 0!important;overflow:hidden!important;box-shadow:0 18px 52px #00000038!important}.app-shell footer{color:#8d876d!important}[data-theme=light] .app-shell main{background:linear-gradient(#fff7d5 0%,#fff2b9 100%)!important}[data-theme=dark] .app-shell main{background:linear-gradient(#0d0d0b 0%,#11110f 100%)!important}[data-theme=dark] .hero-card .eyebrow,[data-theme=dark] .hero-card h2,[data-theme=dark] .hero-card p,[data-theme=dark] .hero-card .avatar{color:#fff4c7!important}[data-theme=dark] .hero-card:after{border-color:#f6cf4f29!important}[data-theme=light] .chatbox{background:#fff7d5!important;border-color:#ead89a!important}[data-theme=light] .message-meta{color:#746b4e!important}[data-theme=light] .bubble.other{color:#15140f!important;background:#fffdf2!important;border:1px solid #e6dba8!important}[data-theme=light] .bubble.mine{color:#15140f!important;background:#f7d667!important;border:1px solid #e4c44f!important}[data-theme=light] .chat-input{background:#fff3c4!important;border-color:#dfc96f!important}[data-theme=light] .chat-input input{color:#15140f!important;background:#fffaf0!important;border-color:#d8c477!important}[data-theme=light] .chat-input input::placeholder{color:#817657!important}[data-theme=dark] .card,[data-theme=dark] .stat,[data-theme=dark] .student-performance,[data-theme=dark] .list-item,[data-theme=dark] .teacher-title,[data-theme=dark] .page-title,[data-theme=dark] .content{color:var(--text)!important}[data-theme=dark] .card label,[data-theme=dark] .card span:not(.status-pill):not(.tag),[data-theme=dark] .card p,[data-theme=dark] .card small,[data-theme=dark] .page-title h2,[data-theme=dark] .page-title h3{color:inherit}@media (width<=760px){.topbar{border-radius:0 0 14px 14px!important;width:calc(100% - 12px)!important}.app-shell main{border-radius:16px!important;width:calc(100% - 12px)!important;min-height:calc(100dvh - 150px)!important;margin-top:6px!important}.app-shell{background:#080808!important}}.chat-page{padding-bottom:0!important}.chat-page .chatbox{padding-bottom:14px!important}.chat-input{width:min(1120px,100% - 64px)!important;left:50%!important;bottom:calc(88px + env(safe-area-inset-bottom))!important;z-index:30!important;margin:0!important;position:fixed!important;transform:translate(-50%)!important;box-shadow:0 10px 30px #00000047!important}.chat-page .chatbox{min-height:calc(100dvh - 300px)!important;max-height:calc(100dvh - 300px)!important;margin-bottom:78px!important}@media (width<=760px){.chat-input{width:calc(100% - 32px)!important;bottom:calc(86px + env(safe-area-inset-bottom))!important}.chat-page .chatbox{min-height:calc(100dvh - 280px)!important;max-height:calc(100dvh - 280px)!important;margin-bottom:76px!important}}[data-theme=dark] .primary,[data-theme=dark] .auth-card .primary,[data-theme=dark] .action-card .primary,[data-theme=dark] .admin-actions .primary,[data-theme=dark] .account-actions .primary{opacity:1;color:#15140f!important;background:linear-gradient(135deg,#f6cf4f,#e6b92d)!important;border:1px solid #f3d66a!important;box-shadow:0 8px 22px #f6cf4f24!important}[data-theme=dark] .primary:hover,[data-theme=dark] .auth-card .primary:hover,[data-theme=dark] .action-card .primary:hover{color:#0b0b09!important;background:linear-gradient(135deg,#ffdc66,#efc63a)!important}[data-theme=dark] .primary:disabled,[data-theme=dark] .auth-card .primary:disabled{opacity:.48!important}[data-theme=dark] .action-card,[data-theme=dark] .admin-card,[data-theme=dark] .admin-panel,[data-theme=dark] .action-card h2,[data-theme=dark] .action-card h3,[data-theme=dark] .action-card b,[data-theme=dark] .action-card strong{color:#fff7d7!important}[data-theme=dark] .action-card p{color:#c8bf9a!important}[data-theme=dark] .auth-card label,[data-theme=dark] .remember-row,[data-theme=dark] .auth-card .muted{color:#d8cea7!important}@media (width<=520px){html,body,#root{min-height:100%;overflow-x:hidden;background:#070707!important}body{background:#070707!important;min-height:100dvh!important}.auth-shell{min-height:100dvh!important;padding:calc(env(safe-area-inset-top) + 12px) 12px calc(env(safe-area-inset-bottom) + 12px)!important;background:radial-gradient(circle at 50% 5%,#f6cf4f14,#0000 28%),#070707!important;justify-content:center!important;align-items:flex-start!important;display:flex!important}.auth-card{width:100%!important;max-width:430px!important;min-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)!important;border-radius:27px!important;flex-direction:column!important;justify-content:center!important;padding:18px 16px 16px!important;display:flex!important;box-shadow:0 24px 64px #0000006b!important}[data-theme=light] .auth-card{color:#14130f!important;background:linear-gradient(#fff7d8 0%,#fff1b8 100%)!important}[data-theme=dark] .auth-card{color:#fff5cc!important;background:linear-gradient(#151511 0%,#0f0f0d 100%)!important}.auth-quick-controls{gap:6px!important;top:13px!important;right:13px!important}.auth-quick-controls .compact-toggle{border-radius:12px!important;width:38px!important;min-width:38px!important;height:38px!important;font-size:11px!important}.auth-logo{border:2px solid #e7b91f!important;border-radius:24px!important;width:94px!important;height:94px!important;margin:0 auto 15px!important;box-shadow:0 10px 24px #0000002e!important}.auth-brand{margin:0 0 14px!important}.auth-brand .brand-kicker{letter-spacing:.08em!important;margin-bottom:7px!important;font-size:7.5px!important}.auth-brand h1{letter-spacing:-.025em!important;margin:0 0 7px!important;font-size:27px!important;line-height:1.05!important}.auth-brand p{max-width:260px!important;font-size:11.5px!important;line-height:1.38!important}.backend-state{margin:1px auto 12px!important}.segmented{border-radius:15px!important;height:44px!important;margin-bottom:12px!important;padding:3px!important}.segmented button{border-radius:12px!important;font-size:11px!important}.auth-card label{margin:8px 0 5px!important;font-size:10px!important;font-weight:800!important}.auth-card input,.auth-card select{border-radius:13px!important;height:46px!important;min-height:46px!important;padding:0 13px!important;font-size:13px!important}.remember-row{gap:8px!important;margin:10px 0 12px!important;font-size:9.5px!important}.remember-row input{width:16px!important;height:16px!important;min-height:0!important;padding:0!important}.auth-card .primary.full{border-radius:13px!important;height:47px!important;min-height:47px!important;margin-top:0!important;font-size:12px!important}.auth-card .security-note{border-radius:13px!important;margin-top:9px!important;padding:10px 12px!important;font-size:9px!important;line-height:1.35!important}.auth-card .security-note strong{font-size:9px!important}.app-shell{background:#070707!important;min-height:100dvh!important;padding-bottom:88px!important}.topbar{width:calc(100% - 12px)!important;min-height:62px!important;padding:max(8px,env(safe-area-inset-top)) 9px 8px!important;border-radius:0 0 16px 16px!important;margin:0 6px!important}.header-logo{border-radius:11px!important;width:40px!important;height:40px!important}.header-brand{gap:7px!important}.topbar h1{letter-spacing:-.02em!important;font-size:15px!important}.presence-summary{max-width:150px!important;font-size:7px!important;line-height:1.1!important}.account-chip{gap:5px!important}.lang-toggle,.theme-toggle,.signout-btn{border-radius:11px!important;min-width:36px!important;height:36px!important;min-height:36px!important}.app-shell main{width:calc(100% - 12px)!important;min-height:calc(100dvh - 144px)!important;box-shadow:none!important;border-radius:17px!important;margin:6px 6px 0!important;overflow:visible!important}[data-theme=light] .app-shell main{background:linear-gradient(#fff8d8 0%,#fff0b0 100%)!important}[data-theme=dark] .app-shell main{background:linear-gradient(#0d0d0b 0%,#12120f 100%)!important}.content{gap:12px!important;padding:12px 11px 15px!important}.card,.student-performance,.list-item{border-radius:17px!important;box-shadow:0 8px 22px #32260012!important}.hero-card{border-radius:19px!important;gap:12px!important;min-height:92px!important;padding:16px!important}.hero-card .avatar{border-radius:15px!important;width:52px!important;height:52px!important;font-size:20px!important}.hero-card h2{margin:4px 0!important;font-size:18px!important;line-height:1.1!important}.hero-card p{font-size:10px!important}.eyebrow{letter-spacing:.08em!important;font-size:8px!important}.section-head h3{font-size:16px!important;line-height:1.18!important}.section-head strong{font-size:27px!important}.status-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.status-btn{border-radius:15px!important;min-height:88px!important;padding:9px 4px!important}.status-btn span{font-size:25px!important}.status-btn b{font-size:9px!important}.week-strip{gap:5px!important}.week-strip div{border-radius:11px!important;min-width:0!important;padding:9px 2px!important}.week-strip span{font-size:8px!important}.week-strip strong{font-size:13px!important}.page-title{padding:7px 2px 2px!important}.page-title h2{margin:3px 0!important;font-size:21px!important}.page-title p{font-size:10px!important}.teacher-title{border-radius:18px!important;padding:14px!important}.teacher-title h2{font-size:20px!important}.stats{gap:7px!important}.stats .stat{border-radius:14px!important;padding:11px 6px!important}.stat span{font-size:8px!important}.stat strong{font-size:21px!important}.student-performance{padding:12px!important}.student-card-top{gap:9px!important}.score-mini strong{font-size:18px!important}.feed{padding:13px!important}.feed h3{font-size:16px!important;line-height:1.2!important}.feed p{font-size:11px!important;line-height:1.45!important}.notification-tabs{z-index:8!important;margin-bottom:8px!important;position:sticky!important;top:70px!important}.notification-row{min-height:64px!important;padding:10px!important}.notification-icon{border-radius:11px!important;width:38px!important;height:38px!important}.notification-row .grow b{font-size:11px!important}.notification-row .grow span{font-size:9.5px!important}.chat-page{padding:10px 8px 0!important}.chat-title{padding:2px 2px 7px!important}.chatbox{border-radius:18px!important;min-height:calc(100dvh - 272px)!important;max-height:calc(100dvh - 272px)!important;margin-bottom:73px!important;padding:12px 9px!important}[data-theme=light] .chatbox{background:#0b0b0a!important;border-color:#2b281d!important}[data-theme=light] .message-meta{color:#a49e83!important}.bubble{border-radius:14px!important;max-width:82%!important;padding:10px 12px!important;font-size:11px!important;line-height:1.42!important}[data-theme=light] .bubble.other{color:#15140f!important;background:#f5f4ef!important;border-color:#e4dfc8!important}[data-theme=light] .bubble.mine{color:#15140f!important;background:#f6cf4f!important;border-color:#e5ba2b!important}.chat-input{width:calc(100% - 28px)!important;bottom:calc(82px + env(safe-area-inset-bottom))!important;border-radius:20px!important;grid-template-columns:minmax(0,1fr) 46px!important;padding:6px!important}.chat-input input{border-radius:14px!important;height:46px!important;font-size:12px!important}.chat-input button,.send-icon-btn{width:46px!important;min-width:46px!important;height:46px!important;font-size:0!important;position:relative!important}.chat-input button:after,.send-icon-btn:after{content:"➤";font-size:18px!important;line-height:1!important}.bottom-nav{width:auto!important;height:70px!important;padding:4px 4px max(4px,env(safe-area-inset-bottom))!important;border-radius:18px!important;bottom:6px!important;left:6px!important;right:6px!important}.bottom-nav button{min-width:0!important;padding:4px 1px!important}.bottom-nav button>span{font-size:16px!important}.bottom-nav small{font-size:6.7px!important;line-height:1.05!important}.bottom-nav i{top:3px!important;right:8px!important}input,select,textarea,button{font-family:inherit!important}input,select,textarea{font-size:16px!important}.auth-card input,.auth-card select,.chat-input input{font-size:13px!important}}@media (width<=380px){.auth-shell{padding-left:8px!important;padding-right:8px!important}.auth-card{padding-left:13px!important;padding-right:13px!important}.auth-logo{width:86px!important;height:86px!important}.auth-brand h1{font-size:25px!important}.topbar h1{font-size:13px!important}.presence-summary{max-width:118px!important}.status-btn b{font-size:8px!important}.bottom-nav small{font-size:6.2px!important}}@media (width<=520px){:root{--qc-yellow:#f6cf4f;--qc-cream:#fff5cb;--qc-black:#090909;--qc-ink:#11110e}html,body,#root{background:#050505!important}.app-shell{background:#050505!important;width:100%!important;max-width:none!important;padding-bottom:72px!important}.topbar{color:#11110e!important;background:#fff3c6!important;border:0!important;border-bottom:1px solid #e7c759!important;border-radius:0!important;width:100%!important;min-height:60px!important;margin:0!important;padding:7px 9px!important;position:sticky!important;top:0!important}.header-brand{gap:7px!important}.header-logo{border:1px solid #d9a900!important;border-radius:9px!important;width:39px!important;height:39px!important}.topbar h1{color:#11110e!important;font-size:14px!important}.topbar .brand-kicker{color:#8d6900!important;font-size:5.8px!important;display:block!important}.presence-summary{color:#5d603d!important;font-size:6.5px!important}.presence-summary i{width:5px!important;height:5px!important}.account-chip{background:0 0!important;border:0!important;gap:5px!important;padding:0!important}.account-chip>span,.account-chip>div{display:none!important}.lang-toggle,.theme-toggle,.signout-btn{color:#f6cf4f!important;background:#11110e!important;border:0!important;border-radius:11px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}.signout-btn{font-size:0!important}.signout-btn:after{content:"↪";font-size:15px!important}.app-shell main{background:linear-gradient(#fff8dc 0%,#fff2be 100%)!important;border-radius:0!important;width:100%!important;min-height:calc(100dvh - 60px)!important;margin:0!important;overflow:visible!important}.content{gap:12px!important;padding:12px 13px 18px!important}.parent-mock-home{padding-top:14px!important}.parent-welcome{color:#11110e!important;justify-content:space-between!important;align-items:flex-start!important;padding:0 5px 4px!important;display:flex!important}.parent-welcome span{font-size:11px!important}.parent-welcome h2{margin:4px 0 0!important;font-size:18px!important;line-height:1.15!important}.home-online{text-align:right!important;color:#11110e!important;grid-template-columns:auto auto!important;align-items:center!important;gap:2px 4px!important;font-size:8px!important;font-weight:800!important;display:grid!important}.home-online i{background:#62b962;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #62b9621f}.home-online small{grid-column:1/3;color:#544f3b!important;font-size:6.5px!important;font-weight:600!important}.home-shortcuts{grid-template-columns:repeat(3,1fr)!important;gap:9px!important;margin-top:4px!important;display:grid!important}.home-shortcuts button{color:#11110e!important;background:#fff9e0c7!important;border:1px solid #eadca6!important;border-radius:16px!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:7px!important;min-height:88px!important;display:flex!important;position:relative!important;box-shadow:0 5px 16px #4a38000d!important}.home-shortcuts button>span{font-size:24px!important;line-height:1!important}.home-shortcuts button>b{font-size:8.5px!important}.home-shortcuts button>i{color:#11110e;background:#f6cf4f;border-radius:50%;place-items:center;width:19px;height:19px;font-size:8px;font-style:normal;font-weight:900;display:grid;position:absolute;top:8px;right:12px}.today-overview{margin-top:10px!important}.overview-head{color:#11110e;justify-content:space-between;align-items:center;padding:0 2px 7px;display:flex}.overview-head b{font-size:11px!important}.overview-head span{font-size:8px!important}.overview-child{text-align:left!important;color:#11110e!important;background:#fff9e0cc!important;border:1px solid #eadca6!important;border-radius:15px!important;justify-content:space-between!important;align-items:center!important;width:100%!important;padding:13px 12px!important;display:flex!important;box-shadow:0 5px 16px #4a38000a!important}.overview-child b,.overview-child span{display:block}.overview-child b{font-size:11px!important}.overview-child>div>span{margin-top:2px;color:#655f49!important;font-size:8px!important}.today-state{align-items:center!important;gap:5px!important;font-size:9px!important;font-weight:800!important;display:flex!important}.today-state.done{color:#308c45!important}.today-state span{color:inherit!important;margin:0!important;font-size:8px!important}.home-checkin{background:#fff8dc!important;margin-top:4px!important}.bottom-nav{width:100%!important;max-width:none!important;height:66px!important;padding:3px 4px max(3px,env(safe-area-inset-bottom))!important;z-index:60!important;background:#0c0c0b!important;border:0!important;border-top:1px solid #2e2b1f!important;border-radius:0!important;margin:0!important;display:grid!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;transform:none!important}.bottom-nav.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}.bottom-nav.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.bottom-nav button{color:#b8b294!important;border-radius:0!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;height:58px!important;min-height:58px!important;padding:5px 1px 3px!important;display:flex!important}.bottom-nav button.active{color:#f6cf4f!important;background:0 0!important;border-bottom:2px solid #f6cf4f!important}.bottom-nav button>span{color:inherit!important;font-size:17px!important}.bottom-nav small{color:inherit!important;font-size:6.7px!important}.bottom-nav i{top:3px!important;right:18%!important}.chat-active{background:#050505!important;padding-bottom:0!important}.chat-active>.topbar{display:none!important}.chat-active main{background:#080808!important;min-height:100dvh!important}.chat-active .bottom-nav{display:none!important}.chat-active .chat-page{padding:calc(env(safe-area-inset-top) + 10px) 10px calc(env(safe-area-inset-bottom) + 8px)!important;color:#fff!important;background:#080808!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:8px!important;height:100dvh!important;display:grid!important}.mock-chat-head{color:#fff!important;grid-template-columns:auto auto 1fr auto!important;align-items:center!important;gap:8px!important;height:52px!important;display:grid!important}.mock-back,.mock-call{color:#fff;background:0 0;border:0;place-items:center;width:34px;height:34px;font-size:24px;display:grid}.mock-peer-avatar{color:#111;background:#f0dfbd;border-radius:50%;place-items:center;width:38px;height:38px;font-size:10px;font-weight:900;display:grid}.mock-peer h2{color:#fff!important;margin:0!important;font-size:14px!important}.mock-peer span{align-items:center;gap:4px;margin-top:2px;display:flex;color:#9f9f91!important;font-size:7.5px!important}.mock-peer span i{background:#777;border-radius:50%;width:6px;height:6px}.mock-peer span.online{color:#68c86f!important}.mock-peer span.online i{background:#60c76b}.mock-call{font-size:18px!important}.chatbox{background:#080808!important;border:0!important;border-radius:0!important;gap:12px!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px 0 8px!important;overflow-y:auto!important}.message-wrap{max-width:78%!important}.message-meta{color:#8d8877!important;margin:0 5px 3px!important;font-size:6.7px!important}.bubble{border-radius:13px!important;padding:10px 12px!important;font-size:10.5px!important;line-height:1.42!important}.bubble.other{color:#15140f!important;background:#f4f4f1!important;border:0!important}.bubble.mine{color:#15140f!important;background:#f6d35c!important;border:0!important}.chat-input{z-index:1!important;background:0 0!important;border:0!important;border-radius:0!important;grid-template-columns:32px minmax(0,1fr) 42px!important;gap:7px!important;width:100%!important;margin:0!important;padding:0!important;display:grid!important;position:static!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important}.chat-input:before{content:"+";color:#f6cf4f;border:1px solid #766b3c;border-radius:50%;align-self:center;place-items:center;width:32px;height:32px;font-size:19px;display:grid}.chat-input input{color:#fff!important;background:#151513!important;border:1px solid #555144!important;border-radius:20px!important;grid-column:2!important;height:40px!important;padding:0 13px!important;font-size:11px!important}.chat-input input::placeholder{color:#aaa58f!important}.chat-input button{color:#111!important;background:#f6cf4f!important;border-radius:50%!important;grid-column:3!important;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important}.chat-input button:after{content:"➤"!important;font-size:17px!important}.auth-shell{background:#080808!important;align-items:stretch!important;padding:0!important;display:flex!important}.auth-card{max-width:none!important;min-height:100dvh!important;padding:calc(env(safe-area-inset-top) + 22px) 16px calc(env(safe-area-inset-bottom) + 18px)!important;background:linear-gradient(#fff4ca,#fff0b3)!important;border:0!important;border-radius:0!important;justify-content:center!important}.auth-logo{width:82px!important;height:82px!important;margin:0 auto 10px!important}.auth-brand h1{font-size:23px!important}.auth-brand p{font-size:9px!important}.backend-state{margin:2px auto 10px!important}.segmented{height:40px!important}.auth-card label{font-size:8px!important}.auth-card input,.auth-card select{height:42px!important;min-height:42px!important;font-size:11px!important}.remember-row{margin:8px 0 10px!important;font-size:8px!important}.auth-card .primary.full{height:43px!important;min-height:43px!important}.auth-card .security-note{padding:9px 10px!important;font-size:7.5px!important}.auth-card .security-note strong{font-size:7.5px!important}}@media (width<=700px){.chat-active .chat-input{grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important}.chat-active .chat-input:before{content:none!important;display:none!important}.chat-active .chat-input input{grid-column:1!important;height:44px!important}.chat-active .chat-input button,.chat-active .send-icon-btn{grid-column:2!important;place-items:center!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;font-size:0!important;line-height:1!important;display:grid!important;transform:none!important}.chat-active .chat-input button:after,.chat-active .send-icon-btn:after{content:"➤"!important;margin:0!important;font-size:18px!important;line-height:1!important;display:block!important;transform:translate(1px)!important}.chat-active .mock-back{visibility:visible!important;display:grid!important}.parent-mock-home .overview-child{cursor:pointer}.content,.card,.composer,.account-row,.page-title{overflow-wrap:anywhere!important;min-width:0!important;max-width:100%!important}.composer .comment-input{grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%!important;display:grid!important}.composer .comment-input input{width:100%!important;min-width:0!important}.composer .comment-input button{width:100%!important;min-width:0!important;height:44px!important}.account-main,.account-main .grow{min-width:0!important}.account-main .grow span{white-space:normal!important;overflow-wrap:anywhere!important}.account-actions{flex-wrap:wrap!important;gap:8px!important;display:flex!important}.account-actions button{flex:110px!important;min-width:0!important}.home-shortcuts button,.overview-child{touch-action:manipulation!important;pointer-events:auto!important;cursor:pointer!important}.home-checkin{scroll-margin-top:72px!important;display:block!important}.status-btn.selected{outline:2px solid #bc920e!important;box-shadow:0 0 0 3px #f6cf4f3d!important}.performance-title{align-items:flex-start!important;gap:9px!important;display:flex!important}.performance-title>div{min-width:0!important}.inline-back{color:#f6cf4f!important;background:#11110e!important;border:0!important;border-radius:11px!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;font-size:26px!important;line-height:1!important;display:grid!important}.bottom-nav.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}.chat-active footer{display:none!important}.chat-active .chat-page{min-height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}.chat-active .chatbox{min-height:0!important;overflow-y:auto!important}.chat-active .chat-input{visibility:visible!important;opacity:1!important;display:grid!important}.chat-active .mock-back{color:#fff!important;background:0 0!important}[data-theme=light] .chat-active .mock-chat-head,[data-theme=light] .chat-active .mock-peer h2,[data-theme=light] .chat-active .mock-back,[data-theme=light] .chat-active .mock-call{color:#fff!important}[data-theme=dark] .parent-welcome,[data-theme=dark] .parent-welcome h2,[data-theme=dark] .parent-welcome span,[data-theme=dark] .home-online{color:#fff5cc!important}[data-theme=dark] .home-online small{color:#c5b98d!important}[data-theme=dark] .home-shortcuts button,[data-theme=dark] .overview-child,[data-theme=dark] .home-checkin{color:#fff5cc!important;background:#1a1a15!important;border-color:#4d4326!important}[data-theme=dark] .overview-head,[data-theme=dark] .overview-head b,[data-theme=dark] .overview-head span{color:#fff5cc!important}[data-theme=dark] .overview-child>div>span{color:#c4b98e!important}[data-theme=dark] .profile-hero,[data-theme=dark] .profile-hero h2,[data-theme=dark] .profile-hero p,[data-theme=dark] .profile-hero .eyebrow{color:#fff5cc!important}[data-theme=dark] .achievement-rich,[data-theme=dark] .teacher-note-preview{color:#fff5cc!important;background:#1d1d17!important;border-color:#4c4329!important}[data-theme=dark] .achievement-rich b,[data-theme=dark] .achievement-rich small,[data-theme=dark] .achievement-rich span,[data-theme=dark] .teacher-note-preview b,[data-theme=dark] .teacher-note-preview p,[data-theme=dark] .teacher-note-preview span{color:#fff5cc!important}[data-theme=dark] .achievement-form input,[data-theme=dark] .achievement-form textarea{color:#fff5cc!important;background:#23221c!important;border-color:#4c4329!important}[data-theme=dark] .achievement-form input::placeholder,[data-theme=dark] .achievement-form textarea::placeholder{color:#b7ab83!important}}.rich-editor{border:1px solid var(--line,#e5c95e);background:var(--surface,#fff8df);border-radius:18px;overflow:hidden}.rich-toolbar{border-bottom:1px solid var(--line,#e5c95e);background:#f6c9331f;flex-wrap:wrap;gap:6px;padding:8px;display:flex}.rich-toolbar button{border:1px solid var(--line,#e5c95e);background:var(--card,#fff);min-width:38px;color:var(--text,#181712);font:inherit;cursor:pointer;border-radius:9px;padding:7px 9px}.rich-input{min-height:180px;color:var(--text,#181712);white-space:normal;background:0 0;outline:none;padding:14px;line-height:1.55}.rich-input:empty:before{content:attr(data-placeholder);color:var(--muted,#7a725b);pointer-events:none}.rich-content{text-align:left;overflow-wrap:anywhere;line-height:1.55}.rich-content p,.rich-input p{margin:.35em 0 .8em}.rich-content ul,.rich-content ol,.rich-input ul,.rich-input ol{margin:.5em 0 .9em;padding-left:1.45em}.rich-content li,.rich-input li{margin:.22em 0}.rich-content a,.rich-input a{color:inherit;text-decoration:underline}.rich-content u,.rich-input u{text-underline-offset:2px}.clamp-rich{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.feed-click .rich-content{color:inherit}[data-theme=dark] .rich-editor,[data-theme=dark] .rich-toolbar button{color:#fff4c7;background:#1b1b16}.rich-toolbar{z-index:2;align-items:center;position:sticky;top:0}.rich-toolbar button{justify-content:center;align-items:center;min-height:38px;font-weight:700;line-height:1;display:inline-flex}.rich-input{white-space:normal;word-break:break-word}.rich-input p,.rich-content p{white-space:normal}.rich-input blockquote,.rich-content blockquote{border-left:3px solid var(--accent,#f6c933);opacity:.95;margin:.65em 0;padding:.15em 0 .15em .9em}.rich-content strong,.rich-input strong{font-weight:800}.rich-content em,.rich-input em{font-style:italic}@media (width<=680px){.rich-toolbar{gap:5px}.rich-toolbar button{min-width:36px;padding:7px 8px;font-size:13px}.rich-input{min-height:160px}}@media (width<=520px){.app-shell:not(.chat-active)>.topbar{padding-top:calc(max(env(safe-area-inset-top), 22px) + 10px)!important;min-height:84px!important;padding-bottom:9px!important}.auth-card{padding-top:calc(max(env(safe-area-inset-top), 22px) + 20px)!important}.chat-active .chat-page{padding-top:calc(max(env(safe-area-inset-top), 12px) + 10px)!important}}
