:root{--purple:#7651aa;--purple-dark:#4c3472;--purple-light:#f0eafa;--mint:#e6f5ed;--yellow:#fff4cb;--text:#292435;--muted:#797184;--line:#e9e4ee;--paper:#faf9fc;--white:#fff;--danger:#a63f45;--shadow:0 8px 30px #37204e06;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:var(--text);background:var(--paper);font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.35;margin-bottom:12px;font-weight:700}h2{font-size:20px;line-height:1.5;margin-bottom:18px}h3{font-size:16px;line-height:1.5}p{line-height:1.7}small{font-size:12px}strong{font-weight:650}input,select{width:100%;min-height:46px;border:1px solid #ddd5e7;border-radius:10px;background:#fff;padding:11px 13px;color:var(--text);transition:border-color .15s}input:focus,select:focus{border-color:var(--purple);outline:2px solid #7651aa1a}input[type=file]{font-size:12px;padding:10px}input[type=radio]{width:auto;min-height:0}fieldset{border:0;margin:24px 0;padding:0}legend{font-size:13px;font-weight:600;margin-bottom:12px}hr{border:0;border-top:1px solid var(--line);margin:28px 0}.muted{color:var(--muted);font-size:13px}.eyebrow{display:block;font-size:10px;letter-spacing:2px;font-weight:700;color:#927bb0;margin-bottom:10px}.badge,.pill{display:inline-block;font-size:11px;padding:5px 10px;border-radius:6px;background:var(--purple-light);color:var(--purple-dark);white-space:nowrap}.pill.mint{background:var(--mint);color:#386650}.pill.yellow{background:var(--yellow);color:#8b6d20}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:11px;min-height:46px;font-size:14px;font-weight:650;padding:13px 20px;transition:background .15s,transform .15s}.btn:active:not(:disabled){transform:translateY(1px)}.btn.primary{background:var(--purple);color:#fff}.btn.primary:hover:not(:disabled){background:#664396}.btn.secondary{background:var(--purple-light);color:var(--purple-dark)}.btn.secondary:hover:not(:disabled){background:#e5d9f5}.btn.full{width:100%}.text-btn{border:0;background:transparent;color:var(--purple);padding:9px 4px;font-size:12px;font-weight:600}.text-btn:hover{text-decoration:underline}.skip{position:absolute;left:10px;top:-80px;background:#fff;z-index:30;padding:10px}.skip:focus{top:10px}.loading,.connection-error{max-width:560px;padding:70px 24px;margin:auto}.login-screen{display:grid;grid-template-columns:1.12fr 1fr;max-width:1220px;min-height:100svh;margin:auto;align-items:center;padding:64px;gap:100px}.login-story{padding-bottom:40px}.login-logo{width:180px;height:90px;object-fit:contain;object-position:left center;display:block;margin-bottom:52px}.login-story h1{font-size:46px;line-height:1.45;letter-spacing:-1.8px;margin:20px 0 22px}.login-story p{font-size:15px;color:var(--muted);line-height:1.95}.color-notes{display:flex;flex-wrap:wrap;gap:8px;margin-top:40px}.color-notes span{padding:9px 12px;font-size:11px;border-radius:7px;background:var(--purple-light);color:var(--purple-dark)}.color-notes span:nth-child(2){background:var(--mint);color:#436d57}.color-notes span:nth-child(3){background:var(--yellow);color:#8b6d20}.login-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:44px;box-shadow:var(--shadow)}.login-card h2{font-size:28px;margin:22px 0 10px}.login-card .field{margin:22px 0}.privacy-note{font-size:11px;color:#9a919f;border-top:1px solid var(--line);padding-top:22px;margin:28px 0 0;line-height:1.9}.field{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600;margin-bottom:20px}.field small{font-weight:400;color:var(--muted);line-height:1.6}.field input,.field select{font-weight:400}.form-error{color:var(--danger);font-size:13px;line-height:1.6}.form-error:empty{display:none}.shell{display:flex;min-height:100vh}.sidebar{width:228px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 20px}.brand{display:flex;align-items:center;gap:10px;padding:0 5px}.brand img{width:52px;height:48px;object-fit:contain}.brand>span{font-size:18px;font-weight:750;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:1.4px;color:#9b8aaa;margin-top:5px;font-weight:500}.role-chip{font-size:10px;letter-spacing:2px;color:#a091b0;margin:38px 14px 15px}.nav-item{display:flex;width:100%;align-items:center;gap:13px;border:0;border-radius:11px;background:none;font-size:13px;color:#82768c;text-align:left;min-height:47px;padding:10px 14px;margin:7px 0}.nav-item.active{background:var(--purple-light);color:var(--purple-dark);font-weight:650}.nav-item:hover{background:#f7f3fb}.nav-icon{font-size:18px;width:20px;text-align:center;color:#a897bd}.nav-item.active .nav-icon{color:var(--purple)}.sidebar-foot{margin-top:auto;padding:20px 14px 6px}.sidebar-foot p{font-size:11px;color:#aa9db5;margin-bottom:8px}.sidebar-foot small{font-size:9px;letter-spacing:1px;color:#c0b8c7}.leaf{width:30px;height:20px;display:block;background:var(--mint);border-radius:90% 5% 90% 5%;margin-bottom:12px}.workspace{width:calc(100% - 228px);margin-left:228px}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffffbf}.topbar .eyebrow{font-size:9px;margin:0 0 4px;letter-spacing:1.5px}.topbar strong{font-size:13px}.header-actions{display:flex;gap:20px}.environment{display:flex;align-items:center;gap:8px;background:#f7f1dd;color:#8a7953;padding:9px 40px;font-size:10px;min-height:34px;line-height:1.5}.status-dot{height:5px;width:5px;background:#bca676;border-radius:50%;flex-shrink:0}.sync-count{margin-left:auto}.workspace main{max-width:1440px;padding:36px 40px 50px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{margin-bottom:0;color:var(--muted);font-size:13px}.date-chip{font-size:12px;color:var(--purple);padding:12px 16px;background:var(--purple-light);border-radius:10px;white-space:nowrap}.two-column{display:grid;grid-template-columns:1.08fr 1fr;gap:24px;align-items:start}.panel{border:1px solid var(--line);border-radius:16px;background:#fff;padding:26px;box-shadow:var(--shadow);min-width:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-title h2{margin-bottom:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.form-grid .field{min-width:0}.form-grid.three .field{font-size:11px}.form-grid.three input{padding:11px 10px}.card-balances{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.card-balances>div{padding:18px 22px;border-radius:12px;background:var(--purple-light);display:flex;justify-content:space-between;align-items:center;color:var(--purple-dark)}.card-balances>div:nth-child(2){background:var(--mint);color:#3f6b52}.card-balances>div:nth-child(3){background:var(--yellow);color:#806923}.card-balances span{font-size:12px}.card-balances strong{font-size:24px}.card-balances strong small{font-weight:400;font-size:10px}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.student-card{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 8px;min-width:0}.student-card strong{font-size:13px}.student-card>span:last-child{font-size:10px;color:var(--muted)}.student-card.selected{border:2px solid var(--purple);padding:14px 7px;background:#f9f5ff}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#f0ebf6;color:var(--purple);font-size:10px;border-radius:50%}.student-card:nth-child(3n+2) .avatar{background:var(--mint);color:#5b856d}.student-card:nth-child(3n) .avatar{background:var(--yellow);color:#9d863d}.award-panel h2{font-size:25px;margin-bottom:7px}.point-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.point-options label,.reason-options label{cursor:pointer;position:relative}.point-options input,.reason-options input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.point-options label>span{display:flex;flex-direction:column;align-items:center;gap:8px;background:#faf8fd;border:1px solid var(--line);border-radius:11px;padding:17px 7px}.point-options strong{font-size:29px;color:#a090b6}.point-options small{font-size:10px;color:var(--muted)}.point-options input:checked+span{background:var(--purple-light);border:2px solid var(--purple);padding:16px 6px}.point-options input:checked+span strong{color:var(--purple)}.point-options input:focus-visible+span,.reason-options input:focus-visible+span{outline:2px solid var(--purple);outline-offset:3px}.reason-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.reason-options label>span{display:block;padding:11px 6px;text-align:center;border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted)}.reason-options input:checked+span{background:var(--mint);border-color:#b4d6c2;color:#406c55}.fine-print{font-size:10px;color:#a094ad;line-height:1.8;margin:14px 0 0}.notice{font-size:12px;padding:15px 17px;border:1px solid #eee0b3;background:#fff9e5;color:#806d37;border-radius:10px;line-height:1.8;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.notice p{margin:5px 0 0}.notice.danger{background:#fff1ed;border-color:#f4cfc4;color:#964b3f}.notice .btn{white-space:nowrap}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.list-row:first-child{padding-top:0}.list-row:last-child{border-bottom:0;padding-bottom:0}.list-row strong{font-size:13px}.list-row p{font-size:11px;color:var(--muted);margin:5px 0 0}.list-row small{font-size:10px;color:#9e94a8}.spaced{margin-top:24px}.class-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.class-grid article{border-left:3px solid #d8cae8;padding-left:15px}.class-grid h3{font-size:13px;margin:0 0 9px}.class-grid p{font-size:12px;color:var(--muted);margin:0}.calculation{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f8f5fc;padding:18px;border-radius:10px;margin-bottom:22px}.calculation>div{text-align:center}.calculation span{display:block;font-size:10px;color:#9685a5}.calculation b{display:block;font-size:24px;color:var(--purple);margin-top:8px}.claim-total{padding:0 0 16px;color:var(--purple);font-size:13px;font-weight:600;text-align:right}.claim-total.over{color:var(--danger)}.claim-record{border-bottom:1px solid var(--line);padding:18px 0}.claim-record:first-child{padding-top:0}.claim-record:last-child{border-bottom:0;padding-bottom:0}.claim-record .section-title{margin-bottom:10px}.claim-record strong{font-size:13px}.claim-record p{font-size:12px;margin:6px 0}.claim-record small{font-size:10px;color:var(--muted)}.claim-record .received{color:#528067;font-size:11px}.redeem-preview{margin:4px 0 20px;background:#f8f5fb;border-radius:12px;padding:18px}.mini-product{display:flex;align-items:center;gap:15px;padding-bottom:16px;border-bottom:1px solid #e5dced}.mini-product .gift-image{width:62px;height:62px;border-radius:9px;flex-shrink:0}.mini-product .placeholder span{font-size:21px}.mini-product .placeholder small{display:none}.mini-product strong{font-size:13px;display:block;line-height:1.6}.mini-product>div>span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.balance-equation{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:20px}.balance-equation div{text-align:center}.balance-equation span{display:block;font-size:10px;color:#a394b3}.balance-equation b{display:block;font-size:27px;color:var(--purple);margin-top:8px}.redeem-preview p{margin:14px 0 0;font-size:11px}.success-text{color:#4d8164}.mint-panel{background:#f2f9f5;border-color:#e0eee5}.mint-panel .list-row{border-color:#e0eae3}.yellow-panel{background:#fffae8;border-color:#f0e7c7}.points-plus,.points-minus{font-size:22px;color:var(--purple);font-weight:650;white-space:nowrap}.points-minus{font-size:18px;color:#b49765}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.stats>div{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);background:#fff;padding:22px;border-radius:12px}.stats span{font-size:12px;color:var(--muted)}.stats strong{font-size:26px;color:var(--purple)}.stats small{font-size:11px;font-weight:400;margin-left:5px}.gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.gift-card{overflow:hidden;border-radius:15px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);display:flex;flex-direction:column}.gift-image{width:100%;height:180px;object-fit:contain;background:#f7f5f9;padding:14px;display:block}.placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:#f1edf5}.placeholder span{font-size:34px;font-weight:300;color:#c6b6d8}.placeholder small{font-size:10px;color:#b6a8c4}.gift-content{padding:20px;display:flex;flex-direction:column;flex:1}.gift-content>.pill{align-self:flex-start;font-size:9px;padding:4px 7px;margin-bottom:10px}.gift-content h3{font-size:14px;margin:0 0 14px;min-height:42px}.gift-meta{display:flex;justify-content:space-between;align-items:center;margin:auto 0 18px;gap:5px}.gift-meta strong{font-size:25px;color:var(--purple)}.gift-meta small{font-size:10px;font-weight:400}.gift-meta>span{font-size:10px;color:var(--muted)}.gift-content>.btn{min-height:40px;padding:10px;font-size:11px}.claim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{font-size:10px;font-weight:500;color:#9a8fa5;text-align:left;padding:10px 14px;background:#faf8fc}td{padding:15px 14px;border-bottom:1px solid var(--line)}tr:last-child td{border:0}.student-hero{display:grid;grid-template-columns:1fr 1fr;gap:24px}.balance-card{border-radius:18px;padding:32px;background:var(--purple-light);display:flex;flex-direction:column;min-height:300px}.balance-card>span{font-size:14px;color:var(--purple-dark)}.balance-card>strong{font-size:84px;line-height:1.25;color:var(--purple-dark);font-weight:650;letter-spacing:-4px;margin:20px 0}.balance-card>strong small{font-size:15px;margin-left:14px;letter-spacing:0}.balance-card>div{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:14px}.balance-card>div>span{font-size:11px;color:#9983ad}.balance-card b{color:var(--purple);margin-left:7px}.balance-card .pill{background:#ffffff85!important}.target-card{border-radius:18px;padding:28px;background:var(--mint)}.target-card h2{margin-bottom:13px}.target-product{display:flex;align-items:center;gap:16px}.target-product .gift-image{width:65px;height:65px;padding:6px;border-radius:10px;background:#ffffff9c}.target-product .placeholder span{font-size:22px}.target-product .placeholder small{display:none}.target-product h3{font-size:13px;margin-bottom:4px}.target-product p{font-size:11px;margin:0;color:#668b74}.target-card progress{height:9px;appearance:none;border:0;width:100%;margin-top:24px;background:#c6e3d1;border-radius:5px;overflow:hidden}.target-card progress::-webkit-progress-bar{background:#c6e3d1}.target-card progress::-webkit-progress-value{background:#77b18f}.target-card progress::-moz-progress-bar{background:#77b18f}.target-card>p{font-size:12px;color:#557c64;margin:12px 0 0}.target-card .text-btn{color:#587f66}.target-card>.muted{line-height:1.9;margin:24px 0}.rules{padding-left:18px;font-size:12px;line-height:2.25;color:#8e7a4b}.mall-balance{background:var(--purple-light);border-radius:12px;padding:20px 24px;margin-bottom:28px;display:flex;gap:15px;align-items:center;font-size:13px;color:var(--purple-dark)}.mall-balance strong{font-size:29px}.mall-balance span{font-size:10px;color:#a08bb5;margin-left:auto}.empty{grid-column:1/-1;text-align:center;padding:38px 20px;color:#aa9eb6;font-size:12px;width:100%}.empty-mark{font-size:36px;color:#d9cfe2;font-weight:200}.empty p{margin:14px 0 0}.footer{text-align:center;padding:0 25px 27px;color:#b5a9bf;font-size:9px;letter-spacing:.4px}#toast{position:fixed;z-index:100;bottom:26px;left:50%;transform:translate(-50%,20px);max-width:min(600px,90vw);padding:14px 24px;background:var(--purple-dark);color:#fff;border-radius:12px;box-shadow:0 8px 30px #2b183426;font-size:13px;line-height:1.7;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#94444d}dialog{width:min(540px,calc(100vw - 30px));padding:26px;border:1px solid var(--line);border-radius:18px;max-height:90svh;color:var(--text)}dialog::backdrop{background:#24183266;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:flex-start;gap:15px;justify-content:space-between}.modal-head h2{font-size:18px}.modal-head .text-btn{padding:3px 5px}.modal-head .text-btn:hover{text-decoration:none}#upload-preview .gift-image{height:150px;border-radius:12px;margin:4px 0 18px}
@media(min-width:1500px){.gift-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.sidebar{width:196px;padding:26px 15px}.workspace{margin-left:196px;width:calc(100% - 196px)}.workspace main{padding:30px 26px}.topbar{padding:0 26px}.environment{padding:9px 26px}.two-column{gap:18px}.panel{padding:21px}.student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-balances>div{padding:16px}.gift-grid{gap:16px}.gift-content{padding:16px}.gift-image{height:155px}.gift-meta strong{font-size:22px}.gift-meta{flex-wrap:wrap}.class-grid{grid-template-columns:repeat(2,1fr)}.login-screen{gap:50px;padding:40px}.login-story h1{font-size:38px}.login-card{padding:32px}}
@media(max-width:850px){.sidebar{width:170px}.brand>span{font-size:16px}.brand img{width:40px}.brand small{font-size:6px}.nav-item{font-size:12px;padding:10px}.workspace{margin-left:170px;width:calc(100% - 170px)}.two-column{grid-template-columns:1fr}.student-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card-balances>div{flex-direction:column;align-items:flex-start;gap:8px}.gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.claim-grid{grid-template-columns:1fr}.student-hero{grid-template-columns:1fr}.balance-card{min-height:230px}.balance-card>strong{margin:10px 0;font-size:72px}.target-card{padding:24px}.stats>div{flex-direction:column;align-items:flex-start;gap:12px}.stats{gap:12px}.environment{flex-wrap:wrap}.login-screen{gap:35px;padding:35px}.login-story h1{font-size:32px}.login-card{padding:26px}}
@media(max-width:620px){:root{font-size:14px}.sidebar{position:fixed;inset:auto 0 0 0;width:100%;height:calc(67px + env(safe-area-inset-bottom));background:#fff;z-index:20;padding:4px 5px env(safe-area-inset-bottom);border:0;border-top:1px solid var(--line);flex-direction:row}.sidebar .brand,.role-chip,.sidebar-foot{display:none}.sidebar nav{display:flex;width:100%;justify-content:space-around;gap:2px}.nav-item{flex-direction:column;justify-content:center;gap:2px;font-size:9px;padding:6px 3px;width:auto;flex:1;margin:0;min-height:55px;border-radius:8px;white-space:nowrap}.nav-icon{font-size:20px;line-height:24px}.workspace{margin-left:0;width:100%;padding-bottom:calc(70px + env(safe-area-inset-bottom))}.topbar{height:66px;padding:0 20px;background:#fff}.topbar .eyebrow{font-size:8px}.topbar strong{font-size:12px}.header-actions{gap:16px}.environment{padding:8px 20px;font-size:9px;gap:6px}.sync-count{margin-left:11px}.workspace main{padding:27px 18px 32px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:22px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px;line-height:1.8}.eyebrow{font-size:9px;letter-spacing:1.5px}.date-chip{font-size:9px;padding:8px 10px;position:absolute;right:18px;margin-top:-6px}.panel{border-radius:13px;padding:20px}h2{font-size:18px}.card-balances{gap:9px;margin-bottom:20px}.card-balances>div{padding:13px 11px;gap:6px;border-radius:9px}.card-balances span{font-size:10px}.card-balances strong{font-size:24px}.card-balances small{font-size:9px!important}.two-column{gap:18px}.student-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.student-card{padding:13px 6px}.student-card.selected{padding:12px 5px}.student-card strong{font-size:12px}.student-card>span:last-child{font-size:9px}.avatar{width:34px;height:34px}.award-panel h2{font-size:24px}.field{font-size:12px;gap:8px;margin-bottom:17px}input,select{min-height:46px;font-size:14px;padding:10px}.form-grid{gap:12px}.form-grid.three{gap:8px}.form-grid.three .field{font-size:10px}.point-options{gap:9px}.reason-options{gap:9px}.reason-options label>span{font-size:12px}.btn{min-height:46px;font-size:13px}.fine-print{font-size:10px}.spaced{margin-top:18px}.class-grid{grid-template-columns:1fr}.gift-grid{gap:12px}.gift-image{height:142px;padding:10px}.gift-content{padding:13px}.gift-content h3{font-size:12px;margin-bottom:12px;min-height:40px}.gift-meta{gap:5px;margin-bottom:13px}.gift-meta strong{font-size:22px}.gift-meta small{font-size:9px}.gift-meta>span{font-size:9px}.gift-content>.btn{font-size:10px;min-height:38px;padding:9px 6px;border-radius:8px}.stats{gap:9px}.stats>div{padding:15px 11px;border-radius:10px;gap:10px}.stats span{font-size:10px}.stats strong{font-size:24px}.stats small{font-size:10px}.mall-balance{padding:15px 17px;flex-wrap:wrap;gap:10px;margin-bottom:20px}.mall-balance span{flex-basis:100%;margin-left:0;font-size:9px}.student-hero{gap:18px}.balance-card{padding:26px;border-radius:14px;min-height:226px}.balance-card>strong{font-size:74px}.target-card{border-radius:14px;padding:24px}.target-card h2{font-size:20px}.footer{font-size:8px;line-height:1.9;padding:0 24px 20px}.notice{font-size:11px;align-items:flex-start;flex-wrap:wrap}.notice.danger .btn{min-height:35px;font-size:11px}.list-row strong{font-size:12px}.list-row p{font-size:10px}.login-screen{display:flex;flex-direction:column;gap:25px;padding:28px 22px 38px;align-items:stretch;justify-content:center;min-height:100svh}.login-story{padding:0}.login-logo{height:54px;width:142px;margin-bottom:25px}.login-story>.eyebrow{font-size:8px}.login-story h1{font-size:31px;margin:12px 0 0;line-height:1.45}.login-story p,.color-notes{display:none}.login-card{padding:26px;border-radius:17px}.login-card h2{font-size:22px;margin:18px 0 8px}.login-card .muted{font-size:11px}.login-card .field{margin:18px 0}.privacy-note{font-size:10px;padding-top:18px;margin-top:22px}.badge{font-size:9px}.login-card .btn{font-size:13px}#toast{bottom:calc(85px + env(safe-area-inset-bottom));padding:12px 18px;font-size:12px;width:max-content;max-width:90vw}dialog{padding:22px}.empty{padding:30px 15px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.lesson-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.award-panel{scroll-margin-top:16px}

.award-note textarea{width:100%;min-height:100px;border:1px solid #ddd5e7;border-radius:10px;background:#fff;padding:11px 13px;color:var(--text);font:inherit;font-weight:400;line-height:1.6;resize:vertical}.award-note textarea:focus{border-color:var(--purple);outline:2px solid #7651aa1a;outline-offset:4px}

.growth-list .list-row>div{min-width:0;flex:1}.growth-list .list-row strong{overflow-wrap:anywhere;white-space:pre-wrap}.growth-list .points-plus{flex-shrink:0}

.class-and-lesson{grid-template-columns:1fr}.field .selected-class-name,.selected-class-name{display:block;min-width:0;max-width:100%;font-size:12px;line-height:1.65;font-weight:500;color:var(--purple-dark);white-space:normal;overflow-wrap:anywhere}.lesson-list .list-row>div:first-child{min-width:0;overflow-wrap:anywhere}.lesson-list .lesson-actions{flex-shrink:0}

.source-sync{border:1px solid #e0e9e3;border-radius:13px;background:#f5faf7;padding:18px 20px;margin-bottom:26px;font-size:12px;line-height:1.7}.source-sync-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.source-sync h2{font-size:15px;margin:0 0 5px}.source-sync-top p,.source-sync-note{margin:0;color:var(--muted);font-size:11px}.source-sync-badge{padding:4px 10px;border-radius:20px;font-size:11px;white-space:nowrap;background:var(--mint);color:#3f6b52}.source-sync-badge.attention{background:var(--yellow);color:#806923}.source-sync-badge.error{background:#fbe6e2;color:#964b3f}.source-sync-badge.waiting{background:var(--purple-light);color:var(--purple-dark)}.source-sync-times{display:flex;flex-wrap:wrap;gap:4px 22px;margin:10px 0 5px;color:#62596c;font-size:11px}.source-sync-details{margin-top:12px;border-top:1px solid #dfe9e2;padding-top:10px}.source-sync-details summary{cursor:pointer;color:var(--purple-dark);font-weight:600}.source-sync-details summary:focus-visible{outline:2px solid var(--purple);outline-offset:4px}.source-sync-details ul{padding:0;list-style:none;margin:12px 0 0;max-height:360px;overflow:auto}.source-sync-details li{border-top:1px solid #e3ebe6;padding:10px 0;overflow-wrap:anywhere;white-space:pre-wrap}.source-sync-details li:first-child{border-top:0;padding-top:0}.source-sync-details strong{font-size:12px}.source-sync-details p{font-size:11px;margin:4px 0 0;color:#71647c}
