
:root{--ink:#192c44;--muted:#728096;--blue:#29558b;--green:#1c775f;--line:#e2e8ef;--gold:#bea44c}*{box-sizing:border-box}body{margin:0;background:#f3f5f9;color:var(--ink);font-family:Inter,Segoe UI,Arial,sans-serif}[hidden]{display:none!important}.button{cursor:pointer;min-height:42px;border-radius:8px;font:inherit;font-size:12px;font-weight:700;padding:10px 15px;border:1px solid transparent}.button.primary{background:var(--blue);color:white}.button.green{background:var(--green);color:white}.button.outline{background:white;border-color:var(--line);color:var(--ink)}.button:disabled{opacity:.5;cursor:default}.button.full{width:100%}input,select,textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #d6dee8;border-radius:7px;padding:10px 11px;min-height:42px;width:100%;min-width:0}input:disabled,select:disabled,textarea:disabled{background:#f6f8fb;color:#46566d;opacity:1}input:focus,select:focus,textarea:focus{outline:2px solid #84a8d2;outline-offset:1px}label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.muted{font-size:11px;color:var(--muted)}h1,h2,h3,p{margin:0}h2{font-size:20px;line-height:1.5}h3{font-size:14px}.login-screen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#193955;color:white;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:8vw}.login-brand img{width:150px;height:150px;object-fit:contain;margin-bottom:35px}.login-brand .eyebrow{color:#d7bd6f}.login-brand h1{font-size:58px;letter-spacing:-2px;line-height:1.15;margin:20px 0}.login-brand p{color:#c5d1de;font-size:15px;line-height:1.8}.login-panel{padding:70px max(35px,7vw);display:flex;flex-direction:column;justify-content:center;background:white}.login-panel h2{font-size:30px;letter-spacing:-1px;margin-top:18px}.login-panel>p{font-size:13px;color:var(--muted);margin:12px 0 25px}.login-panel form{display:grid;gap:18px}.login-panel label{font-size:13px;color:var(--ink)}.login-panel input{min-height:49px}.demo-divider{text-align:center;letter-spacing:2px;font-size:9px;color:var(--muted);margin:30px 0 18px}.teacher-link{text-align:center;color:var(--blue);font-size:12px;margin-top:22px}.app-header{padding:17px 4vw;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:16px;font-weight:800;letter-spacing:1px}.brand img{width:44px;height:44px}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:9px}.header-actions>span{font-size:12px;margin-right:12px}.workspace{max-width:1640px;margin:auto;padding:32px 4vw}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.welcome h1{font-size:32px;letter-spacing:-1px;margin:8px 0}.welcome p{font-size:12px;color:var(--muted)}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:22px}.tabs button{padding:14px 22px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:700;cursor:pointer;border-bottom:3px solid transparent}.tabs button[aria-pressed=true]{color:var(--blue);border-bottom-color:var(--blue)}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.summary-item{background:#fff;border:1px solid var(--line);border-radius:11px;padding:16px 20px}.summary-item strong{font-size:27px;display:block;margin:4px 0}.summary-item span{font-size:10px;color:var(--muted)}.registration-layout{display:grid;grid-template-columns:minmax(350px,.95fr) minmax(0,1.45fr);align-items:start;gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:13px}.roster-card,.editor-card{padding:22px;min-width:0}.section-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:20px}.section-heading h2{margin-top:5px}.section-heading h2 small{font-size:11px;font-weight:400;color:var(--muted)}.search-label{margin-bottom:13px}.filters{display:grid;grid-template-columns:1.1fr 1fr .65fr;gap:8px;margin-bottom:18px}.filters select{padding:9px 6px;font-size:11px}.roster-scroll{max-height:535px;overflow:auto;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{position:sticky;top:0;z-index:1;background:#edf2f8;padding:12px 10px;color:#55667d;font-size:10px}td{padding:0;border-top:1px solid #edf0f5}td:first-child button{width:100%;min-height:58px;background:transparent;border:0;text-align:left;padding:11px 9px;cursor:pointer;font:inherit;color:var(--ink)}td:first-child strong{font-size:11px;line-height:1.6;display:block}td:first-child small{font-size:9px;color:var(--muted)}td:not(:first-child){padding:9px 5px;white-space:nowrap;font-size:10px}tr.selected{background:#eaf1fa}tr:hover{background:#f3f7fc}.status{font-size:10px;border-radius:20px;padding:5px 8px;display:inline-block;background:#e8f4ed;color:#226d55;white-space:nowrap}.status.late{background:#fbecec;color:#b54444}.status.inactive{background:#edf0f4;color:#7e8997}.birthdays{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.birthdays h3{margin-bottom:12px}.birthday-item{display:flex;justify-content:space-between;gap:14px;font-size:11px;margin:12px 0;line-height:1.6}.birthday-item span{color:var(--muted);white-space:nowrap}.migration-tools{margin-top:22px;border-top:1px solid var(--line);padding-top:18px;font-size:11px;color:var(--muted)}.migration-tools summary{cursor:pointer;font-weight:700;color:var(--blue);margin-bottom:12px}.migration-tools p{line-height:1.8;margin:12px 0}.migration-tools .button{margin:6px 5px 0 0;font-size:10px;display:inline-flex}.photo-section{display:flex;gap:25px;align-items:center;margin:15px 0 25px}.student-photo{width:150px;height:170px;border:1px solid var(--line);border-radius:12px;background:#edf2f8;display:flex;align-items:center;justify-content:center;font-size:40px;color:var(--blue);overflow:hidden;flex-shrink:0}.student-photo img{width:100%;height:100%;object-fit:cover}.photo-section>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.modality-logo{width:100px;height:100px;object-fit:contain}.photo-section .file-button{font-size:11px;min-height:36px;padding:8px 11px}.text-button{border:0;background:transparent;color:var(--muted);font:inherit;font-size:10px;cursor:pointer;padding:7px 0}fieldset{padding:20px 0;border:0;border-top:1px solid var(--line);margin:0 0 12px}legend{font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.6px;padding:0 12px 0 0}.form-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px 12px}.field{grid-column:span 2}.field.wide{grid-column:span 4}.field.full{grid-column:1/-1}.field.short{grid-column:span 1}.field.check{flex-direction:row;align-items:center;gap:8px;color:var(--ink);min-height:42px}.field.check input{width:18px;height:18px;min-height:18px}.field input,.field select{font-size:12px;padding:9px}.fee-summary{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-top:22px;padding:16px;background:#f3f6fa;border-radius:8px}.fee-summary>span:first-child{font-size:10px;color:var(--muted)}.fee-summary strong{display:block;font-size:22px;color:var(--ink);margin-top:6px}.fee-summary .button{font-size:11px}.field-note{font-size:10px;line-height:1.8;color:var(--muted);margin-top:12px}.save-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0}.save-bar p{font-size:10px;color:var(--muted);line-height:1.7}.edit-actions{display:flex;gap:7px}.attendance-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:15px}.attendance-toolbar p{font-size:12px;color:var(--muted);margin-right:auto}iframe{width:100%;height:calc(100dvh - 170px);min-height:680px;border:1px solid var(--line);border-radius:12px;background:#f3f5f9}footer{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:var(--muted);margin-top:40px;letter-spacing:1px}.empty{padding:24px;color:var(--muted);font-size:12px;text-align:center}.demo-banner{font-size:11px;background:#f7efd8;color:#85672e;padding:12px 4vw}.error-box{background:#fbecec;color:#ad3333;border:1px solid #f2d4d4;padding:15px;border-radius:8px;margin-bottom:18px;font-size:12px;line-height:1.7}.error{color:#ad3333!important}.file-button{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}dialog{border:1px solid var(--line);border-radius:15px;padding:28px;color:var(--ink);max-width:480px;width:calc(100% - 32px)}dialog::backdrop{background:#192c44a8}dialog p{font-size:13px;line-height:1.8;margin:16px 0}.dialog-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#193955;color:white;border-radius:10px;padding:15px 20px;max-width:calc(100% - 28px);font-size:12px;z-index:100;box-shadow:0 6px 30px #0002}#toast.error{color:white!important;background:#a53838}
@media(max-width:1100px){.registration-layout{grid-template-columns:1fr}.roster-scroll{max-height:350px}.birthdays{margin-top:18px}.editor-card{margin-top:0}.workspace{padding:25px}.form-grid{gap:15px}.summary-strip{gap:10px}.photo-section{margin-bottom:24px}.login-brand h1{font-size:45px}}
@media(max-width:650px){.login-screen{display:block}.login-brand{padding:32px 24px}.login-brand img{width:65px;height:65px;margin:0 0 20px}.login-brand h1{font-size:35px;margin:13px 0}.login-brand h1 br{display:none}.login-brand p{font-size:12px}.login-panel{padding:35px 24px}.login-panel h2{font-size:26px}.app-header{padding:13px 15px;gap:10px}.brand{font-size:12px;gap:8px}.brand img{width:32px;height:32px}.brand small{font-size:6px;letter-spacing:1px}.header-actions>span{display:none}.header-actions .button{padding:8px;font-size:10px;min-height:36px}.header-actions{gap:5px}.workspace{padding:24px 13px}.welcome h1{font-size:27px}.welcome .eyebrow{font-size:7px}.welcome p{font-size:11px}.welcome>.button{font-size:10px;padding:9px}.tabs button{font-size:11px;padding:13px 11px;flex:1}.summary-strip{grid-template-columns:repeat(2,1fr)}.summary-item{padding:13px 16px}.summary-item strong{font-size:24px}.registration-layout{gap:16px}.roster-card,.editor-card{padding:18px 14px}.section-heading{gap:8px}.section-heading h2{font-size:18px}.section-heading .eyebrow{font-size:8px}.section-heading .button{font-size:10px;padding:8px 11px}.filters{gap:6px;grid-template-columns:1fr 1fr .6fr}.roster-scroll{max-height:340px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}.field,.field.short{grid-column:span 1}.field.wide,.field.full{grid-column:1/-1}.photo-section{gap:20px}.student-photo{width:135px;height:155px}.modality-logo{width:95px;height:95px}.fee-summary{flex-wrap:wrap;gap:15px}.fee-summary .button{width:100%}.save-bar{align-items:stretch;flex-direction:column;gap:12px}.save-bar .button{width:100%}.attendance-toolbar .button{font-size:10px;flex:1}.attendance-toolbar p{width:100%;line-height:1.7}.attendance-toolbar{gap:8px}iframe{min-height:720px;height:calc(100dvh - 160px)}footer{font-size:8px;letter-spacing:0}footer span{display:none}}
.welcome>div{flex:1}.welcome>.button{flex-shrink:0}.due-approvals-dialog{max-width:650px;max-height:85dvh;overflow:auto}.due-request-card{border:1px solid var(--line);border-radius:10px;padding:18px;margin-top:17px}.due-request-card p{font-size:12px;margin:12px 0}.due-request-card .count-pill{display:inline-block;font-size:10px;border-radius:15px;background:#edf2f8;padding:6px 10px;margin-top:10px}.due-request-card .device-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.due-request-card label{margin-top:15px}#due-approval-status{font-size:12px;line-height:1.8;color:var(--muted);margin:16px 0}@media(max-width:650px){.welcome{flex-wrap:wrap}.welcome>div{flex-basis:100%}.welcome>.button{flex:1}.welcome>.button:first-of-type{flex:2}}
#due-requests{font-variant-numeric:tabular-nums}#due-requests.has-pending{background:#fff6dc;border-color:#d9bb69;color:#745715}#due-requests.has-pending:hover{background:#faedc5}
.photo-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}@media(max-width:650px){.photo-section{display:grid;grid-template-columns:135px minmax(0,1fr);width:min(100%,290px);justify-content:center;align-items:center;gap:16px 20px;margin:22px auto 28px}.photo-section>div.photo-brand{display:contents}.photo-section .student-photo{grid-column:1;grid-row:1}.photo-section .modality-logo{grid-column:2;grid-row:1;width:120px;max-width:100%;height:120px;justify-self:center}.photo-section .photo-actions{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px}.photo-section .photo-actions .file-button,.photo-section .photo-actions .text-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:10px 13px;border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap}.photo-section .photo-actions .file-button{background:#fff;color:var(--blue)}.photo-section .photo-actions .text-button{background:#f6f8fb;color:var(--muted)}.photo-section .photo-actions .text-button:disabled{opacity:.5;cursor:default}.photo-section .photo-actions .file-button:has(input:disabled){opacity:.5;cursor:default}}

.birthday-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.birthday-heading h3{margin:5px 0 0}.birthday-heading .eyebrow{text-transform:uppercase;letter-spacing:1px}.birthday-count{flex-shrink:0;background:#edf2f8;color:var(--blue);font-size:10px;font-weight:700;border-radius:20px;padding:6px 10px}.birthday-scroll{border:1px solid var(--line);border-radius:8px;overflow:auto;max-height:285px}.birthday-table{table-layout:fixed}.birthday-table th:first-child{width:58%}.birthday-table th:nth-child(2){width:24%}.birthday-table th:last-child{width:18%}.birthday-table th,.birthday-table td:not(:first-child){padding:11px 8px}.birthday-table td:first-child button{min-height:64px;padding:10px;overflow-wrap:anywhere}.birthday-table tbody tr:nth-child(even){background:#f8fafd}.birthday-table tbody tr.selected{background:#eaf1fa}.birthday-table tbody tr:hover{background:#f0f5fc}.birthday-table button:focus-visible{outline:2px solid #84a8d2;outline-offset:-3px;border-radius:5px}.birthday-date{display:block;font-weight:700;color:var(--blue)}.birthday-today-label{display:inline-block;margin-top:4px;font-size:9px;font-weight:700;color:#226d55;background:#e8f4ed;padding:3px 7px;border-radius:12px}.birthday-table tr.birthday-today td:first-child{border-left:3px solid #278265}.birthday-table .empty{font-size:11px;line-height:1.7;padding:20px 10px}.birthday-table td:first-child small{display:block;line-height:1.5}@media(max-width:480px){.birthday-table th:first-child{width:54%}.birthday-table th:nth-child(2){width:27%}.birthday-table th:last-child{width:19%}.birthday-table th,.birthday-table td:not(:first-child){padding:10px 6px}.birthday-table td:first-child button{padding:10px 8px}}

#camera-dialog{max-width:620px;max-height:92dvh;overflow:auto}#camera-status{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0}.camera-frame{width:100%;min-height:220px;max-height:48dvh;overflow:hidden;border-radius:10px;background:#142334;display:flex;align-items:center;justify-content:center}.camera-frame video,.camera-frame img{display:block;max-width:100%;width:100%;max-height:48dvh;object-fit:contain}.camera-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.camera-actions .button{flex:1;font-size:11px}.camera-native-label{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;font-size:11px;color:var(--blue);margin:8px 0}.photo-actions #take-photo{font-size:11px;min-height:36px;padding:8px 11px}@media(max-width:650px){.photo-section .photo-actions{flex-wrap:wrap;gap:8px}.photo-section .photo-actions #take-photo{min-height:42px;padding:10px 13px}.photo-section .photo-actions>*{flex:1}.camera-actions{gap:7px}.camera-actions .button{flex-basis:40%}}

@media(min-width:651px){.photo-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:20px 28px;width:min(100%,410px);margin:24px auto 30px;padding:22px 18px 18px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}.photo-section>div.photo-brand{display:contents}.photo-section .student-photo{grid-column:1;grid-row:1;justify-self:center;width:150px;height:170px;margin:0}.photo-section .modality-logo{grid-column:2;grid-row:1;justify-self:center;align-self:center;width:138px;height:138px;max-width:100%;margin:0;object-fit:contain}.photo-section .photo-actions{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;justify-content:initial;gap:8px;width:100%}.photo-section .photo-actions :is(.file-button,#take-photo,.text-button){display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin:0;padding:10px 6px;border:1px solid #d6e0ec;border-radius:8px;background:#fff;color:var(--blue);font-family:inherit;font-size:11px;font-weight:600;text-align:center;line-height:1.4;white-space:nowrap}.photo-section .photo-actions :is(button:disabled,.file-button:has(input:disabled)){opacity:.5;cursor:default}.photo-section .photo-actions :is(button:not(:disabled),.file-button:not(:has(input:disabled))):hover{background:#edf3fa;border-color:#a9bfd9}.photo-section .photo-actions button:focus-visible{outline:2px solid #84a8d2;outline-offset:2px}}

#student-access-dialog{max-width:700px;max-height:90dvh;overflow:auto}.access-request{border-bottom:1px solid var(--line);padding:18px 0}.access-request p{overflow-wrap:anywhere;font-size:13px;margin:8px 0}.access-request small{color:var(--muted)}#student-access-feedback{font-size:12px;line-height:1.7;margin:15px 0}

.login-brand{align-items:center;text-align:center}.login-brand img{align-self:center}.login-brand p{max-width:400px}@media(max-width:650px){.login-brand img{width:90px;height:90px}.login-brand .eyebrow{font-size:8px;letter-spacing:1.4px}.login-brand h1{font-size:32px}.login-brand p{margin:0 auto}}

.due-request-remove-action{display:flex;justify-content:flex-end;margin-top:18px}.due-request-remove{color:#a3333e;border-color:#edd1d6;font-size:12px;min-height:38px}.due-request-remove:hover{background:#fff0f2}.due-request-removal{max-width:460px}.due-request-removal h2{margin-bottom:18px}.due-request-removal>strong{display:block;overflow-wrap:anywhere}.due-request-removal p{font-size:13px;line-height:1.8;margin:12px 0}
.due-request-remove.button{color:#a3333e;border-color:#edd1d6}.due-request-removal .button.danger{background:#a3333e;color:white;border-color:#a3333e}

.withdrawals-dialog{max-width:570px;max-height:85dvh;overflow:auto}.withdrawal-card{padding:20px;border:1px solid #dbe4ee;border-radius:12px;margin-top:18px;display:grid;gap:12px;background:#f9fbfd}.withdrawal-card>div{display:grid;gap:5px}.withdrawal-card span,.withdrawal-card small{font-size:11px;color:#728096;line-height:1.6}.withdrawal-card>b{font-size:25px;color:#1c775f}.withdrawal-card .button{justify-self:start}#withdrawals-button.has-pending{background:#fff4dc;border-color:#dfbb72;color:#805a13}
.welcome{flex-wrap:wrap}.welcome>div{min-width:250px}

.withdrawal-request-amount b{font-size:25px;color:#1c775f}

.monthly-dues-filter{display:flex;flex-direction:row;align-items:center;gap:9px;margin:14px 0 8px;padding:11px 12px;background:#f4f7fb;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:13px;line-height:1.5;cursor:pointer}.monthly-dues-filter input{width:18px;height:18px;min-height:18px;flex:0 0 auto;accent-color:var(--blue)}.monthly-dues-status{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 12px}.monthly-dues-status.error{color:#ae3442}
