.teacher-top{display:flex;justify-content:space-between;align-items:center;padding:18px max(24px,calc((100vw - 1160px)/2));background:#fff;border-bottom:1px solid #e2e9e6}.teacher-brand{color:#154b41;font-weight:800;font-size:20px;text-decoration:none}.teacher-brand small{display:block;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#77847c}.teacher-content{max-width:1208px;margin:auto;padding:28px 24px}.teacher-content .welcome{margin-bottom:24px}.teacher-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:24px}.teacher-info,.teacher-scanner{padding:28px}.teacher-info h3{font-size:13px;margin:25px 0 8px;color:#718079}.teacher-info p{font-size:17px}.teacher-info small,.teacher-scanner small,.qr-display small{color:#718079;line-height:1.6}.attendance-choice{display:flex;gap:12px;margin:24px 0}.attendance-choice label{display:flex;align-items:center;gap:10px;border:1px solid #dce7df;border-radius:10px;padding:15px;flex:1;cursor:pointer}.attendance-choice input{width:auto;margin:0;accent-color:#126553}.attendance-choice label:has(input:checked){background:#e8f4ee;border-color:#126553}.scan-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.scan-buttons label{margin:0;cursor:pointer}#qr-video{width:100%;max-height:330px;border-radius:14px;background:#123c34}.manual-qr{margin-top:20px}.manual-qr summary{cursor:pointer;color:#126553}.manual-qr form{margin-top:15px}.qr-display{text-align:center;max-width:620px;margin:0 auto;padding:32px}.qr-display h2{margin:12px 0}#qr-image{width:min(100%,340px);margin:22px auto;background:white}#qr-image svg{display:block;width:100%;height:auto}.qr-display p{line-height:1.8}.teacher-filter{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:24px}.teacher-filter label{margin:0}.teacher-scanner h2{margin-top:10px}[hidden]{display:none!important}@media(max-width:740px){.teacher-grid{grid-template-columns:1fr;gap:0}.teacher-content{padding:18px 14px}.teacher-info,.teacher-scanner{padding:22px}.teacher-top{padding:16px}.teacher-content .welcome{min-height:180px}.teacher-content h1{font-size:28px}}
.permanent-card{text-align:center;padding:32px}.permanent-card h2{margin:12px 0}.permanent-card h3{font-size:22px;margin:8px 0}.permanent-card .scan-buttons{justify-content:center}.permanent-qr{width:min(100%,310px);margin:16px auto;background:#fff}.permanent-qr svg{display:block;width:100%;height:auto}.scanner-station{max-width:690px;margin:auto;padding:32px}.scanner-station h2{margin:12px 0}.scanner-station>p{line-height:1.6}.scanner-station video{width:100%;max-height:340px;border-radius:14px;background:#123c34}.scan-success{color:#126553;font-weight:700}.scan-error{color:#b94e37;font-weight:700}@media print{body{background:#fff!important}.sidebar,.topbar,.school-footer,.no-print,.teacher-top,.welcome,.teacher-info,.teacher-content>section:last-child,.permanent-card .scan-buttons{display:none!important}.workspace main,.content,.teacher-content{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}.teacher-grid{display:block}.permanent-card{border:2px solid #222;box-shadow:none;max-width:450px;margin:20px auto;break-inside:avoid}.permanent-qr{width:300px}.page-title{display:none!important}}
.school-qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.school-qr-grid .permanent-card{margin:0}.school-qr-help{margin-top:22px;padding:26px}.inline-form{margin-top:8px}.inline-form button{border:0;background:none;padding:0;color:#157e69;font:inherit;font-weight:700;cursor:pointer}.inline-form button:hover{text-decoration:underline}@media(max-width:760px){.school-qr-grid{grid-template-columns:1fr}.school-qr-help{padding:20px}}@media print{.school-qr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-qr-grid .permanent-card{max-width:none;margin:0}.school-qr-help{display:none!important}}
.profile-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px;align-items:start;margin-bottom:28px}.profile-form,.profile-account{padding:26px}.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-fields label{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#34445b}.profile-fields input,.profile-fields textarea{width:100%;border:1px solid #dbe5eb;border-radius:12px;padding:12px 14px;background:#fff;color:#173043;font:inherit}.profile-fields input:focus,.profile-fields textarea:focus{outline:2px solid #2aa899;outline-offset:1px}.profile-wide{grid-column:1/-1}.profile-actions{display:flex;justify-content:flex-end}.profile-account h2{font-size:30px;margin:12px 0 20px;color:#153c49}.profile-account dl{margin:0}.profile-account dl div{padding:12px 0;border-top:1px solid #e9eef2}.profile-account dt{color:#6a7787;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.profile-account dd{margin:5px 0 0;font-weight:700;color:#283d50}.profile-account>p{color:#6a7787;font-size:13px;line-height:1.5}.profile-qr-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-qr-heading h2{margin:0}@media(max-width:850px){.profile-layout{grid-template-columns:1fr}}@media(max-width:560px){.profile-fields{grid-template-columns:1fr}.profile-form,.profile-account{padding:18px}}@media print{.profile-layout,.profile-qr-heading button{display:none!important}.profile-qr-heading{margin-bottom:20px}}
.school-logo-card{margin-bottom:28px}.school-logo-content{display:flex;align-items:center;gap:26px;padding:24px}.school-logo-preview{width:122px;height:122px;border:1px solid #dce8ea;border-radius:22px;background:#f5faf9;display:grid;place-items:center;flex:none;overflow:hidden}.school-logo-preview img{display:block;width:100%;height:100%;object-fit:contain;padding:10px}.school-logo-preview span{font-size:52px;font-weight:900;color:#17847b}.school-logo-controls{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.school-logo-controls form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.school-logo-controls label{display:grid;gap:8px;font-weight:700;color:#526775}.school-logo-controls input[type=file]{max-width:320px;font:inherit;font-size:13px}.school-logo-controls .remove-logo-form{margin:0}@media(max-width:560px){.school-logo-content{align-items:flex-start;flex-direction:column}.school-logo-controls form{align-items:flex-start;flex-direction:column}}@media print{.school-logo-card{display:none!important}}
.side-mark.school-logo-mark{background:#fff;overflow:hidden;padding:2px}.side-mark.school-logo-mark img{width:100%;height:100%;object-fit:contain;display:block}
.side-brand{white-space:normal}.side-brand-text{min-width:0;max-width:178px;overflow-wrap:anywhere;line-height:1.25}.side-brand-text small{margin-top:5px;white-space:nowrap}
