.teacher-phone .phone-content{padding:17px 19px;scroll-behavior:smooth}.teacher-phone .phone-content h1{font-size:23px}.teacher-phone .phone-content .muted{font-size:11px}.mobile-steps{display:flex;gap:5px;margin:18px 0;color:#9aa59a;font-size:10px;align-items:center}.mobile-steps span{padding:6px 10px;background:#eef2e9;border-radius:20px}.mobile-steps span.current{background:#e0eee2;color:#167d67}.student-picker{background:white;border-radius:15px;padding:17px;margin-top:15px}.student-picker label{display:block;font-size:11px;color:#8b9c8c;margin-bottom:8px}.student-picker select{width:100%;min-width:0;font-size:13px;background:#fafcf8}.campus-notice{padding:25px 10px;text-align:center;color:#98a88f;font-size:12px;line-height:1.9}.face-find{width:100%;display:flex;align-items:center;gap:13px;padding:16px;background:#edf5e8;color:#3e7048;border:1px solid #d6e6ce;text-align:left;margin-top:17px}.face-find i{font-size:26px;font-style:normal}.face-find strong{font-size:14px;display:block}.face-find small{font-size:10px;display:block;color:#8a9f7e;margin-top:4px}.picker-divider{font-size:10px;color:#a9b4a1;text-align:center;margin:20px 0 15px;display:flex;align-items:center;gap:9px}.picker-divider:before,.picker-divider:after{content:'';height:1px;background:#e5ecdf;flex:1}.student-search{width:100%;font-size:12px;margin:12px 0}.student-choice{background:white;color:#2c5140;display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px 3px;border-bottom:1px solid #eff3ea;border-radius:0}.student-choice .avatar{width:36px;height:36px;font-size:21px}.student-choice strong{font-size:13px}.student-choice small{display:block;font-size:10px;color:#96a18c;margin-top:5px}.student-choice .choose-arrow{margin-left:auto;color:#a1b293}.student-summary{display:flex;gap:11px;align-items:center;border-radius:13px;background:white;padding:13px 15px;margin:15px 0}.student-summary .avatar{height:39px;width:39px;font-size:23px}.student-summary strong{font-size:14px}.student-summary small{display:block;font-size:10px;color:#8d9d88;margin-top:4px}.student-summary button{margin-left:auto;padding:5px;font-size:11px}.mobile-scan-start{text-align:center;padding:20px 12px 25px;background:white;border-radius:16px;border:1px solid #e2eadc;margin:15px 0}.scan-symbol{width:70px;height:70px;border-radius:20px;background:#eef5e6;color:#6e9561;font-size:44px;display:grid;place-items:center;margin:8px auto 17px}.mobile-scan-start h3{font-size:15px;margin-bottom:8px}.mobile-scan-start p{line-height:1.8;color:#93a086;font-size:11px;margin:0 0 17px}.mobile-scan-start button{width:85%;padding:14px;font-size:15px}.scan-result{border-radius:16px;overflow:hidden;background:white;margin:15px 0;border:1px solid #e0e9db}.result-heading{font-size:11px;color:#72945f;display:flex;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #edf1e8}.card-art-stage{height:173px;background:radial-gradient(ellipse at 50% 110%,#d9e7c5,#f2f6e9 70%);display:flex;align-items:center;justify-content:center;padding:16px}.mobile-card-art{height:142px;width:104px;border-radius:12px;border:2px solid #acc489;background:linear-gradient(140deg,#f9fcdd,#dbe9bb,#f4f7d8);box-shadow:0 9px 17px #3858201c;display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:10px;color:#5d783a;transform:rotate(-5deg)}.mobile-card-art.gold{border-color:#d2b769;background:linear-gradient(140deg,#fffae0,#ebd38a,#fff0be);color:#8e7337}.mobile-card-art i{font-size:39px;font-style:normal}.mobile-card-art strong{font-size:11px}.mobile-card-art small{font-size:8px;letter-spacing:1px}.result-body{padding:15px 16px}.result-body h3{font-size:16px}.card-data-row{display:flex;justify-content:space-between;gap:13px;font-size:11px;line-height:1.8;margin-top:9px}.card-data-row label{color:#9aa68f;flex-shrink:0}.card-data-row span{text-align:right;color:#58734c;word-break:break-all}.result-content{font-size:10px;line-height:1.8;color:#8e9d82;background:#f5f8f0;border-radius:7px;padding:10px;margin-top:12px}.mobile-submit{width:100%;font-size:15px;padding:14px;margin-top:4px}.mobile-secondary{display:flex;justify-content:center;gap:18px;margin:14px 0}.mobile-secondary button{font-size:11px;padding:7px;color:#84987a;background:none}.mobile-success{text-align:center;padding:21px 17px;background:#edf6e8;border-radius:15px;margin:18px 0;color:#3b734b}.mobile-success .tick{width:48px;height:48px;border-radius:50%;background:#d9ebd4;color:#498a50;font-size:27px;display:grid;place-items:center;margin:0 auto 13px}.mobile-success h3{font-size:17px;margin-bottom:9px}.mobile-success p{font-size:11px;color:#86a179;line-height:1.8}.mobile-success button{width:100%;margin-top:17px}.capture-dialog{width:370px!important;max-width:92vw!important;padding:23px!important}.capture-dialog h2{font-size:20px}.capture-view{height:230px;border-radius:15px;margin:19px 0;background:#edf2e7;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.capture-face{height:185px;width:145px;border:2px dashed #a5bc95;border-radius:50%;display:grid;place-items:center;font-size:91px}.capture-caption{position:absolute;bottom:12px;background:#ffffffc9;border-radius:20px;padding:5px 12px;font-size:10px;color:#869777}.capture-dialog select{width:100%;font-size:12px}.capture-dialog .dialogactions button{flex:1;font-size:13px}.capture-dialog .dialogactions{margin-top:19px}.face-match{padding:20px;text-align:center;background:#f0f6e9;border-radius:13px;margin-top:20px}.face-match .avatar{margin:0 auto 14px;width:65px;height:65px;font-size:40px}.face-match h3{font-size:19px;margin-bottom:7px}.face-match p{font-size:12px;color:#819674;line-height:1.9}.teacher-worklog{padding:14px 0;border-bottom:1px solid #e9eee3;font-size:12px;line-height:1.9}.teacher-worklog small{display:block;color:#93a087;font-size:10px}.teacher-guide .step{margin-top:18px}.teacher-guide{padding-top:60px}.teacher-guide h2{font-size:29px}.teacher-guide .notice{margin-top:24px}.teacher-phone .phone-bottom button.active{color:#167d67}.card-warning{background:#fbf0e4;color:#b18b57;padding:11px;border-radius:8px;font-size:11px;line-height:1.8;margin:12px 0}.student-picker .hint{font-size:10px}.face-error{background:#fff1e8;padding:17px;border-radius:12px;color:#a87f58;font-size:12px;line-height:1.9;margin-top:19px}
.mobile-stage:has(.teacher-phone){padding-top:18px;padding-bottom:18px}.teacher-phone{height:min(790px,calc(100vh - 110px));min-height:560px}.teacher-phone .phone-content{height:calc(100% - 97px);padding-bottom:90px}.teacher-phone .mobile-submit{position:absolute;bottom:69px;left:19px;width:calc(100% - 38px);z-index:3;box-shadow:0 -6px 20px #f6f8f5}.teacher-guide{padding-top:32px}
.teacher-phone .phone-content{padding-bottom:90px}.teacher-guide{padding-top:32px}
/* Class-first layout overrides */
.class-phone .phone-content{padding:0 12px 80px;background:#f4f7fa}.class-title{height:42px;display:flex;align-items:center;justify-content:space-between;margin:0 -12px 10px;padding:0 12px;background:#fafbfc;font-size:15px;color:#243b43}.class-title>*{flex:1}.class-title strong{flex:4;text-align:center}.mobile-back{background:none;color:#294850;padding:0;font-size:27px;text-align:left}.class-banner{background:linear-gradient(110deg,#147f77,#11a9a0);color:white;border-radius:10px;padding:17px 14px;display:flex;justify-content:space-between;align-items:center}.class-banner small{display:block;font-size:10px;opacity:.7;margin-bottom:6px}.class-banner strong{font-size:17px}.class-switch{background:none;color:#e5ffff;font-size:11px;padding:7px 0 7px 8px}.roster-heading{height:43px;display:flex;justify-content:space-between;align-items:center;background:white;margin:0 -12px 14px;padding:0 14px;font-size:13px}.roster-heading strong{height:43px;display:flex;align-items:center;border-bottom:2px solid #11a59e;padding:0 9px}.roster-heading span{font-size:10px;color:#9eafb5}.roster-search{display:flex;align-items:center;gap:8px;height:37px;padding-left:8px;background:#edf2f8;border-radius:7px;color:#819aa2;margin-bottom:21px}.roster-search input{border:0;background:none;min-width:0;width:100%;flex:1;font-size:10px;padding:0;outline:none}.face-search{background:none;color:#67838c;font-size:21px;padding:5px 8px}.class-roster{display:grid;grid-template-columns:repeat(4,1fr);gap:22px 4px}.pupil-cell{padding:0;background:none;color:#314d57;min-width:0}.pupil-avatar{height:55px;width:55px;border-radius:50%;background:#e7f1f7;outline:1px solid #cbdde7;border:3px solid #f9fcfd;display:grid;place-items:center;font-size:35px;flex-shrink:0;box-shadow:0 2px 4px #294f5620}.pupil-avatar.pink{background:#fbe7ed;outline-color:#edd6df}.pupil-cell .pupil-avatar{margin:auto}.pupil-cell strong{font-size:11px;display:block;margin-top:5px}.pupil-cell>span{font-size:8px;color:#a6b4bc;display:block;margin-top:4px;white-space:nowrap}.pupil-card-count{font-size:8px;color:#18a887;background:#e0f5eb;border-radius:10px;padding:2px 7px;display:table;margin:-3px auto 0;position:relative}.roster-tip{font-size:10px;color:#a3b4b6;text-align:center;line-height:1.9;margin:20px 0 4px}.roster-empty{grid-column:span 4;padding:40px 0;text-align:center;color:#a0afb7;font-size:12px}.pupil-hero{display:flex;align-items:center;gap:13px;padding:18px 14px;background:white;border-radius:12px;margin-top:12px}.pupil-hero .pupil-avatar{width:65px;height:65px;font-size:42px}.pupil-hero h2{font-size:21px;margin-bottom:7px}.pupil-hero p{font-size:11px;color:#7d969e;margin:0 0 6px}.pupil-hero small{font-size:9px;color:#a2b0b6}.pupil-numbers{display:flex;justify-content:space-around;text-align:center;background:white;border-radius:0 0 12px 12px;padding:16px 0;margin-top:1px}.pupil-numbers b{font-size:22px;color:#199c93;display:block}.pupil-numbers span{display:block;font-size:10px;color:#a3b2b4;margin-top:6px}.pupil-actions{display:flex;background:white;border-radius:12px;padding:15px 4px;margin:15px 0 22px;gap:5px}.pupil-action{flex:1;background:none;color:#3b575e;padding:0}.pupil-action i{display:grid;place-items:center;width:38px;height:38px;background:#e5f5ef;color:#229f91;border-radius:11px;font-style:normal;font-size:24px;margin:0 auto 8px}.pupil-action:nth-child(2) i{background:#faf2dc;color:#b99b51}.pupil-action:nth-child(3) i{background:#e9effa;color:#7d98c1}.pupil-action strong{font-weight:500;font-size:11px}.held-header{display:flex;justify-content:space-between;align-items:center;margin:0 3px 13px}.held-header h3{font-size:14px}.held-header span{font-size:10px;color:#a2b1b6}.held-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.held-card{padding:9px;background:white;color:#5a7778;border:1px solid #e6edeb;text-align:left;border-radius:10px}.held-art{height:103px;border-radius:7px;background:linear-gradient(140deg,#f3f8e7,#e0eccb);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#7c9654;position:relative}.held-art.gold{background:linear-gradient(140deg,#fff8e5,#eddda8);color:#a18b48}.held-art small{position:absolute;right:7px;top:7px;font-size:8px}.held-art i{font-size:33px;font-style:normal}.held-art b{font-size:9px}.held-caption{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-top:10px}.held-caption strong{font-size:10px;font-weight:500}.held-caption span{color:#20a89b}.class-phone .phone-bottom button{width:50%}.operation-student{padding:13px;background:white;border-radius:10px;font-size:13px}.operation-student span{font-size:10px;color:#9bafb2}.record-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 4px 17px}.record-heading h2{font-size:17px}.record-heading span{font-size:10px;color:#9fb0b5}.class-records{background:white;border-radius:12px;padding:0 14px}.class-record{display:flex;align-items:center;gap:11px;padding:18px 0;border-bottom:1px solid #edf2ef}.record-icon{width:38px;height:38px;border-radius:10px;background:#e6f5ee;color:#4ca696;display:grid;place-items:center;font-size:23px}.class-record strong{font-size:12px}.class-record strong span{font-size:10px;color:#8ead9d;font-weight:400}.class-record p{font-size:11px;color:#80999b;margin-top:7px}.class-record small{display:block;font-size:9px;color:#a9b9ba;margin-top:7px}.synth-demo-panel{padding:18px 13px;margin-top:16px;border-radius:12px;background:white;text-align:center}.synth-demo-panel h3{font-size:14px}.synth-demo-panel p{font-size:10px;color:#96a68c;line-height:1.9;margin:9px 0}.synth-mini-cards{display:flex;gap:7px;justify-content:center;margin-top:20px}.synth-mini-cards span{width:44px;height:57px;background:#edf4e2;border:1px solid #d8e6c8;border-radius:6px;font-size:24px;padding-top:7px}.synth-mini-cards small{font-size:8px;display:block;margin-top:3px;color:#8fa57b}.synth-demo-arrow{font-size:26px;color:#b1bd96;margin:7px}.synth-demo-panel .card-art-stage{background:none}.teacher-synth-glow{height:330px;background:radial-gradient(circle,#365b45,#15372e);border-radius:16px;margin-top:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;color:#e4d790}.teacher-synth-glow .mobile-card-art{animation:reveal .9s ease both;z-index:2}.teacher-synth-glow p{font-size:21px;margin:24px 0 8px;z-index:2}.teacher-synth-glow span{font-size:10px;color:#a9bea1;z-index:2}.glow-ring{position:absolute;width:240px;height:240px;border:1px solid #dcd58a66;border-radius:50%;box-shadow:0 0 50px #e0c56822;animation:spin 5s linear infinite}.glow-ring:before{content:'✦';color:#fff0ae;position:absolute;left:40px;top:0;font-size:24px}
.pupil-hero .pupil-info{flex:1;min-width:0}.pupil-hero .pupil-info small{display:block;line-height:1.7;overflow-wrap:anywhere}.pupil-switch{flex-shrink:0;align-self:center;background:#e8f6f1;color:#168e83;border:1px solid #d5ebe4;border-radius:7px;padding:8px 9px;font-size:10px;white-space:nowrap}.pupil-hero:has(.pupil-switch){gap:10px;padding-left:12px;padding-right:12px}.pupil-hero:has(.pupil-switch) .pupil-avatar{width:52px;height:52px;font-size:34px}
.verify-status{text-align:center;border-radius:15px;padding:22px 12px 19px;margin:15px 0 17px;color:white;border:3px solid transparent;box-shadow:0 7px 20px #145b4120}.verify-status.valid{background:#079447;border-color:#047b39}.verify-status.invalid{background:#df272f;border-color:#b91823;box-shadow:0 7px 20px #b9182322}.verify-status-symbol{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 10px;border:3px solid white;border-radius:50%;font-size:44px;font-weight:900;background:#ffffff15;line-height:1}.verify-status-kicker{font-size:11px;letter-spacing:3px;opacity:.85;margin-bottom:6px}.verify-status strong{font-size:36px;font-weight:900;letter-spacing:3px;display:block;line-height:1.3}.verify-status p{font-size:13px;font-weight:600;margin:10px 0 9px}.verify-status small{font-size:9px;opacity:.75}
.class-phone .phone-bottom button{width:33.333%;flex:1}.pupil-history-tabs{display:flex;gap:4px;padding:16px 0;margin-bottom:3px}.pupil-history-tabs button{flex:1;padding:9px 3px;font-size:10px;background:#eaf0f2;color:#8da1a7;border-radius:6px;white-space:nowrap}.pupil-history-tabs button.active{background:#159e94;color:white}.history-type{font-size:9px;border-radius:4px;background:#e7f6ef;color:#399784;padding:3px 5px;margin-right:5px}.verify-intro{padding:18px 12px;font-size:11px;color:#819b9d;line-height:1.9;text-align:center}.class-record small{line-height:1.9}
