.classroom-alignment-controls{align-items:center;gap:var(--space-2);margin:var(--space-3) 0 var(--space-4);padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface-subtle);flex-wrap:wrap;display:flex}.classroom-alignment-controls .button-secondary{min-height:2.5rem}.classroom-alignment-controls .button-secondary.is-active{border-color:var(--blue-600);background:var(--status-info-surface);color:var(--navy-700)}.classroom-selection-count{padding:0 var(--space-2);color:var(--muted);font-size:var(--font-size-sm);margin-left:auto;font-weight:800}.simple-night-study-classroom-editor .classroom-size-controls label:first-child{flex:18rem;min-width:min(22rem,100%)}.simple-night-study-classroom-editor .classroom-size-controls [name=roomName]{width:100%}.simple-night-study-classroom-editor .classroom-desk.is-selected{border-color:var(--blue-600);box-shadow:0 0 0 3px #3f63dd33, var(--shadow-panel)}@media (width<=760px){.classroom-alignment-controls{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.classroom-alignment-controls .button-secondary{width:100%}.classroom-selection-count{grid-column:1/-1;margin-left:0}}.night-study-seat-editor-page{gap:1rem;display:grid}.is-simple-editor [hidden]{display:none!important}.is-simple-editor .night-study-editor-workspace{grid-template-columns:minmax(0,1fr)}.simple-attendance-page .attendance-board{min-width:600px}.simple-attendance-page{overflow-x:auto}.simple-attendance-page .night-study-seat{cursor:pointer;touch-action:manipulation}.simple-attendance-page .night-study-seat.is-unchecked{background:#eef0f3;border-color:#8993a3}.simple-attendance-page .night-study-seat.is-present{color:#14532d;background:#dcfce7;border-color:#168348}.simple-attendance-page .night-study-seat.is-absent{color:#7f1d1d;background:#fee2e2;border-color:#c92c2c}.simple-attendance-page .night-study-seat span{color:inherit}.simple-attendance-page .night-study-seat:focus-visible{outline-offset:2px;outline:3px solid #315ccc}.simple-attendance-feedback{position:sticky;left:0}.seat-editor-toolbar{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.seat-editor-toolbar>label{color:var(--muted);gap:.3rem;font-size:.8rem;font-weight:800;display:grid}.seat-editor-toolbar input,.seat-editor-toolbar select,.seat-editor-inspector input,.seat-editor-inspector select{min-height:44px;color:inherit;background:#fff;border:1px solid #cfd9e9;border-radius:.65rem;padding:.55rem .7rem}.seat-editor-toolbar .manager-tabs{gap:.35rem;display:flex}.seat-editor-toolbar .manager-tabs button,.seat-room-tabs button,.editor-actions button,.seat-editor-inspector button{min-height:42px;color:var(--navy-950);cursor:pointer;background:#fff;border:1px solid #d7e0ed;border-radius:.65rem;padding:.5rem .75rem;font-weight:800}.seat-editor-toolbar .manager-tabs button.is-selected,.seat-room-tabs button.is-selected,.room-layout-tools button.is-selected{border-color:var(--navy-950);background:var(--navy-950);color:#fff}.editor-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-left:auto;display:flex}.editor-dirty-state{color:#53627a;background:#eef3fa;border-radius:999px;padding:.45rem .65rem;font-size:.78rem;font-weight:850}.layout-invalid-count{color:#a43b3b;background:#fff0f0;border-radius:999px;padding:.4rem .6rem;font-size:.76rem;font-weight:850}.night-study-editor-workspace{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:1rem;display:grid}.seat-editor-main,.seat-history-panel{background:#fff;border:1px solid #dbe3f2;border-radius:1rem;min-width:0;box-shadow:0 .4rem 1.2rem #17233b0d}.seat-editor-main{padding:1rem}.seat-history-panel{padding:1rem;position:sticky;top:1rem}.seat-history-panel h2,.seat-editor-inspector h2{margin:0 0 .75rem;font-size:1rem}.seat-room-tabs{gap:.4rem;margin-bottom:.75rem;padding-bottom:.2rem;display:flex;overflow-x:auto}.seat-room-tabs button{flex:none}.seat-editor-layout{grid-template-columns:minmax(0,1fr) 220px;gap:1rem;display:grid}.night-study-room-canvas{background-color:#fbfcff;background-image:linear-gradient(#e8edf5 1px,#0000 1px),linear-gradient(90deg,#e8edf5 1px,#0000 1px);background-size:2.5% 2.5%;border:1px solid #d9e2ef;border-radius:.9rem;min-height:560px;position:relative;overflow:hidden}.room-layout-grid{z-index:0;pointer-events:none;display:grid;position:absolute;inset:0}.room-layout-grid.is-editing-layout{z-index:5;pointer-events:auto;touch-action:none;cursor:crosshair}.room-layout-cell{background:#e4eeff33;border:1px solid #5b719214;min-width:0;min-height:0}.room-layout-cell.is-inactive{background:#dadfe9b8}.room-layout-cell.is-blocked{background:repeating-linear-gradient(135deg,#727e9157 0 6px,#ecf0f6c7 6px 12px)}.room-layout-grid.is-editing-layout .room-layout-cell:hover{outline-offset:-2px;outline:2px solid #3766da85}.night-study-teacher-desk{z-index:1;text-align:center;background:#eef2f8;border:1px solid #aebacf;border-radius:.55rem;min-width:7rem;padding:.55rem 1rem;font-size:.8rem;font-weight:850;position:absolute;top:3%;left:50%;transform:translate(-50%)}.night-study-seat{z-index:2;touch-action:none;min-width:76px;min-height:52px;color:var(--navy-950);cursor:grab;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #b7c5da;border-radius:.65rem;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 .2rem .55rem #17233b1a}.night-study-seat:active{cursor:grabbing}.night-study-seat.is-selected{outline-offset:2px;outline:3px solid #3766da47}.night-study-seat.is-invalid-layout{border-color:#c34141;box-shadow:0 0 0 3px #c3414129}.night-study-seat strong{font-size:.78rem}.night-study-seat span{color:#5f6f88;font-size:.72rem}.room-resize-handle{z-index:7;cursor:nwse-resize;touch-action:none;background:#ffffffeb;border:1px solid #9dadc5;border-radius:.55rem;width:42px;height:42px;font-size:1.15rem;font-weight:900;position:absolute;bottom:.3rem;right:.3rem}.seat-editor-inspectors,.seat-editor-mobile-panels{align-content:start;gap:.75rem;display:grid}.seat-editor-inspector{background:#f9fbfe;border:1px solid #dfe6f0;border-radius:.8rem;gap:.65rem;padding:.85rem;display:grid}.seat-editor-field{color:#66758f;gap:.3rem;font-size:.76rem;font-weight:800;display:grid}.seat-editor-check{align-items:center;gap:.4rem;min-height:40px;display:flex}.seat-editor-check input{min-height:auto}.room-layout-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;padding-top:.2rem;display:grid}.room-layout-tools-label,.room-layout-tools small{color:#66758f;grid-column:1/-1;font-size:.74rem;font-weight:800}.room-layout-tools button{min-width:0}.layout-validation-error,.seat-search-error{color:#a43b3b;background:#fff0f0;border-radius:.55rem;margin:0;padding:.55rem .65rem;font-size:.74rem;font-weight:750}.seat-search-error:empty{display:none}.seat-editor-empty,.history-empty,.history-error{color:#66758f;background:#f5f7fb;border-radius:.7rem;margin:0;padding:1rem}.history-error{color:#a43b3b;background:#fff1f1}.history-revision{border-top:1px solid #e6ebf3;gap:.2rem;padding:.75rem 0;display:grid}.history-revision:first-of-type{border-top:0}.history-revision span,.history-revision small{color:#66758f}.screen-state.is-error{color:#a43b3b;background:#fff7f7;border-color:#efcaca}@media (width<=1050px){.night-study-editor-workspace{grid-template-columns:1fr}.seat-history-panel{position:static}}@media (width<=760px){.night-study-seat-editor-page.is-mobile-editor{padding-bottom:5.5rem}.night-study-seat-editor-page.is-mobile-editor .editor-actions{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border:1px solid #dbe3f2;border-radius:.85rem;order:10;width:100%;margin-left:0;padding:.55rem;position:sticky;bottom:.5rem;box-shadow:0 -.35rem 1.1rem #17233b1a}.night-study-seat-editor-page.is-mobile-editor .editor-actions .editor-dirty-state{text-align:center;flex:1 0 100%}.night-study-editor-workspace,.seat-editor-layout{grid-template-columns:1fr}.night-study-room-canvas{min-height:430px}.night-study-seat{cursor:default;touch-action:auto;min-width:68px;min-height:48px}.night-study-seat.is-dragging{z-index:4;touch-action:none;cursor:grabbing;box-shadow:0 .45rem 1rem #17233b38}.seat-editor-toolbar{align-items:stretch}.seat-editor-toolbar>label{width:100%}.seat-history-panel{position:static}.seat-editor-mobile-panels{grid-template-columns:1fr}.seat-editor-mobile-panels .seat-editor-inspector{background:#fff}.seat-editor-mobile-panels .mobile-seat-bottom-sheet{z-index:10;border-color:#cfd9e9;position:sticky;bottom:5.6rem;box-shadow:0 -.45rem 1.2rem #17233b1f}.room-layout-tools{grid-template-columns:repeat(2,1fr)}.room-resize-handle{width:48px;height:48px}}
