:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233b37;background:#f8faf7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:88px;padding:0 6%;display:flex;align-items:center;gap:22px;border-bottom:1px solid #e1e8df;background:#fff}a{color:inherit;text-decoration:none}.brand{font-size:28px;color:#28684e;display:flex;gap:10px;align-items:center;font-weight:750;letter-spacing:-1px}.brand:first-letter{font-size:36px}.demo{font-size:10px;letter-spacing:1.5px;background:#f0f3eb;color:#6b7969;padding:7px 10px;border-radius:5px}button{font:inherit;cursor:pointer;border:0;border-radius:10px;transition:background .15s,transform .15s}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #dbab55;outline-offset:4px}button:disabled{opacity:.6;cursor:wait}#logout{margin-left:auto;background:#f0f4ef;padding:10px 16px;color:#42604e;font-size:13px}main{max-width:1170px;margin:0 auto;padding:64px 32px 30px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#6d8775}h1{font-size:52px;line-height:1.12;letter-spacing:-2px;font-weight:650;margin:18px 0}h2{font-size:23px;letter-spacing:-.5px;margin:14px 0}p{color:#728079;line-height:1.65;font-size:15px;margin:8px 0}small{color:#7b887f}.welcome{display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center}.welcome h1{font-size:65px}.welcome>div>p{max-width:430px;font-size:17px}.login{padding:34px;background:#fff;border:1px solid #e0e7de;border-radius:22px;box-shadow:0 12px 40px #29482d06}.login>p{margin-bottom:25px}.account{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:#f8faf7;padding:17px;margin:12px 0;border:1px solid #e2e8df;color:#294037}.account strong,.account small{display:block}.account small{margin-top:5px;font-size:12px}.account b{margin-left:auto;font-size:20px;font-weight:400}.avatar{width:48px;height:48px;border-radius:15px;background:#e5eee0;color:#517a48;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:650;flex-shrink:0}.purple{background:#eee9f5;color:#807398}.orange{background:#f6ebd9;color:#a98651}.note{font-size:12px;line-height:1.6;color:#899187;margin-top:24px;border-top:1px solid #edf0e9;padding-top:19px}.illustration{height:215px;position:relative;max-width:420px;margin-top:25px;overflow:hidden}.sun{position:absolute;background:#f2dc9e;width:63px;height:63px;border-radius:50%;right:40px;top:15px}.school{position:absolute;left:95px;top:60px;background:#dce6d5;width:190px;height:130px;border-radius:65px 65px 0 0;text-align:center;font-size:77px;color:#749c79;line-height:1.1;border-bottom:10px solid #a2b799}.school small{display:block;font-size:9px;letter-spacing:3px;font-weight:700;color:#4c7353}.ground{position:absolute;width:100%;height:25px;border-radius:50%;background:#e6ecdf;bottom:4px;z-index:-1}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px}.page-heading h1{font-size:43px}.live{font-size:12px;color:#5b8369;background:#eaf2e7;padding:9px 13px;border-radius:20px}.guidance{display:flex;align-items:center;gap:19px;background:#edf3e8;border:1px solid #e1e9db;padding:22px 26px;border-radius:13px;margin:25px 0}.guidance>span{font-size:28px;color:#709461}.guidance strong{font-size:15px}.guidance p{font-size:13px;margin:5px 0 0}.children{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:30px}.child-card{background:white;border:1px solid #e1e7dd;padding:28px;border-radius:17px}.child-top{display:flex;align-items:center;justify-content:space-between}.class{font-size:12px;color:#7b8778;background:#f5f7f2;padding:7px 10px;border-radius:6px}.child-card h2{margin-top:24px}.child-card>p{font-size:13px}.primary{background:#326d50;color:white;padding:14px 19px;font-size:13px;font-weight:600;display:flex;justify-content:space-between;gap:20px;align-items:center}.child-card .primary{width:100%;margin-top:26px}.hint{font-size:12px!important;margin-top:16px;min-height:20px}.status{font-size:12px;display:inline-flex;align-items:center;gap:7px;background:#f3eddc;color:#967736;padding:9px 12px;border-radius:7px;white-space:nowrap}.status i{width:6px;height:6px;border-radius:50%;background:currentColor}.status.fetching{background:#eaf0f7;color:#5b7b9d}.status.ready{background:#e6f1e2;color:#4f8545}.child-card .status{margin-top:20px}.progress{display:flex;gap:6px;margin-top:23px}.progress span{height:4px;border-radius:3px;background:#edf0e8;flex:1}.progress .done{background:#83a578}.cancel{background:transparent;color:#8b7969;padding:5px 0;font-size:12px;text-decoration:underline}.how{margin-top:44px;padding-top:28px;border-top:1px solid #e0e7dc}.how>div{display:flex;justify-content:space-between;gap:20px;margin-top:14px}.how p{display:flex;align-items:center;gap:10px;font-size:12px}.how b{border:1px solid #dce5d5;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:#648056}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px}.stats>div{border:1px solid #e1e7dd;border-radius:14px;background:white;padding:23px;display:flex;gap:18px;align-items:center}.stats strong{font-size:34px;font-weight:600}.stats span{font-size:13px;color:#7a8578}.queue{background:white;border:1px solid #e1e7dd;border-radius:17px;overflow:hidden}.queue-title{padding:14px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0e9}.queue-title h2{font-size:19px}.queue-title h2 span{font-size:12px;background:#eef2e9;padding:5px 8px;border-radius:5px;margin-left:8px}.queue-title small{font-size:12px}.queue-row{padding:22px 25px;display:flex;align-items:center;gap:24px;border-bottom:1px solid #edf0e9}.queue-row>div{flex:1}.queue-row h3{font-size:16px;margin:0}.queue-row p{font-size:12px;margin:5px 0 0}.queue-row button{min-width:155px;justify-content:center}.empty{text-align:center;padding:60px 20px}.empty>span{font-size:25px;color:#6c925e;background:#eef3e8;padding:12px 18px;border-radius:50%}.empty h3{margin-top:28px;font-weight:600}.empty p{font-size:13px}details{font-size:13px;color:#768473;margin:30px 0}summary{cursor:pointer}footer{text-align:center;color:#96a08f;font-size:11px;padding:35px 20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;background:#263e32;color:white;padding:16px 24px;border-radius:12px;box-shadow:0 6px 25px #0002;font-size:14px;z-index:5}[hidden]{display:none!important}@media(max-width:800px){main{padding:35px 20px}.welcome{grid-template-columns:1fr;gap:30px}.welcome h1{font-size:48px}.illustration{display:none}.login{padding:25px}.children{grid-template-columns:1fr}.page-heading h1{font-size:34px}.page-heading{align-items:flex-start;gap:12px}.live{margin-top:8px;white-space:nowrap;font-size:10px}.how>div{flex-direction:column;gap:0}.stats{gap:10px}.stats>div{padding:16px;flex-direction:column;gap:4px;align-items:flex-start}.stats span{font-size:11px}.queue-row{flex-wrap:wrap;gap:14px}.queue-row>div{flex-basis:100%}.queue-row button{margin-left:auto;min-width:0}.queue-title{padding:14px 18px}.queue-title small{font-size:10px}header{height:74px;padding:0 20px;gap:12px}.brand{font-size:23px}.demo{font-size:8px;letter-spacing:.8px}#logout{padding:9px;font-size:10px}.guidance{padding:18px}.guidance>span{display:none}}

