:root{--ink:#161719;--muted:#5f6268;--blue:#48617b;--blue-dark:#334c66;--green:#34724f;--line:#dedfe3;--surface:#fff;--background:#f5f5f7}*{box-sizing:border-box}html{background:var(--background);min-height:100%}body{color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,system-ui,SF Pro Text,Segoe UI,sans-serif;font-size:16px}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default}button svg{flex-shrink:0}button,a,input,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--blue)}a{color:inherit}.station-shell{min-height:100svh}.app-header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f5f5f7e0;justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:12px 4%;display:flex}.brand{min-height:44px;color:var(--ink);white-space:nowrap;letter-spacing:-.25px;align-items:center;gap:10px;font-size:1rem;font-weight:600;text-decoration:none;display:inline-flex}.brand-logo{object-fit:contain;flex-shrink:0;width:40px;height:40px;padding:3px;display:block}.brand-section{border:1px solid var(--line);color:var(--muted);letter-spacing:0;background:#fff;border-radius:7px;padding:4px 8px;font-size:.75rem;font-weight:500}.header-actions{align-items:center;gap:10px;display:flex}.station-menu-wrap{position:relative}.station-menu-button,.photo-shoot-toggle{border:1px solid var(--line);min-height:44px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:9px;align-items:center;gap:8px;padding:0 12px;font-size:.8125rem;font-weight:500;display:inline-flex}.station-menu-button:hover,.station-menu-button.is-open,.photo-shoot-toggle:hover{background:#f0f1f3}.photo-shoot-toggle.active{color:#263d54;background:#e9edf1;border-color:#bac5d0}.photo-shoot-toggle:disabled{opacity:.55}.station-menu{z-index:10;border:1px solid var(--line);background:#fff;border-radius:12px;width:290px;padding:18px;position:absolute;top:calc(100% + 8px);right:0}.menu-eyebrow{color:var(--muted);font-size:.6875rem;font-weight:600}.station-menu p{margin:8px 0 14px;font-size:.8125rem;line-height:1.5}.station-menu button{border:1px solid var(--line);text-align:left;background:#f5f5f7;border-radius:8px;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px;font-size:.75rem;display:flex}.station-menu small{color:var(--muted);margin-top:12px;font-size:.6875rem;line-height:1.6;display:block}.demo-ribbon{border-bottom:1px solid var(--line);min-height:32px;color:var(--muted);background:#eeeef1;justify-content:center;align-items:center;gap:8px;padding:7px 18px;font-size:.6875rem;line-height:1.5;display:flex}.roster-main{max-width:1440px;margin:0 auto;padding:28px 4% 0}.roster-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.roster-heading h1{letter-spacing:-.6px;margin:0;font-size:1.625rem;font-weight:600;line-height:1.2}.heading-date{color:var(--muted);margin:7px 0 0;font-size:.8125rem;line-height:1.5}.attendance-summary{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:11px;padding:10px 15px;display:flex}.summary-icon{color:var(--muted);place-items:center;display:grid}.attendance-summary strong{letter-spacing:-.5px;font-size:1.375rem;font-weight:600;line-height:1.25;display:block}.attendance-summary strong>span{color:var(--muted);letter-spacing:0;font-size:1rem;font-weight:400}.attendance-summary small{color:var(--muted);margin-top:2px;font-size:.6875rem;display:block}.class-navigation{scrollbar-width:thin;scrollbar-color:#c7c9ce transparent;gap:8px;margin:0 -3px 16px;padding:3px 3px 5px;display:flex;overflow-x:auto}.class-tab{border:1px solid var(--line);white-space:nowrap;background:#fff;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:0 17px;font-size:.875rem;font-weight:500;display:flex}.class-tab:hover{background:#f0f1f3}.class-tab.active{color:#263d54;background:#e9edf1;border-color:#b7c2cf;font-weight:600}.tab-count{min-width:24px;height:23px;color:var(--muted);background:#f0f1f3;border-radius:5px;place-items:center;padding:0 5px;font-size:.6875rem;font-weight:400;display:grid}.active .tab-count{color:#334c66;background:#dce3ea}.roster-panel{border:1px solid var(--line);background:#fff;border-radius:16px;position:relative;overflow:hidden}.roster-toolbar{justify-content:space-between;align-items:center;gap:20px;padding:20px 25px 15px;display:flex}.class-title h2{letter-spacing:-.25px;margin:0 0 7px;font-size:1.0625rem;font-weight:600;line-height:1.3}.class-subtitle{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:.75rem;line-height:1.5;display:flex}.green-dot{background:var(--green);border-radius:50%;width:5px;height:5px}.subtitle-separator{padding:0 3px}.roster-tools{align-items:center;gap:8px;display:flex}.search-field{border:1px solid var(--line);height:44px;min-height:44px;color:var(--muted);background:#f8f8f9;border-radius:9px;align-items:center;gap:8px;padding:0 11px;display:flex}.search-field:focus-within{border-color:var(--blue)}.search-field input{width:160px;min-width:0;height:100%;min-height:44px;color:var(--ink);outline-offset:0;background:0 0;border:0;font-size:.8125rem}.search-field input::placeholder,.pin-input::placeholder{color:var(--muted)}.search-field input::-webkit-search-cancel-button{display:none}.search-field button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.icon-button{border:1px solid var(--line);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--muted);background:#fff;border-radius:9px;place-items:center;display:grid}.icon-button:hover{background:#f0f1f3}.icon-button:disabled{opacity:.5}.roster-subtoolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:0 25px 18px;display:flex}.roster-filters{border:1px solid var(--line);background:#f5f5f7;border-radius:9px;align-items:center;gap:2px;padding:3px;display:flex}.roster-filters button{min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;padding:8px 12px;font-size:.75rem}.roster-filters button.active{border-color:var(--line);color:var(--ink);background:#fff}.tap-instruction{color:var(--muted);align-items:center;gap:7px;margin:0;font-size:.6875rem;display:flex}.instruction-check{border:1px solid #a0a4ac;border-radius:50%;place-items:center;width:16px;height:16px;display:grid}.student-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px 12px;padding:24px 22px 26px;display:grid}.student-tile{background:#fff;border:1px solid #0000;border-radius:12px;flex-direction:column;align-items:center;min-width:0;min-height:232px;padding:14px 8px 16px;transition:background .15s,border-color .15s;display:flex}.student-tile:not(:disabled):hover{border-color:var(--line);background:#f8f8f9}.student-tile:not(:disabled):active{background:#edf0f3;border-color:#b7c2cf}.photo-wrap{margin-bottom:12px;display:block;position:relative}.student-photo{border:1px solid var(--line);width:82px;height:82px;color:var(--muted);background:#f0f0f2;border-radius:50%;place-items:center;display:grid;overflow:hidden}.student-initials{letter-spacing:-.5px;font-size:1.5rem;font-weight:500}.student-tile .photo-wrap{isolation:isolate;margin-bottom:16px}.student-tile .student-photo{z-index:0;width:118px;height:118px;position:relative}.student-tile .student-initials{font-size:2.25rem}.student-photo img,.editor-photo img{object-fit:cover;width:100%;height:100%}.attendance-badge{border:3px solid #fff;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:absolute;bottom:-2px;right:-4px}.student-tile .attendance-badge{z-index:2;width:36px;height:36px;right:-5px}.badge-ready{color:#646970;outline:1px solid var(--line);background:#f2f3f5}.badge-confirmed{background:var(--green);color:#fff}.badge-pending{background:var(--blue);color:#fff}.badge-issue{color:#fff;background:#96702b}.badge-photo{color:#fff;background:#666c75}.student-first-name{max-width:100%;color:var(--ink);overflow-wrap:anywhere;font-size:1.375rem;font-weight:600;line-height:1.25}.student-last-name{max-width:100%;color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:1.125rem;line-height:1.35}.student-status{max-width:100%;color:var(--muted);overflow-wrap:anywhere;margin-top:8px;font-size:.8125rem;line-height:1.5}.checked-in .student-photo{border-color:#71937e}.status-here{color:var(--green)}.status-help{color:#886423}.student-tile.checking-in{background:#f4f6f8}.student-tile.needs-help{background:#faf8f3}.panel-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:14px 25px;font-size:.6875rem;line-height:1.5;display:flex}.panel-footer>span:first-child{align-items:center;gap:6px;display:flex}.app-footer{justify-content:flex-end;padding:10px 0 15px;display:flex}.app-footer button{min-height:44px;color:var(--muted);background:0 0;border:0;align-items:center;gap:7px;padding:0 4px;font-size:.75rem;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.student-skeleton{flex-direction:column;align-items:center;gap:10px;min-height:232px;padding:14px 8px 16px;display:flex}.student-skeleton>span{background:#f0f1f3;border-radius:50%;width:118px;height:118px;margin-bottom:6px}.student-skeleton i{background:#f0f1f3;border-radius:4px;width:55%;height:16px}.student-skeleton i:last-child{width:40%;height:13px}.empty-state{text-align:center;min-height:290px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;padding:35px 25px;display:flex}.empty-state h3{color:var(--ink);margin:16px 0 7px;font-size:1.125rem;font-weight:600}.empty-state p{color:var(--muted);margin:0 0 20px;font-size:.8125rem;line-height:1.7}.error-banner{color:#875149;background:#faf4f3;border:1px solid #e1c9c6;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;padding:13px 15px;font-size:.8125rem;line-height:1.6;display:flex}.roster-error{margin-bottom:20px}.text-button{min-height:44px;color:inherit;background:0 0;border:0;padding:3px 0;font-size:.75rem;font-weight:500;text-decoration:underline}.text-button:disabled{opacity:.5}.readonly-banner,.verification-banner{border:1px solid var(--line);color:var(--muted);background:#f5f5f7;border-radius:10px;align-items:center;gap:12px;margin:17px 22px 0;padding:14px 16px;display:flex}.readonly-banner>svg,.verification-banner>svg{flex-shrink:0}.readonly-banner>div,.verification-banner>div{flex:1}.readonly-banner strong,.verification-banner strong{color:var(--ink);font-size:.8125rem;font-weight:600;display:block}.readonly-banner span,.verification-banner p{color:var(--muted);margin:4px 0 0;font-size:.75rem;line-height:1.6;display:block}.verification-banner{background:#faf8f3;border-color:#ded5c4}.verification-banner .secondary-button{white-space:nowrap}.welcome-main{flex-direction:column;justify-content:flex-start;align-items:center;min-height:calc(100svh - 68px);padding:64px 24px 30px;display:flex}.welcome-card{border:1px solid var(--line);background:#fff;border-radius:16px;width:100%;max-width:440px;padding:30px}.welcome-symbol{color:var(--muted);justify-content:flex-start;margin-bottom:18px;display:flex}.welcome-card h1{letter-spacing:-.4px;margin:0 0 25px;font-size:1.5rem;font-weight:600;line-height:1.3}.mode-picker{border:1px solid var(--line);background:#f5f5f7;border-radius:10px;gap:3px;margin-bottom:23px;padding:3px;display:flex}.mode-picker button{min-height:44px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:7px;padding:9px 6px;font-size:.75rem;font-weight:500;display:flex}.mode-picker button.selected{border-color:var(--line);color:var(--ink);background:#fff}.pin-label{color:var(--ink);margin-bottom:8px;font-size:.8125rem;font-weight:500;display:block}.pin-input{border:1px solid var(--line);width:100%;min-height:50px;color:var(--ink);background:#fff;border-radius:9px;margin-bottom:17px;padding:13px;font-size:1rem}.otp-input{--otp-size:48px;--otp-gap:8px;--otp-radius:12px;--otp-font:1.125rem;--otp-caret-size:24px;max-width:100%;margin:0 0 20px;display:block}.otp-input[data-size=lg]{--otp-size:56px;--otp-gap:10px;--otp-radius:16px;--otp-font:1.25rem;--otp-caret-size:28px}.otp-row{align-items:center;gap:var(--otp-gap);flex-wrap:wrap;max-width:100%;display:flex;position:relative}.otp-cell{width:var(--otp-size);height:var(--otp-size);flex:0 0 var(--otp-size);position:relative}.otp-slot{border:1px solid var(--line);border-radius:var(--otp-radius);width:100%;min-width:44px;height:100%;min-height:44px;font-size:var(--otp-font);text-align:center;color:#0000;-webkit-text-fill-color:transparent;caret-color:#0000;background:#f5f5f7;padding:0;font-weight:500}.otp-slot::selection{background:0 0}.otp-slot:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.otp-slot:disabled{opacity:.55}.otp-slot.otp-error{background:#faf4f3;border-color:#b8847b}.otp-character-overlay{pointer-events:none;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.otp-character{color:var(--ink);font-size:var(--otp-font);font-weight:600}.otp-caret{width:2px;height:var(--otp-caret-size);background:var(--ink);pointer-events:none;border-radius:2px;position:absolute;left:0}.otp-success-ring{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}@media (max-width:360px){.otp-input[data-size=lg]{--otp-size:48px;--otp-gap:8px;--otp-radius:12px;--otp-caret-size:24px}}.primary-button{border:1px solid var(--blue);background:var(--blue);color:#fff;border-radius:9px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:46px;padding:12px 17px;font-size:.8125rem;font-weight:500;display:flex}.primary-button:hover:not(:disabled){background:var(--blue-dark);border-color:var(--blue-dark)}.primary-button:disabled{opacity:.55}.secondary-button{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 13px;font-size:.75rem;font-weight:500;display:inline-flex}.secondary-button:hover:not(:disabled){background:#f0f1f3}.secondary-button:disabled{opacity:.55}.privacy-note{color:var(--muted);align-items:center;gap:6px;margin:19px 0 0;font-size:.6875rem;line-height:1.5;display:flex}.loading-welcome{min-height:50px;color:var(--muted);align-items:center;gap:9px;font-size:.8125rem;display:flex}.demo-pin{color:var(--muted);margin:-3px 0 15px;font-size:.75rem}.setup-panel{border:1px solid var(--line);background:#f5f5f7;border-radius:10px;padding:18px}.setup-icon{color:var(--muted)}.setup-panel h2{margin:10px 0;font-size:1.0625rem;font-weight:600}.setup-panel p{color:var(--muted);margin:0 0 15px;font-size:.8125rem;line-height:1.7}.setup-panel details{color:var(--muted);margin-bottom:16px;font-size:.75rem}.setup-panel summary{cursor:pointer;min-height:44px;padding:12px 0}.setup-panel ul{overflow-wrap:anywhere;line-height:1.7}.success-toast{z-index:30;width:max-content;max-width:calc(100% - 32px);color:var(--ink);background:#fff;border:1px solid #bccac0;border-radius:12px;align-items:center;gap:11px;padding:12px 13px 12px 17px;font-size:.875rem;line-height:1.5;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%)}.success-toast>svg{color:var(--green);flex-shrink:0}.success-toast button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.screen-reader-status{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.modal-backdrop{z-index:40;background:#16171955;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.help-dialog{border:1px solid var(--line);background:#fff;border-radius:16px;width:100%;max-width:460px;padding:30px;position:relative}.modal-close{border:0;position:absolute;top:11px;right:11px}.help-dialog h2{letter-spacing:-.3px;margin:10px 30px 20px 0;font-size:1.375rem;font-weight:600;line-height:1.3}.help-dialog p{color:var(--muted);margin:0 0 15px;font-size:.875rem;line-height:1.75}.help-footnote{color:var(--muted);align-items:center;gap:8px;padding:8px 0 23px;font-size:.75rem;line-height:1.6;display:flex}.photo-shoot-banner{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:12px;align-items:center;gap:12px;margin-bottom:18px;padding:13px 17px;display:flex}.photo-shoot-banner>svg{flex-shrink:0}.photo-shoot-banner>div{flex:1}.photo-shoot-banner strong{color:var(--ink);margin-bottom:4px;font-size:.8125rem;font-weight:600;display:block}.photo-shoot-banner span{font-size:.75rem;line-height:1.6;display:block}.photo-shoot-banner button{min-height:44px;color:var(--blue);white-space:nowrap;background:0 0;border:0;align-items:center;gap:7px;font-size:.75rem;font-weight:500;display:flex}.photo-dialog{border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;width:min(820px,100%);max-height:calc(100svh - 40px);display:flex;overflow:hidden}.photo-dialog-header{border-bottom:1px solid var(--line);align-items:center;gap:13px;padding:21px 25px;display:flex}.photo-dialog-icon{width:44px;height:44px;color:var(--muted);flex-shrink:0;place-items:center;display:grid}.photo-dialog-header>div{flex:1;min-width:0}.photo-dialog-header h2{letter-spacing:-.3px;overflow-wrap:anywhere;margin:0;font-size:1.375rem;font-weight:600;line-height:1.3}.photo-class-label{color:var(--muted);margin:5px 0 0;font-size:.75rem}.photo-dialog-body{overscroll-behavior:contain;padding:24px 25px;overflow-y:auto}.photo-editor-main{grid-template-columns:225px 1fr;align-items:center;gap:25px;display:grid}.current-photo-panel{border:1px solid var(--line);background:#f5f5f7;border-radius:12px;flex-direction:column;align-items:center;gap:15px;padding:20px 14px;display:flex}.editor-photo{border:1px solid var(--line);width:164px;height:164px;color:var(--muted);background:#ededf0;border-radius:50%;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.editor-photo>span{letter-spacing:-1px;font-size:2.75rem;font-weight:500}.photo-source-label{color:var(--muted);text-align:center;font-size:.6875rem;line-height:1.5}.photo-source-label.unsaved{color:#886423}.photo-upload-panel h3{margin:0 0 16px;font-size:1.125rem;font-weight:600}.hidden-file-input{display:none}.photo-pick-actions{gap:8px;display:flex}.photo-pick-actions .secondary-button{font-size:.75rem}.photo-upload-footnote{color:var(--muted);align-items:flex-start;gap:7px;margin:15px 0 0;font-size:.6875rem;line-height:1.7;display:flex}.photo-upload-footnote svg{flex-shrink:0;margin-top:2px}.photo-save-actions{align-items:center;gap:10px;margin-top:15px;display:flex}.photo-save-actions .primary-button{flex:1;width:auto;font-size:.75rem}.photo-discard{min-height:44px;color:var(--muted);background:0 0;border:0;padding:0;font-size:.6875rem;text-decoration:underline}.photo-progress{color:var(--muted);align-items:center;gap:8px;margin-top:15px;font-size:.75rem;display:flex}.photo-demo-note{border:1px solid var(--line);color:var(--muted);background:#f5f5f7;border-radius:9px;margin-bottom:20px;padding:10px 13px;font-size:.75rem;line-height:1.6}.photo-error{margin-top:20px;margin-bottom:0}.photo-confirmation{color:var(--green);background:#f4f8f5;border:1px solid #c9d9ce;border-radius:10px;align-items:flex-start;gap:8px;margin-top:20px;padding:12px 14px;font-size:.75rem;line-height:1.7;display:flex}.photo-confirmation svg{flex-shrink:0;margin-top:2px}.photo-history{border-top:1px solid var(--line);margin-top:27px;padding-top:23px}.photo-history-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;display:flex}.photo-history-heading h3{margin:0;font-size:1rem;font-weight:600}.photo-history-heading>span{color:var(--muted);font-size:.6875rem;line-height:1.5}.photo-version-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.photo-version{border:1px solid var(--line);background:#fff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;padding:13px;display:flex}.photo-version.is-current{background:#f3f6f4;border-color:#bfd0c5}.photo-version>div{flex:1;min-width:0}.photo-version strong{font-size:.75rem;font-weight:500;line-height:1.5;display:block}.photo-version small{color:var(--muted);margin-top:2px;font-size:.6875rem;line-height:1.5;display:block}.version-thumbnail{border-radius:9px;width:48px;height:48px}.version-thumbnail>span{letter-spacing:-.3px;font-size:1rem}.original-photo-symbol{border:1px solid var(--line);width:48px;height:48px;color:var(--muted);background:#f0f1f3;border-radius:9px;flex-shrink:0;place-items:center;display:grid}.original-photo-symbol>span{font-size:1.375rem;font-weight:600}.version-restore{border:1px solid var(--line);min-height:44px;color:var(--ink);white-space:nowrap;background:#f5f5f7;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:7px 9px;font-size:.6875rem;font-weight:500;display:flex}.version-restore:disabled{color:var(--muted)}.photo-history-loading,.photo-empty-history{color:var(--muted);align-items:center;gap:9px;margin:0;padding:18px 0;font-size:.8125rem;display:flex}.photo-dialog-footer{border-top:1px solid var(--line);background:#f5f5f7;justify-content:space-between;align-items:center;gap:15px;padding:15px 25px;display:flex}.photo-dialog-footer>span{color:var(--muted);align-items:center;gap:6px;font-size:.6875rem;line-height:1.5;display:flex}.photo-dialog-footer .secondary-button{min-width:90px}.student-photo,.editor-photo{position:relative}.student-photo img,.editor-photo img{z-index:1;transition:opacity .15s;position:absolute;inset:0}.photo-loading{opacity:0}.photo-loaded{opacity:1}@media (max-width:1100px){.app-header{padding-left:30px;padding-right:30px}.roster-main{padding:25px 30px 0}.class-tab{gap:8px;padding:0 14px;font-size:.8125rem}.student-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:850px){.app-header{padding-left:24px;padding-right:24px}.roster-main{padding:24px 24px 0}.class-tab{flex:none;min-width:135px}.student-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.search-field input{width:132px}.tap-instruction{display:none}}@media (min-width:950px) and (max-height:850px) and (orientation:landscape){.roster-main{padding-top:22px}.roster-heading{margin-bottom:16px}.class-tab{min-height:44px}.class-navigation{margin-bottom:12px}.roster-toolbar{border-bottom:1px solid var(--line);min-height:74px;padding:14px 22px}.class-title h2{margin-bottom:5px;font-size:1rem}.class-subtitle{font-size:.6875rem}.roster-subtoolbar{border:0;padding:0;position:absolute;top:10px;left:50%;transform:translate(-50%)}.roster-filters button{padding-left:9px;padding-right:9px;font-size:.6875rem}.tap-instruction{display:none}.search-field input{width:132px}.student-grid{padding-top:20px;padding-bottom:22px}.panel-footer{padding-top:12px;padding-bottom:12px}}@media (min-width:950px) and (orientation:landscape){.student-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:601px) and (max-width:749px){.student-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:650px){.photo-backdrop{padding:12px}.photo-dialog{max-height:calc(100svh - 24px)}.photo-dialog-header{gap:10px;padding:17px}.photo-dialog-header h2{font-size:1.1875rem}.photo-dialog-body{padding:19px 17px}.photo-editor-main{grid-template-columns:1fr;gap:20px}.current-photo-panel{padding:17px}.editor-photo{width:126px;height:126px}.editor-photo>span{font-size:2.25rem}.photo-pick-actions .secondary-button{flex:1}.photo-version-grid{grid-template-columns:1fr}.version-thumbnail{width:48px;height:48px}.version-thumbnail>span{font-size:1rem}.photo-history-heading{flex-direction:column;align-items:flex-start;gap:5px}.photo-dialog-footer{padding:13px 17px}.photo-dialog-footer>span{max-width:185px;font-size:.625rem}.photo-shoot-banner{flex-wrap:wrap;gap:10px;padding:12px 14px}.photo-shoot-banner>div{flex-basis:calc(100% - 34px)}.photo-shoot-banner button{margin-left:31px}}@media (max-width:600px){.app-header{gap:10px;padding:11px 16px}.brand{gap:8px;font-size:.875rem}.brand-section{padding:4px 6px;font-size:.6875rem}.header-actions{gap:7px}.brand-logo{width:36px;height:36px}.station-menu-button{gap:5px;padding:0 8px;font-size:.6875rem}.station-menu-button>svg:first-child{display:none}.station-menu{width:265px}.photo-shoot-toggle{padding:0 10px}.photo-shoot-toggle>span{display:none}.demo-ribbon{text-align:center;padding:7px 14px;font-size:.625rem}.roster-main{padding:20px 15px 0}.roster-heading{gap:12px;margin-bottom:17px}.roster-heading h1{font-size:1.375rem}.heading-date{margin-top:5px;font-size:.75rem}.attendance-summary{padding:9px 11px}.summary-icon{display:none}.attendance-summary strong{font-size:1.25rem}.attendance-summary strong>span{font-size:.875rem}.attendance-summary small{font-size:.625rem}.class-navigation{margin-bottom:12px}.class-tab{min-width:133px;min-height:44px;padding:0 12px;font-size:.75rem}.tab-count{height:21px;font-size:.625rem}.roster-toolbar{padding:18px 16px 15px;display:block}.class-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.class-title h2{margin-bottom:0;font-size:.9375rem}.class-subtitle{gap:4px;font-size:.625rem}.subtitle-separator{padding:0}.roster-tools{width:100%}.search-field{flex:1}.search-field input{width:100%}.roster-subtoolbar{padding:0 16px 16px}.roster-filters button{padding:7px 8px;font-size:.6875rem}.student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px;padding:18px 10px 22px}.student-tile{min-height:220px;padding:12px 5px 14px}.student-tile .student-photo{width:108px;height:108px}.student-tile .student-initials{font-size:2rem}.student-tile .photo-wrap{margin-bottom:14px}.student-first-name{font-size:1.25rem}.student-last-name{font-size:1rem}.student-status{font-size:.8125rem}.panel-footer{padding:13px 15px;font-size:.625rem}.panel-footer svg{width:12px;height:12px}.app-footer{padding:7px 0 12px}.app-footer button{font-size:.6875rem}.welcome-main{padding:35px 16px 25px}.welcome-card{padding:25px}.welcome-card h1{font-size:1.375rem}.privacy-note{font-size:.625rem}.success-toast{padding:9px 10px 9px 14px;font-size:.8125rem;bottom:17px}.help-dialog{padding:25px}.help-dialog h2{font-size:1.25rem}.help-dialog p{font-size:.8125rem}.readonly-banner,.verification-banner{margin:15px 16px 0;padding:12px 13px}.verification-banner{flex-wrap:wrap}.verification-banner>div{flex-basis:calc(100% - 35px)}.verification-banner .secondary-button{margin-left:32px}.student-skeleton{min-height:220px;padding:12px 5px 14px}.student-skeleton>span{width:108px;height:108px;margin-bottom:4px}}@media (max-width:360px){.student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{font-size:.8125rem}.station-menu-button span{white-space:normal;max-width:76px;line-height:1.4}}@media (prefers-contrast:more){:root{--muted:#45474c;--line:#a9acb4;--blue:#334c66}.class-tab.active,.student-photo{border-width:2px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.sync-status{color:var(--muted);white-space:nowrap}.admin-kiosk-link{text-decoration:none}.admin-directory-toolbar{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:19px;display:flex}.admin-class-navigation{width:calc(100% + 6px);margin-bottom:0}.admin-search{width:275px;max-width:100%}.admin-search input{flex:1;width:100%}.admin-student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.admin-student-card{border:1px solid var(--line);background:#fff;border-radius:16px;min-width:0;padding:21px}.admin-student-card>header{align-items:center;gap:12px;margin-bottom:21px;display:flex}.admin-student-photo{flex-shrink:0;width:60px;height:60px}.admin-student-photo .student-initials{font-size:1.125rem}.admin-student-name{flex:1;min-width:0}.admin-student-name h2{overflow-wrap:anywhere;margin:0 0 6px;font-size:1rem;font-weight:600;line-height:1.35}.admin-student-name p{color:var(--muted);margin:0;font-size:.6875rem;line-height:1.7}.admin-photo-button{min-width:44px;padding:9px 11px;font-size:.6875rem}.admin-student-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;display:grid}.admin-student-fields label{flex-direction:column;gap:8px;min-width:0;font-size:.75rem;font-weight:500;display:flex}.admin-student-fields select{border:1px solid var(--line);width:100%;min-width:0;min-height:46px;color:var(--ink);font:inherit;background:#fff;border-radius:9px;padding:9px 11px;font-weight:400}.admin-student-fields select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.admin-student-card>footer{justify-content:space-between;align-items:center;gap:12px;margin-top:18px;display:flex}.admin-field-note,.draft-notice{color:var(--muted);font-size:.625rem;line-height:1.7}.draft-notice{color:#886423}.admin-save-button{font-size:.6875rem}.admin-confirmation{color:var(--green);background:#f4f8f5;border:1px solid #c9d9ce;border-radius:10px;align-items:center;gap:8px;margin-bottom:18px;padding:13px 15px;font-size:.8125rem;display:flex}.admin-loading{min-height:240px;color:var(--muted);grid-column:1/-1;justify-content:center;align-items:center;gap:10px;font-size:.8125rem;display:flex}.admin-empty{border:1px solid var(--line);background:#fff;border-radius:16px;grid-column:1/-1}.admin-directory-footer{border:0;margin:18px 0 10px;padding:14px 0}@media (max-width:1100px){.admin-class-navigation .class-tab{flex:none;min-width:128px}.admin-student-card{padding:18px}.admin-student-card>header{gap:10px}.admin-student-photo{width:54px;height:54px}.admin-student-fields{gap:9px}}@media (max-width:760px){.admin-student-grid{grid-template-columns:1fr}.admin-student-card{padding:20px}.admin-student-photo{width:60px;height:60px}.admin-directory-toolbar{gap:13px}.admin-search{width:100%}}@media (max-width:600px){.admin-kiosk-link{padding:9px 10px;font-size:.6875rem}.admin-student-card{padding:17px}.admin-student-name h2{font-size:.9375rem}.admin-student-name p{font-size:.625rem}.admin-student-photo{width:52px;height:52px}.admin-student-card>footer{margin-top:16px}.admin-field-note{max-width:180px}.admin-directory-footer{font-size:.625rem}}@media (max-width:400px){.admin-shell .app-header{flex-wrap:wrap}.admin-shell .header-actions{margin-left:auto}.admin-student-fields{grid-template-columns:1fr;gap:15px}.admin-photo-button{padding:9px}.admin-photo-button span{display:none}.admin-student-name p{font-size:.6875rem}.admin-kiosk-link>svg{display:none}}.checkin-main{padding-top:16px}.checkin-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;display:flex}.checkin-heading-copy{min-width:0}.checkin-heading h1{letter-spacing:-.4px;margin:0;font-size:1.25rem;font-weight:600;line-height:1.25}.checkin-heading .heading-date{margin-top:3px;font-size:.75rem}.checkin-overview{justify-content:flex-end;align-items:center;gap:12px;display:flex}.checkin-count{white-space:nowrap;color:var(--muted);align-items:baseline;gap:6px;font-size:.75rem;display:inline-flex}.checkin-count strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:1rem;font-weight:600}.checkin-count strong>span{color:var(--muted);font-weight:400}.station-readonly{border:1px solid var(--line);min-height:44px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.75rem;display:inline-flex}.station-readonly:hover{background:#f0f1f3}.checkin-main .class-navigation{margin-bottom:8px}.checkin-main .class-tab{flex:1;min-width:min-content;min-height:44px}.checkin-main .all-tab{flex:1.3}.checkin-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.checkin-toolbar .roster-filters{flex-shrink:0;padding:2px}.checkin-toolbar .roster-filters button{min-width:44px;padding:8px 10px;font-size:.8125rem}.checkin-toolbar .roster-tools,.checkin-toolbar .search-field{min-width:0}.checkin-toolbar .search-field input{width:160px}.checkin-main .student-grid{padding-top:18px}@media (max-width:850px){.checkin-toolbar .search-field input{width:132px}.checkin-toolbar .roster-filters button{padding-left:8px;padding-right:8px}}@media (max-width:749px){.checkin-main .class-tab{flex:none;min-width:124px}.checkin-main .all-tab{min-width:146px}}@media (max-width:650px){.checkin-toolbar{flex-wrap:wrap}.checkin-toolbar .roster-tools{width:100%}.checkin-toolbar .search-field{flex:1}.checkin-toolbar .search-field input{flex:1;width:100%}}@media (max-width:600px){.checkin-main{padding-top:12px}.checkin-heading{gap:10px}.checkin-heading .heading-date{line-height:1.6}.checkin-overview{flex-direction:column;align-items:flex-end;gap:3px}.checkin-count{gap:5px;font-size:.6875rem}.checkin-toolbar{gap:8px;padding:10px 12px}.checkin-toolbar .roster-filters{width:100%}.checkin-toolbar .roster-filters button{flex:1 0 auto;padding:8px;font-size:.75rem}}
