:root{--ink:#1d3152;--muted:#758399;--teal:#148b82;--line:#e3eaf3;--bg:#f6f9fd}body{background:#edf3f8;color:var(--ink)}h1{font-weight:750;color:#162d50}h2,h3{color:#203654}button{transition:background .15s,box-shadow .15s,transform .15s}button:active:enabled{transform:translateY(1px)}.primary{background:linear-gradient(135deg,#1a9b8b,#087f78);box-shadow:0 3px 6px #13897c16;min-height:46px;font-size:13px}.secondary{min-height:44px;color:#36526b;box-shadow:0 2px 4px #38567705}.icon-btn{color:#7b8fa6}.sidebar{width:224px;inset:12px auto 12px 12px;border:1px solid #e5eaf0;border-radius:19px;background:linear-gradient(170deg,#fffdf9 35%,#f5f4fc 80%,#e9f2e2);padding:24px 14px}.brand{gap:7px;margin-bottom:28px}.brand img{width:55px;height:64px}.brand div{font-size:21px;color:#0a676e;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:.4px}.structure-picker{background:#eef3fa;border:1px solid #e0e8f3;padding:13px 11px;margin-bottom:18px}.structure-picker select{font-size:13px;color:#304b6b}.structure-picker label{font-size:9px;color:#8b9bae}.nav-item{font-size:13px;min-height:46px;gap:10px;color:#50617a}.nav-item.active{background:linear-gradient(100deg,#249a91,#20857f);color:white;box-shadow:0 4px 9px #228c8520}.nav-item.active .group-dot{background:#fff}.group-btn{background:#f1effa;margin-bottom:8px}.group-btn:nth-child(3n+2){background:#edf4ec}.group-btn:nth-child(3n){background:#f7f1e5}.group-btn.active{background:linear-gradient(100deg,#249a91,#20857f)}.nav-caption{padding-top:14px;font-size:9px;color:#8c92a9}.nav-rule{margin:17px 6px}.sidebar-bottom{position:relative;padding:22px 7px 4px}.sidebar-bottom:before{content:'';height:70px;position:absolute;left:-14px;right:-14px;bottom:0;pointer-events:none;background:radial-gradient(ellipse at 18% 100%,#bcd8978c 0 35%,transparent 36%),radial-gradient(ellipse at 85% 130%,#d0e6b9a6 0 50%,transparent 51%);z-index:0;border-radius:0 0 18px 18px}.sidebar-bottom>*{position:relative}.sidebar-bottom p{color:#758b84;font-size:12px}.little-mountain{color:#96bfc5}.app-body{margin-left:248px;margin-right:12px;min-height:100vh}.topbar{height:84px;border-radius:0 0 18px 18px;background:linear-gradient(115deg,#d8eeff 0%,#eaf4ff 48%,#dbeaff 100%);border:1px solid #d2e2f5;padding:0 28px;position:relative}.topbar:after{content:'';position:absolute;left:42%;top:12px;width:150px;height:40px;background:radial-gradient(ellipse at 30% 80%,#ffffff65 0 29%,transparent 30%),radial-gradient(ellipse at 55% 60%,#ffffff50 0 35%,transparent 36%),radial-gradient(ellipse at 85% 80%,#ffffff50 0 25%,transparent 26%);pointer-events:none}.topbar-right,.breadcrumb{position:relative;z-index:1}.profile{color:#36556f}.avatar.small{background:white;box-shadow:0 0 0 1px #cad9e9}.tag{background:#ffffffb3;color:#6b8ea2}.breadcrumb{color:#6d89a4}.breadcrumb strong{color:#1e4268}main{padding:32px 26px 24px;max-width:1900px;background:radial-gradient(ellipse at top left,#f6faff,transparent 65%)}.page-heading h1{font-size:34px;margin-bottom:8px}.page-heading p{font-size:13px}.eyebrow{color:#7991ad;font-weight:700}.page-heading .eyebrow{font-size:10px;letter-spacing:1.4px}.date-control{background:#f8fbff;border:1px solid #cbdcf1;box-shadow:0 3px 8px #b1c7dc12}.date-control input{font-size:13px;color:#345573}.presence-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start}.presence-main,.day-panel{min-width:0}.day-summary{border:6px solid #edf0fa;background:white;border-radius:16px;overflow:hidden}.summary-heading{display:flex;align-items:center;gap:12px;padding:18px 15px;background:linear-gradient(#fafaff,#f4f6fd)}.summary-heading>.icon{width:28px;height:28px;color:#1e9b91;flex-shrink:0}.summary-heading h2{font-size:16px;margin:0 0 5px}.summary-heading p{font-size:10px;margin:0;color:#8792ab}.day-panel .stats{display:flex;flex-direction:column;gap:0;margin:0;padding:0 10px}.day-panel .stat{border:0;border-bottom:1px solid #eaeef7;border-radius:0;padding:16px 3px;gap:10px;position:relative}.day-panel .stat:last-child{border-bottom:0}.day-panel .stat-icon{width:33px;height:33px;border-radius:9px}.day-panel .stat small{font-size:11px;margin:0;max-width:98px;color:#6d7e96}.day-panel .stat>div{display:flex;align-items:center;gap:9px;justify-content:space-between;width:100%}.day-panel .stat strong{font-size:20px;letter-spacing:-.5px;color:#315274;padding:5px;background:#edf4ff;border-radius:7px;white-space:nowrap}.day-panel .stat em{font-size:12px}.day-panel .stat>.live-dot{position:absolute;right:3px;top:6px}.mascot-card{margin-top:16px;border:1px solid #dcece1;border-radius:14px;background:linear-gradient(150deg,#edf8ed,#f6fbf5);padding:20px 20px 22px;text-align:center;overflow:hidden;position:relative}.mascot-card:after{content:'';position:absolute;width:110px;height:110px;border:22px solid #e2f0dd80;border-radius:50%;right:-50px;top:-45px;pointer-events:none}.mascot-card img{width:145px;height:150px;object-fit:contain;position:relative;z-index:1}.mascot-card h3{font-size:20px;color:#1a7868;line-height:1.3;margin:13px 0 8px;letter-spacing:-.5px}.mascot-card p{font-size:11px;color:#7a9a8a;line-height:1.7;margin:0}.day-panel .bottom-cards{display:flex;flex-direction:column;gap:12px;margin-top:16px}.day-panel .soft-card{padding:15px 12px;border:1px solid #e4e7f2;border-radius:12px}.day-panel .soft-card strong{font-size:12px}.day-panel .soft-card p{font-size:10px;line-height:1.6}.day-panel .soft-card .stat-icon{width:29px;height:29px;border-radius:7px}.roster-panel{border:1px solid #dfe8f3;border-radius:14px;box-shadow:0 6px 20px #355b8012}.panel-toolbar{padding:21px 18px}.panel-toolbar h2{font-size:19px;color:#223855}.panel-toolbar p{font-size:11px;color:#8696aa}.toolbar-actions{gap:5px}.search{width:175px;background:#f9fbfe;border-color:#e1e9f3}.search input{background:none;font-size:11px}.toolbar-actions .secondary{padding:9px;font-size:12px}.child-row,.roster-head{grid-template-columns:minmax(125px,1fr) 95px 190px 62px 30px;gap:9px;padding:18px}.roster-head{font-size:10px;background:linear-gradient(90deg,#eaf1fa,#e9eef7);color:#607494;padding-top:13px;padding-bottom:13px}.roster-head>span:nth-child(4){display:none}.roster-head>span:nth-child(5){grid-column:4}.child-row{min-height:103px}.child-row>.child-name{grid-column:1;grid-row:1}.child-row>.pill{grid-column:2;grid-row:1}.child-row>.row-actions{grid-column:3;grid-row:1}.child-row>.duration{grid-column:4;grid-row:1}.child-row>.row-more{grid-column:5;grid-row:1}.child-name strong{font-size:13px;line-height:1.4}.child-name small{font-size:9px}.avatar{width:38px;height:38px;border-radius:50%;font-size:12px}.child-row .timeline{grid-row:2;grid-column:1/-1;margin-left:47px;gap:6px}.pill{font-size:11px;padding:8px}.pill.present{background:#e7f6dd;color:#478449}.pill.neutral{background:#eaf2fe;color:#7497c3}.pill.departed{background:#f0edf6;color:#8b80a3}.row-actions{gap:6px}.row-actions button{width:92px;min-height:46px;padding:10px 8px;font-size:12px;font-weight:600;border-radius:9px;background:linear-gradient(#fff,#effaf3);border-color:#8fc8b6;color:#29836b;box-shadow:0 2px 4px #569e8020}.row-actions button.out{background:linear-gradient(#fff,#fff0f0);border-color:#e8a1a5;color:#c26068;box-shadow:0 2px 4px #a3445910}.row-actions button:disabled{opacity:.37;box-shadow:none;background:#f8f9fb;border-color:#d5dfeb;color:#a6b1c1}.row-actions .icon{width:17px;height:17px}.time-chip{font-size:11px;background:#edf8e5;color:#58853f;padding:7px 9px;border-radius:7px}.time-chip.out{background:#fdeeed;color:#b96d72}.time-chip small{font-size:9px;padding-left:12px}.duration{color:#345a79;font-size:17px}.duration small{font-size:9px}.row-more{color:#90a3b9}.panel-footer{font-size:9px;background:#fbfcff;padding:15px 18px;color:#91a3b8}.notice{border-radius:10px;background:#fff8e7;border-color:#f1e6c5;color:#a18c53}.card{border:1px solid #e0e8f2;border-radius:14px;box-shadow:0 4px 16px #3c628408}.main-footer{color:#a0b0c1;padding:6px 27px 24px}.admin-heading{margin-bottom:25px}.admin-heading-icon{width:70px;height:70px;display:flex;align-items:center;justify-content:center;background:#e5effb;border-radius:20px;transform:rotate(-5deg);color:#6395b9}.admin-heading-icon .icon{width:34px;height:34px}.admin-tabs{display:flex;gap:7px;background:#eaf0f8;padding:7px;border:1px solid #e0e8f4;border-radius:12px;margin-bottom:30px;width:max-content;max-width:100%;overflow-x:auto}.admin-tabs button{background:transparent;padding:12px 17px;color:#7890ab;font-weight:600;font-size:12px;white-space:nowrap;border-radius:8px;min-height:43px}.admin-tabs button.active{background:white;color:#2e6f85;box-shadow:0 3px 8px #b1c4dc28}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.section-heading h2{font-size:23px;margin:0 0 7px;letter-spacing:-.5px}.section-heading p{font-size:12px;margin:0;color:#8a9aaf}.structure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.structure-card{border:1px solid #dce8ed;border-radius:15px;padding:22px;min-width:0;background:linear-gradient(140deg,#ffffff,#f6faf4);box-shadow:0 4px 14px #49627b08}.structure-card.palette-1{background:linear-gradient(140deg,#fff,#f5f2fd);border-color:#e5e0f2}.structure-card.palette-2{background:linear-gradient(140deg,#fff,#fff9ea);border-color:#ede6d6}.structure-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.structure-symbol{display:flex;width:46px;height:46px;align-items:center;justify-content:center;border-radius:13px;background:#e4f2e8;color:#6b9a75}.palette-1 .structure-symbol{background:#ece6f7;color:#a190c4}.palette-2 .structure-symbol{background:#f9efd5;color:#c1a358}.structure-symbol .icon{width:24px;height:24px}.structure-card .pill{font-size:9px;padding:6px}.structure-card h3{font-size:20px;line-height:1.35;margin:22px 0 8px;overflow-wrap:anywhere}.structure-card p{font-size:12px;margin-bottom:22px}.management-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.management-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px;border:1px solid #dce6ed;background:#ffffffb3;color:#627f95;border-radius:8px;font-size:10px;min-height:40px;white-space:nowrap}.management-button:hover{background:#f0f7fa;border-color:#a6c5d2}.management-button .icon{width:14px;height:14px}.management-button.danger{border-color:#efd8da;color:#c2787d;background:#fffaf9}.danger-fill{background:#c96d76}.danger-fill:hover{background:#b35863}.class-kind{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#9daabd}.helper-note{font-size:12px;line-height:1.7;color:#95a3b5;border-left:3px solid #d8e7f7;padding:8px 14px;margin:0 0 20px}.recycle-panel{padding:17px 20px;box-shadow:none;background:#fafcff}.recycle-panel summary{cursor:pointer;color:#9baabc;font-size:12px;font-weight:600}.recycle-panel>div{padding-top:15px}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e5ebf3;padding:11px 0;font-size:13px}.children-manager{padding:22px}.children-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-bottom:10px}.children-filters label{font-size:11px;color:#8596ac}.children-filters input,.children-filters select{background:#f8fbff}.children-admin-table td{padding:16px 12px}.children-admin-table th{padding:14px 12px;font-size:10px;background:#edf3fa;color:#8799b0}.children-admin-table .management-actions{min-width:245px}.children-admin-table .child-name{min-width:145px}.children-admin-table .child-name strong{font-size:12px}.children-admin-table .management-button{min-height:36px;font-size:9px;padding:8px}.children-admin-table .pill{font-size:10px}.pager{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding-top:20px;color:#8c9db3;font-size:11px}.pager>span:first-child{margin-right:auto}.pager .secondary{min-height:36px;padding:6px 12px}.team-member{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #edf1f7;flex-wrap:wrap}.team-member strong{font-size:12px}.team-member small{font-size:10px;display:block;margin-top:5px;overflow-wrap:anywhere}.team-member .pill{margin-left:auto;font-size:10px}.team-member .avatar{background:#ecf1fd;color:#8b9cc4}.webhook-cards{display:grid;grid-template-columns:1fr 1.2fr;gap:22px}.webhook-explainer{background:linear-gradient(145deg,#f2f7ff,#f1f9f3);padding:30px}.large-icon{width:62px;height:62px;background:#e1edf8;color:#729aba;border-radius:17px;display:flex;align-items:center;justify-content:center;margin-bottom:25px}.large-icon .icon{width:31px;height:31px}.webhook-explainer h2{font-size:25px;line-height:1.3;max-width:300px;margin-bottom:25px}.webhook-explainer p{font-size:12px;line-height:1.9}.webhook-explainer strong{color:#496985}.webhook-cards label{color:#6b839d;font-size:12px}.webhook-cards input{background:#f9fbff}.webhook-cards .checkbox{font-size:11px;margin:13px 0 22px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-grid label{color:#71879e}dialog{border-radius:16px;border-color:#dce7f3;box-shadow:0 25px 80px #1e385740}.modal-header{padding-bottom:14px;border-bottom:1px solid #e8eef6}.modal-header h2{font-size:20px}.modal-actions{align-items:center}#toast{background:#266e70;box-shadow:0 7px 24px #15375d30}
@media(min-width:1760px){.child-row,.roster-head{grid-template-columns:minmax(155px,1fr) 95px 190px minmax(205px,1.3fr) 70px 28px;gap:10px}.roster-head>span:nth-child(4){display:block}.roster-head>span:nth-child(5){grid-column:5}.child-row>.timeline{grid-column:4;grid-row:1;margin:0}.child-row>.duration{grid-column:5}.child-row>.row-more{grid-column:6}.child-row{min-height:90px}}
@media(max-width:1400px){.structure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.presence-layout{grid-template-columns:minmax(0,1fr) 235px;gap:16px}.day-panel .stat{gap:6px}.day-panel .stat-icon{width:26px;height:28px}.day-panel .stat small{font-size:10px;max-width:85px}.day-panel .stat strong{font-size:18px}.day-summary{border-width:4px}.summary-heading{padding:15px 10px;gap:8px}.summary-heading h2{font-size:14px}.summary-heading>.icon{width:22px}.child-row,.roster-head{grid-template-columns:minmax(100px,1fr) 80px 172px 54px 24px;padding:15px 12px;gap:7px}.row-actions button{width:83px;font-size:11px;padding:9px 6px}.child-name{gap:7px}.child-name strong{font-size:12px}.avatar{width:33px;height:33px}.child-row .timeline{margin-left:40px}.pill{font-size:10px;padding:7px}.panel-toolbar{flex-wrap:wrap;gap:15px}.toolbar-actions .search{width:185px}.date-control input{width:135px}.duration{font-size:16px}.page-heading h1{font-size:30px}.webhook-cards{grid-template-columns:1fr 1.2fr}}
@media(max-width:1200px){.presence-layout{grid-template-columns:1fr}.day-panel{display:grid;grid-template-columns:1.2fr 1fr;gap:17px;align-items:start}.day-summary{grid-column:1}.mascot-card{grid-column:2;grid-row:1/3;margin:0;padding:15px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.mascot-card img{width:90px;height:105px}.mascot-card h3{font-size:18px;margin:0;text-align:left}.mascot-card p{width:100%}.day-panel .bottom-cards{grid-column:1;margin:0}.day-panel .stat small{font-size:12px;max-width:none}.day-panel .stat strong{font-size:20px}.day-panel .stat{padding:12px 6px}.summary-heading h2{font-size:16px}.child-row,.roster-head{grid-template-columns:minmax(140px,1fr) 95px 190px 70px 30px;padding:18px;gap:9px}.row-actions button{width:92px;font-size:12px}.child-name strong{font-size:13px}.pill{font-size:11px}.presence-main{order:0}.day-panel{order:1}.admin-tabs button{padding:11px 12px;font-size:11px}.structure-card{padding:20px}.structure-card .management-button{font-size:9px}.topbar{padding:0 20px}main{padding:26px 20px}.webhook-cards{grid-template-columns:1fr}.webhook-explainer{display:none}}
@media(max-width:1000px){.sidebar{width:198px;padding:22px 10px}.app-body{margin-left:222px}.brand img{width:44px;height:52px}.brand div{font-size:18px}.brand small{font-size:5px}.sidebar .nav-item{font-size:12px}.structure-grid{grid-template-columns:1fr}.children-filters{grid-template-columns:1fr 1fr}.children-filters label:first-child{grid-column:1/-1}.child-row,.roster-head{grid-template-columns:minmax(110px,1fr) 85px 172px 55px 25px;padding:15px 12px;gap:7px}.row-actions button{width:83px;font-size:11px}.pill{font-size:10px}.child-name strong{font-size:12px}.section-heading{align-items:flex-start}.section-heading h2{font-size:21px}.section-heading .primary{font-size:11px;padding:10px}.admin-heading-icon{display:none}.admin-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{width:232px;inset:8px auto 8px 8px;z-index:40}.app-body{margin:0}.topbar{height:70px;border-radius:0 0 15px 15px;padding:0 14px}.topbar:after{left:37%;width:100px}.breadcrumb{font-size:11px}.topbar-right{gap:7px}.date-control input{width:auto;font-size:14px}.page-heading h1{font-size:30px}.page-heading{margin-bottom:20px}.page-heading p:not(.eyebrow){font-size:12px}.date-control{border-radius:10px}.date-control .icon-btn{width:45px;height:45px}.presence-layout{gap:18px}.panel-toolbar{padding:19px 15px;gap:15px;flex-direction:column}.panel-toolbar h2{font-size:19px}.panel-toolbar p{font-size:11px}.toolbar-actions .search{width:100%;min-width:0}.search input{font-size:12px;min-width:0}.toolbar-actions .secondary{padding:10px 11px;white-space:nowrap}.child-row{grid-template-columns:minmax(0,1fr) auto 28px;gap:13px;padding:18px 15px}.child-row>.child-name{grid-column:1;grid-row:1}.child-name strong{font-size:14px;line-height:1.4}.child-name small{font-size:10px}.avatar{width:39px;height:39px;font-size:12px}.child-row>.pill{grid-column:2;grid-row:1;font-size:11px}.child-row>.row-more{grid-column:3;grid-row:1}.child-row>.row-actions{grid-column:1/3;grid-row:2}.row-actions{gap:9px}.row-actions button{width:108px;min-height:48px;font-size:13px;padding:10px}.child-row>.duration{grid-column:3;grid-row:2;justify-self:end;font-size:18px;min-width:48px;text-align:right}.child-row>.timeline{grid-row:3;grid-column:1/-1;margin:0;gap:6px}.time-chip{padding:8px;font-size:11px}.time-chip small{font-size:9px}.timeline .empty{font-size:10px}.panel-footer{font-size:8px;padding:13px}.day-panel{display:flex;flex-direction:column;gap:14px}.day-summary,.mascot-card,.day-panel .bottom-cards{width:100%}.day-summary{border-width:5px}.day-panel .stats{padding:0 14px}.day-panel .stat{padding:14px 5px}.day-panel .stat small{font-size:13px;max-width:none}.day-panel .stat strong{font-size:22px}.summary-heading{padding:18px 15px}.summary-heading h2{font-size:17px}.summary-heading p{font-size:11px}.summary-heading>.icon{width:28px}.mascot-card{padding:20px}.mascot-card img{width:110px;height:125px}.mascot-card h3{font-size:22px}.mascot-card p{font-size:12px}.day-panel .bottom-cards{gap:12px}.day-panel .soft-card{padding:18px 15px}.day-panel .soft-card p{font-size:11px}.day-panel .soft-card strong{font-size:13px}.admin-tabs{width:100%;margin-bottom:25px;gap:3px;padding:5px}.admin-tabs button{font-size:11px;padding:10px 12px}.section-heading{flex-direction:column;gap:15px;margin-bottom:20px}.section-heading .primary{font-size:13px;width:100%;min-height:46px}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.structure-card{padding:21px}.structure-card h3{font-size:22px}.structure-card .management-button{font-size:11px;padding:10px;min-height:43px}.structure-card .pill{font-size:10px}.recycle-panel{padding:17px}.children-manager{padding:16px}.children-filters{gap:10px}.children-filters input,.children-filters select{font-size:12px;padding:10px}.children-filters label{font-size:10px}.children-admin-table td{padding:15px 10px}.children-admin-table .management-actions{min-width:220px}.children-admin-table .child-name{min-width:155px}.children-admin-table .child-name strong{font-size:13px}.children-admin-table .management-button{font-size:10px;min-height:40px}.webhook-cards{gap:0}.webhook-cards .card{padding:20px}.webhook-cards label{font-size:12px}.webhook-cards input{font-size:12px}.webhook-cards .primary{width:100%;font-size:12px}.form-columns{grid-template-columns:1fr;gap:0}.team-member{gap:9px}.team-member .pill{font-size:9px}.team-member small{font-size:10px}.team-member>div{max-width:190px}.main-footer{padding:14px 17px 24px;font-size:9px}main{padding:25px 13px 20px}.admin-tabs::-webkit-scrollbar{height:3px}.admin-tabs::-webkit-scrollbar-thumb{background:#b7c9de;border-radius:5px}}
@media(max-width:360px){.row-actions button{width:93px}.child-row{padding:16px 10px}.child-name strong{font-size:12px}.pill{font-size:10px}.duration{font-size:16px}}
@media(min-width:1400px){.child-row,.roster-head{grid-template-columns:minmax(125px,1.1fr) 88px 190px minmax(150px,1fr) 60px 24px;gap:8px;padding-left:16px;padding-right:16px}.roster-head>span:nth-child(4){display:block}.roster-head>span:nth-child(5){grid-column:5}.child-row>.timeline{grid-column:4;grid-row:1;margin:0;gap:5px}.child-row>.duration{grid-column:5}.child-row>.row-more{grid-column:6}.child-row{min-height:100px}.time-chip{font-size:10px;padding:7px}.time-chip small{font-size:8px}}
@media(max-width:760px){.sidebar{transform:translateX(calc(-100% - 10px))}.sidebar.open{transform:translateX(0)}.children-admin-table,.children-admin-table tbody{display:block;width:100%}.children-admin-table thead{display:none}.children-admin-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:18px 0;border-bottom:1px solid #e4ebf5}.children-admin-table td{display:block;padding:0;border:0;min-width:0}.children-admin-table td:nth-child(1){grid-column:1;grid-row:1}.children-admin-table td:nth-child(2){grid-column:1/-1;grid-row:2;font-size:12px;color:#7f93ab}.children-admin-table td:nth-child(2):before{content:'Classe : ';font-weight:600;color:#506e8c}.children-admin-table td:nth-child(3){grid-column:2;grid-row:1}.children-admin-table td:nth-child(4){grid-column:1/-1;grid-row:3}.children-admin-table .child-name{min-width:0}.children-admin-table .management-actions{min-width:0;gap:7px}.children-admin-table .management-button{font-size:11px;padding:10px;min-height:42px}.children-admin-table .avatar{width:35px;height:35px}.children-admin-table .child-name strong{font-size:13px}.children-admin-table td:nth-child(3) .pill{font-size:10px;padding:7px}.children-admin-table .child-name>div{min-width:0}.children-manager>.table-scroll{overflow:visible}}
@media print{.app-body{margin:0}.topbar,.sidebar,.main-footer{display:none}.card{box-shadow:none}main{background:white}}
.child-title{display:flex;align-items:center;gap:4px;min-width:0}.child-title strong{min-width:0;overflow-wrap:anywhere}.child-info-button{width:32px;height:34px;min-width:32px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#709fca;font-family:Georgia,serif;font-weight:700;font-style:normal;font-size:13px;border-radius:50%;position:relative;flex-shrink:0}.child-info-button:before{content:'';position:absolute;width:17px;height:17px;border:1.5px solid currentColor;border-radius:50%}.child-info-button:hover{color:#238d92;background:#eef8fa}.info-loading{padding:35px;text-align:center;color:#8b9bb0}.info-identity{display:flex;align-items:center;gap:15px;margin-bottom:23px}.info-identity .avatar{width:52px;height:52px;font-size:16px;background:#e9f3ee;color:#6b9b83}.info-identity h3{margin:0 0 5px;font-size:21px;overflow-wrap:anywhere}.info-identity p{margin:0;font-size:12px;color:#8b9db2}.child-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.info-wide{grid-column:1/-1}.info-section{background:#f8fbff;border:1px solid #e1eaf4;border-radius:11px;padding:18px;min-width:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.info-section h3{font-size:12px;color:#6e8da9;margin:0 0 12px}.info-section p{margin:0 0 10px;color:#354e69}.info-unfilled{color:#a8b4c3;font-size:12px;font-weight:400;font-style:italic}.contact-call{display:inline-flex;align-items:center;gap:8px;background:#e8f6ee;color:#2d8065;padding:10px 12px;border-radius:8px;text-decoration:none;font-size:13px;min-height:44px;overflow-wrap:anywhere;max-width:100%}.contact-call .icon{width:16px;height:16px;flex-shrink:0}.emergency-section{background:#fffaf1;border-color:#f0e6d0}.emergency-section h3{color:#ad9356}.emergency-contact{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #eee6d4}.emergency-contact:last-child{border-bottom:0}.emergency-contact strong{font-size:13px;font-weight:600}.emergency-contact small{display:block;color:#b29d71;font-size:11px;margin-top:4px}.info-notes{font-size:13px;white-space:normal}.info-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.info-footer small{font-size:10px;line-height:1.6;max-width:300px;color:#99a9ba}.info-footer .primary{font-size:12px;white-space:nowrap}textarea{font:inherit;color:var(--ink);display:block;width:100%;padding:12px;border:1px solid #dce4df;border-radius:8px;background:#fff;margin-top:7px;resize:vertical;min-height:75px;line-height:1.6}textarea:focus{outline:2px solid #b2d7e2;outline-offset:1px}#child-info-form label{font-size:12px;color:#71879e}#child-info-form fieldset{margin:0 0 17px;padding:16px;background:#f8fbfe}#child-info-form fieldset label:last-child{margin-bottom:0}#child-info-form legend{font-size:12px;font-weight:600}#child-info-form h3{font-size:16px;margin:8px 0 17px}.emergency-fields{padding:17px;border:1px solid #ece5d4;border-radius:10px;background:#fffcf6;margin-bottom:12px}.emergency-fields label{margin-bottom:13px}.contact-edit-bottom{display:flex;align-items:flex-end;gap:14px}.contact-edit-bottom label{flex:1;min-width:0;margin:0}.contact-edit-bottom .secondary{font-size:11px;color:#bd7a80}.notes-label{margin-top:22px}#child-info-form .primary .icon{width:18px}.children-admin-table .child-title{gap:2px}
@media(max-width:760px){.child-info-button{width:36px;height:36px;min-width:36px}.child-title{gap:2px}.child-title strong{font-size:13px}.child-info-grid{grid-template-columns:1fr}.info-section{padding:16px}.info-wide{grid-column:1}.info-identity{gap:11px}.info-identity h3{font-size:20px}.info-identity p{font-size:11px}.emergency-contact{align-items:flex-start;flex-direction:column;gap:10px}.info-footer{align-items:stretch;flex-direction:column;gap:14px}.info-footer .primary{width:100%}.contact-call{min-height:46px;font-size:14px}.contact-edit-bottom{flex-wrap:wrap}.contact-edit-bottom label{width:100%;flex:auto}.contact-edit-bottom .secondary{font-size:12px}#child-info-form .form-columns{grid-template-columns:1fr;gap:0}}
.csa-setup-actions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 18px}.csa-setup-actions .secondary{font-size:11px;min-height:43px}.grid-kind-label{display:block;margin-top:6px;font-size:10px;color:#929db4}#csa-period{align-items:flex-end}#csa-period>label{min-width:130px}#csa-period>label:first-child{flex:1.3}#csa-period>label:nth-child(2){flex:1.1}#csa-period>label input,#csa-period>label select{font-size:12px}
@media(max-width:760px){.csa-setup-actions{flex-direction:column}.csa-setup-actions .secondary{width:100%;font-size:12px}#csa-period>label{min-width:0}}
.child-name>div{min-width:0}.child-name .child-attention,.info-identity .child-attention{display:block;font-size:10px;line-height:1.55;font-weight:500;color:#a36a54;white-space:normal;overflow-wrap:anywhere;margin:5px 0}.parent-email{display:block;margin:12px 0 0;font-size:12px;line-height:1.5;color:#477caa;text-decoration:underline;overflow-wrap:anywhere}.csa-matricule{font-variant-numeric:tabular-nums;letter-spacing:1px;color:#386383}.attention-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:8px 0 20px}.attention-choice{display:flex;align-items:center;gap:9px;border:1px solid #e1e9ee;border-radius:8px;background:#fff;padding:12px;margin:0;min-height:46px}.attention-choice input{width:17px;min-height:17px;margin:0;flex-shrink:0}.attention-choice span{font-size:12px}.attention-choice:has(input:checked){background:#fff7e9;border-color:#e9d5b0}#child-info-form .attention-editor{background:#fbfcff}.attention-editor p{margin-bottom:0}#child-info-form .attention-editor label:last-of-type{margin-bottom:15px}
@media(max-width:760px){.child-name .child-attention{font-size:10px;line-height:1.55}.attention-choices{grid-template-columns:1fr}.parent-email{font-size:13px;min-height:35px}.info-identity .child-attention{font-size:11px}}
.parent-email-unfilled{display:block;margin-top:12px}.child-name .child-attention{max-width:100%}

.webhook-result{margin-top:16px;padding:15px;border:1px solid #d9e5ee;border-radius:10px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.webhook-result p{margin:6px 0 0}.webhook-success{background:#edf9f1;border-color:#b8dfc6;color:#196e46}.webhook-warning{background:#fff5e7;border-color:#ecd0a0;color:#855115}
.team-filters{display:grid;grid-template-columns:1fr 150px;gap:12px;margin-bottom:16px}.team-person{padding:18px 0;border-bottom:1px solid #e5edf4}.team-person-heading{display:flex;align-items:center;gap:12px}.team-person-heading>div{flex:1;min-width:0}.team-person strong{font-size:13px}.team-person small{display:block;font-size:11px;color:#8194a9;overflow-wrap:anywhere;margin-top:4px}.team-person-heading>.pill{font-size:10px}.team-person-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px}.team-role{font-size:11px;color:#6b819a}.team-avatar{overflow:hidden;flex-shrink:0}.avatar img{display:block;width:100%;height:100%;object-fit:cover}.team-avatar-large{width:80px;height:80px;font-size:30px}.team-profile-heading{display:flex;align-items:center;gap:18px;margin:10px 0 25px}.team-profile-heading h3{margin:0 0 5px}.team-profile-heading p{margin:0 0 10px;overflow-wrap:anywhere;font-size:13px}.team-photo-editor{display:flex;align-items:center;gap:18px;margin:20px 0}.team-photo-editor label{flex:1;min-width:0}.team-photo-editor input[type=file]{font-size:12px;padding:10px}.team-optional{margin:18px 0;padding:14px;background:#f8fbff;border:1px solid #e1eaf3;border-radius:9px}.team-optional summary{cursor:pointer;font-size:12px;color:#66829b}.team-optional label:first-of-type{margin-top:18px}
@media(max-width:760px){.team-filters{grid-template-columns:1fr}.team-person-heading{flex-wrap:wrap}.team-person-heading>.pill{margin-left:54px}.team-person-footer .management-actions{width:100%}.team-person-footer .management-button{flex:1}.team-profile-heading{align-items:flex-start}.team-photo-editor{flex-direction:column;align-items:flex-start}.team-photo-editor label{width:100%}.team-avatar-large{width:64px;height:64px}}

.profile .avatar{overflow:hidden}

.info-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.info-actions a{display:inline-flex;gap:6px;align-items:center;text-decoration:none}.info-actions .secondary,.info-actions .primary{font-size:12px;min-height:42px}

/* Explicit daily meals: neutral until marked, never inferred from attendance. */
.row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.row-actions button{width:100%;min-width:0}
.row-actions button.meal{grid-column:1/-1;min-height:38px;background:#eef0f3;color:#657186;border-color:#d6dde5}
.row-actions button.meal.is-eaten{background:#138344;color:#fff;border-color:#0b7138;box-shadow:0 2px 5px #13834425}
.row-actions button.meal:focus-visible{outline:3px solid #2e9ad8;outline-offset:2px}
@media(min-width:1600px){.child-row,.roster-head{grid-template-columns:minmax(170px,1.2fr) 110px 260px minmax(180px,1.6fr) 85px 28px}.row-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.row-actions button.meal{grid-column:auto;min-height:44px}}
@media(max-width:760px){.child-row>.row-actions{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr))}.row-actions button.meal{grid-column:auto;min-height:44px}.child-row>.duration{grid-column:1/-1;grid-row:3}.child-row>.timeline{grid-row:4}}

.row-actions .meal-icon{font-size:19px;line-height:1;flex-shrink:0}
