:root{--ink: #3c1b1d;--muted: #8e7a7b;--primary: #c9434c;--brand: #ed6063;--dark: #612e36;--brand-soft: #fff0f0;--line: #ece7e7;--bg: #f8f6f6;--red: #b85850;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .16s,box-shadow .16s,transform .16s}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible{outline:3px solid #bd7579;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #7b232715}input,select,textarea{border:1px solid #e4dcdc;border-radius:8px;padding:12px 14px;background:#fff;color:var(--ink);min-width:0}input::placeholder,textarea::placeholder{color:#ad9c9d}textarea{min-height:96px;resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.35;letter-spacing:-.8px;margin-bottom:10px}h2{font-size:18px;letter-spacing:-.3px;margin-bottom:8px}h3{font-size:20px}p{line-height:1.8}small{font-size:12px}button svg{vertical-align:middle}strong{font-weight:600}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;margin-bottom:12px}.brand-accent{color:var(--primary)}.primary,.secondary,.danger,.light-button{border:0;border-radius:8px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:500;white-space:nowrap;min-height:44px}.primary{background:var(--primary);color:#fff;box-shadow:0 3px 7px #7b232712}.primary:hover{background:#58282a}.secondary{background:#fff;color:var(--ink);border:1px solid #e5dcdc}.secondary:hover{background:#f8f4f4}.danger{background:var(--red);color:#fff}.light-button{background:#edd5d6;color:var(--dark);padding:13px 20px}.text-button{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:7px 0;color:var(--primary);font-size:13px}.text-button:hover{color:var(--dark);text-decoration:underline}.text-button tc-icon{width:16px;height:16px}.wide{width:100%}.danger-text{color:var(--red)!important}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:650;letter-spacing:-.8px;text-decoration:none;cursor:pointer}.brand small{display:block;font-weight:400;font-size:11px;letter-spacing:1px;margin-top:6px;color:#b39e9f}.brand-mark{background:#e7c2c4;color:var(--dark);display:inline-flex;align-items:center;justify-content:center;font-size:28px;line-height:1;width:41px;height:43px;border-radius:12px;font-weight:800;flex:none}.workspace{display:flex;min-height:100vh}.sidebar{width:236px;padding:32px 18px 20px;background:linear-gradient(180deg,#fff 0% 65%,#fff9f8);color:#40383b;border-right:1px solid #eee5e5;box-shadow:4px 0 24px #68323c04;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;overflow-y:auto;z-index:20}.sidebar .brand{margin:0 5px;gap:10px;font-size:20px;color:#463035;letter-spacing:-.7px}.sidebar .brand-mark{width:43px;height:43px;padding:2px}.sidebar .brand small{color:#9b898d;font-size:10px;letter-spacing:1.2px;margin-top:7px}.workspace-label{font-size:10px;font-weight:600;color:#b09da1;margin:42px 14px 15px;letter-spacing:2.5px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav button{position:relative;border:1px solid transparent;background:transparent;color:#82767a;display:flex;gap:13px;align-items:center;min-height:49px;padding:13px 14px;text-align:left;border-radius:12px;font-size:13px;font-weight:500;transition:background .18s,color .18s,border-color .18s}.sidebar nav button tc-icon{width:19px;height:19px;flex-shrink:0}.sidebar nav button:hover{background:#faf5f4;color:#a44750}.sidebar nav button.active{background:linear-gradient(100deg,#fff0ef,#fff6f4);color:#c9434c;border-color:#f9dedd;box-shadow:0 3px 8px #c9434c06;font-weight:650}.sidebar nav button.active:before{content:"";position:absolute;left:-1px;top:15px;bottom:15px;width:3px;border-radius:0 3px 3px 0;background:#ed6063}.nav-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#ed6063;box-shadow:0 0 0 3px #ffe1df}.sidebar-bottom{margin-top:auto;padding-top:32px}.semester-note{display:flex;align-items:flex-start;gap:9px;padding:15px 10px 19px;color:#9b8187}.semester-note>tc-icon{width:17px;height:17px;flex-shrink:0;margin-top:1px}.semester-note p{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.semester-note small{display:block;color:#b6a3a7;font-size:10px;margin-top:4px}.profile{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #eee2e1;border-radius:14px;color:#60484e;background:#fff;text-align:left;padding:12px 10px;box-shadow:0 4px 15px #692a3705}.profile:hover{background:#fff6f5;border-color:#efc9c9}.avatar{background:linear-gradient(145deg,#fce3e0,#f5cecf);width:36px;height:36px;border:2px solid white;border-radius:12px;display:grid;place-items:center;color:#bf515c;flex-shrink:0;font-size:14px;font-weight:600}.profile>span:not(.avatar){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.profile small{display:block;color:#ae969d;margin-top:5px;font-size:10px}.profile tc-icon{margin-left:auto;color:#b49ba2;width:15px;flex-shrink:0}.main-shell{margin-left:236px;width:calc(100% - 236px)}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fffc}.breadcrumb{color:#9c8c8d;font-size:13px;display:flex;gap:18px}.breadcrumb strong{color:#68494b;font-weight:400}.topbar-right{display:flex;align-items:center;gap:10px;color:#9b8889;font-size:12px}.topbar-logout{white-space:nowrap;min-height:36px}.topbar-right tc-icon{width:16px;height:16px}.teacher-badge{margin-left:15px;padding:6px 10px;background:#f3eaea;border:1px solid #ebdedf;border-radius:5px;color:#7c585a;font-size:11px}.content{padding:34px 40px 0;max-width:1660px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{margin:0;font-size:13px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.8px}.class-switch{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 18px;margin-bottom:22px}.class-switch-icon{width:33px;height:33px;display:grid;place-items:center;background:var(--brand-soft);color:var(--primary);border-radius:7px}.class-switch select{border:0;box-shadow:none;font-weight:600;padding:5px 30px 5px 0;max-width:55%}.term-chip{font-size:11px;color:#9a8889;border-left:1px solid #e7e1e1;padding-left:15px}.class-count{margin-left:auto;font-size:12px;color:#988485}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px 23px}.metric>div{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#886d6e;margin-bottom:14px}.metric>div tc-icon{width:18px;height:18px;color:#a98b8c}.metric>strong{display:block;font-size:33px;letter-spacing:-1px;font-weight:600;margin-bottom:12px;font-variant-numeric:tabular-nums}.metric>strong small{font-size:12px;color:#9f8d8e;font-weight:400;margin-left:7px;letter-spacing:0}.metric>span{font-size:11px;color:#a09293}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:none}.green-dot,.PRESENT.dot{background:#237b72}.LATE.dot{background:#dcac5a}.ABSENT.dot{background:#d17e77}.LEAVE.dot{background:#aebcc8}.PENDING.dot{background:#dfd5d6}.card{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:24px}.overview-grid{display:grid;grid-template-columns:1.32fr 1fr;gap:24px;margin-bottom:24px}.overview-grid .card{margin:0}.start-panel{background:#f0e6e7;border:1px solid #e8dbdc;border-radius:11px;padding:30px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden}.start-panel .eyebrow{font-size:10px;color:#87686a;letter-spacing:1.6px}.start-panel h2{font-size:22px;line-height:1.5;margin:10px 0;color:#4b2527}.start-panel p{color:#907273;font-size:12px;margin:0 0 22px}.attendance-art{position:relative;display:grid;place-items:center;width:165px;height:185px;margin-right:5px;flex:none}.art-ring{position:absolute;width:155px;height:155px;border:1px solid #d8c5c6;border-radius:50%;box-shadow:0 0 0 20px #eadcdd66,0 0 0 40px #eadcdd44}.art-card{transform:rotate(-7deg);width:117px;height:143px;background:#fcf9f9;box-shadow:0 12px 22px #69474914;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.art-card tc-icon{padding:10px;width:49px;height:49px;background:#eededf;border-radius:50%;color:#804b4e;margin-bottom:14px}.art-card b{font-size:12px}.art-card span{font-size:7px;letter-spacing:1px;margin-top:8px;color:#af9a9b}.spark{position:absolute;font-style:normal;color:#a88284;font-size:20px}.spark-one{top:6px;right:4px}.spark-two{bottom:7px;left:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 25px 19px}.section-heading h2{font-size:16px;margin:0}.section-heading p{font-size:12px;margin:7px 0 0}.section-heading>span{font-size:11px}.distribution-body{display:flex;align-items:center;justify-content:center;gap:34px;padding:4px 20px 28px}.donut{width:135px;height:135px;border-radius:50%;padding:15px;flex:none;transform:rotate(-90deg)}.donut>div{background:#fff;border-radius:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(90deg)}.donut strong{font-size:24px;letter-spacing:-1px}.donut span{font-size:11px;color:#ac9a9b;margin-top:5px}.legend{min-width:104px;display:flex;flex-direction:column;gap:16px}.legend>div{display:flex;align-items:center;gap:8px;font-size:12px}.legend span{color:#947b7c}.legend strong{margin-left:auto;font-size:13px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{background:#faf8f8;color:#9d8a8b;font-size:11px;font-weight:400;padding:13px 25px;border-top:1px solid #f0eded;border-bottom:1px solid #f0eded}td{font-size:12px;padding:19px 25px;border-bottom:1px solid #f3f0f0;color:#7b6162}td strong{color:#553133;font-size:13px}td small{display:block;color:#aa9a9b;font-size:10px;margin-top:6px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfbfb}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:5px;font-size:11px;white-space:nowrap}.badge.PRESENT,.badge.FINISHED{background:#edf5f0;color:#55836f}.badge.LATE{background:#fcf4e6;color:#b18a40}.badge.ABSENT{background:#faece9;color:#ba746c}.badge.LEAVE{background:#edf1f7;color:#7d92ac}.badge.PENDING,.badge.VOID{background:#f3f0f0;color:#a59899}.badge.RUNNING{background:#f4e5e6;color:#8d2c31}.rate-number{color:#754b4d}.page-footer{display:flex;justify-content:space-between;color:#b1a3a4;font-size:10px;padding:5px 0 24px}.count-badge{font-size:11px;color:#917b7c;background:#f4f0f0;padding:3px 7px;border-radius:5px;margin-left:6px}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:26px}.course-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:22px;text-align:left;color:var(--ink)}.course-card.selected{border-color:#a97275;box-shadow:0 0 0 1px #a9727522}.course-card>div{display:flex;align-items:center;justify-content:space-between;font-size:11px}.course-symbol{display:grid;place-items:center;width:39px;height:39px;background:#f4eded;border-radius:8px;color:var(--primary)}.course-card h2{font-size:18px;margin:21px 0 9px}.course-card p{font-size:12px;color:#958081}.course-card footer{border-top:1px solid #f1eded;padding-top:15px;display:flex;align-items:center;justify-content:space-between;color:#9c8b8c;font-size:11px}.add-course{display:flex;align-items:center;justify-content:center;gap:10px;border:1px dashed #d8c5c6;color:#946c6e;background:transparent;min-height:125px}.actions{display:flex;gap:10px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 25px 19px}.search-input{display:flex;align-items:center;position:relative;max-width:260px}.search-input tc-icon{position:absolute;left:12px;color:#a99a9b;width:16px}.search-input input{font-size:12px;padding:10px 12px 10px 37px;width:100%;background:#fcfafa}.student-cell{display:flex;align-items:center;gap:11px}.mini-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f3eded;color:#a18687;font-size:10px}.toggle{border:0;width:32px;height:19px;border-radius:20px;background:#e4dcdc;position:relative;vertical-align:middle}.toggle i{position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:left .2s}.toggle.on{background:#924a4e}.toggle.on i{left:16px}.tabs{display:flex;gap:23px;padding:0 25px;border-bottom:1px solid var(--line);overflow:auto}.tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 16px;color:#9b8c8d;white-space:nowrap;font-size:12px}.tabs button.selected{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.tabs span{background:#f5f1f1;border-radius:5px;padding:2px 5px;margin-left:5px;font-size:10px}.detail-toolbar{display:flex;align-items:center;gap:18px;margin-bottom:16px}.live-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px}.qr-panel{text-align:center;padding:26px}.qr-panel h2{font-size:20px;margin-top:7px}.qr-panel>p{font-size:12px;margin-bottom:10px}.qr-frame{border:1px solid #eee4e4;border-radius:13px;padding:8px;width:210px;height:210px;margin:19px auto 13px;box-shadow:0 3px 20px #51252708}.qr-frame img{width:100%;height:100%;display:block}.qr-placeholder{height:100%;display:grid;place-items:center;font-size:14px;color:#91797a;background:#f7f4f4}.qr-hint{color:#a18082;font-size:11px!important}.qr-hint .dot{width:5px;height:5px;margin-right:5px}.qr-panel .secondary{font-size:12px;padding:8px 16px;min-height:36px}.session-date{margin-top:18px;margin-bottom:0!important}.progress-panel{padding:5px 5px 22px}.live-pill{font-size:11px;color:#9c6b6d;display:flex;align-items:center;gap:7px}.live-number{display:flex;align-items:center;gap:12px;padding:20px 27px}.live-number>strong{font-size:66px;font-weight:500;letter-spacing:-3px}.live-number>span{font-size:24px;color:#a99798}.live-number small{display:block;font-size:11px;margin-top:7px;color:#ad9a9b}.countdown{margin-left:auto;text-align:right}.countdown span{display:block;font-size:11px;color:#a08e8f;margin-bottom:7px}.countdown strong{font-size:28px;font-variant-numeric:tabular-nums;font-weight:500}.progress-track{height:7px;border-radius:7px;background:#f3eded;overflow:hidden;margin:5px 27px}.progress-track>span{display:block;height:100%;border-radius:7px;background:var(--primary);transition:width .4s}.progress-label{display:flex;justify-content:space-between;padding:8px 27px;font-size:11px;color:#a59192}.progress-label strong{color:var(--primary)}.live-counts{display:grid;grid-template-columns:repeat(5,1fr);margin:24px 27px;border-top:1px solid #f2eded;border-bottom:1px solid #f2eded;padding:23px 0}.live-counts>div{display:flex;flex-direction:column;align-items:center;gap:9px;border-right:1px solid #f2eded}.live-counts>div:last-child{border:0}.live-counts strong{font-size:22px;font-weight:500}.live-counts span{font-size:11px;color:#9d8b8c}.live-counts .dot{width:5px;height:5px}.live-bottom{padding:0 27px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.live-bottom p{font-size:11px;max-width:230px;margin:0}.finished-mark{width:110px;height:110px;background:#f4eaeb;border-radius:50%;display:grid;place-items:center;margin:38px auto;color:#996b6d}.finished-mark tc-icon{width:46px;height:46px}.report-filters{padding:20px;display:flex;align-items:flex-end;gap:14px}.report-filters label{margin:0;flex:1;font-size:11px;color:#958182}.report-filters input{font-size:12px;width:100%;margin-top:7px;padding:10px}.report-filters button{font-size:12px;min-height:40px;padding:10px 14px}.trend-bars{height:210px;display:flex;gap:15px;padding:15px 30px 25px;align-items:stretch}.trend-bars>button{flex:1;max-width:110px;border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:11px;color:#a08384}.trend-bars>button>div{height:130px;width:28px;background:#f5efef;border-radius:5px;position:relative}.trend-bars i{position:absolute;bottom:0;left:0;right:0;background:#a57577;border-radius:5px}.trend-bars button:hover i{background:#7b2327}.trend-bars small{font-size:10px;color:#a99899}.table-note{border-top:1px solid #f1eded;padding:16px 25px;font-size:11px;color:#9f8e8f}.export-row{display:flex;align-items:center;gap:16px;border-top:1px solid #f2efef;padding:18px 25px}.export-row>tc-icon{color:#a37f81}.export-row>div{flex:1}.export-row strong{font-size:12px}.export-row small{display:block;font-size:10px;color:#a39293;margin-top:6px}.export-row>span{font-size:11px}.empty{padding:70px;text-align:center}.empty>tc-icon{width:40px;height:40px;color:#af8b8d;margin-bottom:18px}.empty h2{font-size:22px}.empty p{color:#aa9798}.empty-cell{text-align:center;padding:40px!important;font-size:13px;color:#aa9899}.error-banner{display:flex;align-items:center;justify-content:space-between;background:#fff0ec;color:#a4564b;border:1px solid #f0d4cd;border-radius:8px;margin-bottom:20px;padding:12px 16px;font-size:13px}.error-banner button{border:0;background:none;color:inherit}.loading-bar{font-size:12px;color:#976a6c;margin:0 0 12px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%);z-index:100;background:#3d1b1d;color:#fff;box-shadow:0 8px 25px #0002;border-radius:9px;padding:15px 22px;display:flex;align-items:center;gap:10px;max-width:90vw;font-size:14px}.modal-backdrop{position:fixed;inset:0;background:#37181a88;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:80;padding:24px}.modal{position:relative;background:#fff;border-radius:17px;padding:36px;width:470px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 25px 90px #30161729}.modal h2{font-size:23px;margin:12px 0}.modal>p{font-size:13px}.modal-close{position:absolute;top:15px;right:15px;background:#f7f4f4;border:0;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:#9d8c8d}.modal-close tc-icon{width:16px;height:16px}.modal-icon{background:var(--brand-soft);border-radius:11px;display:inline-flex;padding:13px;color:var(--primary)}form label,label{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;font-size:13px;color:#796162}form{margin-top:23px}.form-row{display:flex;gap:14px}.form-row label{width:50%}.info-note,.credential-box{background:#f6f0f0;border:1px solid #eee5e5;border-radius:8px;padding:13px;color:#957d7e;font-size:12px;line-height:1.8;margin-bottom:22px}.credential-box{color:#6e4143}.credential-box p{margin:8px 0}.credential-box code{font-size:13px;-webkit-user-select:all;user-select:all}.inline-error{background:#fff1ed;color:#af6554;padding:12px;border-radius:7px;font-size:12px;margin:15px 0 0}.join-qr{display:block;width:260px;height:260px;margin:20px auto}.project-modal{width:740px;text-align:center;padding:30px}.project-modal h2{font-size:30px}.project-qr{width:min(45vh,400px);height:min(45vh,400px);margin:20px auto}.project-qr img{width:100%;height:100%}.project-meta{display:flex;justify-content:center;gap:55px;margin-bottom:17px;color:#a69798}.project-meta strong{font-size:23px;color:#5e3032;margin-left:10px}.project-modal h3{font-size:20px}.student-detail-list>div{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.student-detail-list small{display:block;font-size:11px;margin-top:7px;color:#a49293}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:var(--dark);color:#f8f1f1;display:flex;flex-direction:column;padding:48px 64px;position:relative;overflow:hidden}.login-story .brand{font-size:24px}.story-copy{margin:auto 0;padding:60px 0;position:relative;z-index:1}.story-copy .eyebrow{color:#b58c8e;font-size:10px}.story-copy h1{font-size:48px;line-height:1.55;font-weight:500;letter-spacing:0;margin:26px 0}.story-copy p{color:#b29495;font-size:15px;line-height:2.1}.login-story footer{color:#9b7476;letter-spacing:2px;font-size:10px}.story-lines{margin-top:65px;position:relative;height:130px;display:flex;gap:16px;align-items:flex-end}.story-lines>span{display:block;background:#a4767820;border:1px solid #b386882b;border-radius:9px 9px 0 0;width:56px;height:65%}.story-lines>span:nth-child(2){height:100%;background:#a4767850}.story-lines>span:nth-child(3){height:83%}.story-lines>span:nth-child(4){height:115%;background:#a4767830}.story-lines>i{font-style:normal;color:#a58284;letter-spacing:3px;writing-mode:vertical-rl;font-size:10px;margin-left:25px}.login-form{display:flex;align-items:center;justify-content:center;background:#fdfbfb;padding:50px;position:relative}.login-inner{max-width:365px;width:100%}.login-inner h2{font-size:31px;margin:18px 0 10px}.login-inner>.muted{font-size:14px;margin-bottom:36px}.login-inner label{font-size:13px;margin-bottom:23px;gap:12px}.login-inner input{padding:15px 16px}.login-inner .primary{margin-top:10px;padding:15px}.login-inner .primary tc-icon{margin-left:auto}.login-note{display:flex;gap:8px;align-items:flex-start;color:#ac9a9b;font-size:11px;margin-top:25px;line-height:1.7}.login-note tc-icon{width:14px;height:17px}.login-bottom{position:absolute;bottom:39px;color:#b2a4a5;font-size:11px}.boot{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#967678}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.content{padding:40px 48px 0}.start-panel{padding:35px}.metric{padding:25px}.overview-grid{grid-template-columns:1.4fr 1fr}}@media(max-width:1200px){.sidebar{width:210px;padding:26px 14px}.sidebar .brand{font-size:19px}.main-shell{margin-left:210px;width:calc(100% - 210px)}.content{padding:28px 25px 0}.topbar{padding:0 25px}.metrics{gap:12px}.metric{padding:18px}.overview-grid{grid-template-columns:1fr}.distribution-body{justify-content:flex-start;gap:60px}.distribution{display:flex;align-items:center}.distribution .section-heading{flex:1}.start-panel{padding:30px}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-grid{grid-template-columns:300px minmax(0,1fr);gap:18px}.live-bottom{flex-direction:column;align-items:flex-start}.report-filters{flex-wrap:wrap}.report-filters label{min-width:140px}.class-switch select{max-width:65%}.term-chip{display:none}}@media(max-width:900px){.sidebar{width:76px;padding:26px 12px}.sidebar .brand>span:last-child,.workspace-label,.sidebar nav span,.sidebar-bottom .semester-note,.profile>span:not(.avatar),.profile tc-icon,.nav-dot{display:none}.sidebar .brand{margin:0;justify-content:center}.sidebar nav{margin-top:45px}.sidebar nav button{justify-content:center;padding:14px}.sidebar-bottom .profile{justify-content:center;padding:9px 0;border-radius:12px}.main-shell{margin-left:76px;width:calc(100% - 76px)}.live-grid{grid-template-columns:1fr}.qr-panel{display:flex;flex-direction:column;align-items:center}.topbar-right>span:not(.teacher-badge){display:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.live-bottom{flex-direction:row}.login-story{padding:35px}.story-copy h1{font-size:35px}.login-form{padding:30px}}@media(max-width:600px){.sidebar{width:62px;padding:20px 6px}.brand-mark{width:35px;height:37px;font-size:25px}.main-shell{margin-left:62px;width:calc(100% - 62px)}.content{padding:22px 14px 0}.topbar{height:60px;padding:0 14px}.breadcrumb{font-size:11px;gap:10px}.topbar-right{display:flex}.topbar-right>tc-icon,.topbar-right>span{display:none}.page-heading{flex-wrap:wrap;gap:15px}h1{font-size:25px}.page-heading .primary{width:100%;font-size:13px}.page-heading p{font-size:12px}.eyebrow{font-size:9px!important}.class-switch{padding:9px;gap:7px}.class-switch select{font-size:12px;max-width:calc(100% - 40px);padding-right:0}.class-count{display:none}.metric{padding:15px 12px}.metric>strong{font-size:27px}.metric>div{font-size:11px}.metric>span{font-size:10px}.metric>div tc-icon{display:none}.metrics{gap:10px}.start-panel{padding:23px}.start-panel h2{font-size:19px}.attendance-art{display:none}.distribution{display:block}.distribution-body{justify-content:center;gap:25px}.section-heading{padding:20px 16px;flex-wrap:wrap}.section-heading .actions{flex-wrap:wrap}.section-heading h2{font-size:15px}.section-heading .muted{font-size:10px}.course-grid{grid-template-columns:1fr}.table-toolbar{padding:0 16px 15px;gap:10px;flex-wrap:wrap}.search-input{width:100%;max-width:none}.tabs{gap:18px;padding:0 16px}th,td{padding-left:16px;padding-right:16px}.progress-panel .section-heading,.live-number{padding:20px}.live-number>strong{font-size:50px}.live-counts{margin:20px 15px}.live-bottom{padding:0 20px}.live-number .countdown strong{font-size:23px}.page-footer{display:block;line-height:2}.page-footer>span:last-child{display:none}.modal-backdrop{padding:14px}.modal{padding:28px 23px}.project-qr{width:100%;height:auto;aspect-ratio:1}.project-meta{gap:20px;font-size:12px}.project-meta strong{font-size:18px}.login-page{display:block}.login-story{min-height:220px;padding:28px}.story-copy{padding:18px 0 0}.story-copy h1{font-size:25px;line-height:1.4;margin:12px 0}.story-copy h1 br{display:none}.story-copy .eyebrow,.story-copy p,.story-lines,.login-story footer{display:none}.login-form{min-height:calc(100vh - 220px);padding:35px 30px 85px;align-items:flex-start}.login-inner h2{font-size:25px}.login-bottom{bottom:25px}.export-row{padding:15px;gap:10px}.report-filters label{min-width:100%}.empty{padding:45px 20px}.error-banner{font-size:12px}.trend-bars{gap:5px;padding:15px}.trend-bars>button>div{width:15px}.trend-bars>button{font-size:9px}.trend-bars small{font-size:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.auth-switch{display:flex;align-items:center;justify-content:center;gap:10px;color:#998182;font-size:13px;margin-top:20px}.code-row{display:flex;align-items:flex-end;gap:12px}.code-row label{flex:1;min-width:0}.code-row>button{margin-bottom:23px;min-width:110px;height:49px;padding:10px 12px;font-size:12px}.register-page .login-form{padding-top:38px;padding-bottom:70px}.register-page .login-inner{max-width:410px}.register-page .login-inner>.muted{margin-bottom:22px}.register-page .login-inner h2{margin-top:10px}.register-page .register-form{margin-top:18px}.register-page .register-form label{margin-bottom:15px;gap:7px}.register-page .register-form input{padding:12px 14px}.register-page .code-row>button{margin-bottom:15px;height:44px}.register-page .login-inner .primary{padding:13px;margin-top:3px}@media(max-width:600px){.register-page .login-hero{min-height:180px}.register-page .login-form{padding:28px 24px 70px}.register-page .form-row{flex-direction:column;gap:0}.register-page .form-row label{width:100%}.code-row{gap:8px}.code-row>button{min-width:100px}}.school-picker{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0}.school-picker>label{font-size:13px}.school-picker>small{font-size:11px;line-height:1.5}.school-options{position:absolute;top:70px;left:0;right:0;z-index:10;background:#fff;border:1px solid #e4d9da;border-radius:10px;box-shadow:0 12px 30px #3d1b1d22;max-height:260px;overflow:auto}.school-options button{width:100%;padding:12px;display:flex;flex-direction:column;gap:5px;text-align:left;background:#fff;border:0;border-bottom:1px solid #f2eded;color:#401d1f}.school-options button:hover,.school-options button:focus-visible{background:#f5eaeb}.school-options small{padding:4px;color:#836a6b}.register-page .register-form .school-picker{width:50%;margin-bottom:15px;gap:7px}.register-page .register-form .school-picker>label{margin-bottom:0;width:100%}@media(max-width:600px){.register-page .register-form .school-picker{width:100%}}.account-tabs{display:flex;gap:8px;margin:20px 0}.account-tabs button{flex:1;border:0;border-radius:8px;padding:10px;color:#796162;background:#f6f2f2}.account-tabs button.active{color:#fff;background:#7c2327}.account-facts{padding:14px;background:#f9f6f6;border-radius:10px;font-size:13px}.account-facts div{display:flex;gap:15px;padding:6px 0}.account-facts dt{flex:0 0 65px;color:#836a6b}.account-facts dd{margin:0;overflow-wrap:anywhere}.account-logout{display:block;margin:20px auto 0}.demo-account{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:14px 16px;border:1px solid #ebdcdd;border-radius:10px;background:#f7f0f0;color:#663537;font-size:12px}.demo-account strong{font-size:12px}.demo-account p{margin:7px 0 0;line-height:1.8}.demo-account code{font-size:12px}.demo-account button{flex-shrink:0}.brand-mark{background:#fff;padding:5px;border-radius:50%;width:44px;height:44px;object-fit:contain}.login-story{background:linear-gradient(145deg,#963740,#612e36)}.brand small{color:#ecc3c5}.story-copy .eyebrow,.story-copy p{color:#f0c4c7}.login-story footer{color:#deb0b4}.primary:hover{background:#b53640}.account-tabs button.active{background:var(--primary)}.school-options button:hover,.school-options button:focus-visible{background:var(--brand-soft)}.leave-panel{border-color:#f1d8d7}.pending-leaves{display:grid;grid-template-columns:1fr 1.25fr;gap:30px;margin-bottom:20px;background:linear-gradient(110deg,#fff8f6,#fff);border-color:#f1d8d7}.pending-leaves h2{margin:8px 0}.pending-leave-buttons{display:flex;flex-direction:column;gap:8px}.pending-leave-buttons button{justify-content:space-between}.pending-leave-buttons span{color:var(--primary)}.leave-list{display:flex;flex-direction:column}.leave-row{display:flex;justify-content:space-between;gap:24px;padding:16px 0;border-top:1px solid var(--line)}.leave-row:first-child{border-top:0}.leave-row small{display:block;color:var(--muted);margin-top:7px}.leave-row p{margin:8px 0 0}.leave-row>div:last-child{display:flex;align-items:center;gap:14px;flex-shrink:0}.leave-hint{display:inline-block;margin-left:7px;padding:3px 7px;border-radius:10px;background:#fff0dc;color:#9b6a2b;font-size:10px}.badge.PENDING{background:#fff0dc;color:#9b6a2b}.badge.APPROVED{background:#e7f3ed;color:#54816c}.badge.REJECTED{background:#f8e5e5;color:#b85858}.leave-evidence{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.leave-evidence img{width:100%;height:130px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}@media(max-width:600px){.pending-leaves{grid-template-columns:1fr}.leave-row{flex-direction:column}.leave-row>div:last-child{justify-content:space-between}.leave-evidence{grid-template-columns:1fr}.leave-evidence img{height:220px}}.auth-switch button[aria-pressed=true]{color:#a9343b;font-weight:700;text-decoration:underline;text-underline-offset:6px}.wechat-login-button{width:100%;min-height:46px;margin-top:18px;border:1px solid #16853d;border-radius:8px;background:#16853d;color:#fff;font-weight:600}.wechat-login-button:hover{background:#116b31}.wechat-login-button:disabled{opacity:.6;cursor:wait}.row-number{width:64px;text-align:center;color:#746b6e;font-variant-numeric:tabular-nums;white-space:nowrap}.mini-avatar{overflow:hidden;flex-shrink:0}.mini-avatar img{width:100%;height:100%;object-fit:cover}.student-cell{display:flex;align-items:center;gap:10px}