.install-tip{margin-top:24px;padding:15px;background:#edf3e8;border-radius:10px;font-size:12px}.install-tip p{font-size:12px;margin:5px 0 0}body{padding-bottom:env(safe-area-inset-bottom)}

/* Touch-friendly staff tools and narrow-screen layouts. */
.staff-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px;align-items:start}.staff-tools details{margin:0;background:white;border:1px solid #dce5d5;border-radius:14px;overflow:hidden}.staff-tools summary{padding:20px;min-height:72px;list-style:none}.staff-tools summary::-webkit-details-marker{display:none}.staff-tools summary span{display:block;font-size:16px;font-weight:650;color:#326d50}.staff-tools summary small{display:block;margin-top:6px;font-size:12px}.staff-tools details[open] summary{border-bottom:1px solid #e7ece3}.staff-tools form{padding:20px;display:grid;gap:15px}.staff-tools label{display:grid;gap:8px;color:#405846;font-size:13px;font-weight:600}input,select{width:100%;min-width:0;min-height:48px;border:1px solid #d5dfd0;border-radius:9px;background:#fff;padding:12px;color:#233b37;font:inherit;font-size:16px}input:focus,select:focus{outline:2px solid #82a97e;outline-offset:2px}input[readonly]{background:#f0f4ec}.form-error{color:#a13e32;font-size:13px;margin:0}.form-error:empty{display:none}.staff-tools .primary{width:100%;min-height:48px}.queue-row h3,.child-card h2{overflow-wrap:anywhere}.account>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.primary,.account,.cancel{min-height:48px}html{-webkit-text-size-adjust:100%}button{touch-action:manipulation}
@media(max-width:600px){header{position:sticky;top:0;z-index:3;height:auto;min-height:68px;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));gap:8px}.brand{font-size:22px}.demo{display:none}#logout{min-height:44px;padding:10px 12px;font-size:12px}main{padding:26px 16px}.welcome{gap:22px}.welcome h1{font-size:42px;letter-spacing:-1.5px;margin:12px 0}.welcome>div>p{font-size:15px}.welcome .eyebrow{font-size:9px;letter-spacing:1.4px}.login{padding:22px 18px;border-radius:18px}.login h2{font-size:24px}.account{padding:15px 12px}.account small{font-size:13px}.page-heading{position:relative;display:block;margin-bottom:24px}.page-heading .live{position:absolute;right:0;top:-5px;margin:0;padding:6px 9px;font-size:10px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.3px}.page-heading h1{font-size:33px;letter-spacing:-1px;margin:16px 0 10px}.page-heading p{font-size:14px;max-width:290px}.guidance{margin:20px 0;padding:16px;border-radius:14px}.guidance p{font-size:13px}.children{gap:16px;margin-top:20px}.child-card{padding:22px;border-radius:19px}.child-card h2{font-size:25px;margin-top:18px}.child-card .primary{font-size:15px;min-height:54px;margin-top:22px}.child-card .hint{font-size:13px!important}.child-card .cancel{padding:12px 0;font-size:14px}.status{font-size:13px}.how{margin-top:28px}.how p{font-size:13px}.staff-tools{grid-template-columns:1fr;gap:12px}.staff-tools summary{padding:18px}.stats{gap:8px;margin-bottom:20px}.stats>div{padding:15px 10px;align-items:center;border-radius:12px}.stats strong{font-size:29px}.stats span{font-size:11px}.queue{background:transparent;border:0;border-radius:0}.queue-title{border:0;padding:0 0 14px}.queue-title h2{margin:0;font-size:20px}.queue-title small{font-size:11px}.queue-row{padding:20px;margin-bottom:12px;background:white;border:1px solid #e1e7dd;border-radius:16px;display:grid;grid-template-columns:1fr;gap:14px}.queue-row h3{font-size:20px}.queue-row p{font-size:13px;line-height:1.6}.queue-row .status{justify-self:start}.queue-row button{width:100%;margin:0;min-height:52px;font-size:15px}.empty{background:white;border:1px solid #e1e7dd;border-radius:16px;padding:40px 18px}#toast{bottom:calc(16px + env(safe-area-inset-bottom));width:calc(100% - 32px);max-width:none;font-size:14px}footer{padding:24px 20px;font-size:12px}}
.directory{margin:32px 0 36px}.directory-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.directory-heading h2{margin:9px 0}.directory-caption{font-size:13px;margin-bottom:20px}.directory-totals{display:flex;gap:12px}.directory-totals span{background:#eaf2e7;padding:12px 16px;border-radius:12px;font-size:12px;color:#527451;white-space:nowrap}.directory-totals strong{font-size:24px;display:block;color:#233b37;margin-bottom:3px}.family-card{background:white;border:1px solid #dfe7d9;border-radius:15px;padding:22px;margin-bottom:14px}.family-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.family-heading h3{margin:0 0 7px;font-size:18px;overflow-wrap:anywhere}.family-heading small{font-size:12px}.delete-button{background:#fff3ef;color:#a44d3d;border:1px solid #f0dcd4;min-height:44px;padding:10px 13px;font-size:12px;flex-shrink:0}.directory-children{list-style:none;margin:18px 0 0;padding:0}.directory-children li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #edf1e8}.directory-children strong{font-size:15px;overflow-wrap:anywhere}.directory-children small{display:block;margin-top:5px;font-size:12px}.add-child{color:#326d50;background:#edf3e8;min-height:44px;padding:10px 14px;font-size:13px;margin-top:14px}#names-panel{scroll-margin-top:100px}@media(max-width:600px){.directory-heading{align-items:start;flex-direction:column}.directory-totals{width:100%}.directory-totals span{flex:1;display:flex;align-items:center;gap:10px}.directory-totals strong{margin:0}.directory-caption{font-size:13px}.family-card{padding:18px}.family-heading h3{font-size:18px}.delete-button{padding:10px;font-size:11px}.directory-children strong{font-size:16px}.family-heading>div,.directory-children li>div{min-width:0}.directory{margin-top:28px}}
#login-form{display:grid;gap:14px;margin:24px 0 12px}#login-form label{font-size:14px;font-weight:600}#login-form input{font-size:20px;letter-spacing:3px;min-height:56px}#login-form input::placeholder{font-size:15px;letter-spacing:0}#login-form .primary{min-height:52px;font-size:15px}.login-help{font-size:12px}.family-code{display:flex;align-items:center;gap:10px;padding:15px;background:#f2f6ed;border-radius:10px;margin-top:18px;flex-wrap:wrap}.family-code>div{flex:1}.family-code small{display:block;font-size:11px}.family-code strong{display:block;letter-spacing:3px;font-size:19px;margin-top:5px;font-family:ui-monospace,monospace}.family-code .add-child{margin:0;background:#e2ecda}
.notification-settings{border:1px solid #dce5d5;background:white;border-radius:14px;padding:20px;margin:20px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.notification-settings strong{font-size:15px}.notification-settings p{font-size:13px;margin:6px 0 0;max-width:540px}.notification-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.notification-actions .primary{min-height:48px}.notification-actions .cancel{padding:12px;font-size:13px}@media(max-width:800px){.notification-settings{display:block;padding:18px}.notification-actions{flex-wrap:wrap;margin-top:16px}.notification-actions:empty{display:none}.notification-actions .primary{width:100%;justify-content:center;font-size:14px}}
.notification-devices{width:100%;border-top:1px solid #e7ece3;margin-top:18px;padding-top:18px}.notification-devices>div>p{margin-bottom:0}.notification-devices ul{list-style:none;margin:14px 0;padding:0}.notification-devices li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #edf1e8}.notification-devices li strong,.notification-devices li small{display:block}.notification-devices li small{font-size:11px;margin-top:4px}.notification-devices .cancel{flex-shrink:0;min-height:40px;padding:9px 12px}.notification-devices>button{margin-top:4px}

.staff-tabs{display:flex;gap:8px;padding:6px;background:#edf3e8;border:1px solid #dce5d5;border-radius:14px;margin-bottom:24px}.staff-tabs button{flex:1;min-height:50px;padding:12px 16px;background:transparent;color:#527451;font-size:14px;font-weight:600;display:flex;justify-content:center;align-items:center;gap:8px}.staff-tabs button[aria-selected="true"]{background:#326d50;color:white;box-shadow:0 2px 6px #263e3214}.staff-tabs button:focus-visible{outline:2px solid #326d50;outline-offset:3px}.tab-count{font-size:12px;padding:3px 7px;border-radius:6px;background:#ffffff40}.staff-single-tool{grid-template-columns:1fr}.staff-tab-panel:focus-visible{outline:2px solid #82a97e;outline-offset:4px}.staff-tab-panel>.notification-settings{margin-top:0}@media(max-width:600px){.staff-tabs{gap:3px;padding:4px}.staff-tabs button{font-size:12px;padding:12px 6px;gap:5px;flex-wrap:wrap}.tab-count{font-size:11px}}

body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}body>header{flex-shrink:0}body>main{flex:1;width:100%}.release-footer{margin-top:auto;line-height:1.6}.release-footer p{margin:4px 0;font-size:12px;color:#768473}

.undo-button{background:#edf3e8;color:#326d50;border:1px solid #dce5d5;min-height:44px;padding:10px 14px;font-size:12px}.queue-row{flex-wrap:wrap}.queue-row .undo-button{flex-basis:100%;margin-left:0}.history-row{padding:12px 0;border-bottom:1px solid #e1e7dd}.history-row p{margin:0 0 10px}

.edit-dialog{width:calc(100% - 32px);max-width:480px;border:1px solid #dce5d5;border-radius:18px;padding:24px;color:#233b37}.edit-dialog::backdrop{background:#10251b88}.edit-dialog form{display:grid;gap:18px}.edit-dialog h2{margin:0}.edit-dialog label{display:grid;gap:8px}.edit-actions{display:flex;gap:20px;align-items:center}

.grade-access{margin-bottom:28px}.grade-access>p{font-size:13px}.grade-access .family-code{margin-top:10px}

.grade-cycle{margin-top:24px}.grade-cycle h3{margin-bottom:6px}.grade-cycle>p{font-size:13px;margin:0 0 12px}

/* Keep parent and child edit/delete controls in the same columns. */
.family-heading,.directory-children li{display:grid;grid-template-columns:minmax(0,1fr) 144px 150px;gap:12px;align-items:center}
.family-heading>div,.directory-children li>div{min-width:0}
.family-heading>div:only-child{grid-column:1/-1}
.family-heading>.add-child,.directory-children li>.add-child{margin:0}
.family-heading>button,.directory-children li>button{width:100%;min-height:44px;align-self:stretch;display:flex;align-items:center;justify-content:center;font-size:12px}
@media(max-width:600px){
 .family-heading,.directory-children li{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .family-heading>div,.directory-children li>div{grid-column:1/-1}
}

.enrollment-overview{margin-bottom:28px;padding:22px;background:#fff;border:1px solid #dfe7d9;border-radius:16px}.enrollment-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.enrollment-heading h2{font-size:22px;margin:0}.enrollment-cycles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.enrollment-overview table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.enrollment-overview caption{text-align:left;color:#326d50;font-size:14px;font-weight:650;padding:0 0 12px}.enrollment-overview th,.enrollment-overview td{padding:10px 6px;border-bottom:1px solid #e7ece3;overflow-wrap:anywhere}.enrollment-overview th:first-child{width:52%;text-align:left}.enrollment-overview thead th{color:#768473;font-weight:500;font-size:11px}.enrollment-overview tbody th{font-weight:500}.enrollment-overview td,.enrollment-overview thead th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.enrollment-overview td{font-weight:650}.enrollment-note{font-size:12px;margin:18px 0 0;line-height:1.6}.enrollment-overview .enrollment-unassigned{margin-top:20px;max-width:400px}@media(max-width:800px){.enrollment-overview{padding:18px}.enrollment-heading{align-items:flex-start;flex-direction:column}.enrollment-cycles{grid-template-columns:1fr;gap:22px}.enrollment-overview table{font-size:14px}.enrollment-overview thead th{font-size:12px}.enrollment-heading .directory-totals{width:100%}.enrollment-heading .directory-totals span{flex:1;white-space:normal}.enrollment-overview .enrollment-unassigned{max-width:none}}
