/* Chef schedule: a compact agenda and a separate recurring schedule. */
.schedule-page main{max-width:960px}
.schedule-page h1{margin-bottom:25px}
.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:18px}
.schedule-tabs{display:flex;gap:8px}
.schedule-tabs button{background:transparent;color:#64715e;border:0;padding:10px 17px}
.schedule-tabs button[aria-selected=true]{background:#e8efdf;color:#254431}
.add-weekly{font-size:12px;padding:10px 16px}
.add-weekly>span{font-size:20px;line-height:1}
.schedule-caption{display:flex;justify-content:space-between;gap:12px;padding:23px 0 5px;color:#64715e;font-size:11px}
.schedule-caption p{margin:0}
.schedule-month{margin-top:20px}
.schedule-month>h2{font:12px/1.5 Montserrat,Arial,sans-serif;color:#64715e;margin:0 0 10px}
.schedule-visits{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.schedule-visit{display:grid;grid-template-columns:52px 160px minmax(0,1fr) minmax(20px,auto);gap:24px;align-items:center;padding:18px 24px;text-decoration:none;color:#254431;border-bottom:1px solid var(--line)}
.home-photo{width:160px;height:100px;object-fit:cover;border-radius:6px;background:#e8efdf;display:block}
.home-photo.blank{background:none}
.schedule-visit .text-button{font-size:11px;color:#64715e}
.open-visit{color:#4d6147}
.open-visit .home-photo{opacity:.85}
.schedule-address{color:#254431!important;font-size:12px!important;line-height:1.45}
.schedule-visit:last-child,.weekly-slot:last-child{border-bottom:0}
.schedule-visit:hover{background:#f4f7ef}
.schedule-visit:focus-visible{outline-offset:-3px}
.schedule-visit.next-visit{background:#f0f5e9}
.schedule-date{border-right:1px solid #d6dfcd;padding-right:20px;text-align:center;line-height:1}
.schedule-date span{display:block;text-transform:uppercase;font-size:9px;letter-spacing:.8px;color:#64715e;margin-bottom:6px}
.schedule-date strong{font:28px/1 Bryant,Arial,sans-serif}
.schedule-time strong,.weekly-time{font:22px/1.2 Bryant,Arial,sans-serif}
.schedule-time{display:flex;align-items:baseline;gap:10px;margin-bottom:4px}
.schedule-time span{color:#547044;font-size:10px}
.schedule-customer h3,.weekly-customer h3{font:20px/1.2 Bryant,Arial,sans-serif;margin:0 0 4px}
.schedule-customer p,.weekly-customer p{font-size:11px;color:#64715e;margin:0 0 2px}
.weekly-customer p{font-size:12px;color:#254431}
.schedule-caption a{color:inherit}
.visit-arrow{font-size:18px;color:#5f7951}
.schedule-history{margin:24px 0 0}
.schedule-history>summary{font-size:12px;display:flex;gap:10px;align-items:center;width:max-content}
.schedule-history>summary:before{content:'+';font-size:19px;width:12px}
.schedule-history[open]>summary:before{content:'−'}
.schedule-history>summary::-webkit-details-marker{display:none}
.schedule-history>summary span{color:#64715e;font-size:10px}
.weekly-slot{display:grid;grid-template-columns:110px 160px minmax(0,1fr) auto;gap:24px;align-items:center;border-bottom:1px solid var(--line);padding:22px 25px}
.weekly-slot .text-button{font-size:11px;color:#64715e}
.booked-mark{color:#537a40;background:#edf2e8;width:28px;height:28px;border-radius:50%;display:grid;place-items:center}
.weekly-hint{font-size:11px;color:#64715e;margin:20px 0 10px}
.schedule-help{display:inline-flex;gap:14px;font-size:11px;padding:12px 0}
.schedule-empty{padding:38px 0;color:#64715e;font-size:13px}
.schedule-feedback{position:fixed;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:50;width:max-content;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:15px;background:#edf2e8;border:1px solid #d6e2cf;border-radius:6px;padding:8px 16px;min-height:48px;font-size:12px;box-shadow:0 8px 30px #25443126}
.schedule-feedback[hidden]{display:none}
.schedule-feedback p{margin:0}
.schedule-feedback button{margin-left:auto;font-size:12px}
#weekly-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;color:#254431;padding:24px;box-shadow:0 20px 90px #25443125}
#weekly-dialog::backdrop{background:#17231ad0}
.weekly-dialog-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:5px}
.weekly-dialog-heading h2{font-size:29px;margin:0}
.weekly-dialog-heading button{font-size:27px;text-decoration:none;padding:0;width:44px}
#weekly-dialog label{font-size:12px}
#weekly-dialog input,#weekly-dialog select{font-size:16px;min-width:0}
#weekly-dialog .grid{grid-template-columns:1.1fr 1fr;gap:16px;margin-top:24px}
#weekly-dialog .status{margin:0 0 16px;color:#922d24}
#weekly-dialog .status:empty{display:none}
.save-weekly{width:100%}
.dialog-footnote{text-align:center;font-size:10px;margin:12px 0 0}
@media(max-width:600px){
  .schedule-page h1{font-size:36px;margin-bottom:20px}
  .schedule-toolbar{gap:10px;padding-bottom:16px}
  .schedule-tabs{gap:0}
  .schedule-tabs button{font-size:12px;padding:10px 13px}
  .add-weekly{font-size:11px;padding:10px 12px;gap:5px}
  .add-weekly>span{display:none}
  .schedule-caption{font-size:10px;padding-top:20px}
  .schedule-month{margin-top:20px}
  .schedule-month>h2{font-size:11px}
  .schedule-visit{grid-template-columns:42px 96px minmax(0,1fr) auto;column-gap:14px;row-gap:4px;padding:16px}
  .home-photo{width:96px;height:64px}
  .schedule-date{padding-right:12px}
  .schedule-date strong{font-size:27px}
  .schedule-time{gap:8px;margin-bottom:2px}
  .schedule-time strong{font-size:19px}
  .schedule-time span{font-size:9px;margin:0}
  .schedule-customer h3{font:12px/1.5 Montserrat;margin:0}
  .schedule-customer p{font-size:10px;margin-top:2px}
  .schedule-address{font-size:11px!important}
  .schedule-visit>span:last-child{display:none}
  .schedule-visit .text-button{font-size:10px;padding:4px}
  .weekly-slot{grid-template-columns:62px 80px minmax(0,1fr) auto;gap:10px;padding:16px 14px}
  .weekly-time{white-space:nowrap}
  .weekly-slot .home-photo{width:80px;height:50px}
  .weekly-time{font-size:20px}
  .weekly-customer h3{font-size:20px}
  .weekly-customer p{font-size:10px}
  .weekly-slot .text-button{font-size:10px;padding:4px}
  .weekly-hint,.schedule-help{font-size:10px}
  #weekly-dialog{padding:21px}
  #weekly-dialog .grid{grid-template-columns:1fr;gap:0}
}
@media(max-width:350px){.schedule-tabs button{font-size:11px;padding:10px}.add-weekly{font-size:10px;padding:10px}.schedule-toolbar{gap:7px}.schedule-visit{padding:16px 13px;column-gap:12px}.weekly-slot{gap:8px;padding:16px 12px}.weekly-time{font-size:18px}.weekly-customer h3{font-size:19px}}
.schedule-note{background:#f4f7ef;border-radius:8px;padding:14px 18px;margin:0 0 20px;font-size:13px;line-height:1.55;color:#254431}
.schedule-note p{margin:0}
.weekly-alert{width:min(400px,calc(100vw - 32px));border:1px solid var(--line);border-radius:12px;background:#fff;color:#254431;padding:24px;box-shadow:0 20px 90px #25443125}
.weekly-alert::backdrop{background:#17231ad0}
.weekly-alert h2{font-size:26px;margin:0 0 12px}
.weekly-alert p{font-size:14px;line-height:1.55;margin:0 0 10px}
.weekly-alert p:empty{display:none}
.weekly-alert form{margin:18px 0 0}
.weekly-alert button{width:100%}
/* Readable type, October 2026 (text-size audit), change 12: chef schedule. The picture stays, smaller on phones. */
.add-weekly{font-size:15px}
.schedule-caption,.weekly-hint,.schedule-help{font-size:13px}
.schedule-month>h2{font-size:14px}
.schedule-date span,.schedule-time span{font-size:12px}
.schedule-address{font-size:14px!important}
.schedule-customer p{font-size:13px}
.weekly-customer p{font-size:14px}
.schedule-history>summary{font-size:14px}
.schedule-history>summary span{font-size:13px}
.schedule-feedback button,#weekly-dialog label{font-size:14px}
.dialog-footnote{font-size:12px}
/* Remove becomes a trash icon button; its aria-label already names the visit. */
.schedule-visit .text-button,.weekly-slot .text-button{font-size:0;width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:50%}
.schedule-visit .text-button::before,.weekly-slot .text-button::before{content:'';width:20px;height:20px;background:#64715e;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat}
.schedule-visit .text-button:hover,.weekly-slot .text-button:hover{background:#edf2e8}
@media(max-width:600px){
 .schedule-visit{grid-template-columns:42px 64px minmax(0,1fr) auto}
 .schedule-visit .home-photo{width:64px;height:48px}
 .schedule-tabs button,.add-weekly{font-size:15px}
 .schedule-caption,.weekly-hint,.schedule-help{font-size:13px}
 .schedule-month>h2{font-size:13px}
 .schedule-time span,.schedule-date span{font-size:12px}
 .schedule-customer h3{font-size:16px}
 .schedule-address{font-size:14px!important}
 .schedule-customer p,.weekly-customer p{font-size:13px}
 .schedule-visit .text-button,.weekly-slot .text-button{font-size:0;padding:0}
}
/* Change 12 follow-up: the caption is the only line, so it spans the full width. */
.schedule-caption p{flex:1 1 100%}
/* Bulk changes (note 146) */
/* Schedule changes bar (October 23, 2026): one line under the tabs, compact on phones. */
.schedule-ai{margin:14px 0 0}
.schedule-ai .composer{display:flex;align-items:flex-end;gap:4px;background:#fff;border:1px solid #cedac7;border-radius:8px;padding:4px}
.schedule-ai .composer:focus-within{border-color:#2c5e3b;box-shadow:0 0 0 1px #2c5e3b}
.schedule-ai textarea{min-height:0;height:36px;max-height:50vh;margin:0;padding:8px 40px 8px 10px;border:0;background:none;font-size:16px;line-height:20px;resize:none;outline:none;box-shadow:none}
.schedule-ai textarea::placeholder{color:#7a8874}
.schedule-ai .dictate-multiline>.dictate-mic{top:auto;bottom:2px}
.schedule-ai .composer>button{min-height:36px;height:36px;min-width:58px;padding:0 13px;border-radius:5px;flex-shrink:0}
.schedule-ai .status{color:#922d24;font-size:13px;margin:6px 0 0}
.schedule-ai .status.busy{color:#64715e}
.schedule-ai .status:empty{display:none}
@media(max-width:600px){.schedule-ai{margin-top:10px}}
.bulk-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;color:#254431;padding:24px;box-shadow:0 20px 90px #25443125}
.bulk-dialog::backdrop{background:#17231ad0}
.bulk-dialog p{font-size:14px;line-height:1.55}
.bulk-dialog textarea{min-height:0;font-size:16px}
.bulk-dialog label{font-size:14px;margin:16px 0 0}
.bulk-dialog .field{font-weight:600;margin:18px 0 0}
.bulk-dialog select{font-size:16px}
.bulk-dialog .hint{font-size:13px;color:#64715e;margin:4px 0 0}
.bulk-dialog .status{color:#922d24;margin:10px 0 0}
.bulk-dialog .status:empty{display:none}
.bulk-dialog form>button{width:100%;margin-top:16px}
.bulk-reply{background:#edf2e8;border-radius:8px;padding:12px 14px}
.bulk-list{margin:8px 0 0;padding-left:20px;font-size:14px;line-height:1.55}
.bulk-list li{margin-bottom:8px}
.bulk-one{margin:8px 0 0;font-size:14px;line-height:1.55}
.bulk-blocked{margin-top:14px;background:#fbf4e6;border-radius:8px;padding:12px 14px}
.bulk-blocked h3{font-size:17px;margin:0 0 6px}
.bulk-blocked ul{margin:0;padding-left:18px;font-size:13px;line-height:1.5}
.bulk-actions{display:flex;gap:10px;margin-top:16px}
.bulk-actions button{flex:1}
.bulk-dialog .danger{background:#a3372a;border-color:#a3372a}
.bulk-dialog .cancel-terms{margin:14px 0 0;font-size:13px;color:#64715e}
.bulk-dialog .alert.red{margin-top:12px;background:#fbecea;border:1px solid #efc4bd;color:#7a2a20;border-radius:8px;padding:10px 12px;font-size:13px}
.bulk-dialog .alert.red p{margin:4px 0 0;font-size:13px}
.bulk-dialog .bulk-support{width:100%;min-height:52px;margin-top:14px;font-size:15px}
.bulk-blocked .bulk-support{background:#fff;color:#2c5e3b}
.bulk-blocked .status{margin-top:8px}
.bulk-sent{margin:12px 0 0;font-weight:600}
.bulk-answer p{margin:0 0 10px}
.bulk-sources{display:flex;flex-wrap:wrap;gap:6px 16px;margin:4px 0 0}
#bulk-done{width:100%;margin-top:16px}
.bulk-done{background:#edf2e8;border-radius:8px;padding:14px 18px;margin-top:18px;font-size:14px}
.bulk-done p{margin:0}
.bulk-done ul{margin:8px 0 0;padding-left:20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:560px){.bulk-dialog{padding:20px}.bulk-actions{flex-direction:column-reverse}}
