.child-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#ece5f8,#ece5f8 70%)}.child-hero h1{max-width:750px}.spread{justify-content:space-between}.child-stats{display:flex;gap:30px;flex-wrap:wrap;margin-top:28px}.child-stats span{font-size:13px;color:#5a5170}.child-stats b{display:block;font-size:30px;color:#5a3ea3}.child-tabs{display:flex;gap:8px;padding:8px;background:#ece5f8;border-radius:16px;position:sticky;top:8px;z-index:2}.child-tabs button{flex:1;background:transparent;color:#5a5170;font-weight:650;white-space:nowrap}.child-tabs button[aria-current=page]{background:#5a3ea3;color:white;box-shadow:0 3px 10px #22183820}.child-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px;align-items:start}.child-columns section:first-child{margin-top:0}.child-columns aside{min-width:0}.child-columns section{min-width:0}.agenda-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:16px;border-top:1px solid #ece5f8;padding:22px 0}.agenda-time{font-weight:750;color:#5a3ea3;padding-top:4px}.agenda-time small{display:block;font-weight:400;margin-top:7px;color:#7b8a80}.agenda-item h3{margin:10px 0 4px}.agenda-item p{margin:5px 0;overflow-wrap:anywhere}.bring,.pack-box{background:#faf1d9;border-radius:10px;padding:12px!important;color:#6d633b}.next-step{background:#ece5f8!important;border:0!important}.child-empty{padding:24px 4px;text-align:center}.child-empty>span{font-size:35px}.organiser-check{display:flex;gap:12px;align-items:flex-start;margin:0;padding:15px 0;font-size:14px;line-height:1.6;border-bottom:1px solid #ece5f8;cursor:pointer}.organiser-check input{width:21px;height:21px;flex-shrink:0;margin:1px 0 0;accent-color:#5a3ea3}.organiser-check small{display:block;font-weight:400;color:#5a5170}.organiser-check:has(input:checked) span,.crossed{text-decoration:line-through;color:#809181}.todo-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.todo-row label{flex:1}.todo-row button{padding:7px 12px}.task-filters{margin:24px 0 12px}.task-filters .selected{background:#5a3ea3;color:#fff}.deadline-row{padding:18px 0;border-top:1px solid #ece5f8}.deadline-row h3{margin-bottom:4px}.deadline-row p{margin:4px 0 10px}.urgent{background:#fbe9da;color:#9a4a25}.week-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:22px 0}.week-picker button{background:#f6f3fb;color:#5a3ea3;padding:12px 3px}.week-picker button[aria-pressed=true]{background:#5a3ea3;color:white}.week-picker small,.week-picker b{display:block}.week-picker b{font-size:22px;margin-top:5px}.pack-box ul{line-height:1.8}.sync-note{font-size:12px;text-align:center}.print-week{display:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c49f42;outline-offset:3px}#child-todo-form .row label{flex:1;min-width:145px}h3,b,span{overflow-wrap:anywhere}@media(max-width:760px){.child-columns{grid-template-columns:1fr;gap:0}.child-tabs{gap:0;padding:5px}.child-tabs button{padding:12px 5px;font-size:12px}.child-stats{gap:20px}.child-hero h1{letter-spacing:-1.5px}.agenda-item{grid-template-columns:68px 1fr;gap:10px}.week-picker{gap:4px}}@media print{body{background:white}header,footer,.child-hero,.child-tabs,#dashboard-content,.sync-note,#error,main>section{display:none!important}.print-week{display:block}.print-week section{break-inside:avoid;border:1px solid #ddd;padding:15px;margin:10px 0}.print-week h1{font-size:28px}.print-week h2{font-size:18px}main{max-width:none;margin:0;padding:0}.agenda-item{padding:10px 0}.print-week .child-empty{padding:0}.print-week .child-empty span{display:none}}

.routine-group-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px}.routine-group{display:flex;flex-direction:column;gap:8px;text-align:left;background:#ece5f8;color:#5a3ea3;border:1px solid #e3dcee;padding:18px}.routine-group>span:first-child{font-size:24px}.routine-group small{font-weight:400}.routine-meter{display:block;height:6px;background:#e3dcee;border-radius:20px;overflow:hidden;width:100%;margin-top:8px}.routine-meter>span{display:block;height:100%;background:#5a5170;border-radius:20px}.routine-meter.large{height:10px;margin:20px 0}.routine-focus{padding:30px;background:#f6f3fb;border-radius:18px;margin:20px 0}.routine-focus h2{font-size:30px;line-height:1.3;margin-top:20px}.routine-step{align-items:center;padding:20px 0}.step-number{display:grid;place-items:center;background:#ece5f8;width:30px;height:30px;border-radius:50%;flex-shrink:0;font-size:12px}.routine-celebration{text-align:center;padding:35px}.routine-celebration>span{font-size:45px;color:#b18a37}.routine-overview{background:#fffdf4}.routine-group:focus-visible{outline:3px solid #b18a37}@media(max-width:650px){.routine-group-grid{grid-template-columns:repeat(2,1fr)}.child-tabs button{font-size:11px;padding:12px 3px}.routine-focus{padding:22px}.routine-focus h2{font-size:24px}}
.habit-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f6f3fb}.habit-check{padding:8px 0;border-bottom:1px solid #ece5f8}.habit-check small{display:block;margin-left:36px;color:#63736a}.habit-history{overflow-x:auto}.habit-history table{width:100%;border-collapse:collapse;min-width:530px}.habit-history th,.habit-history td{padding:12px 8px;text-align:center;border-bottom:1px solid #ece5f8}.habit-history th:first-child{text-align:left;min-width:150px}.habit-history caption{text-align:left;padding:12px 0;color:#63736a}.habit-ticked{color:#5a3ea3;background:#f6f3fb;font-weight:700}.habit-presets button{margin:4px}.child-tabs{flex-wrap:wrap}@media(max-width:600px){.habit-summary{align-items:flex-start;flex-direction:column}.child-tabs button{flex:1 1 28%;padding:10px 5px}}
