:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif;color:#172429;background:#f6f7f4;font-synthesis:none;text-rendering:optimizeLegibility;--page: #f6f7f4;--surface: #ffffff;--surface-soft: #f9faf8;--ink: #172429;--muted: #667479;--line: #dde3e1;--line-strong: #c8d1ce;--action: #176b68;--action-hover: #105b58;--action-pale: #e4f1ef;--absent: #b74a3a;--absent-pale: #fbeae6;--present: #2d7253;--present-pale: #e8f2ec;--waiting: #8a6a2b;--waiting-pale: #f6efdf;--focus: #1d6fd8;--danger: #a43e31;--radius-control: 10px;--radius-panel: 14px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--space-7: 40px;--space-8: 48px}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--page)}body{min-width:320px;min-height:100vh;margin:0;background:var(--page);color:var(--ink);font-size:16px;line-height:1.55}body:has(dialog[open]){overflow:hidden}button,input,textarea,select{font:inherit}button,summary,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:var(--action)}h1,h2,h3,p,dl,dd{margin-top:0}h1,h2,h3,strong{letter-spacing:.01em}h1{font-size:clamp(1.55rem,4vw,2rem);line-height:1.25}h2{font-size:1.2rem;line-height:1.35}h3{font-size:1.02rem;line-height:1.4}:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 72%,transparent);outline-offset:2px}::selection{background:#cbe3e0}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.eyebrow{margin-bottom:5px;color:var(--action);font-size:.72rem;font-weight:750;letter-spacing:.08em}.muted-copy{color:var(--muted)}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:var(--radius-control);padding:9px 16px;font-weight:700;line-height:1.25;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.button:disabled,button:disabled{cursor:not-allowed;opacity:.58}.button--primary{background:var(--action);color:#fff}.button--primary:hover:not(:disabled){background:var(--action-hover)}.button--secondary{border-color:var(--line-strong);background:var(--surface);color:var(--ink)}.button--secondary:hover:not(:disabled){border-color:#9eafaa;background:var(--surface-soft)}.button--danger{border-color:var(--danger);background:var(--danger);color:#fff}.button--danger:hover:not(:disabled){border-color:#8e3328;background:#8e3328}.button--quiet{background:transparent;color:var(--action)}.button--quiet:hover:not(:disabled){background:var(--action-pale)}.button--full{width:100%;min-height:52px}.text-button{min-height:40px;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--action);font-weight:700;cursor:pointer}.text-button:hover{text-decoration:underline}.icon-button{width:44px;height:44px;flex:0 0 auto;display:inline-grid;place-items:center;border:0;border-radius:9px;background:transparent;cursor:pointer}.icon-button:hover{background:#eef1ef}.spinner{width:18px;height:18px;display:inline-block;flex:0 0 auto;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:11px;color:var(--muted)}.skeleton-list{display:grid}.skeleton-row{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.skeleton-row span{height:14px;border-radius:4px;background:#e7ebe9;animation:pulse 1.2s ease-in-out infinite alternate}.skeleton-row span:first-child{width:38%}.skeleton-row span:last-child{width:18%}@keyframes pulse{to{opacity:.45}}.notice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:var(--radius-control);padding:13px 14px;background:var(--surface-soft);color:var(--ink)}.notice>svg{flex:0 0 auto;margin-top:2px}.notice p{margin:0}.notice small{display:block;margin-top:5px;color:var(--muted)}.notice .text-button{margin-left:auto}.notice--error{border-color:#e7bbb4;background:#fff5f2;color:#7e3026}.notice--error ul{margin:7px 0 0;padding-left:20px}.notice--success{border-color:#bed9ca;background:#f0f8f3;color:#235c42}.notice--neutral{border-color:#cbd8d5;background:#f2f7f6}.field{display:grid;gap:7px}.field label{font-weight:700}.field input,.field textarea,.search-input input{width:100%;border:1px solid var(--line-strong);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font-size:16px}.field input{height:48px;padding:9px 12px}.field textarea{min-height:108px;resize:vertical;padding:11px 12px;line-height:1.6}.field input:hover,.field textarea:hover,.search-input:hover{border-color:#a5b3af}.field input:focus,.field textarea:focus,.search-input:focus-within{border-color:var(--focus);outline:2px solid color-mix(in srgb,var(--focus) 18%,transparent);outline-offset:0}.field-hint,.field-error{margin:0;font-size:.83rem}.field-hint{color:var(--muted)}.field-error{color:var(--danger);font-weight:650}.field-meta{min-height:21px;display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:.8rem}.input--error,.input--error input,input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--danger)!important}.password-input{display:flex;align-items:center;border:1px solid var(--line-strong);border-radius:var(--radius-control);background:var(--surface)}.password-input:focus-within{border-color:var(--focus);outline:2px solid color-mix(in srgb,var(--focus) 18%,transparent)}.password-input input{min-width:0;border:0;outline:0!important;background:transparent}.password-input .icon-button{width:46px}.modal{width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden}.modal::backdrop{background:#131f237a;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.modal__surface{width:min(100% - 32px,560px);max-height:min(84vh,760px);position:absolute;left:50%;top:50%;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface);box-shadow:0 18px 50px #15222733;transform:translate(-50%,-50%);overflow:hidden}.modal__header{min-height:74px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:16px 17px 14px 22px}.modal__header h2{margin-bottom:2px;font-size:1.18rem}.modal__header p{margin:0;color:var(--muted);font-size:.84rem}.modal--sheet .modal__surface{width:min(100%,480px);height:100%;max-height:100%;left:auto;right:0;top:0;border-width:0 0 0 1px;border-radius:0;transform:none}.student-number{min-width:2.2em;display:inline-grid;place-items:center;border-radius:6px;padding:2px 6px;background:#edf0ee;color:#4e5d61;font-size:.78rem;font-variant-numeric:tabular-nums;font-weight:750}.status-badge{min-height:27px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:999px;padding:3px 9px;font-size:.76rem;font-weight:750;white-space:nowrap}.status-badge--present{background:var(--present-pale);color:var(--present)}.status-badge--absent{background:var(--absent-pale);color:var(--absent)}.status-badge--unsubmitted{background:var(--waiting-pale);color:var(--waiting)}.student-page{min-height:100vh;background:var(--page)}.student-page--centered{display:grid;place-items:center;padding:24px}.student-header{min-height:64px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line);padding:10px 16px;background:#f6f7f4f5}.student-brand{min-height:44px;display:inline-flex;align-items:center;color:var(--ink);font-size:1.12rem;font-weight:800;letter-spacing:.04em;text-decoration:none}.student-main{width:min(100% - 32px,560px);margin:0 auto;padding:var(--space-5) 0 var(--space-7)}.student-intro{margin-bottom:var(--space-6);text-align:center}.student-intro h1{margin-bottom:var(--space-2);font-size:clamp(2.05rem,9vw,2.25rem);line-height:1.22;letter-spacing:-.025em}.student-intro>p:last-child{margin-bottom:0;color:var(--ink);font-size:1rem;font-weight:650}.student-intro__date-label{margin-bottom:var(--space-1);color:var(--muted);font-size:.8rem;font-weight:700;letter-spacing:.04em}.student-panel{margin-top:14px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface)}.attendance-form{padding:0}.attendance-form .form-section:first-child{padding-top:0}.form-section{padding:0;border-bottom:0}.form-section+.form-section{margin-top:var(--space-6)}.student-form-label{margin-bottom:var(--space-2);font-size:.94rem;line-height:1.5}.name-select-button{width:100%;min-height:56px;position:relative;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--action);border-radius:var(--radius-control);padding:10px 48px;background:var(--action);color:#fff;text-align:center;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.name-select-button:hover{border-color:var(--action-hover);background:var(--action-hover)}.name-select-button>svg:first-child{position:absolute;left:17px;color:#fff}.name-select-button>svg:last-child{position:absolute;right:16px;color:#fff}.name-select-button strong{font-size:1.02rem}.name-select-button--selected{border-color:var(--line-strong);background:var(--surface);color:var(--action)}.name-select-button--selected:hover{border-color:var(--action);background:var(--action-pale)}.name-select-button--selected>svg:first-child,.name-select-button--selected>svg:last-child{color:var(--action)}.selected-student{min-height:64px;display:flex;align-items:center;gap:var(--space-3);margin-top:var(--space-2);border-radius:var(--radius-control);padding:var(--space-3) var(--space-4);background:var(--action-pale)}.selected-student>div{min-width:0;display:grid;flex:1;gap:3px}.selected-student__identity{min-width:0;display:flex;align-items:center;gap:9px}.selected-student__identity strong{font-size:1.06rem;overflow-wrap:anywhere}.selected-student small{color:var(--muted);font-size:.78rem}.selected-student .student-number{background:var(--action-pale);color:var(--action)}.status-choice{min-width:0;margin:0;padding:0;border:0}.status-choice legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.status-choice__options{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)}.status-option{min-width:0;min-height:86px;display:flex;align-items:center;gap:10px;border:1px solid var(--line-strong);border-radius:var(--radius-control);padding:12px;background:var(--surface);cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.status-option input{position:absolute;width:1px;height:1px;opacity:0}.status-option:has(input:focus-visible){outline:3px solid color-mix(in srgb,var(--focus) 72%,transparent);outline-offset:2px}.status-option__icon{width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;border:2px solid var(--line-strong);border-radius:50%;background:transparent;color:var(--muted)}.status-option__icon svg{opacity:0}.status-option>span:last-child{min-width:0;display:grid}.status-option strong{font-size:1.05rem}.status-option small{color:var(--muted);font-size:.74rem;white-space:nowrap}.status-option--present.is-selected{border-color:#74a88e;background:var(--present-pale)}.status-option--present.is-selected .status-option__icon{border-color:var(--present);background:var(--present);color:#fff}.status-option--absent.is-selected{border-color:#d28e83;background:var(--absent-pale)}.status-option--absent.is-selected .status-option__icon{border-color:var(--absent);background:var(--absent);color:#fff}.status-option.is-selected .status-option__icon svg{opacity:1}.student-status-choice .status-option{min-height:80px;justify-content:center}.student-status-choice .status-option small{display:none}.reason-field,.contact-note-field{margin-top:var(--space-5)}.student-page .reason-field textarea{min-height:120px}.student-page .contact-note-field textarea{min-height:104px}.submit-area{padding-top:var(--space-6)}.student-page .submit-area .button--full{min-height:56px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;padding:34px 24px;color:var(--muted);text-align:center}.empty-state svg{margin-bottom:13px;color:#80908c}.empty-state h2,.empty-state h3{margin-bottom:7px;color:var(--ink)}.empty-state p{max-width:520px;margin-bottom:17px}.empty-state--compact{min-height:130px;padding:22px}.empty-state--compact p{margin-bottom:2px;color:var(--ink)}.empty-state--compact small{color:var(--muted)}.empty-state__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.submitted-panel{padding:34px 28px 28px;text-align:center}.submitted-panel__check{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 15px;border-radius:50%;background:var(--present-pale);color:var(--present)}.submitted-panel h2{margin-bottom:22px;font-size:1.35rem}.submission-summary{max-width:470px;margin:0 auto;border-top:1px solid var(--line)}.submission-summary>div{display:grid;grid-template-columns:88px 1fr;gap:12px;border-bottom:1px solid var(--line);padding:12px 4px;text-align:left}.submission-summary dt{color:var(--muted);font-size:.82rem}.submission-summary dd{margin:0;font-weight:650;overflow-wrap:anywhere;white-space:pre-wrap}.submission-summary dd .student-number{margin-right:8px}.submission-time{margin:11px 0 0;color:var(--muted);font-size:.77rem}.submitted-panel__actions{max-width:240px;margin:24px auto 0}.submitted-panel__actions .button{width:100%}.error-panel{max-width:620px;padding:25px}.name-picker .modal__surface{height:min(82vh,690px)}.name-picker__tools{flex:0 0 auto;display:grid;gap:12px;border-bottom:1px solid var(--line);padding:15px 20px}.search-input{min-height:46px;display:flex;align-items:center;gap:8px;border:1px solid var(--line-strong);border-radius:var(--radius-control);padding:0 11px;background:var(--surface)}.search-input>svg{flex:0 0 auto;color:var(--muted)}.search-input input{min-width:0;height:43px;border:0;padding:8px 0;outline:0!important}.search-input input::-webkit-search-cancel-button{cursor:pointer}.kana-filter{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin}.kana-filter button{min-width:44px;min-height:44px;flex:0 0 auto;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.kana-filter button[aria-pressed=true]{border-color:#b9d1cd;background:var(--action-pale);color:var(--action);font-weight:750}.name-picker__results{min-height:0;flex:1;overflow-y:auto;padding-bottom:env(safe-area-inset-bottom)}.student-picker-list{margin:0;padding:0;list-style:none}.student-picker-list li{border-bottom:1px solid var(--line)}.student-picker-list li:last-child{border-bottom:0}.student-picker-list button{width:100%;min-height:67px;display:flex;align-items:center;gap:13px;border:0;padding:9px 21px;background:var(--surface);text-align:left;cursor:pointer}.student-picker-list button:hover{background:#f5f8f7}.student-picker-list button.is-selected{background:var(--action-pale)}.student-picker-list button.is-selected:hover{background:#dbeae7}.student-picker-list__selected-icon{flex:0 0 auto;margin-left:auto;color:var(--action)}.student-name{display:grid}.student-name strong{font-size:.98rem}.student-name small{color:var(--muted);font-size:.76rem}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 18px}.auth-card{width:min(100%,420px);border:1px solid var(--line);border-radius:var(--radius-panel);padding:31px 30px 25px;background:var(--surface)}.auth-card__icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:18px;border-radius:10px;background:var(--action-pale);color:var(--action)}.auth-card h1{margin-bottom:10px;font-size:1.55rem}.auth-card__lead{margin-bottom:24px;color:var(--muted);font-size:.9rem}.auth-card form{display:grid;gap:18px}.auth-card .notice{margin:0}.back-link{min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:17px;font-size:.82rem;font-weight:700;text-decoration:none}.auth-page__privacy{max-width:420px;margin:16px 0 0;color:var(--muted);font-size:.75rem;text-align:center}.admin-layout{min-height:100vh;display:grid;grid-template-columns:208px minmax(0,1fr)}.admin-sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;border-right:1px solid var(--line);padding:20px 14px;background:#f1f3f0}.admin-brand{min-height:51px;display:flex;align-items:center;gap:9px;padding:6px 10px 16px;color:var(--ink);font-size:.97rem;font-weight:800;text-decoration:none}.admin-brand svg{color:var(--action)}.admin-sidebar nav{display:grid;gap:4px;margin-top:13px}.admin-sidebar nav a,.admin-logout{min-height:46px;display:flex;align-items:center;gap:10px;border:0;border-radius:9px;padding:9px 11px;background:transparent;color:var(--muted);font-size:.87rem;font-weight:700;text-decoration:none;cursor:pointer}.admin-sidebar nav a:hover,.admin-logout:hover{background:#e7ebe8;color:var(--ink)}.admin-sidebar nav a[aria-current=page]{background:var(--surface);color:var(--action)}.admin-logout{width:100%;margin-top:auto}.admin-main{min-width:0;padding:var(--space-6) clamp(var(--space-5),3vw,var(--space-8)) 56px}.admin-page-header{min-height:72px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px}.admin-page-header h1{margin-bottom:4px;font-size:1.75rem;line-height:1.3}.admin-page-header>div>p:last-child{margin-bottom:0;color:var(--muted);font-size:.83rem}.admin-page-header__actions{padding-top:18px}.admin-page-header--compact{min-height:64px;align-items:center;padding-bottom:12px}.admin-page-header--compact .eyebrow{margin-bottom:2px;font-size:.69rem}.admin-page-header--compact h1{margin-bottom:2px;font-size:1.125rem;line-height:1.4}.admin-page-header--compact>div>p:last-child{font-size:.75rem;line-height:1.5}.admin-page-header--compact .admin-page-header__actions{padding-top:0}.admin-bottom-nav{display:none}.date-toolbar{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:var(--space-5);border-bottom:1px solid var(--line);padding:20px 0}.date-toolbar__date{min-width:max-content}.date-toolbar__date .eyebrow{margin-bottom:2px}.date-toolbar__date h2{display:flex;align-items:center;gap:10px;margin:0;color:var(--ink);font-size:clamp(2.125rem,3vw,2.5rem);line-height:1.15;letter-spacing:-.025em}.selected-period-label{width:fit-content;margin:6px 0 0;border-radius:999px;padding:3px 9px;background:var(--action-pale);color:var(--action);font-size:.75rem;font-weight:750}.date-toolbar__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--space-4)}.date-toolbar__navigation,.date-toolbar__utilities{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2)}.date-toolbar__actions .button{min-height:44px;padding:8px 12px;font-size:.875rem}.date-today-button{min-width:58px;color:var(--action)}.date-today-button--return{border-color:#9fc3bd;background:var(--surface)}.date-today-button--return:hover:not(:disabled){border-color:var(--action);background:var(--action-pale)}.date-today-button--current:disabled{border-color:transparent;background:var(--action-pale);color:var(--action);opacity:1}.date-refresh-button svg.is-spinning{animation:spin .7s linear infinite}.summary-filter{margin-top:var(--space-5)}.summary-filter__label{margin-bottom:var(--space-2);color:var(--muted);font-size:.875rem;font-weight:700;letter-spacing:.04em}.summary-bar{display:grid;grid-template-columns:repeat(4,minmax(116px,140px));justify-content:start;gap:var(--space-2)}.summary-bar button{min-height:52px;display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);border:1px solid;border-radius:12px;padding:8px 13px;cursor:pointer}.summary-bar button:hover{filter:brightness(.98)}.summary-bar button.is-active{box-shadow:inset 0 0 0 2px currentColor}.summary-bar button span{color:inherit;font-size:.9375rem;font-weight:800}.summary-bar button strong{font-size:1.5rem;font-variant-numeric:tabular-nums;line-height:1}.summary-bar button.summary-bar__present{border-color:#bad3c4;background:#f1f8f4;color:var(--present)}.summary-bar button.summary-bar__absent{border-color:#d7a59e;background:var(--absent-pale);color:var(--absent)}.summary-bar button.summary-bar__waiting{border-color:#d8c38f;background:var(--waiting-pale);color:var(--waiting)}.summary-bar button.summary-bar__all{border-color:#b9d1cd;background:var(--action-pale);color:var(--action)}.daily-panel,.roster-panel,.settings-panel{border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface)}.attendance-calendar{padding:14px}.attendance-calendar__header{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:7px}.attendance-calendar__header h2{margin:0;font-size:.97rem}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:6px;transition:opacity .12s ease}.calendar-grid.is-loading{opacity:.45;pointer-events:none}.calendar-weekday{display:grid;place-items:center;height:28px;color:var(--muted);font-size:.68rem}.calendar-day{min-width:0;min-height:54px;position:relative;display:flex;flex-direction:column;align-items:center;border:0;border-radius:7px;padding:5px 2px 3px;background:transparent;color:var(--ink);cursor:pointer}.calendar-day:hover{background:#f0f3f1}.calendar-day.is-selected{background:var(--action-pale);color:#0f5552;font-weight:800}.calendar-day--blank{pointer-events:none}.calendar-day__number{font-size:.75rem;font-variant-numeric:tabular-nums;line-height:1.35}.today-dot{width:4px;height:4px;position:absolute;top:3px;right:7px;border-radius:50%;background:var(--focus)}.calendar-count{color:var(--waiting);font-size:.625rem;font-weight:700;white-space:nowrap;line-height:1.3}.calendar-count--absent{color:var(--absent)}.calendar-modal .modal__surface{width:min(100% - 32px,430px);height:auto}.admin-dashboard>.daily-panel{min-width:0;margin-top:var(--space-4);overflow:hidden}.daily-panel__header{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:12px 20px}.daily-panel__header h2{margin:0}.daily-panel__count{margin:0;color:var(--muted);font-size:.875rem;font-variant-numeric:tabular-nums}.attendance-table-wrap{overflow-x:hidden;transition:opacity .12s ease}.attendance-table-wrap.is-refreshing{opacity:.62;pointer-events:none}.attendance-table{width:100%;border-collapse:collapse;table-layout:fixed}.attendance-table th{height:48px;padding:8px 16px;background:#f5f7f5;color:var(--muted);font-size:.875rem;font-weight:750;text-align:left}.attendance-table th:nth-child(1),.attendance-table td:nth-child(1){width:96px;text-align:center}.attendance-table th:nth-child(3),.attendance-table td:nth-child(3){width:132px}.attendance-table th:nth-child(4),.attendance-table td:nth-child(4){width:112px}.attendance-table th:nth-child(5),.attendance-table td:nth-child(5){width:170px}.attendance-row__summary{cursor:pointer}.attendance-row__summary>td{height:76px;border-top:1px solid var(--line);padding:8px 16px;font-size:1rem}.attendance-row__summary:hover>td{background:#f8faf8}.attendance-row__summary:focus-within>td{background:#f4f8f6}.attendance-row__summary>td:nth-child(2){padding:0}.attendance-row--absent .attendance-row__summary>td:first-child{box-shadow:inset 3px 0 var(--absent)}.attendance-row--unsubmitted .attendance-row__summary>td:first-child{box-shadow:inset 3px 0 #b69556}.attendance-row__updated{color:var(--muted);font-size:.8125rem!important;white-space:nowrap}.attendance-row__actor{color:var(--muted);font-size:.8125rem!important;line-height:1.45}.attendance-row__toggle{width:100%;min-width:0;min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;padding:8px 16px;background:transparent;text-align:left;cursor:pointer}.attendance-row__toggle:hover strong{color:var(--action)}.attendance-row__toggle>span{min-width:0;display:grid}.attendance-row__toggle strong{overflow:hidden;font-size:1.25rem;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.attendance-row__toggle small{color:var(--muted);font-size:.875rem;line-height:1.45}.attendance-row__contact-mark{width:fit-content;display:inline-flex;align-items:center;gap:5px;margin-top:3px;border-radius:999px;padding:2px 8px;background:#fff3d7;color:#72521d;font-size:.75rem;font-weight:750;line-height:1.45}.attendance-row__contact-mark svg{flex:0 0 auto}.attendance-row__toggle>svg{flex:0 0 auto;color:var(--muted)}.attendance-table .status-badge{min-height:38px;gap:6px;padding:6px 13px;font-size:1rem;font-weight:800}.attendance-table .status-badge svg{width:18px;height:18px}.attendance-table .student-number{min-width:2.4em;padding-block:3px;font-size:.9375rem}.attendance-table .attendance-row__detail-row>td{border-top:0;padding:0 16px 16px;text-align:left}.attendance-row__detail{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;border-radius:9px;padding:16px;background:#f3f6f4}.attendance-row--absent .attendance-row__detail{background:var(--absent-pale)}.attendance-row__detail-copy{min-width:0;display:grid;gap:13px}.attendance-row__detail span{color:#7d625e;font-size:.75rem;font-weight:700}.attendance-row__detail p{margin:4px 0 0;font-size:.9rem;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.row-edit-button{min-height:44px;padding:7px 11px;font-size:.77rem;white-space:nowrap}.csv-menu-wrap,.menu{position:relative}.menu summary{list-style:none}.menu summary::-webkit-details-marker{display:none}.menu[open] summary svg:last-child{transform:rotate(180deg)}.menu__content{width:260px;position:absolute;z-index:20;top:calc(100% + 7px);right:0;border:1px solid var(--line);border-radius:11px;padding:7px;background:var(--surface);box-shadow:0 12px 32px #16252929}.menu__label{margin:4px 8px 5px;color:var(--muted);font-size:.7rem;font-weight:700}.menu__content button{width:100%;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:15px;border:0;border-radius:8px;padding:8px 10px;background:transparent;text-align:left;cursor:pointer}.menu__content button:hover{background:#f1f5f3}.menu__content button span:first-child{display:grid}.menu__content small{color:var(--muted);font-size:.7rem}.menu__privacy-note{margin:5px 8px;color:var(--muted);font-size:.7rem;line-height:1.45}.menu__error{margin:5px 7px 6px;color:var(--danger);font-size:.76rem;line-height:1.45}.correction-sheet .modal__surface{overflow-y:auto}.correction-sheet .modal__header{position:sticky;z-index:2;top:0;background:var(--surface)}.correction-sheet__identity{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:11px;border-bottom:1px solid var(--line);padding:17px 22px}.correction-sheet__identity>div{display:grid}.correction-sheet__identity small{color:var(--muted);font-size:.73rem}.correction-sheet__identity time{grid-column:2;color:var(--muted);font-size:.78rem}.correction-form{display:grid;gap:17px;border-bottom:1px solid var(--line);padding:21px 22px 24px}.history-panel{padding:21px 22px 35px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-heading h3{margin:0}.history-list{margin:16px 0 0;padding:0;list-style:none}.history-list li{position:relative;display:grid;grid-template-columns:24px 1fr;gap:9px;padding-bottom:19px}.history-list li:not(:last-child):before{content:"";width:1px;position:absolute;left:11px;top:22px;bottom:0;background:var(--line)}.history-list__mark{width:24px;height:24px;z-index:1;display:grid;place-items:center;border-radius:50%;background:#edf1ef;color:var(--muted)}.history-list strong{font-size:.87rem}.history-list p{margin:1px 0 4px;color:var(--muted);font-size:.74rem}.history-list small{display:grid;gap:2px;border-left:2px solid #d7a59e;padding-left:8px;color:#695a57;overflow-wrap:anywhere;white-space:pre-wrap}.history-list small+small{margin-top:6px}.history-list small b{color:var(--muted);font-size:.68rem}.roster-page-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.roster-page-error{margin-top:16px}.roster-panel{margin-top:20px;overflow:hidden}.roster-toolbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:14px 19px}.roster-toolbar h2{margin:0}.roster-search{width:min(100%,310px)}.table-wrap{overflow-x:auto}.roster-table{width:100%;border-collapse:collapse}.roster-table th{height:43px;padding:8px 16px;background:#f5f7f5;color:var(--muted);font-size:.72rem;text-align:left}.roster-table td{height:59px;border-top:1px solid var(--line);padding:8px 16px;font-size:.85rem}.roster-ending-label{display:block;margin-top:3px;color:var(--waiting);font-size:.7rem;font-weight:700}.roster-table th:first-child,.roster-table td:first-child{width:115px;text-align:center}.roster-table__updated{width:145px;color:var(--muted);font-size:.77rem!important}.roster-table th:last-child,.roster-table__actions{width:172px}.roster-table__actions{white-space:nowrap}.table-action{min-height:44px;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:8px;padding:6px 8px;background:transparent;color:var(--action);font-size:.77rem;font-weight:700;cursor:pointer}.table-action:hover{background:var(--action-pale)}.table-action--danger{color:var(--danger)}.table-action--danger:hover{background:var(--absent-pale)}.roster-empty code,.import-rule code{border-radius:5px;padding:2px 5px;background:#eef1ef;color:#405055;font-size:.78rem}.roster-import-modal .modal__surface{width:min(100% - 32px,680px)}.roster-member-form{display:grid;gap:17px;overflow-y:auto;padding:21px 22px 22px}.roster-member-form .modal-actions{margin-top:4px}.roster-delete-confirmation{padding:22px}.roster-delete-confirmation>p:first-child{margin-bottom:5px}.roster-delete-confirmation .notice{margin-top:16px}.import-flow{min-height:0;overflow-y:auto;padding:20px 22px 22px}.file-dropzone{width:100%;min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed #aebcb8;border-radius:var(--radius-control);padding:18px;background:#f8faf8;color:var(--ink);cursor:pointer}.file-dropzone:hover,.file-dropzone.is-dragging{border-color:var(--action);background:var(--action-pale)}.file-dropzone svg{margin-bottom:5px;color:var(--action)}.file-dropzone small{color:var(--muted);font-size:.76rem}.import-rule{margin:13px 0 15px;color:var(--muted);font-size:.77rem}.import-rule p{margin:3px 0}.import-rule .text-button{min-height:44px;padding:0;font-size:.77rem}.import-counts{display:grid;grid-template-columns:repeat(3,1fr);margin:15px 0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.import-counts>div{display:flex;align-items:baseline;justify-content:center;gap:8px;border-right:1px solid var(--line);padding:11px 8px}.import-counts>div:last-child{border-right:0}.import-counts span{color:var(--muted);font-size:.72rem}.import-counts strong{font-size:1.2rem}.preview-table-wrap>p{margin:0 0 5px;color:var(--muted);font-size:.72rem}.preview-table{width:100%;border-collapse:collapse;border:1px solid var(--line);font-size:.78rem}.preview-table th,.preview-table td{border-bottom:1px solid var(--line);padding:7px 9px;text-align:left}.preview-table th{background:#f5f7f5;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.import-complete{padding:38px 28px 28px;text-align:center}.import-complete>span{width:53px;height:53px;display:grid;place-items:center;margin:0 auto 13px;border-radius:50%;background:var(--present-pale);color:var(--present)}.import-complete h3{font-size:1.25rem}.roster-period-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:20px;margin-top:20px;border:1px solid var(--line);border-radius:var(--radius-panel);padding:18px 20px;background:var(--surface)}.roster-period-overview__current{display:flex;align-items:center;gap:13px}.roster-period-overview__icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:var(--action-pale);color:var(--action)}.roster-period-overview h2{margin:0 0 2px;font-size:1.1rem}.roster-period-overview p{margin:0;color:var(--muted);font-size:.78rem}.roster-period-overview__action{display:flex;align-items:center;justify-content:flex-end;gap:14px}.roster-period-overview__action p{max-width:310px}.roster-period-overview__action .button{flex:0 0 auto;white-space:nowrap}.scheduled-period{display:flex;align-items:center;justify-content:space-between;gap:14px;border-left:1px solid var(--line);padding-left:20px}.scheduled-period>div{min-width:0;display:grid}.scheduled-period span{color:var(--action);font-size:.7rem;font-weight:750}.scheduled-period strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scheduled-period small{color:var(--muted);font-size:.72rem}.text-button--danger{color:var(--danger)}.roster-period-wizard{width:min(100%,820px);margin:22px auto 0}.roster-period-wizard--error,.roster-period-wizard--blocked,.roster-period-complete{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:var(--radius-panel);padding:28px;background:var(--surface)}.roster-period-wizard--blocked>svg{color:var(--waiting)}.roster-period-complete>svg{color:var(--present)}.roster-period-complete h2,.roster-period-wizard--blocked h2{margin:0}.roster-period-complete>p,.roster-period-wizard--blocked>p{margin:0}.wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 14px;padding:0;list-style:none}.wizard-steps li{min-width:0;position:relative;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:.78rem;font-weight:700}.wizard-steps li:not(:last-child):after{content:"";height:1px;position:absolute;right:-18%;left:82%;background:var(--line-strong)}.wizard-steps li>span{width:26px;height:26px;z-index:1;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface);font-size:.72rem}.wizard-steps li[aria-current=step]{color:var(--action)}.wizard-steps li[aria-current=step]>span{border-color:var(--action);background:var(--action);color:#fff}.wizard-steps li.is-complete>span{border-color:var(--present);background:var(--present-pale);color:var(--present)}.wizard-panel{min-height:450px;border:1px solid var(--line);border-radius:var(--radius-panel);padding:26px;background:var(--surface)}.wizard-heading{margin-bottom:23px}.wizard-heading h2{margin-bottom:5px;font-size:1.35rem}.wizard-heading>p:last-child{margin:0;color:var(--muted)}.current-period-summary{display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:14px;margin-bottom:24px;border-block:1px solid var(--line);padding:13px 0}.current-period-summary span{grid-row:1 / 3;align-self:center;color:var(--muted);font-size:.75rem}.current-period-summary strong{font-size:1rem}.current-period-summary small{color:var(--muted)}.wizard-fields{max-width:560px;display:grid;gap:19px}.period-preview{margin-top:20px}.period-preview__counts{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line)}.period-preview__counts>div{display:flex;align-items:baseline;justify-content:center;gap:4px;padding:13px 8px;text-align:center}.period-preview__counts span{color:var(--muted);font-size:.7rem}.period-preview__counts strong{font-size:1.35rem}.period-preview__counts small{color:var(--muted);font-size:.7rem}.notice--plain{display:flex;align-items:flex-start;gap:8px;margin:16px 0;border:0;padding:11px 13px;background:var(--waiting-pale);color:#6d5628;font-size:.8rem}.notice--plain svg{flex:0 0 auto;margin-top:1px}.period-confirmation{margin:0;border-block:1px solid var(--line)}.period-confirmation>div{display:grid;grid-template-columns:160px 1fr;gap:16px;border-bottom:1px solid var(--line);padding:12px 4px}.period-confirmation>div:last-child{border-bottom:0}.period-confirmation dt{color:var(--muted);font-size:.78rem}.period-confirmation dd{font-weight:700}.period-confirmation__message{margin-top:20px;border-left:3px solid var(--action);padding:4px 0 4px 14px}.period-confirmation__message p{margin:5px 0 0;color:var(--muted);font-size:.82rem}.confirmation-check{min-height:52px;display:flex;align-items:flex-start;gap:10px;margin-top:20px;cursor:pointer}.confirmation-check input{width:20px;height:20px;flex:0 0 auto;margin-top:2px;accent-color:var(--action)}.confirmation-check span{font-weight:650}.wizard-actions{position:sticky;z-index:5;bottom:0;display:flex;justify-content:space-between;gap:10px;margin-top:12px;border-top:1px solid var(--line);padding:12px 0;background:color-mix(in srgb,var(--page) 94%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.wizard-actions .button:last-child{min-width:180px}.settings-grid{width:min(100%,720px);margin-top:20px}.settings-panel{padding:22px}.settings-panel__heading{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding-bottom:18px}.settings-panel__heading>span{width:39px;height:39px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:var(--action-pale);color:var(--action)}.settings-panel__heading h2{margin-bottom:3px}.settings-panel__heading p{margin:0;color:var(--muted);font-size:.79rem}.password-change-form{max-width:480px;display:grid;gap:17px;padding-top:21px}.settings-success{display:flex;flex-direction:column;align-items:flex-start;padding-top:24px}.settings-success>svg{margin-bottom:11px;color:var(--present)}.settings-success h3{margin-bottom:5px}.settings-success p{color:var(--muted)}@media(max-width:1099px)and (min-width:768px){.admin-layout{grid-template-columns:76px minmax(0,1fr)}.admin-sidebar{padding-inline:9px}.admin-brand{justify-content:center;padding-inline:0}.admin-brand span,.admin-sidebar nav a span,.admin-logout span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.admin-sidebar nav a,.admin-logout{justify-content:center;padding-inline:0}.date-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.date-toolbar__actions{width:100%;justify-content:flex-start}.attendance-table th:nth-child(1),.attendance-table td:nth-child(1){width:96px}.attendance-table th:nth-child(3),.attendance-table td:nth-child(3){width:132px}.attendance-table th:nth-child(4),.attendance-table td:nth-child(4){width:105px}.attendance-table th:nth-child(5),.attendance-table td:nth-child(5){width:125px}}@media(max-width:767px){html:has(.admin-layout){scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom))}.modal__surface{width:100%;max-height:min(88vh,760px);left:0;top:auto;bottom:0;border-width:1px 0 0;border-radius:16px 16px 0 0;transform:none}.modal__surface:before{content:"";width:38px;height:4px;position:absolute;top:7px;left:calc(50% - 19px);border-radius:999px;background:#cbd2cf}.modal__header{padding-top:21px}.modal--sheet .modal__surface{width:100%;height:min(94vh,850px);top:auto;bottom:0;border-width:1px 0 0;border-radius:16px 16px 0 0}.name-picker .modal__surface{height:84vh}.admin-layout{display:block;padding-bottom:68px}.admin-sidebar{display:none}.admin-main{padding:20px 16px 30px}.admin-bottom-nav{height:64px;position:fixed;z-index:30;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);background:#fffffff7;box-shadow:0 -6px 20px #1522270f}.admin-bottom-nav a,.admin-bottom-nav button{min-height:61px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;padding:0;background:transparent;color:var(--muted);font-size:.66rem;font-weight:700;text-decoration:none}.admin-bottom-nav button{cursor:pointer}.admin-bottom-nav a[aria-current=page]{color:var(--action)}.admin-page-header{min-height:66px;align-items:flex-start}.admin-page-header h1{font-size:1.45rem}.admin-page-header--compact{min-height:58px;align-items:center}.admin-page-header--compact h1{font-size:1.05rem}.admin-page-header__actions{padding-top:0}.admin-page-header__actions .button{padding-inline:11px}.date-toolbar{min-height:0;align-items:stretch;flex-direction:column;gap:11px;padding:14px 0}.date-toolbar__date{min-width:0}.date-toolbar__date h2{flex-wrap:wrap;font-size:1.75rem}.date-toolbar__actions{width:100%;display:grid;grid-template-columns:1fr;gap:var(--space-2)}.date-toolbar__navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2)}.date-toolbar__utilities{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:var(--space-2)}.date-toolbar__actions .button{width:100%;padding-inline:8px}.date-toolbar__utilities .button{min-width:0}.date-refresh-button{border-color:var(--line-strong);background:var(--surface)}.summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-bar button{min-height:52px}.summary-bar button strong{font-size:1.5rem}.summary-filter{margin-top:var(--space-4)}.calendar-modal .modal__surface{width:min(calc(100% - 32px),430px);height:auto;max-height:calc(100dvh - 32px);left:50%;top:50%;bottom:auto;border:1px solid var(--line);border-radius:var(--radius-panel);transform:translate(-50%,-50%);overflow-y:auto}.calendar-modal .modal__surface:before{display:none}.calendar-modal .modal__header{padding-top:16px}.calendar-modal .attendance-calendar{padding:9px 14px 20px}.calendar-modal .calendar-day{min-height:62px}.admin-dashboard>.daily-panel{margin-top:var(--space-3)}.daily-panel__header{padding-inline:14px}.attendance-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.attendance-table,.attendance-table tbody{display:block;width:100%}.attendance-row{border-bottom:1px solid var(--line)}.attendance-row:last-child{border-bottom:0}.attendance-row__summary{min-height:108px;display:grid;grid-template-columns:62px minmax(0,1fr) auto;grid-template-areas:"number name status" "number updated updated" "number actor actor";align-items:center;padding:8px 10px 9px}.attendance-row--absent .attendance-row__summary{box-shadow:inset 3px 0 var(--absent)}.attendance-row--unsubmitted .attendance-row__summary{box-shadow:inset 3px 0 #b69556}.attendance-row--absent .attendance-row__summary>td:nth-child(1),.attendance-row--unsubmitted .attendance-row__summary>td:nth-child(1){box-shadow:none}.attendance-row__summary>td{width:auto!important;height:auto;border:0;padding:3px 8px;text-align:left}.attendance-row__summary>td:nth-child(1){grid-area:number;align-self:stretch;display:grid;place-items:center;padding-inline:3px;text-align:center;box-shadow:none}.attendance-row__summary>td:nth-child(2){grid-area:name;padding:0}.attendance-row__summary>td:nth-child(3){grid-area:status;justify-self:end;padding-right:0}.attendance-row__summary>td:nth-child(4){grid-area:updated}.attendance-row__summary>td:nth-child(5){grid-area:actor}.attendance-row__updated,.attendance-row__actor{display:flex;align-items:baseline;gap:7px;white-space:normal}.attendance-row__updated:before,.attendance-row__actor:before{content:attr(data-label);min-width:52px;color:var(--muted);font-size:.67rem;font-weight:700}.attendance-row__toggle{min-height:58px;padding-inline:9px}.attendance-row__toggle,.row-edit-button{scroll-margin-bottom:calc(80px + env(safe-area-inset-bottom))}.attendance-row__detail-row{display:block}.attendance-table .attendance-row__detail-row>td{width:100%!important;display:block;padding-inline:8px}.attendance-row__detail{grid-template-columns:1fr auto;gap:11px}.admin-page-header:has(.roster-page-actions){flex-direction:column}.admin-page-header__actions:has(.roster-page-actions){width:100%}.roster-page-actions{justify-content:flex-start}.roster-period-overview{grid-template-columns:1fr}.roster-period-overview__action{justify-content:space-between}.scheduled-period{border-top:1px solid var(--line);border-left:0;padding-top:16px;padding-left:0}.roster-toolbar{align-items:stretch;flex-direction:column}.roster-search{width:100%}.wizard-actions{bottom:calc(64px + env(safe-area-inset-bottom))}}@media(max-width:560px){.student-header{padding-inline:16px}.student-main{width:calc(100% - 32px);padding-top:24px}.status-option{min-height:82px;gap:7px;padding:9px}.status-option__icon{width:31px;height:31px}.status-option strong{font-size:.98rem}.submitted-panel{padding-inline:18px}.auth-card{padding:25px 20px 21px}.admin-page-header{gap:10px}.admin-page-header>div>p:last-child{max-width:200px}.button{padding-inline:12px}.attendance-row__toggle small{display:none}.attendance-row__detail{grid-template-columns:1fr}.attendance-row__detail .row-edit-button{width:100%}.roster-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.roster-table,.roster-table tbody,.roster-table tr,.roster-table td{display:block;width:100%!important}.roster-table tr{position:relative;border-bottom:1px solid var(--line);padding:12px 14px}.roster-table tr:last-child{border-bottom:0}.roster-table td{height:auto;border:0;padding:2px 0 2px 92px;text-align:left!important}.roster-table td:before{content:attr(data-label);width:84px;position:absolute;left:14px;color:var(--muted);font-size:.68rem}.roster-table__actions{display:flex!important;gap:3px;padding-top:8px!important;white-space:normal}.roster-import-modal .modal__surface,.roster-member-modal .modal__surface,.roster-delete-modal .modal__surface{width:100%}.roster-member-form,.roster-delete-confirmation,.import-flow{padding-inline:16px}.import-counts>div{flex-direction:column;gap:0}.preview-table{font-size:.7rem}.modal-actions .button{flex:1}.roster-period-overview{padding:16px}.roster-period-overview__action{align-items:stretch;flex-direction:column}.roster-period-overview__action .button{width:100%}.scheduled-period{align-items:flex-start;flex-direction:column}.wizard-steps li{flex-direction:column;gap:4px;font-size:.68rem;text-align:center}.wizard-steps li:not(:last-child):after{top:13px;right:-36%;left:70%}.wizard-panel{min-height:0;padding:21px 16px}.wizard-heading h2{font-size:1.2rem}.current-period-summary{grid-template-columns:1fr}.current-period-summary span{grid-row:auto}.period-preview__counts{grid-template-columns:repeat(2,1fr)}.period-preview__counts>div{flex-wrap:wrap;border-bottom:1px solid var(--line)}.period-confirmation>div{grid-template-columns:1fr;gap:2px}.period-preview .preview-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.period-preview .preview-table,.period-preview .preview-table tbody,.period-preview .preview-table tr,.period-preview .preview-table td{display:block;width:100%}.period-preview .preview-table tr{border-bottom:1px solid var(--line);padding:9px 0}.period-preview .preview-table td{display:grid;grid-template-columns:76px 1fr;gap:8px;border:0;padding:3px 8px}.period-preview .preview-table td:before{content:attr(data-label);color:var(--muted);font-size:.68rem;font-weight:700}.wizard-actions{margin-inline:-2px;padding-bottom:10px}.wizard-actions .button{flex:1;padding-inline:9px}.wizard-actions .button:last-child{min-width:0}}@media(max-width:380px){.student-main{width:calc(100% - 32px)}.student-intro>p:last-child{font-size:.95rem}.status-choice__options{gap:8px}.status-option{justify-content:center}.status-option small{font-size:.72rem}.summary-bar button{padding-inline:12px}.summary-bar button span{font-size:.9375rem}.summary-bar button strong{font-size:1.5rem}.date-toolbar__actions .button{font-size:.8rem}.attendance-row__summary{min-height:132px;grid-template-columns:56px minmax(0,1fr);grid-template-areas:"number name" "number status" "number updated" "number actor"}.attendance-row__summary>td:nth-child(3){justify-self:start;padding:0 0 3px 9px}.attendance-row__summary .student-number{min-width:1.9em;padding-inline:4px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
