/* Secondary task controls stay available without filling the main form. */
.task-compose .task-advanced{min-width:0;border:0;border-top:1px solid #e1e8e5;border-radius:0;padding:12px 0 0;margin:0}
.task-compose .task-advanced>summary{min-height:44px;color:#314b43;font-weight:600;cursor:pointer;padding:5px 2px;overflow-wrap:anywhere}
.task-advanced-title{margin-right:8px}
.task-advanced-summary{display:flex;flex-wrap:wrap;gap:4px 12px;margin:6px 0 0 18px;font-size:12px;font-weight:400;line-height:1.5;color:#63776f;max-width:100%;white-space:normal}
.task-advanced[data-configured=true] .task-advanced-summary{color:#315e4f}
.task-advanced-item{min-width:0;overflow-wrap:anywhere}
.task-compose .task-advanced[open]>summary{margin-bottom:12px}
.task-compose .task-advanced-fields{padding:0;margin:0}
.task-compose .task-advanced-fields>.task-photo-help{margin:0}
.task-compose .task-advanced>summary:focus-visible{outline:3px solid #5ba58d;outline-offset:3px;border-radius:4px}
@media(max-width:600px){.task-compose .task-advanced-fields{grid-template-columns:1fr}.task-advanced-summary{gap:3px 10px}}

.weekly-repeat-days { min-width:0; margin:0; padding:0; border:0; }
.weekly-repeat-days legend { margin:0 0 6px; padding:0; font-weight:600; }
.weekly-repeat-choices { display:flex; flex-wrap:wrap; gap:6px; }
.weekly-repeat-choices button { min-width:44px; min-height:44px; padding:8px 12px; }
.weekly-repeat-choices button[aria-pressed="true"] { background:var(--accent); border-color:var(--accent); color:white; }
