:root{--ink:#162b47;--muted:#64758a;--paper:#fbfaf6;--line:#dce3e7;--blue:#176a91;--blue-deep:#104d72;--blue-wash:#e5f2f5;--green:#187455;--red:#a94e4b;--warm:#e59f4e}*{box-sizing:border-box}html{background:#e7eff1}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 14% 0,#fefcf6 0,#f3f5ee 26rem,#0000 43rem),#e7eff1;margin:0;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.shell{width:min(100%,680px);min-height:100vh;margin:auto;padding:34px 18px 40px}.masthead{align-items:center;gap:13px;margin:0 4px 22px;display:flex}.brand-mark{background:var(--ink);border-radius:12px 12px 14px 14px;width:39px;height:43px;display:grid;position:relative;overflow:hidden;box-shadow:5px 5px #c5dce1}.brand-mark i{background:#f3d07e;width:19px;height:2px;margin:7px 0 0 12px;display:block}.brand-mark i:nth-child(2){width:13px}.brand-mark i:nth-child(3){width:9px}.eyebrow{color:var(--blue);letter-spacing:.13em;text-transform:uppercase;margin:0 0 3px;font-size:11px;font-weight:800}h1,h2,p{margin-top:0}h1{letter-spacing:.04em;margin-bottom:0;font-family:Songti SC,STSong,serif;font-size:27px}h2{letter-spacing:.01em;margin:0;font-size:20px}.lookup-panel{background:linear-gradient(125deg,#fffef9,#f5faf8);border:1px solid #cddce1;border-radius:18px;padding:20px;box-shadow:0 15px 34px #1e495814}.lookup-panel p{color:var(--muted);margin-bottom:13px;font-size:14px}.lookup-form{gap:9px;display:flex}.lookup-form input{min-width:0;height:48px;color:var(--ink);background:#fff;border:1px solid #b9cbd1;border-radius:11px;outline:none;flex:1;padding:0 14px;font-size:17px;font-weight:600}.lookup-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #c8e2e9}.lookup-form button,.review-button,.submit-button{background:var(--blue);color:#fff;border:0;border-radius:11px;font-weight:800;box-shadow:inset 0 -2px #0000001f}.lookup-form button{white-space:nowrap;padding:0 17px}.lookup-form button:hover,.review-button:hover,.submit-button:hover{background:var(--blue-deep)}.notice{border-radius:10px;margin:14px 1px;padding:11px 13px;font-size:14px;font-weight:600}.notice.error{color:#8a3936;background:#fff2ef;border:1px solid #f0c6c1}.notice.success{color:#0f6348;background:#e9f8f0;border:1px solid #badfce}.empty-state{text-align:center;color:var(--muted);padding:70px 24px 50px}.empty-state .ruler{width:51px;height:58px;color:var(--blue);border:2px solid #9ebdc4;border-radius:15px;margin:0 auto 18px;font-size:33px;line-height:53px}.empty-state h2{color:var(--ink);margin-bottom:8px;font-family:Songti SC,STSong,serif}.empty-state p{margin-bottom:0;font-size:14px}.room-banner{justify-content:space-between;align-items:center;gap:16px;margin:25px 3px 12px;display:flex}.room-banner h2 span{color:#acc2c8}.locked,.sync-state{border-radius:20px;flex:none;padding:5px 9px;font-size:12px;font-weight:800}.locked{color:#765314;background:#fff3d4}.sync-state{color:#17654e;background:#e1f2ea}.locked-note{border-left:3px solid var(--warm);color:#725422;background:#fff8e9;margin:12px 0;padding:11px 13px;font-size:13px}.progress-card{background:#ffffffc7;border:1px solid #d6e2e3;border-radius:13px;margin:0 0 15px;padding:14px 15px 12px}.progress-top{justify-content:space-between;align-items:baseline;display:flex}.progress-top strong{font-size:14px}.progress-top b{color:var(--blue);font-size:18px}.progress-top small{color:var(--muted);font-size:12px;font-weight:500}.progress-track{background:#e5edf0;border-radius:99px;height:8px;margin:10px 0;overflow:hidden}.progress-track i{border-radius:inherit;background:linear-gradient(90deg, #3eaf99, var(--blue));height:100%;transition:width .25s;display:block}.progress-meta{color:var(--muted);gap:13px;font-size:12px;display:flex}.progress-meta .pending{color:#ad5a28}.progress-meta .complete{color:var(--green);font-weight:700}.roster{background:#fff;border:1px solid #d7e0e1;border-radius:15px;overflow:hidden;box-shadow:0 8px 24px #1f444d0d}.student-row{border-bottom:1px solid #e8eeee;justify-content:space-between;align-items:center;gap:8px;min-height:68px;padding:9px 10px 9px 14px;transition:background .2s;display:flex}.student-row:last-child{border-bottom:0}.student-row.is-complete{background:#f5fbf8}.student-row.is-absent{background:#fff7f3}.student-id{align-items:center;gap:10px;min-width:0;display:flex}.student-id>b{color:#98aab2;width:24px;font-family:ui-monospace,monospace;font-size:12px}.student-id span{white-space:nowrap;min-width:55px;font-size:16px;font-weight:750}.student-id small{color:#8798a2;margin-top:2px;font-family:ui-monospace,monospace;font-size:10px;font-weight:500;display:block}.entry-control{align-items:center;gap:5px;display:flex}.step{width:33px;height:39px;color:var(--blue);background:#fbfdfd;border:1px solid #cfdbde;border-radius:8px;font-size:20px;line-height:1}.step:hover{border-color:var(--blue);background:var(--blue-wash)}.entry-control label{position:relative}.entry-control input{width:61px;height:39px;color:var(--ink);text-align:center;background:#fff;border:1px solid #a8c0c7;border-radius:8px;outline:none;padding:0 17px 0 4px;font-family:ui-monospace,Menlo,monospace;font-size:16px;font-weight:800}.entry-control input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #d9ebee}.entry-control label small{color:#84969d;font-size:9px;position:absolute;top:13px;right:4px}.absent-toggle,.absent-state button{color:#96514d;background:0 0;border:0;font-size:11px;font-weight:700}.absent-toggle{display:none}.student-row:hover .absent-toggle{display:block}.absent-state{align-items:center;gap:8px;display:flex}.absent-state strong{color:var(--red);font-size:14px}.absent-state button{background:#fff;border:1px solid #e7bfba;border-radius:7px;padding:6px}.review-button{justify-content:space-between;align-items:center;width:100%;margin-top:16px;padding:16px 18px;font-size:16px;display:flex}.review-button span{font-size:20px;line-height:0}.review-panel{background:#fffdf9;border:1px solid #cbdcde;border-radius:16px;padding:19px}.review-heading h2{margin-bottom:7px;font-family:Songti SC,STSong,serif}.review-heading>p:last-child{color:var(--muted);margin-bottom:16px;font-size:13px;line-height:1.65}.review-list{border-top:1px solid #dde6e7;max-height:58vh;overflow:auto}.review-list div{border-bottom:1px solid #edf1f1;justify-content:space-between;gap:16px;padding:11px 1px;font-size:14px;display:flex}.review-list b{color:var(--blue-deep);white-space:nowrap}.review-list .review-absent b{color:var(--red)}.review-actions{gap:9px;margin-top:17px;display:flex}.secondary,.submit-button{border-radius:10px;flex:1;height:47px;font-weight:800}.secondary{color:var(--ink);background:#fff;border:1px solid #b8c8cb}.submit-button{background:var(--green);color:#fff;border:0}.submit-button:hover{background:#0e5d43}footer{color:#86999d;text-align:center;padding:24px 0 0;font-size:11px}.admin-shell{width:min(100%,540px);min-height:100vh;margin:auto;padding:40px 18px}.back-link{color:var(--blue);margin-bottom:20px;font-size:14px;font-weight:700;text-decoration:none;display:inline-block}.admin-card{background:#fffdf8;border:1px solid #cadbde;border-radius:18px;padding:26px;box-shadow:0 15px 34px #1e495814}.admin-card h1{margin-bottom:23px}.admin-form{gap:15px;display:grid}.admin-form label{color:var(--muted);gap:7px;font-size:13px;font-weight:700;display:grid}.admin-form input{background:#fff;border:1px solid #b9cbd1;border-radius:10px;outline:none;height:46px;padding:0 12px}.admin-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #c8e2e9}.admin-ready p{color:var(--muted);font-size:14px;line-height:1.75}.download-link{background:var(--green);color:#fff;text-align:center;border-radius:10px;margin:20px 0 12px;padding:14px;font-weight:800;text-decoration:none;display:block}.admin-logout{color:var(--red);background:0 0;border:0;font-size:13px;text-decoration:underline}@media (max-width:430px){.shell{padding:25px 12px 33px}.masthead{margin-left:3px}.room-banner h2{font-size:18px}.student-row{padding-left:9px}.student-id{gap:5px}.student-id>b{width:20px}.student-id span{min-width:47px;font-size:15px}.entry-control{gap:3px}.step{width:29px}.entry-control input{width:57px}.absent-toggle{padding:0 1px;display:block}.progress-meta{justify-content:space-between;gap:4px}.lookup-panel{padding:17px}}
