[hidden]{display:none!important}.trimester-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.trimester-grid section{padding:20px;border:1px solid var(--line);border-radius:12px}.trimester-grid h2{margin-top:0}.entrance-mode{background:#f4f1fa}.entrance-mode .sidebar,.entrance-mode .topbar,.entrance-mode .school-search,.entrance-mode .global-search,.entrance-mode #school-chat-root,.entrance-mode .teacher-test-banner{display:none!important}.entrance-mode .layout{display:block}.entrance-mode .main{margin:0;width:100%;max-width:none}.entrance-mode .main>#content,.entrance-mode .content{padding:0;max-width:none}.entrance-mode .main> :not(#content){display:none!important}.entrance-shell{min-height:100dvh;padding:14px 24px;display:flex;flex-direction:column;gap:10px}.entrance-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.entrance-header img{height:54px;width:90px;object-fit:contain}.entrance-header strong{font-size:1.4rem}.entrance-header p{margin:4px 0;font-size:.9rem;color:var(--muted)}.entrance-header button{font-size:.72rem}.entrance-intro{max-width:700px;margin:10vh auto;text-align:center;line-height:1.8}.entrance-intro h1{font-size:2.5rem}.entrance-camera.camera{width:100%;max-width:none;height:calc(100dvh - 285px);min-height:320px;border-radius:20px;flex-shrink:0;background:#302451}.entrance-camera video{width:100%;height:100%;object-fit:contain}.entrance-camera .camera-placeholder{padding:14px}.entrance-camera .camera-placeholder h1{font-size:clamp(1.6rem,3vw,2.5rem);color:white;margin:10px}.entrance-qr{font-size:5rem;line-height:1}.entrance-camera .scan-identity{inset:0;min-height:0;grid-template-columns:minmax(240px,42%) minmax(0,1fr);padding:16px 4%;gap:30px}.entrance-camera .scan-identity-photo{height:100%;min-height:0;max-height:calc(100dvh - 320px);width:100%;background:#f4f1fa}.entrance-camera .scan-identity-photo img{height:100%;max-height:none;width:100%;object-fit:contain}.entrance-camera .scan-identity-details h2{font-size:clamp(2rem,3.6vw,4rem);line-height:1.15;margin:10px 0}.entrance-camera .scan-identity-status{font-size:clamp(1.1rem,1.7vw,1.7rem)}.entrance-camera .scan-identity-class{font-size:1.8rem}.entrance-camera .scan-identity-instruction{font-size:1rem}.entrance-camera .scan-identity-result{font-size:.9rem;margin:6px 0}.entrance-camera .scan-identity-details button{font-size:.8rem;min-height:35px;padding:7px 12px}.entrance-tools{display:flex;align-items:center;justify-content:space-between;gap:20px}.entrance-tools form{display:flex;align-items:center;gap:8px;max-width:650px;flex:1}.entrance-tools input{min-height:38px;font-size:.85rem}.entrance-tools button{min-height:35px}.entrance-shell #scan-feedback{min-height:24px}.entrance-shell #scan-feedback>.scan-confirm{padding:0;margin:0;border:0;box-shadow:none;background:transparent}.entrance-shell #scan-feedback>.scan-confirm .scan-photo-review{display:none}.entrance-shell #scan-feedback>.scan-confirm>div{display:flex;gap:10px;align-items:center}.entrance-shell #scan-feedback>.scan-confirm p,.entrance-shell #scan-feedback>.scan-confirm .status-line{font-size:.7rem;margin:0!important}.entrance-shell #scan-feedback>.scan-confirm strong{font-size:.8rem}.entrance-shell #scan-feedback>.status-line{margin:0;font-size:.72rem}.entrance-recent h2{font-size:.85rem;margin:0 0 7px}.entrance-recent #recent-scans{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.entrance-recent .scan-confirm{margin:0;padding:8px;border-radius:10px;gap:7px}.entrance-recent .scan-confirm strong{font-size:.72rem}.entrance-recent .scan-confirm p{display:none}.entrance-recent .status-line{font-size:.65rem}.entrance-recent .scan-confirm .scan-photo-review .avatar{width:36px;height:42px}.entrance-recent .scan-photo-review{padding:0;border-radius:7px;min-height:42px}#entrance-connection{font-size:.72rem;color:#28744e}#entrance-connection.offline{color:#ae3030}
@media(max-width:750px){.trimester-grid{grid-template-columns:1fr}.entrance-shell{padding:10px}.entrance-header strong{font-size:1rem}.entrance-header img{width:60px;height:42px}.entrance-header p,#entrance-connection{display:none}.entrance-header>.row{gap:5px}.entrance-camera.camera{height:calc(100dvh - 260px);min-height:400px}.entrance-camera .scan-identity{grid-template-columns:1fr 1fr;padding:12px;gap:14px}.entrance-camera .scan-identity-photo{max-height:none;height:100%;min-width:0}.entrance-camera .scan-identity-details h2{font-size:1.7rem;overflow-wrap:anywhere}.entrance-camera .scan-identity-status{font-size:1rem}.entrance-camera .scan-identity-class{font-size:1.1rem}.entrance-camera .scan-identity-number,.entrance-camera .scan-identity-instruction,.entrance-camera [data-scan-dismiss-hint]{font-size:.7rem}.entrance-tools{gap:6px;flex-wrap:wrap}.entrance-recent #recent-scans{grid-template-columns:repeat(3,minmax(0,1fr))}.entrance-recent .scan-confirm:nth-child(n+4){display:none}.entrance-shell #scan-feedback>.scan-confirm>div{flex-wrap:wrap;gap:3px}}
