.planner-page{background:#fcf8f0;padding:44px 0 60px}.planner-page .wrap{max-width:1180px}.planner-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:16px 0 32px}.planner-hero h1{font-size:clamp(2.3rem,4.8vw,3.8rem);max-width:850px;line-height:1.08}.planner-hero .lead{max-width:720px}.planner-hero img{object-fit:contain;width:180px;height:180px}.p-progress{display:flex;gap:8px;margin:24px 0}.p-progress button{flex:1;text-align:left;border:1px solid #cad5ce;background:#fffdf8;border-radius:12px;padding:14px;color:#073653;font:inherit;cursor:pointer}.p-progress span{display:inline-grid;place-items:center;border-radius:50%;width:28px;height:28px;background:#e9eee7;margin-right:8px;font-weight:800}.p-progress [aria-current]{background:#073653;color:white}.p-progress [aria-current] span{background:#f4b942;color:#073653}.p-panel{background:#fff;border:1px solid #d6ded5;border-radius:20px;padding:clamp(20px,4vw,42px);box-shadow:0 14px 36px #07365308}.p-panel h2{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.15;margin:8px 0 16px}.p-panel p{line-height:1.6}.p-label{display:flex;flex-direction:column;gap:7px;font-size:.9rem;font-weight:700}.planner-page input:not([type=checkbox]):not([type=radio]),.planner-page select{width:100%;min-width:0;border:1px solid #aebeb8;border-radius:8px;padding:10px 12px;font:inherit;color:#073653;background:#fff;min-height:46px}.planner-page input:focus,.planner-page select:focus{outline:3px solid #f4b942;outline-offset:2px}.p-count{max-width:190px;margin:24px 0}.p-kids{display:grid;gap:16px}.p-kid{display:grid;grid-template-columns:80px 1fr 1.25fr;align-items:center;gap:18px;padding:20px;background:#f4f7f2;border-radius:12px}.p-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.p-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.p-method{display:flex;align-items:flex-start;gap:12px;border:1px solid #ccd7ce;border-radius:12px;padding:18px;cursor:pointer}.p-method:has(:checked){border:2px solid #397878;background:#f0f6f3;padding:17px}.p-method input{margin-top:5px}.p-method strong,.p-method small{display:block}.p-method small{margin-top:6px;font-size:.88rem;font-weight:400;line-height:1.5}.p-check{display:inline-flex;gap:8px;align-items:center;padding:10px 12px;background:#f4f7f2;border-radius:8px;font-size:.95rem;cursor:pointer}.p-check input{width:18px;height:18px;accent-color:#286964}.p-days,.p-subjects{display:flex;flex-wrap:wrap;gap:8px}.planner-page fieldset{border:0;padding:0;margin:22px 0}.planner-page legend{font-weight:800;margin-bottom:12px}.p-panel .p-event{border:1px solid #ccd7ce;border-radius:14px;padding:20px;margin:26px 0}.p-event legend{padding:0 8px}.p-note{font-size:.9rem;line-height:1.6;background:#f4f7f2;border-radius:10px;padding:14px 18px;margin:20px 0;color:#405c62}.p-actions{display:flex;justify-content:space-between;gap:14px;margin-top:30px;border-top:1px solid #e0e6e0;padding-top:24px}.p-actions .button:only-child{margin-left:auto}.p-link{color:#245e67;background:none;border:0;text-decoration:underline;font:inherit;cursor:pointer;padding:8px 0}.p-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 0;font-size:.85rem}.planner-privacy{font-size:.85rem;max-width:800px;color:#4b6165}.p-form-error{color:#a03b25;font-weight:700}.p-message:empty{display:none}.p-message{padding:12px;background:#fff1cf;border-radius:10px;margin-bottom:15px}.p-result-head{display:flex;gap:24px;justify-content:space-between;align-items:center}.p-result-head .button{flex-shrink:0}.p-result-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:24px}.p-view{display:flex;border:1px solid #aebeb8;border-radius:10px;overflow:hidden}.p-view button{border:0;background:white;color:#073653;padding:12px 16px;font:inherit;cursor:pointer}.p-view .active{background:#073653;color:white}.p-week{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.p-day{background:#fcfaf5;border:1px solid #d7ded5;border-radius:14px;padding:18px;min-width:0}.p-day h3{font:1.5rem Georgia,serif;margin:0}.p-day-type{font-size:.8rem;color:#4c6865;margin:4px 0 16px!important}.p-block{padding:12px;border:1px solid #dce4db;background:white;border-radius:9px;margin-top:10px;overflow-wrap:anywhere}.p-block time,.p-block strong,.p-block small{display:block}.p-block time{font-size:.75rem;color:#4e6968;margin-bottom:5px}.p-block strong{font-size:.92rem;line-height:1.4}.p-block small{font-size:.78rem;color:#4c6865;margin-top:5px}.p-fixed{border-left:4px solid #ce7155;background:#fff5e9}.p-fixed-label{font-weight:700}.p-warning{font-size:.82rem;background:#fff0cd;border-left:3px solid #b78115;padding:10px;line-height:1.5}.p-daily{display:block;max-width:760px;margin:auto}.p-edit-times{display:flex;gap:12px}.p-edit-times label{font-size:.8rem;flex:1}.p-daily .p-label{margin-top:10px}.p-print-only{display:none}@media(max-width:850px){.p-week{grid-template-columns:1fr 1fr}.p-kid{grid-template-columns:1fr 1fr}.p-kid>b{grid-column:1/-1}.p-kid>.p-label:last-child{grid-column:1/-1}.planner-hero img{width:100px;height:100px}.p-progress button{font-size:.8rem;padding:10px}.p-progress span{display:grid;margin-bottom:5px}.p-result-head{align-items:start;flex-direction:column}}@media(max-width:550px){.p-methods,.p-columns,.p-week{grid-template-columns:1fr}.planner-hero img{display:none}.p-progress{gap:4px}.p-progress button{font-size:.72rem;padding:8px 5px}.p-bottom{display:block}.p-bottom span{display:block}.p-view button{font-size:.85rem}.p-panel{padding:20px 16px}.p-kid{padding:15px;gap:12px}}
@media print{body:has(.planner-page){background:white!important}.site-header,.footer,.newsletter,.planner-hero,.p-progress,.p-bottom,.planner-privacy,.p-result-head,.p-result-tools,.p-edit-note,.p-message,.p-panel>.p-note,.p-panel>p,.p-week{display:none!important}.planner-page,.planner-page .wrap,.p-panel{padding:0!important;margin:0!important;width:100%!important;max-width:none!important;box-shadow:none!important;border:0!important;background:white!important}.p-print-only{display:block}.p-print-only>.p-day{break-inside:avoid;margin-bottom:20px}.p-print-only>.p-day .p-block{break-inside:avoid;padding:7px}.p-print-only h2{font-size:24px}.p-print-only:after{content:'Outside the Box Education · outsidethebox.education';font-size:10px}}
.planner-page .p-other{margin-top:18px}.planner-page .p-other[hidden]{display:none}

.p-minute-field{display:flex;align-items:center;gap:10px}.p-minute-field input{max-width:150px}.p-progress{flex-wrap:wrap}.p-progress button{min-width:110px}

.planner-page .p-subject-setting{border:1px solid #ccd7ce;border-radius:14px;padding:20px;margin:20px 0}.p-subject-setting>legend{padding:0 8px;font-size:1.15rem}.planner-page .p-frequency{margin-bottom:0}.p-frequency legend{font-size:.9rem}.p-unavailable{opacity:.45;cursor:not-allowed}

/* Spreadsheet-style weekly overview. */
.planner-page:has(.p-week-sheet) .wrap{max-width:1500px}
.p-color-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:20px 0;font-size:.85rem}.p-color-legend>span{display:inline-flex;align-items:center;gap:7px}.p-color-legend i{display:inline-block;width:16px;height:16px;border:2px solid var(--p-person-border);background:var(--p-person-bg);border-radius:4px}
.p-schedule-warnings{background:#fff5dd;border:1px solid #e4c77e;border-radius:10px;padding:12px 16px;margin:18px 0;font-size:.88rem}.p-schedule-warnings summary{font-weight:800;cursor:pointer}.p-schedule-warnings ul{padding-left:22px}.p-schedule-warnings li{margin:8px 0;line-height:1.5}.p-sheet-hint{font-size:.82rem;color:#4c6865;margin:14px 0}.p-sheet-scroll{max-width:100%;overflow:auto;max-height:850px;border:1px solid #bacac3;border-radius:12px;background:white}.p-sheet-scroll:focus-visible{outline:3px solid #f4b942;outline-offset:3px}
.p-sheet{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:.85rem;color:#073653}.p-sheet caption{text-align:left;background:#f0f4ef;padding:12px 16px;font-size:.8rem;font-weight:700;caption-side:top}.p-sheet .p-time-col{width:90px}.p-sheet .p-learning-col{width:180px}.p-sheet .p-open-col{width:100px}.p-sheet th,.p-sheet td{border-right:1px solid #d2ddd6;border-bottom:1px solid #d2ddd6;text-align:left;padding:8px;vertical-align:top}.p-sheet tr>:last-child{border-right:0}.p-sheet tbody tr:last-child>*{border-bottom:0}.p-sheet thead th{position:sticky;top:0;z-index:2;background:#073653;color:#fff;font-size:.88rem;padding:14px 10px}.p-sheet thead th:first-child{left:0;z-index:4}.p-sheet thead button{border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-align:left}.p-sheet thead button:hover{text-decoration:underline}.p-sheet thead button:focus-visible{outline:2px solid #f4b942;outline-offset:4px}.p-sheet thead button span{font-size:.7rem;color:#f4b942}.p-sheet tbody th{position:sticky;left:0;z-index:1;background:#f3f6f2;white-space:nowrap;font-size:.76rem;padding-top:16px}.p-sheet tbody tr:nth-child(even) td{background:#fafbf9}.p-sheet td.p-empty-day{background:#f6f7f5}.p-sheet-entry{background:var(--p-person-bg);border:1px solid var(--p-person-border);border-left-width:4px;border-radius:7px;padding:10px;margin-bottom:7px;overflow-wrap:anywhere;line-height:1.4}.p-sheet-entry:last-child{margin-bottom:0}.p-sheet-entry strong{display:block;font-size:.85rem;margin:4px 0 7px}.p-sheet-person{font-size:.74rem;font-weight:800;display:block}.p-sheet-entry time{display:block;font-size:.71rem;color:#294b5c}.p-sheet-entry small{display:block;font-size:.7rem;margin-top:5px}.p-person-block{background:var(--p-person-bg);border-color:var(--p-person-border);border-left-width:4px}
@media print{@page planner{size:landscape;margin:10mm}.planner-page{page:planner}.p-print-only .p-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-week-sheet,.p-calendar-key{display:none!important}.p-print-only .p-sheet-scroll{max-height:none;overflow:visible;border-radius:0}.p-print-only .p-sheet{min-width:0;width:100%;font-size:8pt;table-layout:fixed}.p-print-only .p-sheet col{width:auto!important}.p-print-only .p-sheet .p-time-col{width:64pt!important}.p-print-only .p-sheet th,.p-print-only .p-sheet td{padding:4px;position:static}.p-print-only .p-sheet thead{display:table-header-group}.p-print-only .p-sheet tr{break-inside:avoid}.p-print-only .p-sheet-entry{padding:5px;border-left-width:3px;margin-bottom:4px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-print-only .p-sheet-entry strong{font-size:8pt}.p-print-only .p-sheet-entry time,.p-print-only .p-sheet-person{font-size:7pt}.p-print-only .p-color-legend{font-size:8pt;margin:10px 0;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-print-only .p-sheet caption{font-size:9pt}.p-print-fit{font-size:8pt}}

.p-task-checklists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.planner-page .p-child-checklist{padding:22px;border:1px solid var(--p-person-border);border-top:5px solid var(--p-person-border);background:var(--p-person-bg);border-radius:12px}.p-child-checklist h3{font-size:1.6rem;margin:0 0 20px}.p-checklist-day{margin-top:20px}.p-checklist-day h4{font-size:.9rem;text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px}.p-checklist-day ul{list-style:none;padding:0;margin:0}.p-checklist-day li{padding:12px 0;border-bottom:1px solid #0736531a}.p-checklist-day li:last-child{border-bottom:0}.p-task-check{display:flex;align-items:flex-start;gap:12px;cursor:pointer;line-height:1.5;font-size:.95rem}.p-task-check input{flex-shrink:0;width:20px;height:20px;margin-top:2px;accent-color:#286964}.p-task-check:has(:checked)>span{text-decoration:line-through;opacity:.6}.p-task-check small{display:block;font-size:.75rem;color:#405c62}.p-task-edit-label{display:block;font-size:.75rem;margin:12px 0 0 32px}.p-task-edit-label input{margin-top:5px}@media(max-width:650px){.p-task-checklists{grid-template-columns:1fr}.planner-page .p-child-checklist{padding:18px}}@media print{.p-task-screen{display:none!important}.p-print-only .p-task-checklists{display:block}.p-print-only .p-child-checklist{break-inside:auto;margin-bottom:18px;padding:15px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-print-only .p-child-checklist h3{break-after:avoid}.p-print-only .p-checklist-day{break-inside:avoid}.p-print-only .p-task-check{font-size:10pt}.p-print-only .p-task-check input{appearance:none;width:12px;height:12px;border:1px solid #073653;background:white}.p-print-only .p-task-check input:checked:after{content:'✓';display:block;font-size:10pt;line-height:11px}}

.planner-page .p-loop-daily{padding:20px;border:1px solid #ccd7ce;border-radius:12px;background:#fbfcf9}.p-loop-daily legend{padding:0 8px}.p-loop-daily p{font-size:.9rem;margin-top:0}.p-daily-badge{font-size:.72rem;font-weight:700;color:#29645e;border-left:1px solid #ccd7ce;padding-left:8px}

.p-loop-outline{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr);gap:24px;margin:28px 0}.planner-page .p-loop-daily-list,.planner-page .p-loop-rotation{padding:26px;border:1px solid #ccd7ce;border-radius:16px;background:#fbfcf9}.planner-page .p-loop-daily-list{background:#f1f6f0;align-self:start}.p-loop-outline h3{font-size:1.65rem;margin:8px 0 12px;line-height:1.2}.p-loop-outline p{font-size:.92rem}.p-loop-daily-items,.p-loop-learners,.p-loop-steps{padding:0;list-style:none}.p-loop-daily-items>li{border-top:1px solid #ccd7ce;padding:18px 0}.p-loop-daily-items>li>strong,.p-loop-steps>li>div>strong{font-size:1.1rem}.p-loop-learners{display:grid;gap:6px;margin:10px 0 0}.p-loop-learners>li{padding:7px 10px;background:var(--p-person-bg);border-left:3px solid var(--p-person-border);border-radius:5px;font-size:.8rem}.p-loop-together{display:block;margin-top:6px;font-size:.82rem;color:#4c6865}.p-loop-current{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:18px;background:#073653;color:white;border-radius:12px;margin:20px 0}.p-loop-current>span{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}.p-loop-current>strong{flex:1}.p-loop-current .button{background:#f4b942;color:#073653;border-color:#f4b942;font-size:.85rem}.p-loop-steps>li{display:flex;gap:14px;align-items:start;border:1px solid #d4ded5;border-radius:12px;padding:18px;margin:10px 0;background:white}.p-loop-steps>li>div{flex:1;min-width:0}.p-loop-steps>li.is-current{border:2px solid #427c70;background:#f3f9f2}.p-loop-number{display:grid;place-items:center;border-radius:50%;background:#e8eee6;min-width:32px;height:32px;font-weight:800}.p-loop-steps .p-link{font-size:.78rem;white-space:nowrap}.p-loop-next-tag{display:inline-block;margin-top:10px;font-size:.72rem;font-weight:800;color:#29645e}.p-loop-return{padding:14px;background:#f5eccf;border-radius:10px}.p-loop-commitments{padding:16px;border:1px solid #ccd7ce;border-radius:10px;margin:22px 0}.p-loop-commitments summary{font-weight:800;cursor:pointer}.p-loop-commitments li{font-size:.9rem;margin:12px 0}@media(max-width:800px){.p-loop-outline{grid-template-columns:1fr}.planner-page .p-loop-daily-list,.planner-page .p-loop-rotation{padding:20px}}@media(max-width:500px){.p-loop-steps>li{flex-wrap:wrap}.p-loop-steps .p-link{margin-left:46px}.p-loop-current .button{width:100%}}@media print{.p-loop-screen{display:none!important}.p-print-only .p-loop-outline{display:block}.p-print-only .p-loop-current{background:#edf3ec;color:#073653}.p-print-only .p-loop-daily-list,.p-print-only .p-loop-rotation{padding:16px;margin:16px 0;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-print-only .p-loop-steps>li,.p-print-only .p-loop-daily-items>li{break-inside:avoid}.p-print-only .p-loop-outline h3{font-size:16pt}.p-print-only .p-loop-learners{font-size:8pt}}

.p-loop-weekly{margin:28px 0;padding:24px;border:1px solid #ccd7ce;border-radius:14px;background:#fafcf9}.p-loop-weekly h3{font-size:1.7rem;margin:0 0 12px}.p-loop-weekly>p{font-size:.9rem;max-width:1000px}.p-routine-key{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;font-size:.8rem}.p-routine-key>span{padding:7px 12px;border-radius:6px;font-weight:700}.p-routine-set{background:#eaf1fb;border-left:3px solid #557da7}.p-routine-loop{background:#eaf5e8;border-left:3px solid #548250}.p-routine-fixed{background:#fff0df;border-left:3px solid #b56c35}.p-routine-sheet .p-routine-label-col{width:125px}.p-routine-sheet th{white-space:normal}.p-routine-sheet td>div{padding:12px;border-radius:6px;margin-bottom:8px;font-size:.8rem}.p-routine-sheet td>div:last-child{margin-bottom:0}.p-routine-sheet ul{padding-left:18px;margin:8px 0 0}.p-routine-sheet li{margin:5px 0}.p-routine-sheet td p{font-size:.78rem;line-height:1.5;margin:8px 0 0}.p-routine-sheet time,.p-routine-sheet small{display:block;font-size:.72rem;margin-top:6px}#loop-weekly-routine[hidden]{display:none}@media(max-width:550px){.p-loop-weekly{padding:16px}}@media print{.p-print-only .p-loop-weekly{break-before:page;padding:0;border:0}.p-print-only .p-routine-sheet .p-routine-label-col{width:85px!important}.p-print-only .p-routine-sheet td>div{padding:7px;font-size:8pt}.p-print-only .p-routine-key>span{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.planner-page .p-loop-times{border:1px solid #ccd7ce;border-radius:14px;padding:20px;margin:24px 0}.p-loop-times>legend{padding:0 8px}.p-loop-time-mode{max-width:440px;margin-top:20px}.planner-page .p-loop-time-day{background:#f6f8f3;border-radius:12px;padding:18px;margin:22px 0}.p-loop-time-day legend{padding:0 8px}.p-loop-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.p-loop-time-pair h4{margin:0;font-size:.95rem}.p-loop-time-pair .p-columns{margin:12px 0 0}@media(max-width:700px){.p-loop-time-grid{grid-template-columns:1fr}.p-loop-time-pair .p-columns{grid-template-columns:1fr 1fr}}

.p-commitment-travel{border-top:1px solid #d5b89b;margin-top:9px;padding-top:5px}.p-routine-sheet td.p-empty-day:has(.p-routine-fixed){background:#fffdfa}

.p-loop-timetable tbody tr{height:38px}.p-loop-timetable tbody th{padding:9px 6px;font-size:.74rem;vertical-align:top}.p-loop-timetable tbody th span,.p-loop-timetable tbody th small{display:block}.p-loop-timetable tbody th small{font-weight:400;font-size:.65rem;margin-top:3px}.p-loop-timetable td{padding:0!important}.p-loop-timetable .p-timeline-cell{vertical-align:top}.p-loop-timetable .p-timeline-cell>div{border:0;border-radius:0;padding:10px 8px;margin:0;font-size:.78rem;background:transparent}.p-loop-timetable .p-timeline-set{background:#eaf1fb!important;border-left:3px solid #557da7}.p-loop-timetable .p-timeline-loop{background:#eaf5e8!important;border-left:3px solid #548250}.p-loop-timetable .p-timeline-fixed{background:#fff0df!important;border-left:3px solid #b56c35}.p-loop-timetable .p-timeline-travel{background:repeating-linear-gradient(135deg,#fff6eb,#fff6eb 8px,#f8eddf 8px,#f8eddf 16px)!important;border-left:3px solid #ba8a60}.p-loop-timetable .p-timeline-block strong{display:block;line-height:1.35}.p-loop-timetable .p-timeline-block ul{margin-top:8px}.p-loop-timetable .p-timeline-block time{font-size:.7rem}.p-travel-tag{display:inline-block;margin-top:7px;text-transform:uppercase;font-size:.62rem;letter-spacing:.06em;font-weight:800}.p-loop-timetable .p-timeline-overlap{background:#fff5dd!important;padding:5px!important}.p-loop-timetable .p-timeline-overlap>.p-routine-set{background:#eaf1fb;border-left:3px solid #557da7}.p-loop-timetable .p-timeline-overlap>.p-routine-loop{background:#eaf5e8;border-left:3px solid #548250}.p-loop-timetable .p-timeline-overlap>.p-routine-fixed{background:#fff0df;border-left:3px solid #b56c35}.p-timeline-conflict{display:block;padding:5px;font-size:.68rem;font-weight:800;color:#80430f}.p-loop-timetable .p-timeline-empty{background:#fff!important}.p-loop-timetable .p-empty-day{background:#f6f7f5!important}@media print{.p-print-only .p-loop-timetable tbody tr{break-inside:auto;height:24px}.p-print-only .p-loop-timetable th{font-size:7pt}.p-print-only .p-loop-timetable .p-timeline-block{font-size:7pt;padding:6px}.p-print-only .p-loop-timetable .p-timeline-block time,.p-print-only .p-loop-timetable .p-timeline-block small{font-size:6pt}.p-print-only .p-loop-timetable{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.planner-page .p-block-subjects{padding:24px 0 0}.p-block-subjects h3{font-size:1.6rem}.planner-page .p-block-setting{padding:22px;border:1px solid #ccd7ce;border-radius:14px;background:#fafcf8;margin:24px 0}.p-block-setting>legend{padding:0 8px;font-size:1.15rem}.p-block-frequency{max-width:440px;margin-bottom:18px}.p-block-perday{margin:10px 0}.planner-page .p-block-day{border-top:1px solid #d7ded5;padding-top:16px}.p-block-day legend{padding-right:10px}@media(max-width:550px){.planner-page .p-block-setting{padding:16px}}

.p-block-order-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 20px;font-size:.85rem}.p-block-order-actions>span{margin-right:auto;font-weight:700}.p-order-button{border:1px solid #aabfb2;background:white;color:#073653;border-radius:8px;padding:8px 12px;cursor:pointer;font:inherit}.p-order-button:disabled{opacity:.35;cursor:default}.p-order-button:focus-visible{outline:3px solid #f4b942;outline-offset:2px}.p-block-length{max-width:360px;margin-top:18px}

/* Keep print time labels within their own column, including two-digit hours. */
@media print{
 .p-print-only .p-sheet .p-time-col,
 .p-print-only .p-routine-sheet .p-routine-label-col{width:64pt!important}
 .p-print-only .p-sheet thead th:first-child,
 .p-print-only .p-sheet tbody th:first-child{box-sizing:border-box;padding-left:6pt;padding-right:6pt;white-space:normal;overflow-wrap:normal;word-break:normal;font-size:8pt;line-height:1.35}
}

.planner-page .p-rhythm-subjects{padding:24px 0 0}.p-rhythm-subjects h3{font-size:1.6rem}.planner-page .p-rhythm-frequency{padding:20px;border:1px solid #ccd7ce;border-radius:12px;background:#f7faf5}.p-rhythm-frequency>legend{padding:0 8px;font-size:1.1rem}.p-rhythm-frequency>.p-label{max-width:440px}

.p-rhythm-screen{margin-top:24px}.p-rhythm-sheet .p-routine-label-col{width:130px}.p-rhythm-sheet tbody th{white-space:normal;font-size:.85rem;line-height:1.4}.p-rhythm-sheet td{padding:8px}.p-rhythm-children{list-style:none;padding:0;margin:0;display:grid;gap:8px}.p-rhythm-children>li{background:var(--p-person-bg);border-left:3px solid var(--p-person-border);border-radius:6px;padding:10px;line-height:1.4;overflow-wrap:anywhere}.p-rhythm-children strong,.p-rhythm-children span{display:block}.p-rhythm-children strong{font-size:.85rem;margin-bottom:4px}.p-rhythm-children span{font-size:.78rem}.p-rhythm-children .p-label{margin-top:8px;font-size:.75rem}.p-rhythm-daily{max-width:900px;margin:auto}.planner-page .p-rhythm-subject-card{padding:22px;border:1px solid #ccd7ce;border-radius:14px;margin:18px 0;background:#fafcf8}.p-rhythm-subject-card h4{font-size:1.4rem;margin:0 0 16px}.p-rhythm-daily .p-rhythm-children{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.p-rhythm-commitment{background:#fff0df;border-left:3px solid #b56c35;padding:10px;margin-bottom:8px;border-radius:6px;font-size:.85rem}.p-rhythm-commitment strong,.p-rhythm-commitment small{display:block}.p-rhythm-commitment small{margin-top:5px}@media print{.p-rhythm-screen{display:none!important}.p-print-only .p-rhythm-sheet .p-routine-label-col{width:65pt!important}.p-print-only .p-rhythm-sheet tbody th{font-size:8pt}.p-print-only .p-rhythm-children>li{padding:6px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-print-only .p-rhythm-children strong{font-size:7.5pt}.p-print-only .p-rhythm-children span{font-size:7pt}}

.p-top-actions{display:flex;justify-content:flex-end;margin:0 0 8px}.p-top-actions .p-link{font-weight:800;text-underline-offset:3px;min-height:44px;padding:10px 14px;background:#fff;border:1px solid #bdcec3;border-radius:8px}@media print{.p-top-actions{display:none!important}}

.p-custom-subjects{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.p-custom-subjects .p-other{margin-top:16px}

.planner-page .p-subject-groups{padding:24px 0 0}.p-subject-groups h3{font-size:1.6rem}.planner-page .p-subject-group{padding:20px;border:1px solid #ccd7ce;border-radius:12px;background:#f9fbf7}.p-subject-group>legend{padding:0 8px;font-size:1.1rem}.p-subject-group>.p-label{max-width:440px}.p-group-note,.p-group-caption{font-size:.8rem;line-height:1.45;color:#405d62}.p-group-caption{margin:0 0 10px!important;font-weight:700}

.p-rhythm-sheet .p-rhythm-subject-title{display:block}.p-rhythm-sheet tbody th .p-group-caption{margin:10px 0 0!important;font-weight:400;overflow-wrap:anywhere}

/* First simplification round: one expandable card per subject. */
.p-subject-plan{margin:28px 0}.p-subject-plan h3{font-size:1.5rem;margin:0 0 8px}.p-subject-plan>p{font-size:.9rem;max-width:none}.p-subject-help{font-size:.8rem!important;color:#405d62;line-height:1.5!important;margin:10px 0}
.p-subject-card{border:1px solid #c5d3c9;border-radius:12px;background:#fff;margin:12px 0;overflow:clip}.p-subject-card>summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;cursor:pointer;list-style:none;background:#f7f9f4}.p-subject-card>summary::-webkit-details-marker{display:none}.p-subject-card>summary>span:first-child{min-width:0}.p-subject-card>summary strong{display:block;font-size:1.08rem;line-height:1.4}.p-subject-card>summary small{display:block;color:#405d62;font-size:.8rem;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.p-card-customize{font-size:.78rem;color:#245e67;font-weight:700;white-space:nowrap}.p-card-customize:after{content:' +';font-size:1.1rem}.p-subject-card[open] .p-card-customize:after{content:' −'}.p-subject-card>summary:focus-visible,.p-advanced>summary:focus-visible,.p-planning-tips>summary:focus-visible,.p-edit-tools>summary:focus-visible{outline:3px solid #f4b942;outline-offset:-3px}.p-subject-card[open]>summary{border-bottom:1px solid #d6dfd5}.p-subject-card-body{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:20px}.planner-page .p-subject-card-body>fieldset{margin:0;min-width:0}.p-subject-card-body .p-label+.p-label{margin-top:20px}.p-subject-card-body legend{font-size:.88rem}.p-subject-card-body .p-card-group>fieldset{margin-bottom:10px}.p-subject-card .p-block-order-actions{border-top:1px solid #d6dfd5;padding-top:18px;margin:20px 0 0}.p-card-day-lengths{display:grid;gap:12px;margin-top:18px}
.p-advanced{border-top:1px solid #d6dfd5;padding:14px 0;margin:18px 0 0;font-size:.85rem}.p-advanced>summary{cursor:pointer;font-weight:700;padding:8px 0}.p-advanced[open]>summary{margin-bottom:12px}.p-loop-timing{border:1px solid #c5d3c9;border-radius:12px;padding:8px 20px}.planner-page .p-loop-timing .p-loop-times{border:0;padding:0;margin:12px 0}
.p-results-progress{display:none}.p-planning-tips,.p-edit-tools{font-size:.85rem;border:1px solid #d6dfd5;border-radius:10px;padding:12px 16px;margin:14px 0}.p-planning-tips>summary,.p-edit-tools>summary{cursor:pointer;font-weight:700}.p-planning-tips>p{max-width:900px}.p-edit-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin:14px 0}.p-result-tools{margin-bottom:20px}.p-result-tools>.p-link{margin-left:auto}.p-planning-tips .p-note{margin:12px 0}.p-card-days[hidden]{display:none}
@media(max-width:700px){.p-subject-card-body{grid-template-columns:1fr;gap:20px}.p-subject-card-body>.p-card-schedule{border-top:1px solid #d6dfd5;padding-top:18px}.p-subject-card>summary{padding:16px;gap:12px}.p-subject-card-body{padding:16px}.p-card-customize{font-size:.72rem}}
@media print{.p-planning-tips,.p-edit-tools{display:none!important}}

.p-lesson-group{margin-top:12px}.p-lesson-group+.p-lesson-group{border-top:1px solid #d4ded5;padding-top:12px}.p-child-group{display:block;font-size:.72rem;color:#405d62;margin:4px 0 6px}

/* Shared sibling lessons keep each child's color card beside the others. */
.p-sibling-cards,.p-rhythm-daily .p-rhythm-children.p-sibling-cards{display:grid;grid-template-columns:repeat(var(--p-sibling-count,2),minmax(0,1fr));gap:6px}.p-sibling-cards>*{min-width:0;overflow-wrap:anywhere}.p-rhythm-learning-group+.p-rhythm-learning-group{margin-top:12px}.p-sheet-siblings{margin:8px 0}.p-sheet-siblings>span{display:block;background:var(--p-person-bg);border-left:3px solid var(--p-person-border);border-radius:5px;padding:7px 6px;font-size:.74rem;font-weight:700;line-height:1.4}.p-loop-learners>li{overflow-wrap:anywhere}
@media print{.p-sibling-cards>*{print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-sheet-siblings>span{padding:5px;font-size:7pt}}

/* Compact task-based printing: weekdays in rows, children and shared work in columns. */
@media print{
 .p-print-only:has(.p-task-print-sheets)>h2{font-size:18pt;line-height:1.15;margin:0 0 8pt}
 .p-task-print-section+.p-task-print-section{break-before:page}
 .p-task-print-table{width:100%;table-layout:fixed;border-collapse:collapse;font:9pt/1.35 Arial,sans-serif;color:#073653;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .p-task-print-table caption{text-align:left;font:9pt/1.3 Arial,sans-serif;color:#405d62;margin:0 0 9pt;caption-side:top}
 .p-task-print-table .p-task-print-day-col{width:68pt}
 .p-task-print-table th,.p-task-print-table td{border:1px solid #bbc9c0;padding:8pt;vertical-align:top;text-align:left;overflow-wrap:anywhere}
 .p-task-print-table thead{display:table-header-group}
 .p-task-print-table thead th{background:var(--p-person-bg,#f0f4ef);border-top:4pt solid var(--p-person-border,#6c8473);font-size:10pt;font-weight:700;padding:8pt}
 .p-task-print-table tbody th{background:#f3f6f2;font-size:8.5pt;padding:9pt 6pt}
 .p-task-print-table tbody td{background:var(--p-person-bg,#fff)}
 .p-task-print-table tbody tr{break-inside:avoid}
 .p-task-print-table ul{list-style:none;padding:0;margin:0}
 .p-task-print-table li{display:flex;gap:6pt;align-items:flex-start;margin:0 0 7pt;break-inside:avoid;line-height:1.35}
 .p-task-print-table li:last-child{margin-bottom:0}
 .p-task-print-box{display:inline-block;box-sizing:border-box;flex:0 0 9pt;width:9pt;height:9pt;border:1pt solid #60776e;border-radius:1pt;background:white;margin-top:1.5pt;font:8pt/8pt Arial,sans-serif;text-align:center;color:#073653}
 .p-task-print-table li>span:last-child{min-width:0;flex:1}
 .p-task-print-table small{display:block;margin-top:2pt;font-size:7.5pt;line-height:1.25;color:#405d62}
 .p-task-print-complete>span:last-child{text-decoration:line-through;color:#60716c}
 .p-panel:has(.p-task-print-sheets) .p-print-only:after{display:block;margin-top:10pt}
}

/* Interest-led learning: a resource collection for each child, without a timetable. */
.planner-page textarea{box-sizing:border-box;width:100%;min-width:0;resize:vertical;border:1px solid #aebeb8;border-radius:8px;padding:10px 12px;font:inherit;line-height:1.5;color:#073653;background:white}.planner-page textarea:focus{outline:3px solid #f4b942;outline-offset:2px}
.p-interest-builder{display:grid;gap:24px;margin-top:28px}.planner-page .p-interest-child-editor{padding:24px;border:1px solid var(--p-person-border);border-top:5px solid var(--p-person-border);border-radius:14px;background:var(--p-person-bg)}.p-interest-child-editor h3,.p-interest-child-plan h3{font-size:1.6rem;margin:0 0 18px}.p-interest-child-editor>.p-label{max-width:800px}.p-interest-child-editor .p-check{background:#ffffffc9}.p-interest-resource{margin:12px 0;border:1px solid #c5d3c9;border-radius:10px;background:white;overflow:clip}.p-interest-resource>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;padding:15px 18px;list-style:none;background:#f8faf6}.p-interest-resource>summary::-webkit-details-marker{display:none}.p-interest-resource>summary:after{content:'+';font-weight:700}.p-interest-resource[open]>summary:after{content:'−'}.p-interest-resource>summary strong{flex:1;min-width:0;overflow-wrap:anywhere}.p-interest-resource>summary small{font-size:.75rem;color:#405d62}.p-interest-resource>summary:focus-visible{outline:3px solid #f4b942;outline-offset:-3px}.p-interest-resource-fields{display:grid;gap:18px;padding:18px;border-top:1px solid #d6dfd5}.p-interest-resource-fields .p-subject-help{margin:0}
.p-interest-screen{margin-top:24px}.p-interest-outline{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:24px}.planner-page .p-interest-child-plan{min-width:0;padding:24px;border:1px solid var(--p-person-border);border-top:5px solid var(--p-person-border);background:var(--p-person-bg);border-radius:14px;align-self:start}.p-interest-focus{font-size:.9rem;line-height:1.5;margin:0 0 18px}.p-interest-invitation{padding:18px;background:white;border:1px solid #d4dfd6;border-radius:10px;margin-top:16px}.p-interest-invitation h4{font-size:1.15rem;margin:0 0 16px}.p-interest-invitation h5{font-size:.83rem;margin:16px 0 8px}.p-interest-invitation ul{padding-left:20px;margin:8px 0}.p-interest-invitation li{font-size:.88rem;margin:6px 0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.p-interest-links a{color:#245e67;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.p-interest-empty{font-size:.83rem;line-height:1.5;color:#526968;margin:8px 0}.p-interest-activities{margin-top:28px}.p-interest-activities h3{font-size:1.5rem;margin:0 0 10px}.p-interest-activities>p{font-size:.85rem}.p-interest-activities-scroll{overflow:auto;border:1px solid #bbc9c0;border-radius:10px}.p-interest-activities table{border-collapse:collapse;width:100%;font-size:.85rem;min-width:680px}.p-interest-activities th,.p-interest-activities td{padding:12px;text-align:left;border:1px solid #d5dfd7;vertical-align:top}.p-interest-activities thead{background:#f0f4ef}.p-interest-activities td:nth-child(3){white-space:nowrap}
@media(max-width:550px){.planner-page .p-interest-child-editor,.planner-page .p-interest-child-plan{padding:18px}.p-interest-resource>summary{gap:8px;padding:14px}.p-interest-resource-fields{padding:14px}.p-interest-resource>summary small{max-width:100px}.p-interest-invitation{padding:14px}}
@media print{.p-interest-screen{display:none!important}.p-interest-print .p-interest-outline{display:block}.p-interest-print .p-interest-child-plan{padding:0 0 14pt;border:0;border-top:4pt solid var(--p-person-border);border-radius:0;background:white;margin:16pt 0;break-inside:auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-interest-print .p-interest-child-plan h3{font-size:15pt;margin:10pt 0 7pt;break-after:avoid}.p-interest-print .p-interest-focus{font-size:9pt;margin:0 0 8pt}.p-interest-resource-table{width:100%;table-layout:fixed;border-collapse:collapse;font:9pt/1.4 Arial,sans-serif}.p-interest-resource-table thead{display:table-header-group;background:#f0f4ef}.p-interest-resource-table th,.p-interest-resource-table td{border:1px solid #bbc9c0;padding:7pt;vertical-align:top;text-align:left;overflow-wrap:anywhere}.p-interest-resource-table th:first-child{width:20%}.p-interest-resource-table tbody th{background:var(--p-person-bg)}.p-interest-resource-table tr{break-inside:avoid}.p-interest-resource-table ul{padding-left:12pt;margin:0}.p-interest-resource-table li{margin:0 0 5pt;overflow-wrap:anywhere;word-break:break-word}.p-interest-resource-table .p-interest-empty{font-size:8pt;margin:0}.p-interest-resource-table a{color:#073653;overflow-wrap:anywhere;word-break:break-word}.p-interest-print .p-interest-activities{margin-top:14pt}.p-interest-print .p-interest-activities h3{font-size:14pt;break-after:avoid}.p-interest-print .p-interest-activities table{min-width:0;font-size:8pt}.p-interest-print .p-interest-activities th,.p-interest-print .p-interest-activities td{padding:6pt}.p-interest-print .p-interest-activities-scroll{overflow:visible;border:0}.p-interest-print .p-interest-activities tr{break-inside:avoid}}
@media print{.p-interest-print>h2{font-size:20pt;line-height:1.15;margin:0 0 8pt}.p-interest-print .p-interest-child-plan{margin:10pt 0;padding-bottom:8pt}.p-interest-print .p-interest-child-plan h3{margin:7pt 0 5pt}.p-interest-resource-table th,.p-interest-resource-table td{padding:5pt}.p-interest-resource-table li{margin-bottom:4pt}.p-interest-print .p-interest-activities{break-inside:avoid}.p-interest-print .p-interest-activities>p{font-size:8pt;margin:6pt 0}}

.p-interest-entry{border:1px solid #c5d3c9;background:white;border-radius:12px;padding:20px;margin:18px 0}.p-interest-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.p-interest-entry-heading h4{font-size:1rem;margin:0}.p-interest-entry-heading .p-link{font-size:.8rem}.p-interest-entry-fields{display:grid;gap:18px}.p-interest-entry-fields .p-subject-help{margin:0}.p-interest-add{margin-top:4px;font-size:.9rem}@media(max-width:550px){.p-interest-entry{padding:16px}.p-interest-entry-heading{gap:10px}}
.p-interest-child-plan h3,.p-interest-invitation h4{overflow-wrap:anywhere}

/* Round two: clearer choices and reviewable planner updates. */
.p-choice-help{border:1px solid #c5d3c9;border-radius:12px;padding:16px 20px;margin:20px 0 24px;background:#f6f8f3}.p-choice-help summary{font-weight:700;cursor:pointer}.p-choice-help .p-label{margin-top:18px}.p-choice-help [data-choice-answer]:empty{display:none}.p-choice-help [data-choice-answer]{margin-bottom:0;font-weight:700;color:#276b65}.p-method-example{display:block;border-top:1px solid #d8e1d9;margin-top:14px;padding-top:12px;font-size:.8rem;line-height:1.55;color:#405d62}.p-method-example b{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:.65rem;margin-bottom:4px}.p-method:has(input:checked){border-color:#276b65;background:#f0f7f1;box-shadow:0 0 0 1px #276b65}.p-method:focus-within{outline:3px solid #f4b942;outline-offset:3px}.p-draft-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;margin-bottom:28px;border:2px solid #547d99;border-radius:12px;background:#edf5fb}.p-draft-banner strong{font-size:1.15rem}.p-draft-banner p{font-size:.85rem;line-height:1.5;margin:8px 0 0;max-width:75ch}.p-draft-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;flex-shrink:0;max-width:420px}.p-draft-actions .button{font-size:.85rem;padding:12px 18px}.p-draft-actions .p-link{font-size:.85rem}.p-result-tools{padding:16px 0;border-bottom:1px solid #d5dfd7;gap:16px}.p-result-tools>[data-print]{margin-left:auto;white-space:nowrap}.p-edit-tools>[data-regenerate],.p-edit-tools>[data-undo-update]{display:block;margin-top:16px}.p-panel:has(.p-draft-banner)>.p-result-head{margin-top:12px}
@media(max-width:760px){.p-draft-banner{align-items:flex-start;flex-direction:column;padding:18px}.p-draft-actions{max-width:none;flex-shrink:1}.p-result-tools>[data-print]{margin-left:0}.p-method-example{font-size:.78rem}}
@media print{.p-draft-banner,.p-choice-help{display:none!important}}

.p-support-description{display:block;font-size:.8rem;font-weight:400;line-height:1.5;color:#405d62}.p-kid:has(.p-support-description){align-items:start}

/* Let the privacy note use the full page width; keep native selects comfortably inset. */
.planner-page .planner-privacy{max-width:none;width:100%}
.planner-page select{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23073653' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:14px 9px;background-position:right 16px center}
@media(forced-colors:active){.planner-page select{appearance:auto;-webkit-appearance:auto;background-image:none}}

/* Optional chores follow each family's chosen planning style. */
.p-chore-editor{margin-top:30px;padding-top:24px;border-top:1px solid #d6dfd5}.p-chore-editor h3,.p-chore-outline h3{font-size:1.45rem;margin:0 0 12px}.p-chore-editor h3 small{font-family:inherit;font-size:.85rem;font-weight:400}.p-chore-editor>p,.p-chore-outline>p{font-size:.85rem;color:#405d62}.planner-page .p-chore{border:1px solid #c7d5ca;border-radius:12px;padding:20px;margin:22px 0;background:#f8faf6}.p-chore legend{padding:0 8px}.p-chore-duration{max-width:260px}.p-chore-outline{margin-top:28px}.p-chore-scroll{overflow:auto;border:1px solid #c7d5ca;border-radius:10px}.p-chore-table{width:100%;min-width:650px;table-layout:fixed;border-collapse:collapse;font-size:.85rem}.p-chore-table th,.p-chore-table td{border:1px solid #d6dfd5;padding:12px 8px;text-align:center;vertical-align:middle}.p-chore-table th:first-child{width:28%;text-align:left}.p-chore-table thead{background:#edf2ed}.p-chore-table tbody th{background:var(--p-person-bg);border-left:4px solid var(--p-person-border);overflow-wrap:anywhere}.p-chore-table small{display:block;font-weight:400;margin-top:5px}.p-chore-table input{width:20px;height:20px;accent-color:#276b65}.p-chore-print-check{font-size:16pt}
@media(max-width:550px){.planner-page .p-chore{padding:16px}}
@media print{.p-chore-outline{margin-top:14pt;break-inside:avoid}.p-chore-outline h3{font-size:14pt;break-after:avoid}.p-chore-outline>p{font-size:8pt}.p-chore-scroll{overflow:visible;border:0}.p-chore-table{min-width:0;font-size:8pt}.p-chore-table th,.p-chore-table td{padding:6pt 4pt}.p-chore-table tr{break-inside:avoid}.p-chore-print-check{font-size:12pt}.p-chore-table tbody th{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Round three: concise results and explicit print choices. */
.p-density{min-width:140px;font-size:.75rem}.p-density select{min-height:40px;padding-top:7px;padding-bottom:7px}.p-print-settings{margin:16px 0;padding:18px 20px;border:1px solid #c5d3c9;border-radius:12px;background:#f6f8f3}.p-print-settings>summary{font-weight:700;cursor:pointer}.p-print-setting-fields{display:flex;align-items:end;flex-wrap:wrap;gap:16px 24px;margin:20px 0 14px}.p-print-setting-fields>.p-label{min-width:180px}.p-print-settings p{font-size:.82rem;color:#405d62}.p-print-settings .button{font-size:.9rem}.p-routine-extras{margin-top:28px}.p-routine-extras .p-days{margin-top:16px}.p-compact-results .p-result-head h2{font-size:clamp(1.6rem,2.5vw,2rem)}.p-compact-results .p-sheet-entry{padding:8px;margin:5px 0}.p-compact-results .p-sheet-entry strong{font-size:.85rem}.p-compact-results .p-sheet td,.p-compact-results .p-sheet tbody th{padding:7px}.p-compact-results .p-sheet-siblings{gap:4px;margin-top:6px}.p-compact-results .p-sheet-siblings span{padding:5px}.p-compact-results .p-child-checklist{padding:16px}.p-compact-results .p-child-checklist h3{font-size:1.5rem;margin-bottom:12px}.p-compact-results .p-checklist-day{margin-top:12px}.p-compact-results .p-checklist-day h4{margin:14px 0 6px}.p-compact-results .p-checklist-day li{padding:8px 0}.p-compact-results .p-task-check{font-size:.9rem}.p-compact-results .p-loop-daily-list,.p-compact-results .p-loop-rotation{padding:20px}.p-compact-results .p-loop-item{padding:16px}.p-compact-results .p-loop-children li,.p-compact-results .p-rhythm-children li{padding:8px;font-size:.85rem}.p-compact-results .p-group-caption{font-size:.8rem;margin:6px 0}.p-compact-results .p-interest-child-plan{padding:18px}.p-compact-results .p-interest-invitation{padding:12px;margin-top:12px}.p-compact-results .p-interest-invitation h4{font-size:1rem;margin-bottom:10px}.p-compact-results .p-interest-invitation li{font-size:.82rem;margin:4px 0}.p-compact-results .p-chore-table td,.p-compact-results .p-chore-table th{padding:8px}
@media(max-width:550px){.p-print-setting-fields{align-items:stretch;flex-direction:column}.p-print-settings{padding:16px}.p-density{min-width:125px}.p-compact-results .p-child-checklist{padding:14px}}
@media print{.p-print-settings,.p-density{display:none!important}.p-print-monochrome{filter:grayscale(1)}.p-print-monochrome *{color:#111!important;background-color:white!important;border-color:#777!important}.p-print-scope-note{font-size:12pt;font-weight:700;margin:8pt 0}.p-print-single-day .p-sheet{min-width:0!important;width:100%!important}.p-print-single-day .p-sheet col:not(.p-time-col):not(.p-routine-label-col){width:auto!important}.p-print-single-day .p-chore-table th:first-child{width:75%}.p-print-single-day .p-task-print-table tbody th{width:64pt}}
@media print{.p-print-single-day .p-sheet-entry{display:flex;flex-wrap:wrap;align-items:center;gap:3pt 8pt;padding:4pt 6pt;margin:0 0 3pt;line-height:1.3}.p-print-single-day .p-sheet-entry strong,.p-print-single-day .p-sheet-entry small{margin:0}.p-print-single-day .p-sheet-entry time{margin-left:auto;white-space:nowrap}.p-print-single-day .p-sheet-entry .p-sheet-siblings{margin:0}.p-print-single-day .p-sheet-entry .p-sheet-siblings span{padding:3pt 5pt}.p-print-single-day .p-sheet td{padding:4pt}.p-print-single-day .p-sheet-person{font-weight:700}}
@media print{.p-print-single-day .p-sheet-entry .p-sheet-siblings{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:4pt;min-width:100pt}.p-print-single-day .p-sheet-entry .p-sheet-siblings span{white-space:nowrap;overflow-wrap:normal}}

/* Timed planners share one proportional half-hour grid. */
.p-time-chart-wrap{margin-top:20px}.p-time-chart-scroll{overflow:auto;border:1px solid #bfcec4;border-radius:10px}.p-halfhour-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1180px;color:#073653;font-size:.82rem}.p-halfhour-table caption{caption-side:top;text-align:left;padding:12px;background:#edf2ed;font-weight:700}.p-halfhour-table .p-halfhour-time-col{width:90px}.p-halfhour-table th,.p-halfhour-table td{box-sizing:border-box;border-right:1px solid #cbd8cf;border-bottom:1px solid #cbd8cf;text-align:left;vertical-align:top}.p-halfhour-table thead th{padding:14px 10px;background:#073653;color:white;position:sticky;top:0;z-index:3;overflow-wrap:normal}.p-halfhour-table thead button{border:0;background:none;color:inherit;font:inherit;font-weight:700;text-align:left;padding:0;cursor:pointer}.p-halfhour-table .p-halfhour-axis{padding:0;background:#f2f5f0;position:sticky;left:0;z-index:2}.p-halfhour-axis>div{position:relative}.p-halfhour-tick{position:absolute;left:0;right:0;padding:8px 7px;box-sizing:border-box;border-bottom:1px solid #cbd8cf;font-size:.72rem;white-space:nowrap}.p-halfhour-table .p-halfhour-day{padding:0;background:#fff}.p-halfhour-table .p-halfhour-open{background:#f6f7f4}.p-halfhour-track{position:relative;background-image:linear-gradient(to bottom,transparent calc(100% - 1px),#cbd8cf 0);background-repeat:repeat-y}.planner-page .p-time-event{position:absolute;box-sizing:border-box;display:block;border:1px solid var(--p-person-border);border-left-width:4px;border-radius:5px;background-color:var(--p-person-bg);color:#073653;overflow:hidden;text-align:left;margin:0;padding:0;cursor:pointer;font-family:inherit;min-width:0;line-height:1.3}.p-time-event-content{padding:5px 6px}.p-time-event strong{display:block;font-size:.8rem;line-height:1.25;overflow-wrap:anywhere;margin:0}.p-time-event time,.p-time-event small,.p-time-person{display:block;font-size:.65rem;line-height:1.25;margin-top:3px;overflow-wrap:anywhere}.p-time-people{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px}.p-time-people>span{display:inline-block;padding:2px 4px;background:var(--p-person-bg);border-left:2px solid var(--p-person-border);font-weight:700;font-size:.65rem}.p-time-event-short .p-time-event-content{padding:2px 4px}.p-time-event-short strong{font-size:.72rem}.p-time-event-short time,.p-time-event-short small{display:none}.p-time-event-short .p-time-person{font-size:.6rem;margin-top:1px}.p-time-event-tiny .p-time-person,.p-time-event-tiny .p-time-people{display:none}.p-time-event-tiny strong{font-size:.6rem;white-space:nowrap}.p-time-event-travel{background-image:repeating-linear-gradient(135deg,transparent,transparent 7px,#ffffff80 7px,#ffffff80 14px)}.p-time-event:hover{filter:brightness(.96)}.p-time-event:focus-visible{outline:3px solid #d38b0f;outline-offset:-3px;z-index:4}.p-time-detail{padding:14px 18px;margin-top:14px;border:1px solid #abc2b2;border-radius:10px;background:#f4f8f3}.p-time-detail[hidden]{display:none}.p-time-detail p{margin:0;font-size:.9rem}.p-time-detail .p-link{font-size:.85rem}.p-time-help{font-size:.8rem;color:#405d62}.p-time-event-number{font-weight:700;font-size:6pt}.p-time-print-key{font-size:6.7pt;line-height:1.3;columns:2;column-gap:20pt;padding-left:14pt;margin:8pt 0}.p-time-print-key li{break-inside:avoid;margin:0 0 3pt;overflow-wrap:anywhere}
@media print{.p-time-chart-wrap{margin-top:10pt}.p-time-chart-scroll{overflow:visible;border-radius:0}.p-halfhour-page+.p-halfhour-page{break-before:page}.p-halfhour-table{min-width:0;width:100%;table-layout:fixed;font-size:7pt;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-halfhour-table .p-halfhour-time-col{width:64pt!important}.p-halfhour-table caption{padding:5pt;font-size:8pt}.p-halfhour-table thead th{position:static;padding:6pt 4pt;font-size:7pt}.p-halfhour-table .p-halfhour-axis{position:static}.p-halfhour-tick{font-size:7pt;padding:5pt 3pt}.p-halfhour-table td{padding:0}.planner-page .p-time-event{border-left-width:2px;cursor:default;print-color-adjust:exact;-webkit-print-color-adjust:exact}.p-time-event-content{padding:2px 3px}.p-time-event strong{font-size:6.5pt;line-height:1.15}.p-time-event time,.p-time-event small,.p-time-person{font-size:6pt;line-height:1.15;margin-top:1px}.p-time-people{gap:2px;margin-top:2px}.p-time-people>span{font-size:5.5pt;padding:1px 2px}.p-time-event-short strong{font-size:6pt}.p-time-event-short .p-time-person{font-size:5.5pt}.p-time-event-tiny strong{display:none}.p-time-event-tiny .p-time-event-content{padding:0 2px}.p-time-event-number{float:left;margin-right:3px}.p-time-detail,.p-time-help{display:none!important}.p-time-chart-print .p-halfhour-page{break-inside:auto}}
@media print{.p-time-event-short strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.p-time-event-tiny .p-time-event-number{font-size:4pt;line-height:1}.p-print-only .p-loop-weekly h3{font-size:16pt;margin:0 0 7pt}.p-print-only .p-loop-weekly>p{font-size:8pt;line-height:1.3;margin:6pt 0}.p-print-only .p-loop-weekly .p-routine-key{gap:6pt;margin:8pt 0}.p-print-only .p-loop-weekly .p-routine-key span{font-size:7pt;padding:5pt 7pt}}

/* Round four: fewer distractions, readable forms, and contained mobile charts. */
#planner-root,.p-panel,.p-subject-card,.p-kid,.p-interest-child-editor,.p-loop-rotation,.p-loop-daily-list{min-width:0}.p-panel h2[tabindex="-1"]:focus{outline:0}.p-form-error:not(:empty){margin:18px 0 4px;padding:12px 14px;border-left:3px solid #a03b25;background:#fff4ed;border-radius:6px;line-height:1.5}.p-form-error:focus{outline:2px solid #a03b25;outline-offset:3px}.p-time-chart-wrap,.p-sheet-scroll,.p-chore-scroll{max-width:100%;min-width:0}.p-time-chart-scroll,.p-sheet-scroll,.p-chore-scroll{overscroll-behavior-x:contain}.p-result-tools .p-link,.p-actions .button,.p-edit-links .p-link,.p-choice-help summary{min-height:44px;box-sizing:border-box}.p-result-tools>.p-link{margin-left:0}.p-result-tools>[data-print]{margin-left:auto}.p-loop-current strong,.p-loop-steps strong,.p-kid .p-label,.p-result-head>div{min-width:0;overflow-wrap:anywhere}.p-loop-rotation .p-loop-steps>li>div{min-width:0}.p-subject-card-body .p-label{min-width:0}.p-result-tools .p-view{max-width:100%}.p-result-tools .p-view button{min-height:44px}.p-panel form{min-width:0}
@media(max-width:760px){.p-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.p-progress button{display:flex;align-items:center;gap:8px;padding:12px;font-size:.8rem;min-height:54px;line-height:1.35;min-width:0}.p-progress span{display:inline-grid;flex:0 0 26px;width:26px;height:26px;margin:0}.p-results-progress{display:none}.p-panel{padding:24px 18px}.p-panel h2{font-size:1.75rem}.p-result-tools{align-items:stretch;gap:12px}.p-result-tools .p-view{display:flex;width:100%}.p-result-tools .p-view button{flex:1;min-width:0;white-space:normal;padding:11px 10px;font-size:.85rem}.p-result-tools>[data-print]{margin-left:0}.p-loop-outline{grid-template-columns:minmax(0,1fr);gap:20px}.planner-page .p-loop-daily-list,.planner-page .p-loop-rotation{padding:20px}.p-loop-current{flex-wrap:wrap;gap:12px}.p-loop-current .button{flex-basis:100%;max-width:100%;white-space:normal}.p-loop-steps>li{grid-template-columns:30px minmax(0,1fr);gap:12px}.p-loop-steps>li>.p-link{grid-column:2;justify-self:start;min-height:44px}.p-loop-number{width:30px;height:30px}.p-draft-actions{gap:10px}.p-draft-actions .button{min-height:44px}.p-time-chart-scroll{border-radius:8px}.p-halfhour-table .p-halfhour-time-col{width:82px}.p-halfhour-tick{font-size:.7rem;padding-left:5px}}
@media(max-width:480px){.p-panel{padding:20px 14px}.p-panel p{font-size:.9rem}.planner-page input:not([type=checkbox]):not([type=radio]),.planner-page select,.planner-page textarea{font-size:16px}.p-kid{grid-template-columns:minmax(0,1fr);padding:16px}.p-kid>.p-label:last-child{grid-column:auto}.p-columns{grid-template-columns:minmax(0,1fr);gap:16px}.p-actions{gap:10px}.p-actions .button{padding:12px 14px;min-height:46px;font-size:.85rem}.p-actions [data-back]{flex:0 0 auto}.p-actions [type=submit]{margin-left:auto;max-width:70%;white-space:normal}.p-subject-card>summary{align-items:flex-start;padding:14px;gap:10px}.p-subject-card>summary strong{font-size:1rem}.p-subject-card>summary small{font-size:.78rem}.p-card-customize{flex-shrink:0;max-width:78px;white-space:normal}.p-edit-links{display:grid;grid-template-columns:minmax(0,1fr);gap:2px}.p-edit-links .p-link{text-align:left}.p-result-tools>[data-print]{width:100%;text-align:center}.p-result-tools>[data-result-edit]{text-align:left}.planner-page .p-interest-child-editor,.planner-page .p-interest-child-plan{padding:16px}.p-interest-entry{padding:14px}.p-interest-entry-heading{align-items:flex-start}.p-interest-entry-heading .p-link{min-height:44px}.p-days,.p-subjects{gap:7px}.p-check{min-height:44px;box-sizing:border-box;font-size:.88rem}.p-chore-editor h3{font-size:1.3rem}.p-top-actions .p-link{min-height:44px}.p-draft-banner{padding:16px}.p-draft-banner strong{font-size:1rem}.p-draft-actions .p-link{min-height:44px}.p-loop-current{padding:16px}.p-loop-outline h3{font-size:1.45rem}}
