.planning-helper fieldset{border:0;padding:0;margin:0;min-width:0}.planning-helper .ph-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.planning-helper .ph-space{margin-top:20px}.planning-helper .ph-top{margin-bottom:18px}.planning-helper .ph-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.planning-helper .ph-steps button{padding:10px 14px}.planning-helper .ph-targets label{font-size:12px}.planning-helper .ph-targets td{vertical-align:top}.planning-helper .ph-targets input[type=number]{max-width:90px}.planning-helper .ph-targets select{min-width:135px}.planning-helper .ph-pattern td{display:flex;gap:14px;align-items:end;padding-top:0;padding-bottom:22px;flex-wrap:wrap}.planning-helper .ph-pattern label:first-child{flex:1;min-width:230px}.planning-helper .ph-pattern input[type=time]{width:115px}.planning-helper .ph-teacher{display:grid;grid-template-columns:1fr 1.5fr .8fr;gap:18px;border-bottom:1px solid var(--line,#c9dbd4);padding:20px 0}.planning-helper .ph-days{display:flex;gap:8px 15px;flex-wrap:wrap;align-content:start}.planning-helper .ph-days .check{margin:0}.planning-helper .ph-teacher small{display:block}.planning-helper .ph-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:20px 0;flex-wrap:wrap}.planning-helper .ph-footer{margin:20px 0}.planning-helper .ph-weeks{min-width:760px;table-layout:fixed}.planning-helper .ph-weeks th:first-child{width:48px}.planning-helper .ph-weeks td,.planning-helper .ph-weeks th{padding:8px 5px;font-size:12px;vertical-align:top}.planning-helper .ph-weeks .ph-week-course{display:block;width:100%;font-size:11px;text-align:left;padding:7px;border-radius:7px;margin-top:6px;white-space:normal;background:#e2f3ee;color:#153c35}.planning-helper .ph-week-course small{display:block}.planning-helper .ph-course-editor{margin-top:20px;padding-top:20px;border-top:2px solid #a9c5bf}.planning-helper .ph-course-editor input[type=date]{max-width:230px}.planning-helper .ph-results{min-width:640px}.planning-helper .ph-results .check{font-size:12px}.planning-helper .ph-results small{display:block}.planning-helper .panel-head{align-items:flex-start;gap:16px}.planning-helper .ph-course-editor .ph-grid{margin-top:15px}.planning-helper .notice ul{padding-left:20px}.planning-helper .ph-top>.secondary{margin-left:auto}.planning-helper input[type=checkbox]{accent-color:#007b70}.planning-helper .ph-top .muted{font-size:13px}@media(max-width:850px){.planning-helper .ph-teacher{grid-template-columns:1fr}.planning-helper .ph-grid{grid-template-columns:1fr}.planning-helper .ph-steps button{flex:1 1 40%;font-size:12px}.planning-helper .ph-pattern label:first-child{min-width:180px}.planning-helper .ph-targets{min-width:590px}}
.planning-helper .ph-replace-choice{font-weight:700;margin-bottom:8px}.planning-helper .ph-replacement-review{margin:18px 0}.planning-helper .ph-replacement-review details{margin-top:12px}.planning-helper .ph-week-preserved{padding:7px;margin-top:6px;border:1px dashed #8aa99e;border-radius:7px;background:#f1f5f3;color:#244a3d;font-size:11px}.planning-helper .ph-week-preserved small{display:block;font-weight:700}
.planning-helper fieldset.ph-rule{border:1px solid #a9c5bf;border-radius:14px;padding:18px;margin:0 0 20px;background:#fff}.planning-helper .ph-rule legend{font-size:12px;font-weight:700;color:#246354;padding:0 8px}.planning-helper .ph-rule-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.planning-helper .ph-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.planning-helper .ph-rule-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.planning-helper .ph-rule-label{display:block;margin-bottom:9px;font-size:13px}.planning-helper .ph-rule small{display:block;font-size:12px;color:#466259;margin-top:6px}.planning-helper .ph-rule-estimate{margin:16px 0 0;font-size:13px;font-weight:600;color:#155849}.planning-helper .ph-opt-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.planning-helper .ph-opt-stats>div{border:1px solid #a9c5bf;border-radius:12px;padding:14px;background:#eef8f4}.planning-helper .ph-opt-stats strong{display:block;font-size:24px;color:#154f42}.planning-helper .ph-opt-stats span{font-size:12px;color:#294d43}.planning-helper .ph-optimization{margin:20px 0}.planning-helper .ph-optimization>p{font-size:13px;color:#365d50}.planning-helper .ph-optimization small{display:block}.planning-helper [data-ph-progress]{font-weight:700}@media(max-width:650px){.planning-helper .ph-rule-grid{grid-template-columns:1fr}.planning-helper .ph-opt-stats{grid-template-columns:1fr}.planning-helper .ph-rule-head{align-items:flex-start}.planning-helper fieldset.ph-rule{padding:14px}.planning-helper .ph-rule-head strong{min-width:0}}
