.agenda-content{min-width:0}.agenda-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin:20px 0 24px}.agenda-intro h1{margin-top:8px}.agenda-intro p{color:var(--muted)}.agenda-intro .actions{flex-wrap:wrap;justify-content:flex-end;max-width:390px}.agenda-tabs{display:flex;gap:10px;margin:24px 0}.agenda-tools{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:20px}.agenda-tools .actions{gap:6px}.agenda-jump{max-width:180px;margin:0}.agenda-range{font-weight:700;margin-left:auto}.agenda-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;min-width:0}.agenda-day{border:1px solid var(--line);border-radius:18px;padding:10px 8px;background:#eeeee7;min-width:0;min-height:260px}.agenda-day.is-today{border-color:var(--teal);background:#e5f1ed}.agenda-day>header{display:flex;flex-direction:column;padding:4px 4px 12px}.agenda-day>header>span{font-size:.72rem;color:var(--muted)}.agenda-day>header>strong{font-size:1.4rem}.agenda-day>header small{font-size:.72rem;font-weight:400}.agenda-empty-day{font-size:.75rem;color:var(--muted);padding:10px 4px}.agenda-item{background:white;border:1px solid var(--line);border-left:4px solid var(--agenda-color);padding:13px 12px;border-radius:12px;min-width:0;margin:0 0 10px;overflow-wrap:anywhere}.agenda-meta{display:block;font-size:.68rem;color:var(--muted);margin-bottom:6px}.agenda-title{background:transparent;border:0;padding:0;text-align:left;color:var(--ink);font:inherit;font-weight:700;line-height:1.4;width:100%;overflow-wrap:anywhere}.agenda-item p{font-size:.72rem}.agenda-item .btn{font-size:.7rem;padding:6px 8px;min-height:34px}.agenda-item-actions{margin-top:12px;display:flex;gap:8px;align-items:center}.agenda-item.is-done .agenda-title{text-decoration:line-through;color:var(--muted)}.agenda-state{font-size:.74rem;color:var(--muted)}.agenda-task-summary{display:flex;gap:28px;align-items:center;padding:22px;background:var(--pale);border-radius:20px}.agenda-task-summary>div{display:flex;flex-direction:column;min-width:85px}.agenda-task-summary strong{font-size:2.1rem;line-height:1.1}.agenda-task-summary span{font-size:.8rem;color:var(--muted);margin-top:6px}.agenda-task-summary p{font-size:.9rem;max-width:360px;margin-left:auto}.agenda-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.agenda-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.agenda-task-list>.empty{grid-column:1/-1}.agenda-task-list .agenda-meta{font-size:.76rem}.agenda-task-list .agenda-item{padding:18px}.agenda-task-list .agenda-item p{font-size:.8rem}.agenda-task-list .btn{font-size:.8rem}.agenda-footnote{font-size:.78rem;color:var(--muted);margin-top:24px}.agenda-description{white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0;line-height:1.7}.agenda-form-actions{margin-top:24px;flex-wrap:wrap}.agenda-category-list{margin:18px 0}.agenda-category-list>div{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.agenda-category-list>div>span:nth-child(2){flex:1}.agenda-color{display:inline-block;width:17px;height:17px;border-radius:50%;border:1px solid #0002}.agenda-content .input, [data-agenda-dialog] .input{width:100%;min-width:0}[data-agenda-dialog] input[type=color]{height:48px;padding:6px}[data-agenda-dialog] textarea{font:inherit;resize:vertical}[data-agenda-dialog] form>.field{margin:18px 0}[data-agenda-dialog] .form-grid{margin:20px 0}[data-agenda-error][hidden]{display:none}[data-agenda-dialog] .actions .btn{white-space:normal}
@media(min-width:851px){.shell:has(.agenda-content){max-width:1640px}.main:has(.agenda-content){padding-left:26px;padding-right:26px}}
@media(max-width:1200px){.agenda-week{grid-template-columns:repeat(4,minmax(0,1fr))}.agenda-day{min-height:210px}.agenda-intro{flex-direction:column}.agenda-intro .actions{justify-content:flex-start;max-width:none}}
@media(max-width:850px){.nav{overflow-x:auto;justify-content:flex-start!important}.nav button{min-width:62px;flex:1 0 62px!important;font-size:.68rem!important}.agenda-week{grid-template-columns:repeat(3,minmax(0,1fr))}.agenda-range{margin-left:0}.agenda-task-summary{flex-wrap:wrap}.agenda-task-summary p{margin:0;flex-basis:100%}}
@media(max-width:560px){.agenda-week{grid-template-columns:1fr}.agenda-day{min-height:120px;padding:14px}.agenda-day>header{flex-direction:row;align-items:center;justify-content:space-between}.agenda-day>header>span{font-size:.9rem;font-weight:700}.agenda-day .agenda-item{padding:15px}.agenda-day .agenda-item p{font-size:.8rem}.agenda-day .agenda-meta{font-size:.74rem}.agenda-day .agenda-item .btn{font-size:.8rem}.agenda-task-list,.agenda-filters{grid-template-columns:1fr}.agenda-task-summary{gap:22px}.agenda-tools{gap:14px}.agenda-tools>.actions{width:100%}.agenda-jump{max-width:none;flex:1}.agenda-intro .btn{min-height:44px}}

@media(max-width:850px){.nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.nav button{min-width:0;min-height:53px;padding:7px 3px!important}.nav svg{width:20px;height:20px}.main{padding-bottom:170px}.selection-footer{bottom:145px}#toast{bottom:150px}}
.recurrence-controls{padding:18px;background:var(--pale);border-radius:16px;margin:18px 0}.recurrence-controls[hidden]{display:none}.recurrence-days{border:0;padding:0;margin:18px 0;display:flex;gap:10px 18px;flex-wrap:wrap}.recurrence-days legend{font-weight:700;margin-bottom:14px}.recurrence-days label{display:flex;align-items:center;gap:7px;min-height:40px}.recurrence-days input{width:20px;height:20px;accent-color:var(--teal)}.task-status-label{font-size:.72rem;width:100%;max-width:220px}.task-status-select{font:inherit;min-height:40px;margin-top:5px;padding:6px;width:100%;background:#fff}.broadcast-filter{max-width:260px;margin:22px 0}.task-response-done{background:#e5f1ed;color:#1c6555}.task-response-not_done{background:#fff0e6;color:#934622}[data-broadcast-dialog] .input{width:100%;min-width:0}[data-broadcast-dialog] input[type=color]{height:48px;padding:6px}[data-broadcast-dialog] textarea{font:inherit;resize:vertical}[data-broadcast-dialog] form>.field{margin:18px 0}[data-broadcast-dialog] .form-grid{margin:20px 0}[data-broadcast-error][hidden]{display:none}.agenda-task-list h2{font-size:1.25rem}.agenda-item .actions{flex-wrap:wrap}.agenda-day .task-status-label{font-size:.68rem}
@media(max-width:560px){.recurrence-controls{padding:14px}.recurrence-days{display:grid;grid-template-columns:1fr 1fr}.task-status-select{font-size:.85rem;min-height:44px}.agenda-task-summary>div{min-width:65px}.agenda-task-summary{gap:16px}}

[data-role-color-help][hidden]{display:none!important}

/* Calendar time axis: 1 px per minute; event heights reflect their interval. */
.calendar-view-switch{display:flex;gap:5px}.calendar-scroll{max-height:72vh;min-height:340px;overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff;isolation:isolate;overscroll-behavior:contain}.calendar-scroll:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.calendar-board{min-width:1050px;position:relative;--calendar-gutter:57px}.calendar-board.is-single-day{min-width:0}.calendar-day-headings,.calendar-unscheduled,.calendar-hour-grid{display:grid;grid-template-columns:var(--calendar-gutter) repeat(var(--calendar-days),minmax(0,1fr))}.calendar-day-headings{position:sticky;top:0;z-index:6;background:#fff;border-bottom:1px solid var(--line)}.calendar-corner{font-size:.7rem;color:var(--muted);padding:15px 4px 10px;text-align:center;position:sticky;left:0;background:#fff;z-index:5}.calendar-day-headings header{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:8px;border-left:1px solid var(--line);min-width:0;background:#fff}.calendar-day-headings header.is-today{background:var(--pale)}.calendar-day-headings header>button:first-child{border:0;background:transparent;color:var(--ink);font:inherit;text-align:left;padding:3px;min-width:0}.calendar-day-headings header span{display:block;font-size:.74rem;color:var(--muted)}.calendar-day-headings header strong{display:block;font-size:.93rem;margin-top:4px}.calendar-day-headings header .btn{padding:4px 9px;min-height:32px}.calendar-unscheduled{background:#fafbf8;border-bottom:1px solid var(--line)}.calendar-unscheduled>section{padding:8px;border-left:1px solid var(--line);min-width:0;max-height:190px;overflow-y:auto}.calendar-unscheduled .agenda-item{padding:7px;margin-bottom:6px;font-size:.76rem}.calendar-unscheduled .agenda-meta{font-size:.62rem}.calendar-unscheduled .agenda-item p{margin:5px 0}.calendar-unscheduled .agenda-item-actions{margin-top:6px}.calendar-unscheduled .task-status-label{font-size:.65rem}.calendar-unscheduled .task-status-select{min-height:32px}.calendar-hour-grid{position:relative;height:1454px}.calendar-hours{height:1440px;position:sticky;left:0;z-index:4;background:#fff;align-self:start}.calendar-hours>span{position:absolute;right:7px;font-size:.68rem;color:var(--muted);line-height:1;transform:translateY(-6px)}.calendar-hours>span:first-child{transform:translateY(3px)}.calendar-hours>.calendar-midnight{top:1440px;transform:none}.calendar-day-hours{height:1440px;min-width:0;position:relative;border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 29px,#edf0eb 29px,#edf0eb 30px,transparent 30px,transparent 59px,#dce4df 59px,#dce4df 60px)}.calendar-day-hours.is-today{background-color:#f5faf7}.calendar-hour-slot{display:block;width:100%;height:60px;min-height:0;border:0;margin:0;padding:0;background:transparent;border-radius:0}.calendar-hour-slot[type=button]:hover{background:#087c7d0b;cursor:crosshair}.calendar-event{position:absolute;z-index:2;min-height:0;overflow:hidden;box-sizing:border-box;padding:5px 6px;border:1px solid #00000015;border-left:4px solid var(--agenda-color);border-radius:7px;background-color:var(--agenda-color);background-image:linear-gradient(#ffffffd9,#ffffffd9);color:var(--ink);text-align:left;font:inherit;font-size:.75rem;line-height:1.3;display:flex;flex-direction:column;gap:3px;box-shadow:0 1px 2px #20373212;cursor:pointer}.calendar-event:hover{filter:brightness(.96);z-index:3}.calendar-event:focus-visible{outline:3px solid var(--ink);outline-offset:-3px;z-index:3}.calendar-event>strong{display:block;font-size:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;max-width:100%}.calendar-event>span{font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.calendar-event>small{font-size:.63rem;overflow:hidden}.calendar-event.is-short{padding:1px 4px;gap:1px;font-size:.65rem}.calendar-event.is-short>span,.calendar-event.is-short>small{display:none}.calendar-event.is-done>strong{text-decoration:line-through}.calendar-board.is-single-day .calendar-event{font-size:.85rem}.calendar-board.is-single-day .calendar-event.is-short{font-size:.7rem}
@media(max-width:600px){.calendar-scroll{max-height:65vh;min-height:320px}.calendar-board{--calendar-gutter:48px}.calendar-day-headings header strong{font-size:.85rem}.calendar-view-switch{margin-left:auto}.calendar-unscheduled>section{padding:6px}.calendar-board.is-single-day .calendar-unscheduled .agenda-item{font-size:.85rem}}
.calendar-day-headings{height:64px}.calendar-unscheduled{position:sticky;top:64px;z-index:5}
.calendar-unscheduled>section{max-height:120px}.calendar-unscheduled-item{padding:6px;border-radius:7px;border-left:3px solid var(--agenda-color);background:#fff;margin-bottom:4px;font-size:.7rem;overflow-wrap:anywhere}.calendar-unscheduled-item>div{margin-top:5px}.calendar-unscheduled-item .task-status-label{font-size:0}.calendar-unscheduled-item .task-status-select{font-size:.68rem;min-height:28px;margin:0;padding:3px}.calendar-unscheduled-item .btn{font-size:.65rem;min-height:27px;padding:3px 6px}
.calendar-event:not(.is-short)>strong{white-space:normal;overflow-wrap:anywhere;max-height:3.9em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}

.today-agenda{margin-top:36px}.today-agenda-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.today-agenda-heading h2{margin:6px 0}.today-agenda-heading p{margin:5px 0}.today-agenda-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.today-agenda-grid>.card{min-width:0}.today-task{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 18px 12px;border-left:3px solid var(--agenda-color);border-bottom:1px solid var(--line);margin:16px 0}.today-task>div{min-width:0;flex:1}.today-task h4,.today-calendar-event h4{font-size:1rem;margin:6px 0;overflow-wrap:anywhere}.today-task-description{font-size:.83rem;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.today-task .task-status-label{flex:0 0 140px;max-width:160px}.today-task .is-now{color:var(--teal)}.today-task.is-done h4{text-decoration:line-through;color:var(--muted)}.today-calendar-event{border-left:4px solid var(--agenda-color);padding:13px;margin:17px 0;background:#f6f7f2;border-radius:0 12px 12px 0}.today-calendar-event.is-current{background:var(--pale)}.today-calendar-event p{font-size:.85rem;margin:5px 0 10px}.today-calendar-event .btn{display:block;margin-top:12px}.today-agenda-note{margin-top:18px}.today-no-menu{margin:24px 0}
@media(max-width:850px){.nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.today-agenda-grid{grid-template-columns:1fr}}
@media(max-width:560px){.today-task{align-items:flex-start;flex-direction:column;gap:10px}.today-task .task-status-label{flex:auto;max-width:220px}.today-agenda-heading{align-items:flex-start}.today-agenda-heading>.btn{flex-shrink:0}.today-nav{gap:6px}.today-nav .btn{padding:10px 9px;font-size:.78rem}}
.today-agenda-grid>.card{margin:0}
#toast:not(.show){visibility:hidden;pointer-events:none}

.info-circle{display:inline-grid;place-items:center;width:22px;height:22px;border:1.5px solid currentColor;border-radius:50%;font-family:Georgia,serif;font-weight:700;flex-shrink:0}.cooking-info{gap:8px}.cooking-advice{padding-left:24px;margin:24px 0}.cooking-advice li{padding-left:8px;margin:22px 0}.cooking-advice li::marker{color:var(--teal);font-weight:700}.cooking-advice h3{font-size:1.05rem}.cooking-advice p{line-height:1.65;color:var(--muted)}

/* Compact client workspace: headings, controls and data only. */
.client-planner .page-head{margin-bottom:20px;gap:16px;align-items:center}.client-planner .page-head h1{font-size:clamp(1.65rem,3vw,2.2rem);margin-top:0}.client-planner .account-toolbar{margin-bottom:18px;gap:10px}.client-planner .agenda-intro{margin:0 0 18px;gap:16px}.client-planner .agenda-intro h1{margin-top:0;font-size:clamp(1.65rem,3vw,2.2rem)}.client-planner .agenda-tabs{margin:18px 0}.client-planner .today-agenda{margin-top:26px}
@media(min-width:851px){.client-planner .nav{margin-top:32px}.client-planner .main{padding-top:24px}.client-planner .brand{font-size:18px}}
@media(max-width:850px){.client-planner .main{padding-top:18px;padding-bottom:100px}.client-planner .account-toolbar{flex-direction:row;align-items:center;flex-wrap:wrap;font-size:12px}.client-planner .mobile-brand{margin-bottom:16px}.client-planner .page-head{gap:12px}.client-planner .selection-footer{bottom:85px}}

/* Task documents and in-app questionnaires. */
.task-editor{margin:24px 0;padding:20px;background:var(--surface-soft,#f3f8f6);border:1px solid var(--line,#dbe5df);border-radius:16px}.task-editor h3{margin:0 0 12px}.task-editor h3:not(:first-child){margin-top:24px}.task-editor-question{background:var(--surface,#fff);border:1px solid var(--line,#dbe5df);border-radius:12px;padding:16px;margin:14px 0}.task-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.task-editor-question .field{margin:12px 0}.task-editor [data-task-preview]{border-top:1px solid #cbdcd6;margin-top:16px;padding-top:16px}.task-question{border:0;padding:0;margin:24px 0;min-width:0}.task-question legend{font-weight:650;line-height:1.5;margin-bottom:12px;white-space:pre-wrap;overflow-wrap:anywhere}.task-question .input{width:100%;box-sizing:border-box}.task-answer-options{display:flex;flex-wrap:wrap;gap:10px}.task-answer-options label{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#f5f8f6;border:1px solid #dce5e0;border-radius:10px;cursor:pointer}.task-answer-options input{accent-color:#087c7d;width:18px;height:18px}.task-question :disabled{opacity:1;color:inherit;-webkit-text-fill-color:inherit}.task-question textarea:disabled,.task-question input:disabled{background:#f4f6f5}.task-info{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere;margin:18px 0}.task-attachments{list-style:none;padding:0;margin:12px 0}.task-attachments li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e0e7e3}.task-attachments li>span{overflow-wrap:anywhere;min-width:0}.task-save-state{border-left:3px solid #087c7d;background:#edf7f3;padding:12px 16px;font-size:.9rem}.task-page-actions{margin-top:24px}.task-history{border-top:1px solid #dbe5df;margin-top:24px;padding-top:18px}.task-history summary{cursor:pointer;font-weight:650;padding:10px 0}.task-history details{border-bottom:1px solid #dbe5df;margin:8px 0}.task-editor [hidden]{display:none!important}.task-editor-heading .actions{flex-wrap:nowrap}.task-editor-heading .btn{padding:8px 12px}
@media(max-width:600px){.task-editor{padding:12px;margin-left:-4px;margin-right:-4px}.task-editor-question{padding:12px}.task-editor-heading{align-items:flex-start;flex-direction:column}.task-attachments li{align-items:flex-start}.task-page-actions .btn{flex:1}.task-question{margin:20px 0}}

.task-question textarea,.task-question input{font:inherit}.task-question [readonly]{background:#f4f6f5}
