:root{color:#432d1b;font-synthesis:none;background:#fffaf0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}main{max-width:860px;margin:auto;padding:16px 16px 40px}header{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.mark{background:#f9d66f;border-radius:16px;place-items:center;width:46px;height:46px;font-size:28px;font-weight:800;display:grid}.brand{flex:1;min-width:120px}.brand strong{font-size:21px;display:block}.brand small,.muted,footer{color:#6b5844}.language{gap:2px;font-size:12px;display:grid}aside{background:#fff0c7;border:1px solid #e5bd52;border-radius:14px;padding:12px 14px;font-size:13px}aside p{margin:4px 0 0}h1{margin:22px 0 14px;font-size:clamp(24px,5vw,34px)}h2{margin:0 0 12px;font-size:19px}.metrics{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;display:grid}.metrics div{background:#fff;border:1px solid #ebddc4;border-radius:14px;min-width:0;padding:12px}.metrics b,.metrics span{display:block}.metrics b{font-size:24px}.metrics span{font-size:12px}section{background:#fff;border:1px solid #ebddc4;border-radius:18px;margin:12px 0;padding:16px}.field{gap:5px;margin-bottom:18px;font-weight:600;display:grid}select,button{font:inherit;color:inherit;background:#fffdf8;border:1px solid #c5ad86;border-radius:10px;min-height:44px;padding:8px 12px}button{cursor:pointer;font-weight:600}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,select:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #88601e}.sectionhead{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.sectionhead span{color:#6b5844;font-size:13px}.controls{gap:8px;margin-bottom:12px;display:flex}.roster,.actions{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;display:grid}.child{cursor:pointer;border:1px solid #ebddc4;border-radius:10px;align-items:center;gap:8px;min-height:48px;padding:10px;font-size:14px;display:flex}.child:has(input:checked){background:#fff0c7;border-color:#b28b38}.child input{accent-color:#865b17;width:18px;height:18px}.actions button{background:#f9d66f;border-color:#d4b24f;min-height:56px}.status{color:#42613e;min-height:1.5em;font-size:14px}.history{margin:0;padding:0;list-style:none}.history li{border-bottom:1px solid #eee4d3;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;font-size:13px;display:flex}.history li span{flex:1;min-width:120px}.history time{color:#6b5844;font-size:12px}footer{text-align:center;margin:24px 0 0;font-size:12px}@media (width<=360px){.metrics div{padding:8px}.roster,.actions{grid-template-columns:1fr 1fr}.child{padding:8px;font-size:12px}}.login{max-width:460px;margin:24px auto}.login input{font:inherit;background:#fffdf8;border:1px solid #c5ad86;border-radius:10px;width:100%;min-height:44px;padding:12px}.login button{background:#f9d66f;width:100%}.childstatus{color:#6b5844;font-size:11px;display:block}.login [role=alert]{color:#8b321e}.voided{opacity:.65}.voided span{text-decoration:line-through}.correction-panel{border:2px solid #b28b38}.history button{min-height:44px;font-size:13px}.photo-view{flex-basis:100%;gap:8px;display:grid}.photo-view img{object-fit:contain;max-width:100%;max-height:420px}.photo-ack{align-items:flex-start;gap:8px;margin:12px 0;display:flex}.photo-ack input{flex:none;width:18px;height:18px}input[type=file]{max-width:100%}.child-history{border:1px solid #ebddc4;border-radius:12px;margin:12px 0;padding:10px 12px}.child-history h3{margin:0;font-size:16px}.entry-details{flex:1;gap:2px;min-width:110px;display:grid}.child-history .history li{justify-content:space-between}.child-history .history li:last-child{border-bottom:0}.field input[type=date]{font:inherit;min-height:44px;color:inherit;background:#fffdf8;border:1px solid #c5ad86;border-radius:10px;max-width:100%;padding:8px}.field textarea{font:inherit;color:inherit;resize:vertical;background:#fffdf8;border:1px solid #c5ad86;border-radius:10px;width:100%;min-height:100px;padding:12px}.record-text{white-space:pre-wrap;overflow-wrap:anywhere}.manual-badge{color:#6b5844;font-size:11px}.inline-confirm{gap:4px;min-width:116px;font-size:12px;display:grid}.inline-confirm .controls{gap:5px;margin:0}.inline-confirm button{min-width:48px}.confirm-yes{background:#f9d66f}.inline-confirm [role=alert]{color:#a13727}.quick-edit-row{border-bottom:1px solid #ebddc4;padding:10px 0}.quick-edit-row input{font:inherit;width:100%;min-height:44px;color:inherit;background:#fffdf8;border:1px solid #c5ad86;border-radius:8px;padding:10px}.quick-edit-row .controls{gap:6px;margin:4px 0}.quick-editor .quick-refresh{margin-top:8px;font-size:12px}.quick-editor [role=alert]{color:#a13727}.quick-compact-row{border:1px solid #ebddc4;border-radius:9px;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:5px;margin:5px 0;padding:4px;display:grid}.quick-compact-row input{width:100%;min-width:0;min-height:44px;font:inherit;color:inherit;background:0 0;border:0;padding:4px}.drag-handle{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;padding:0;font-size:22px}.dragging{background:#fff0c7;border-color:#b28b38}.quick-remove{color:#a13727;padding:0;font-size:22px}.quick-add{border-style:dashed;width:100%;margin-top:8px}.quick-editor-footer{flex-wrap:wrap;margin-top:8px}.bulk-check{accent-color:#865b17;width:22px;height:22px}.bulk-toolbar{z-index:5;background:#fff0c7;border:1px solid #b28b38;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex;position:sticky;bottom:8px;box-shadow:0 3px 10px #432d1b22}.bulk-toolbar small{color:#a13727}.history li.selectable-entry{cursor:pointer;border-radius:8px;min-height:52px;padding:10px 8px;position:relative}.entry-hit-area{z-index:1;cursor:pointer;position:absolute;inset:0}.selectable-entry .bulk-check{z-index:2;cursor:pointer;flex:none;position:relative}.history li.entry-selected{background:#fff0c7;outline:1px solid #d4b24f}.photo-view video{background:#171717;border-radius:8px;width:100%;max-height:420px}.voice-input{margin:8px 0 12px}.voice-controls{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.voice-speak{background:#f9d66f;flex:1;min-width:110px}.voice-language{flex:1;gap:2px;min-width:120px;font-size:12px;display:grid}.voice-language select{width:100%}.voice-preview{overflow-wrap:anywhere;background:#fff0c7;border-radius:10px;margin-top:8px;padding:10px}.voice-preview p{margin:4px 0}.voice-hint{margin:8px 0;font-size:12px}.update-notice{background:#fff0c7;border:1px solid #d4b24f;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;padding:10px;font-size:13px;display:flex}.update-notice button{background:#f9d66f}.update-notice a{color:inherit;font-weight:600}.voice-language-fixed{color:#6b5844;align-self:center;font-size:13px}.firefly-mark{object-fit:contain;background:#fff;border-radius:14px;flex:none;width:58px;height:58px;display:block}.report-pickers{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;display:grid}.report-pickers .field{margin-bottom:8px}.daily-reports details{background:#fffaf0;border-radius:8px;margin:10px 0;padding:10px}.daily-reports details ul{padding-left:18px}.report-generate{background:#f9d66f;margin:6px 0}.report-state{font-weight:600}.report-review{align-items:flex-start;gap:8px;margin:10px 0;display:flex}.report-review input{accent-color:#865b17;flex:none;width:20px;height:20px}.daily-reports [role=alert]{color:#a13727}.daily-reports textarea{min-height:220px}
