*{box-sizing:border-box}body{margin:0;background:#f5f3fa;color:#292134;font:15px Poppins,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer;border:1px solid #dcd5e8;background:white;border-radius:10px;min-height:44px;padding:10px 16px;color:#4f2ca4;font-weight:600}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus{outline:3px solid #cdb8f2;outline-offset:2px}a{color:inherit;text-decoration:none}header{display:flex;align-items:center;gap:18px;min-height:76px;background:#fff;border-bottom:1px solid #e7e0ef;padding:16px 6%}.brand{font-size:24px;font-weight:800;letter-spacing:-.6px}.brand span{color:#5b2cc9;font-weight:500}.badge{font-size:10px;letter-spacing:1px;color:#695486;border-radius:20px;background:#f0eafb;padding:8px 11px}header button{margin-left:auto}main{max-width:1200px;margin:auto;padding:24px}.code-card{max-width:450px;margin:8vh auto 0;background:white;border:1px solid #e4dced;border-radius:22px;padding:34px;text-align:center;box-shadow:0 15px 50px #30204f08}.book-icon{display:inline-grid;place-items:center;width:55px;height:55px;border-radius:16px;background:#5b2cc9;color:#ffdc68;font-size:32px;font-weight:800}.code-card h1{font-size:29px;margin:22px 0 12px}.code-card p{line-height:1.8;color:#796e86;font-size:14px}.code-card label{display:block;text-align:left;margin:22px 0 8px;font-size:12px;font-weight:700}.code-card input{width:100%;padding:16px;border:2px solid #d4c4ef;border-radius:11px;font-size:19px;text-transform:uppercase;letter-spacing:1px;text-align:center}.code-card button{width:100%;background:#5b2cc9;color:white;margin-top:12px}.lesson-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.lesson-title h1{font-size:24px;overflow-wrap:anywhere}.lesson-title span{font-size:12px;color:#796e86}.viewer-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.viewer-toolbar span{font-size:13px;padding:0 12px}#changeCode{margin-left:auto}#studentStage{position:relative;overflow:auto;min-height:200px;max-height:calc(100dvh - 260px);background:#e9e5f0;border:1px solid #ddd6e7;border-radius:12px;padding:15px;text-align:center}#studentCanvas{display:block;margin:auto;max-width:100%;background:#fff;box-shadow:0 4px 15px #2718401a;user-select:none;-webkit-user-select:none;touch-action:pan-x pan-y}#studentMessage{padding:25px;color:#796e86}.viewer-note{font-size:12px;line-height:1.8;color:#796e86}#gateMessage{color:#a52e4f}#printNotice{display:none}[hidden]{display:none!important}@media(max-width:640px){header{gap:10px;padding:14px}.brand{font-size:19px}.badge{font-size:8px;padding:6px}header button{font-size:11px;padding:8px}.code-card{margin:30px auto 0;padding:25px}main{padding:14px}.viewer-toolbar button{font-size:11px;padding:8px}#studentStage{padding:8px;max-height:calc(100dvh - 290px)}}@media print{body>*{display:none!important}#printNotice{display:block!important;font-size:20px;padding:40px}}
/* SIEDAAR_CLASSROOM_VIEWER_V1 */
html{scrollbar-gutter:stable}header{flex-wrap:wrap}main{width:100%;min-width:0}.viewer-toolbar{position:sticky;top:0;z-index:5;background:#f5f3fa;padding:8px 0;gap:6px}.viewer-toolbar button{font-size:14px;min-height:44px}.page-picker{display:flex;align-items:center;gap:6px;font-size:14px}.page-picker select{font:inherit;min-height:44px;padding:8px;border:1px solid #dcd5e8;border-radius:8px;background:white;max-width:90px}#studentStage{padding:9px;max-height:calc(100dvh - 215px);overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}#studentCanvas{touch-action:pan-x pan-y pinch-zoom}#studentMessage{font-size:16px;line-height:1.7}#connectionStatus{color:#775208;font-size:14px;line-height:1.6}.student-fullscreen header .brand,.student-fullscreen header .badge,.student-fullscreen .lesson-title,.student-fullscreen .viewer-note{display:none}.student-fullscreen header{min-height:50px;padding:5px 14px}.student-fullscreen main{max-width:none;padding:8px}.student-fullscreen #studentStage{max-height:calc(100dvh - 155px)}.code-card input{font-size:26px;letter-spacing:.25em;font-variant-numeric:tabular-nums}.viewer-note{max-width:70ch}#studentCounter{font-variant-numeric:tabular-nums}
@media(max-width:640px){header .badge{display:none}header{min-height:60px;padding:10px 14px}header button{font-size:13px}main{padding:10px}.code-card{padding:22px;margin:20px auto}.code-card h1{font-size:26px}.lesson-title h1{font-size:20px;margin:12px 0 5px}.viewer-toolbar{gap:5px}.viewer-toolbar button{padding:9px;font-size:13px;flex:1 0 auto}.viewer-toolbar span{padding:0 5px}#changeCode{margin-left:0}#studentStage{max-height:calc(100dvh - 255px);min-height:180px}.lesson-title span{font-size:12px}.student-fullscreen #studentStage{max-height:calc(100dvh - 205px)}}
@media(orientation:landscape) and (max-height:550px){header .brand,header .badge,.lesson-title,.viewer-note{display:none}header{min-height:44px;padding:0 10px}main{padding:4px 10px}.viewer-toolbar{margin:0;padding:4px 0}.viewer-toolbar button{min-height:40px}#studentStage,.student-fullscreen #studentStage{max-height:calc(100dvh - 110px)}}
