:root{color:#3f332d;font-synthesis:none;--accent:#c96937;--orange:#e88c5a;--line:#efdfd4;--muted:#948479;--soft:#f6e3d7;background:#fff8f3;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{border:1px solid var(--line);color:inherit;cursor:pointer;background:#fff;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:12px 17px;transition:background .15s,transform .15s;display:inline-flex}button:hover{background:#fff1e6}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}input,select,textarea{width:100%;min-width:0;color:inherit;background:#fffdfb;border:1px solid #e7d8ce;border-radius:11px;min-height:45px;padding:12px}input:focus,select:focus,textarea:focus{outline-offset:1px;outline:2px solid #e88c5a77}button:focus-visible{outline-offset:3px;outline:3px solid #d67743}a:focus-visible{outline-offset:3px;outline:3px solid #d67743}summary:focus-visible{outline-offset:3px;outline:3px solid #d67743}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1px;margin-bottom:10px;font-size:32px;font-weight:700;line-height:1.35}h2{margin-bottom:0;font-size:19px;line-height:1.5}h3{font-size:18px;line-height:1.5}p{line-height:1.7}small{font-size:12px}svg{flex-shrink:0}.muted,.hint{color:#8e7e73}.hint{margin:12px 0;font-size:13px;line-height:1.7}.primary{background:var(--orange);border-color:var(--orange);color:#342117;font-weight:650;box-shadow:0 4px 12px #d9865220}.primary:hover{background:#e39a70}.soft-primary{color:#a9562d;background:#fcf0e7;border-color:#f5e2d5;font-weight:600}.full{width:100%}.text-button,.title-link,.student-name,.icon-button{box-shadow:none;background:0 0;border:0}.text-button{color:var(--accent);padding:8px 0}.icon-button{min-width:36px;min-height:36px;padding:8px}.back{margin-bottom:22px}.title-link{text-align:left;min-height:0;font-weight:650;font-size:inherit;justify-content:flex-start;padding:0;line-height:1.55}.title-link:hover{color:var(--accent);background:0 0}.app{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:10;background:#fffcf9;flex-direction:column;flex-shrink:0;width:232px;padding:36px 23px 25px;display:flex;position:fixed;top:0;bottom:0;left:0;right:auto}.brand{letter-spacing:1px;align-items:center;gap:12px;font-size:21px;font-weight:700;display:flex}.brand>span{background:var(--orange);color:#fff;border-radius:14px;place-items:center;width:45px;height:45px;display:grid}.brand small{letter-spacing:1px;color:#9a8778;margin-top:5px;font-size:10px;font-weight:400;display:block}.nav-caption{color:#aa9789;letter-spacing:2px;margin:49px 15px 15px;font-size:11px}.sidebar nav{gap:10px;display:grid}.sidebar nav a{color:#85756a;border-radius:13px;align-items:center;gap:14px;height:51px;padding:0 17px;font-size:15px;display:flex}.sidebar nav a.active{color:#a8572f;background:#f8e7db;font-weight:650}.sidebar nav i{background:var(--orange);border-radius:100%;width:6px;height:6px;margin-left:auto}.sidebar-bottom{margin-top:auto}.quiet-note{color:#a08069;background:#fff6ee;border:1px solid #efdfd1;border-radius:17px;margin-bottom:20px;padding:20px;font-size:12px;line-height:1.8}.quiet-note svg{color:#bc967d}.quiet-note p{margin:10px 0 0}.backup{justify-content:center;align-items:center;gap:8px;padding:12px;font-size:12px;display:flex}.sidebar-bottom>small{color:#a4968b;text-align:center;margin-top:12px;font-size:10px;display:block}.status-dot{background:#aaa;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.status-dot.online{background:#7b9a7d}main{width:calc(100% - 232px);margin-left:232px}.topbar{color:#a18b7a;border-bottom:1px solid #efdfd48a;justify-content:space-between;align-items:center;height:73px;padding:0 44px;font-size:11px;display:flex}.topbar span{align-items:center;gap:8px;display:flex}.content{max-width:1230px;margin:auto;padding:41px 44px 65px}.page-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px;display:flex}.page-heading p:not(.eyebrow){color:#9c887a;margin-bottom:0;font-size:13px}.page-heading>button{flex-shrink:0}.eyebrow{letter-spacing:2px;color:#ae876c;margin:0 0 11px;font-size:10px;font-weight:650;line-height:1.8}.today-banner{background:#f7e7da;border:1px solid #f0dbc9;border-radius:21px;justify-content:space-between;align-items:center;gap:25px;padding:30px 33px;display:flex}.subtle-tag{color:#a47452;background:#fff7f0c9;border-radius:6px;margin-bottom:13px;padding:5px 9px;font-size:11px;display:inline-block}.today-banner h2{letter-spacing:.3px;margin-bottom:9px;font-size:22px}.today-banner p{color:#a48771;margin:0;font-size:12px}.daily-count{border-left:1px solid #e6cdbb;min-width:157px;padding-left:31px}.daily-count strong{letter-spacing:-1px;font-size:43px;font-weight:650}.daily-count strong span{color:#b09580;font-size:21px;font-weight:400}.daily-count small{color:#a48771;margin-top:6px;display:block}.summary-row{grid-template-columns:repeat(3,1fr);gap:16px;margin:21px 0 34px;display:grid}.summary-row>div{border:1px solid var(--line);background:#fffcf9;border-radius:17px;justify-content:space-between;align-items:center;padding:20px 23px;display:flex}.summary-row span{color:#9c887a;align-items:center;gap:10px;font-size:12px;display:flex}.summary-row svg{color:#c59879}.summary-row b{font-size:26px;font-weight:600}.summary-row small{color:#a08e7f;margin-left:8px;font-size:11px;font-weight:400}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.section-heading h2{align-items:center;gap:10px;display:flex}.section-heading>.muted{font-size:12px}.count-pill{color:#a18775;background:#f3e6db;border-radius:8px;padding:2px 8px;font-size:11px;font-weight:500;line-height:1.5}.homework-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.homework-card{background:#fff;border:1px solid #eddfd5;border-radius:19px;padding:24px;box-shadow:0 4px 12px #87634304}.card-top{color:#a49180;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:10px;display:flex}.subject-label{color:#b57a50;background:#f9eee5;border-radius:7px;padding:5px 10px;font-size:11px}.homework-card h3{margin:0 0 5px;font-size:19px}.homework-card>p{color:#9e8c7e;margin-bottom:23px;font-size:12px}.card-progress{color:#a29286;align-items:baseline;gap:10px;font-size:11px;display:flex}.card-progress strong{color:#514134;font-size:28px;font-weight:650}.card-progress small{color:#b4a397;font-size:16px;font-weight:400}.card-progress .remaining{margin-left:auto}.progress-track{background:#f6ede6;border-radius:10px;height:5px;margin:12px 0 19px;overflow:hidden}.progress-track i{background:#e2a57e;border-radius:10px;height:100%;transition:width .3s;display:block}.card-footer{border-top:1px solid #f4ece5;justify-content:space-between;align-items:center;padding-top:14px;display:flex}.card-footer button{min-height:39px;font-size:12px}.footer-note{text-align:center;color:#b19d8d;margin-top:40px;font-size:11px}.footer-note span{color:#bfb0a4;margin-top:5px;font-size:10px;display:block}.panel{border:1px solid var(--line);background:#fff;border-radius:19px;margin-bottom:23px;padding:25px;box-shadow:0 4px 12px #87634303}.empty{text-align:center;color:#a18c7c;padding:40px 15px}.empty-icon{color:#cea589;background:#fcf0e7;border-radius:20px;place-items:center;width:72px;height:72px;margin-bottom:18px;display:inline-grid}.empty h3{color:#705a49;margin-bottom:8px;font-size:18px}.empty p{font-size:13px}.empty button{margin:8px}.class-chips{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}.class-chips button{color:#8d7563;border-radius:12px;font-size:13px}.class-chips b{background:#f8f0e9;border-radius:5px;padding:2px 6px;font-size:11px}.selected{color:#a36138!important;background:#f8e7da!important;border-color:#e6bfa2!important}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px;display:flex}.toolbar button{font-size:12px}.search{border:1px solid var(--line);color:#b49b87;border-radius:12px;flex:1;align-items:center;min-width:175px;padding-left:12px;display:flex}.search input{background:0 0;border:0;font-size:13px}.student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.student-card{border:1px solid #eee3da;border-radius:15px;padding:15px}.student-main{text-align:left;background:0 0;border:0;justify-content:flex-start;gap:12px;width:100%;padding:0}.student-main>svg{color:#c3aa95;margin-left:auto}.student-main strong{font-size:15px}.student-main small{color:#a18c7c;margin-top:6px;font-size:11px;display:block}.avatar{color:#aa7956;background:#f7e9dd;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:43px;height:43px;font-size:13px;display:inline-flex}.student-actions{border-top:1px solid #f4ebe4;align-items:center;margin-top:13px;padding-top:5px;font-size:10px;display:flex}.student-actions>span{margin-right:auto}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#3e2e235c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.modal{width:100%;max-width:490px;max-height:90vh;background:#fffcf9;border-radius:22px;max-height:90dvh;padding:26px;overflow:auto;box-shadow:0 20px 70px #3f332d33}.form{gap:17px;display:grid}.form label,.filters label{color:#826e5f;gap:8px;font-size:13px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.form .hint{margin:0}.error{color:#a45445;overflow-wrap:anywhere;background:#fbebe6;border:1px solid #eac4ba;border-radius:12px;padding:14px;font-size:13px;line-height:1.7}.error button{margin-left:12px}.upload-zone{background:#fff7f0;border:1px dashed #d6b798;border-radius:12px;justify-items:center;padding:24px}.upload-zone input{font-size:11px}.import-preview{background:#f9f1e9;border-radius:12px;max-height:200px;padding:15px;font-size:13px;overflow:auto}.import-preview p{gap:22px;margin:8px 0;display:flex}.import-preview span{color:#a08067;min-width:50px}.detail-summary{background:#f8e9dc;border:1px solid #efd5c0;border-radius:20px;justify-content:space-between;align-items:center;gap:25px;margin-bottom:20px;padding:27px 30px;display:flex}.detail-summary>div>span{color:#a47d5f;font-size:13px}.detail-summary strong{margin-top:3px;font-size:49px;font-weight:650;display:block}.detail-summary strong small{color:#b19a84;font-size:24px;font-weight:400}.detail-summary p{color:#a0866f;margin:3px 0 0;font-size:11px}.detail-actions{gap:12px;display:flex}.detail-actions button{min-height:54px}.status-cards{grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:26px;display:grid}.status-cards button{border-radius:17px;flex-direction:column;gap:8px;padding:19px 8px;display:flex}.status-cards span{color:#9d8876;font-size:12px}.status-cards strong{font-size:28px;font-weight:550}.roster-row{border-bottom:1px solid #f2e9e1;align-items:center;gap:15px;padding:13px 0;display:flex}.roster-row:last-child{border:0}.number{color:#b09b8a;min-width:27px;font-size:12px}.student-name{text-align:left;flex:1;justify-content:flex-start;min-width:60px;padding:5px 0;font-size:15px;font-weight:600}.roster-row>button:last-child:not(.student-name){min-height:39px;padding:8px 12px;font-size:11px}.submission-state{align-items:center;gap:10px;font-size:12px;display:flex}.submission-state small{color:#a39080;min-width:30px}.badge{white-space:nowrap;border-radius:7px;padding:5px 9px;font-size:11px;display:inline-flex}.badge.green{color:#658163;background:#eef3e9}.badge.red{color:#b27b65;background:#faeee9}.badge.orange{color:#b18b4e;background:#fbf0df}.badge.muted{color:#928579;background:#f1eeea}.copy-preview{-webkit-user-select:text;user-select:text;background:#fff5e9;border-radius:10px;padding:12px;font-size:13px}.filters{flex-wrap:wrap;align-items:end;gap:15px;display:flex}.filters>label{flex:1;min-width:150px}.filters>select,.filters>input{flex:1;width:auto;max-width:100%}.profile-heading{align-items:center;gap:22px;margin:8px 0 30px;display:flex}.avatar.large{border-radius:24px;width:78px;height:78px;font-size:23px}.profile-heading h1{margin-bottom:5px}.profile-heading p:last-child{color:#a08b79;margin:0;font-size:13px}.profile-stats{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.profile-stats>div{border:1px solid var(--line);background:#fff;border-radius:18px;padding:22px}.profile-stats span{color:#a48c78;font-size:12px}.profile-stats strong{margin-top:12px;font-size:31px;font-weight:600;display:block}.timeline article{border-bottom:1px solid #f0e6dc;align-items:center;gap:24px;padding:22px 0;display:flex}.timeline article:last-child{border:0}.timeline-date{gap:6px;min-width:70px;font-size:13px;display:grid}.timeline-date small{color:#b49b86}.timeline-content{flex:1}.timeline-content p{color:#ab9480;margin:5px 0 0;font-size:11px}.timeline-content button{font-size:15px}.history-group details>summary{color:#a78970;cursor:pointer;padding:8px 0;font-size:12px}.recent-misses{background:#f8eade;border:1px solid #efd9c8;border-radius:16px;margin-bottom:26px;padding:20px}.recent-misses h3{margin-bottom:5px;font-size:15px}.recent-misses>p:not(.hint){justify-content:space-between;gap:15px;margin-bottom:0;font-size:13px;display:flex}.toast{color:#fff;z-index:80;background:#5e493b;border-radius:15px;width:max-content;max-width:90vw;padding:15px 24px;font-size:13px;position:fixed;bottom:30px;left:50%;transform:translate(-50%);box-shadow:0 6px 25px #33231520}.mobile-backup{display:none}.scanner-backdrop{z-index:50;background:#33271ef0;justify-content:center;align-items:flex-start;padding:20px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.scanner-dialog{background:#fffaf6;border-radius:24px;width:100%;max-width:590px;margin:auto;padding:23px}.scan-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.scan-heading small{color:#a68b77}.scan-heading h2{margin-top:6px}.scan-toolbar{color:#9c816b;justify-content:space-between;align-items:center;margin:12px 0;font-size:12px;display:flex}.scan-toolbar button{font-size:12px}.camera-area{width:100%;height:52vh;background:#302b27;border-radius:20px;justify-content:center;height:min(52dvh,520px);display:flex;position:relative;overflow:hidden}.camera-area video{object-fit:cover;width:100%;height:100%}.camera-placeholder{color:#bfb1a7;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.scan-feedback{text-align:center;z-index:3;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:20px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.scan-feedback.success{color:#4d7148;background:#edf5e9f7}.scan-feedback.warning{color:#977138;background:#fff3dff7}.scan-feedback.failure{color:#a14e41;background:#fae7e1fa}.scan-feedback.waiting{background:#fffcf3f0}.scan-feedback strong{font-size:42px;line-height:1.3}.scan-feedback p{overflow-wrap:anywhere;margin:0;font-size:19px}.scan-feedback time{margin-top:7px;font-size:25px}.result-symbol{font-size:43px;line-height:1.2}.scan-instruction{color:#9a806b;text-align:center;margin:14px 0;font-size:12px}.camera-error{background:#f8eade;border-radius:12px;margin-top:12px;padding:13px;font-size:12px;line-height:1.7}.camera-error p{margin:0 0 8px}.camera-select{align-items:center;gap:12px;margin-top:10px;font-size:12px;display:flex}.camera-select select{flex:1}.scan-alternatives{border-top:1px solid #ecddcf;margin-bottom:8px;padding:12px 0}.scan-alternatives summary{color:#a18670;cursor:pointer;font-size:12px}.scan-alternatives summary svg{vertical-align:middle;margin-right:7px}.scan-alternatives form{gap:8px;margin:13px 0;display:flex}.scan-alternatives input{font-size:12px}.file-button{color:var(--accent);cursor:pointer;border:1px solid var(--line);border-radius:10px;align-items:center;gap:8px;padding:10px;font-size:12px;display:inline-flex;position:relative}.file-button input{opacity:0;cursor:pointer;position:absolute;top:0;bottom:0;left:0;right:0}.scan-recent h3{color:#ad9784;margin:12px 0 5px;font-size:12px}.scan-recent>div{border-bottom:1px solid #f1e6dc;justify-content:space-between;padding:9px 0;font-size:13px;display:flex}.scan-recent span{color:#a88d77;font-size:12px}.scan-recent{margin-bottom:16px}.label-sheet{background:#fff;grid-template-rows:repeat(8,33mm);grid-template-columns:repeat(3,1fr);align-content:start;gap:1mm;width:210mm;min-height:297mm;margin:20px auto;padding:12mm;display:grid;box-shadow:0 5px 25px #62402c15}.qr-label{border:1px dashed #ddd;align-items:center;padding:1mm;display:flex;overflow:hidden}.qr-label img{flex-shrink:0;width:28mm;height:28mm}.qr-label>div{gap:3px;min-width:0;display:grid}.qr-label strong{overflow-wrap:anywhere;font-size:12px}.qr-label span{overflow-wrap:anywhere;font-size:9px}.printing .content{max-width:none;overflow:auto}body:has(.scanner-backdrop){overflow:hidden}body:has(.modal-backdrop){overflow:hidden}@media (min-width:1500px){.content{padding-top:48px}.homework-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1050px){.sidebar{width:200px;padding-left:17px;padding-right:17px}main{width:calc(100% - 200px);margin-left:200px}.content{padding:30px 25px 60px}.topbar{padding:0 25px}.student-grid{grid-template-columns:1fr}.summary-row>div{padding:17px 14px}.summary-row span{gap:6px}.detail-actions{flex-direction:column}}@media (max-width:700px){.sidebar{width:100%;height:calc(68px + env(safe-area-inset-bottom));padding:5px 12px env(safe-area-inset-bottom);border-right:0;border-top:1px solid var(--line);z-index:20;background:#fffcf9;position:fixed;top:auto;bottom:0}.sidebar .brand,.nav-caption,.sidebar-bottom{display:none}.sidebar nav{grid-template-columns:repeat(4,1fr);gap:0;width:100%;display:grid}.sidebar nav a{border-radius:13px;flex-direction:column;gap:4px;height:56px;padding:6px;font-size:10px}.sidebar nav a.active{background:#fff0e5}.sidebar nav i{display:none}main{width:100%;margin-left:0}.topbar{height:49px;padding:0 20px;font-size:10px}.topbar span:last-child{font-size:9px}.content{padding:27px 18px 20px}.page-heading{align-items:flex-start;gap:14px;margin-bottom:23px}.page-heading>button{gap:4px;min-height:42px;margin-top:15px;padding:10px 12px;font-size:11px}.page-heading>button svg{width:16px}h1{letter-spacing:-.5px;font-size:25px}.eyebrow{letter-spacing:1.5px;margin-bottom:8px;font-size:8px}.page-heading p:not(.eyebrow){font-size:11px}.today-banner{align-items:flex-start;gap:15px;padding:23px 20px}.today-banner h2{font-size:17px;line-height:1.6}.today-banner p{font-size:10px}.subtle-tag{margin-bottom:10px;padding:4px 7px;font-size:10px}.daily-count{min-width:90px;margin-top:13px;padding-left:13px}.daily-count strong{font-size:31px}.daily-count strong span{font-size:15px}.daily-count small{font-size:9px}.summary-row{gap:9px;margin:14px 0 27px}.summary-row>div{border-radius:14px;padding:15px 11px;display:block}.summary-row span{gap:6px;font-size:10px}.summary-row svg{width:14px}.summary-row b{margin-top:10px;font-size:25px;display:block}.summary-row small{font-size:10px}.section-heading{gap:10px;margin-bottom:16px}.section-heading h2{gap:7px;font-size:17px}.section-heading>button{gap:5px;padding:9px;font-size:11px}.homework-grid{grid-template-columns:1fr;gap:15px}.homework-card{padding:21px}.homework-card h3{font-size:18px}.card-progress strong{font-size:27px}.card-footer button{min-height:44px;font-size:12px}.panel{margin-bottom:18px;padding:19px 15px}.empty{padding:30px 8px}.empty h3{font-size:17px}.toolbar{gap:8px}.toolbar .search{flex-basis:100%}.toolbar>button{flex:1;gap:5px;padding:10px 7px;font-size:11px}.toolbar>button svg{width:15px}.class-chips{gap:8px}.class-chips button{padding:9px 12px;font-size:12px}.form-grid{grid-template-columns:1fr}.modal{max-height:87vh;max-height:87dvh;padding:21px}.modal-backdrop{padding:15px}.detail-summary{gap:12px;padding:23px 20px}.detail-summary strong{font-size:43px}.detail-summary strong small{font-size:20px}.detail-actions{gap:9px}.detail-actions button{gap:6px;min-height:47px;padding:10px 12px;font-size:12px}.status-cards{gap:7px;margin-bottom:20px}.status-cards button{border-radius:13px;padding:15px 4px}.status-cards strong{font-size:25px}.status-cards span{font-size:11px}.roster-row{gap:9px}.roster-row .number{min-width:21px;font-size:10px}.roster-row>button:last-child:not(.student-name){padding:7px 8px;font-size:10px}.student-name{min-width:50px;font-size:14px}.submission-state{flex-direction:column;gap:4px}.submission-state small{text-align:center;font-size:10px}.badge{padding:5px 7px;font-size:10px}.profile-stats{grid-template-columns:repeat(2,1fr);gap:10px}.profile-stats>div{padding:20px}.profile-heading{gap:16px}.profile-heading h1{font-size:28px}.timeline article{gap:13px}.timeline-date{min-width:55px;font-size:12px}.timeline-content button{font-size:13px}.filters>label{min-width:120px}.filters{gap:12px}.filters button{font-size:12px}.history-group .section-heading{align-items:flex-start}.history-group .section-heading>.muted{white-space:nowrap;margin-top:3px;font-size:10px}.history-group .title-link{font-size:16px}.toast{bottom:90px}.mobile-backup{padding:0 15px calc(91px + env(safe-area-inset-bottom));color:#a99482;justify-content:center;font-size:11px;display:flex}.mobile-backup a{align-items:center;gap:7px;padding:14px;display:flex}.scanner-backdrop{background:#fffaf6;padding:0}.scanner-dialog{min-height:100vh;border-radius:0;min-height:100dvh;margin:0;padding:17px}.camera-area{height:52vh;height:min(52dvh,100vw - 34px)}.scan-heading h2{font-size:18px}.scan-feedback strong{font-size:42px}.scan-feedback p{font-size:16px}.scan-recent>div{padding:8px 0}.footer-note{margin-top:29px}.label-sheet{transform-origin:0 0}.printing .content{padding:20px 10px}}@media print{@page{size:A4 portrait;margin:0}.no-print,.sidebar,.topbar,.mobile-backup{display:none!important}html,body,.app,main,.content{background:#fff!important;width:auto!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.label-sheet{box-shadow:none;break-after:page;border:0;height:297mm;min-height:0;margin:0}.label-sheet:last-child{break-after:auto}.qr-label{break-inside:avoid}.qr-label img{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.class-homeworks{margin-bottom:25px}.class-heading{color:#8c705a;align-items:center;gap:10px;margin-bottom:14px;font-size:14px;display:flex}.class-heading span{color:#af9a89;font-size:10px;font-weight:400}.scan-feedback.failure p{font-size:15px;line-height:1.7}.backup-panel{gap:16px;display:grid}.storage-note{align-items:center;gap:10px;margin:0;font-size:14px;display:flex}.backup-ready{background:#f9eee5;border-radius:14px;gap:12px;padding:16px;display:grid}.backup-ready a{color:#a45b32;padding:10px;text-decoration:underline}.restore-preview{background:#f9eee5;border-radius:14px;padding:16px;font-size:14px}.mobile-backup button{color:#917b69;background:0 0;border:0;font-size:13px}.backup{background:0 0;border:0;width:100%}.offline-status{color:#8c806f;margin-top:8px;font-size:12px}.offline-status.warning{color:#a96342}@media (max-width:700px){input,select,textarea,.search input,.scan-alternatives input{font-size:16px}.badge,.sidebar nav a{font-size:12px}.card-footer button{font-size:14px}.roster-row>button:last-child:not(.student-name){min-height:44px;font-size:12px}}
