/* Weekly Task Plan editor only: approved category-first layout. */
.modal.modal-weekly-plan .weekly-bundle-library .weekly-pane-head{padding:0 0 10px;border:0;background:transparent}
.modal.modal-weekly-plan .weekly-bundle-card{padding:12px;border:1px solid var(--line,#dfe3e9);border-radius:8px;background:var(--surface-soft,#f4f5f8);margin-bottom:10px;cursor:grab}
.modal.modal-weekly-plan .weekly-bundle-card-head{display:flex;align-items:center;gap:7px}.modal.modal-weekly-plan .weekly-bundle-card-head h4{margin:0;font-size:14px;font-weight:500;flex:1}.modal.modal-weekly-plan .weekly-bundle-card-head>span{font-size:12px;color:var(--muted,#646b78)}
.modal.modal-weekly-plan .weekly-bundle-members,.modal.modal-weekly-plan .weekly-bundle-selected-members{font-size:12px;color:var(--muted,#646b78);line-height:1.5;margin:5px 0 9px}
.modal.modal-weekly-plan .weekly-bundle-card-task{border-top:1px solid var(--line,#dfe3e9);padding:7px 0;font-size:13px}.modal.modal-weekly-plan .weekly-bundle-card-task strong,.modal.modal-weekly-plan .weekly-bundle-card-task small{display:block;font-weight:400}.modal.modal-weekly-plan .weekly-bundle-card-task small{color:var(--muted,#646b78);font-size:12px;margin-top:3px}
.modal.modal-weekly-plan .weekly-bundle-add-category{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:8px}.modal.modal-weekly-plan .weekly-bundle-setup-link{font-size:11px;background:transparent;border:0;color:var(--muted,#646b78);padding:5px 0;margin-top:3px;cursor:pointer}
.modal.modal-weekly-plan .weekly-bundle-drop-zone{padding:20px 12px;text-align:center;border:1px dashed var(--line,#dfe3e9);border-radius:8px;background:var(--surface-soft,#f4f5f8);margin-bottom:12px}.modal.modal-weekly-plan .weekly-bundle-drop-zone>span{display:block;font-size:25px;color:var(--red,#bd2439);line-height:1.2}.modal.modal-weekly-plan .weekly-bundle-drop-zone strong,.modal.modal-weekly-plan .weekly-bundle-drop-zone small{display:block;font-weight:400}.modal.modal-weekly-plan .weekly-bundle-drop-zone small{color:var(--muted,#646b78);margin-top:3px}
.modal.modal-weekly-plan .weekly-bundle-selected-card{padding:12px;border:1px solid var(--line,#dfe3e9);border-radius:8px;background:var(--surface,#fff);margin:0 0 10px}.modal.modal-weekly-plan .weekly-bundle-selected-card-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.modal.modal-weekly-plan .weekly-bundle-selected-card-head h4{margin:0;font-size:14px;font-weight:500}.modal.modal-weekly-plan .weekly-bundle-selected-card-head>span{background:var(--surface-soft,#f4f5f8);color:var(--muted,#646b78);font-size:12px;padding:3px 7px;border-radius:5px}
.modal.modal-weekly-plan .weekly-bundle-selected-brief{border-top:1px solid var(--line,#dfe3e9);padding:7px 0;font-size:13px}.modal.modal-weekly-plan .weekly-bundle-selected-brief strong{font-weight:400}.modal.modal-weekly-plan .weekly-bundle-selected-brief span{display:block;font-size:12px;color:var(--muted,#646b78);margin-top:3px}
.modal.modal-weekly-plan .weekly-bundle-group-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.modal.modal-weekly-plan .weekly-bundle-task-details{margin-top:8px}.modal.modal-weekly-plan .weekly-bundle-task-details>summary{font-size:11px;color:var(--muted,#646b78);cursor:pointer}.modal.modal-weekly-plan .weekly-bundle-selected-group-body{padding-top:8px;display:grid;gap:9px}
.modal.modal-weekly-plan .weekly-bundle-review{border:1px solid var(--red,#bd2439);border-radius:8px;padding:12px;margin-bottom:12px}.modal.modal-weekly-plan .weekly-bundle-review h4{margin:0;font-size:14px;font-weight:500}.modal.modal-weekly-plan .weekly-bundle-review>p{font-size:12px;color:var(--muted,#646b78);margin:7px 0}
.modal.modal-weekly-plan .weekly-bundle-group-members,.modal.modal-weekly-plan .weekly-bundle-eligible{border:0;margin:8px 0 12px;padding:0;display:flex;gap:6px;flex-wrap:wrap}.modal.modal-weekly-plan .weekly-bundle-group-members legend,.modal.modal-weekly-plan .weekly-bundle-eligible legend{font-size:12px;color:var(--muted,#646b78);margin-bottom:7px}.modal.modal-weekly-plan .weekly-bundle-group-members label,.modal.modal-weekly-plan .weekly-bundle-eligible label{display:flex;align-items:center;gap:4px;font-size:12px}
.modal.modal-weekly-plan .weekly-bundle-review-task{border-top:1px solid var(--line,#dfe3e9);padding:10px 0}.modal.modal-weekly-plan .weekly-bundle-task-check{display:flex;gap:6px;align-items:flex-start;font-size:13px}.modal.modal-weekly-plan .weekly-bundle-task-check strong{font-weight:500}.modal.modal-weekly-plan .weekly-bundle-review-days,.modal.modal-weekly-plan .weekly-bundle-review-phases{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.modal.modal-weekly-plan .weekly-bundle-review-phases label{display:flex;align-items:center;gap:4px;font-size:12px}.modal.modal-weekly-plan .weekly-bundle-review-days .weekly-day-chip{padding:5px 7px;font-size:12px;border-radius:5px;min-height:30px}
.modal.modal-weekly-plan .weekly-bundle-review-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:8px}.modal.modal-weekly-plan .weekly-bundle-review-fields label,.modal.modal-weekly-plan .weekly-bundle-add-source{display:grid;gap:5px;font-size:12px;min-width:0}.modal.modal-weekly-plan .weekly-bundle-member-exceptions{margin-top:8px}.modal.modal-weekly-plan .weekly-bundle-member-exceptions>summary{font-size:11px;color:var(--muted,#646b78);cursor:pointer}
.modal.modal-weekly-plan .weekly-bundle-review-total{border-top:1px solid var(--line,#dfe3e9);padding:10px 0;font-size:12px}.modal.modal-weekly-plan .weekly-bundle-review-total small{display:block;font-size:11px;color:var(--muted,#646b78);margin-top:5px}.modal.modal-weekly-plan .weekly-bundle-review-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}.modal.modal-weekly-plan #wtBundleMessage{font-size:12px;color:var(--green,#226447);margin-bottom:10px}
.modal.modal-weekly-plan .weekly-bundle-owners{border:0;border-top:1px solid var(--line,#dfe3e9);border-radius:0;margin:14px 0 0;padding:12px 0 0}.modal.modal-weekly-plan .weekly-bundle-owners>summary{font-size:14px;font-weight:500;cursor:pointer}.modal.modal-weekly-plan .weekly-bundle-owners>summary span{display:block;font-size:11px;color:var(--muted,#646b78);margin-top:3px}.modal.modal-weekly-plan .weekly-bundle-owner-body{padding:9px 0 0}.modal.modal-weekly-plan .weekly-bundle-owner-body>.btn{margin-bottom:8px}
.modal.modal-weekly-plan .weekly-bundle-loads{display:flex;gap:5px;flex-wrap:wrap;font-size:12px}.modal.modal-weekly-plan .weekly-bundle-loads>span{border:1px solid var(--line,#dfe3e9);border-radius:5px;background:var(--surface-soft,#f4f5f8);padding:3px 7px}.modal.modal-weekly-plan .weekly-bundle-owner-note{font-size:11px;color:var(--muted,#646b78);line-height:1.5}
.modal.modal-weekly-plan .weekly-bundle-job{display:grid;grid-template-columns:55px minmax(0,1fr);gap:8px;padding:10px 0;border-top:1px solid var(--line,#dfe3e9);font-size:12px}.modal.modal-weekly-plan .weekly-bundle-job small{display:block;font-size:11px;color:var(--muted,#646b78);margin-top:3px}.modal.modal-weekly-plan .weekly-bundle-job strong{font-size:13px;font-weight:400}.modal.modal-weekly-plan .weekly-bundle-job-actions{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:6px}.modal.modal-weekly-plan .weekly-bundle-job-actions .btn{padding:5px 8px;min-height:30px;font-size:12px}.modal.modal-weekly-plan .weekly-bundle-job-actions>span{overflow-wrap:anywhere}
@media(max-width:620px){.modal.modal-weekly-plan .weekly-bundle-review-fields{grid-template-columns:minmax(0,1fr) 90px}.modal.modal-weekly-plan .weekly-bundle-job-actions{align-items:flex-start}}

.modal.modal-weekly-plan .weekly-bundle-drop-zone.weekly-bundle-drop-over{border-color:var(--red,#bd2439);background:var(--surface-selected,#fff0f2)}
