.customer-calendar{margin:20px 0 24px;padding:20px;border:1px solid #e7dec7;border-radius:12px;background:#fffdf7;min-width:0}
.customer-calendar[hidden]{display:none}
.customer-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.customer-calendar-heading h3{font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.3;margin:0;color:var(--navy)}
.customer-calendar-kicker{font-size:10px;letter-spacing:1.4px;font-weight:800;color:var(--red);margin:0 0 4px}
.customer-calendar-live{font-size:10px;font-weight:700;color:#246d3c;white-space:nowrap;display:flex;align-items:center;gap:5px}
.customer-calendar-live:before{content:'';width:6px;height:6px;border-radius:50%;background:#2f8a49}
.customer-calendar-monthbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.customer-calendar-monthbar h4{margin:0;font-family:'Barlow Condensed',Arial,sans-serif;font-size:28px;line-height:1.2;font-weight:800;text-align:center}
.customer-calendar-nav{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;padding:0;border:1px solid #e5c87b;background:#fff3c7;border-radius:8px;color:var(--navy);font-size:23px;cursor:pointer}
.customer-calendar-nav:disabled{background:#f3f2ed;color:#b8b5ad;border-color:#e3e1d9;cursor:default}
.customer-calendar-weekdays,.customer-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.customer-calendar-weekdays{margin-bottom:8px;font-size:11px;font-weight:800;text-align:center;color:var(--navy)}
.customer-calendar-weekdays span:first-child,.customer-calendar-weekdays span:last-child{color:#76828b}
.customer-calendar-day{min-width:0;min-height:66px;padding:7px 1px;border-radius:8px;border:1px solid #a7d1b2;background:#e7f5eb;color:#205e35;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;font-family:'DM Sans',Arial,sans-serif}
.customer-calendar-day strong{font-size:20px;line-height:1.2}.customer-calendar-day span{font-size:9px;font-weight:700;line-height:1.2;white-space:nowrap}
.customer-calendar-day:not(:disabled):hover{background:#d4eedc;border-color:#2f8a49}.customer-calendar-day:focus-visible,.customer-calendar-nav:focus-visible{outline:3px solid var(--navy);outline-offset:2px}
.customer-calendar-day:disabled{opacity:1}
.customer-calendar-day.state-closed,.customer-calendar-day.state-booked{background:#fbd8d5;border-color:#df9c95;color:#a52922;cursor:default}
.customer-calendar-day.state-booked{background:#c92d26;border-color:#a8201b;color:#fff}
.customer-calendar-day.state-weekend,.customer-calendar-day.state-past,.customer-calendar-day.state-future,.customer-calendar-day.state-checking{background:#edf0f2;border-color:#d1d9de;color:#77828b;cursor:default}
.customer-calendar-day.state-past:disabled{opacity:.6}
.customer-calendar-day[aria-current=date] strong{text-decoration:underline;text-underline-offset:4px}
.customer-calendar-day.is-selected,.customer-calendar-day.is-selected:hover{background:var(--yellow);border:2px solid var(--navy);color:var(--navy);padding:6px 0}
.customer-calendar-selected{font-size:12px;font-weight:800;margin:14px 0 10px;color:var(--navy);line-height:1.45}
.customer-calendar-legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:10px;color:#536673;padding-top:12px;border-top:1px solid #e9e2d2}
.customer-calendar-legend span{display:flex;align-items:center;gap:5px}.customer-calendar-legend i{display:block;width:9px;height:9px;border-radius:3px;border:1px solid #9bc8a5;background:#e7f5eb}
.customer-calendar-legend .legend-red{background:#ffe5e3;border-color:#eab1ab}.customer-calendar-legend .legend-gray{background:#edf0f2;border-color:#d1d9de}.customer-calendar-legend .legend-yellow{background:var(--yellow);border-color:#dcb44a}
.customer-calendar-note{font-size:11px;line-height:1.5;color:#5c6f7b;margin:12px 0 0}.customer-calendar-retry{margin-top:10px;border:0;background:var(--red);color:white;padding:10px 14px;border-radius:6px;font-weight:700;cursor:pointer}
@media(max-width:450px){.customer-calendar{padding:14px 10px;margin-top:16px}.customer-calendar-heading h3{font-size:14px}.customer-calendar-live{font-size:9px}.customer-calendar-monthbar h4{font-size:26px}.customer-calendar-weekdays,.customer-calendar-grid{gap:4px}.customer-calendar-day{min-height:58px;border-radius:6px}.customer-calendar-day strong{font-size:18px}.customer-calendar-day span{font-size:8px}.customer-calendar-weekdays{font-size:10px}.customer-calendar-legend{font-size:9px;gap:8px 10px}}
@media(max-width:350px){.customer-calendar-live{display:none}.customer-calendar{padding:12px 7px}.customer-calendar-weekdays,.customer-calendar-grid{gap:3px}.customer-calendar-day span{font-size:7px}.customer-calendar-day{min-height:54px}.customer-calendar-day strong{font-size:17px}}
.customer-time-picker{margin:-8px 0 24px;padding:16px;background:#fff8dc;border:1px solid #e8d895;border-radius:10px}.customer-time-picker h3{font:800 13px 'DM Sans',Arial;margin:0 0 7px}.customer-time-picker p{font-size:12px;line-height:1.5;margin:0 0 12px;color:var(--navy)}.customer-time-picker button{font:700 12px 'DM Sans',Arial;background:var(--navy);color:#fff;min-height:44px;border:0;border-radius:7px;padding:10px 14px;cursor:pointer}.customer-time-picker button:disabled{opacity:1;background:#e8e9e5;color:#6f7981;cursor:default}
#service-time-dialog{width:min(440px,calc(100vw - 28px));max-height:90dvh;overflow:auto;background:#fffdf7;border:1px solid #e7dec7;border-top:5px solid var(--yellow);border-radius:16px;padding:26px;color:var(--navy);box-shadow:0 24px 70px #11294030}#service-time-dialog::backdrop{background:#11294090}#service-time-dialog h2{font-size:38px;margin:8px 0 13px}#service-time-dialog .time-date{font-size:14px;font-weight:800;margin:0 0 18px;color:var(--navy);padding:12px;background:#fff1b4;border-radius:8px}#service-time-dialog .time-close{float:right;width:44px;height:44px;border:1px solid #d8dedc;border-radius:8px;background:#fff;color:var(--navy);font-size:24px;cursor:pointer}#service-time-dialog .time-kicker{color:var(--red-text);font-size:10px;font-weight:800;letter-spacing:1.5px;padding-top:12px}#service-time-dialog .time-options{display:grid;gap:10px}#service-time-dialog .time-choice{display:flex;align-items:center;gap:14px;min-height:69px;width:100%;padding:14px;border:1px solid #a7d1b2;border-radius:9px;background:#e7f5eb;color:#205e35;text-align:left;cursor:pointer}#service-time-dialog .time-choice::before{content:'';height:19px;width:19px;border:2px solid #489460;border-radius:50%;flex-shrink:0}#service-time-dialog .time-choice[aria-pressed=true]{background:var(--yellow);border:2px solid var(--navy);color:var(--navy)}#service-time-dialog .time-choice[aria-pressed=true]::before{border-color:var(--navy);background:var(--navy);box-shadow:inset 0 0 0 3px var(--yellow)}#service-time-dialog .time-choice strong{display:block;font-size:16px}#service-time-dialog .time-choice small{display:block;font-size:11px;font-weight:400;margin-top:3px}#service-time-dialog .time-note{font-size:11px;line-height:1.6;margin:18px 0 0;color:var(--muted)}
@media(max-width:350px){#service-time-dialog{padding:19px}#service-time-dialog h2{font-size:31px}#service-time-dialog .time-date{font-size:12px}.customer-time-picker{padding:13px}}
/* A saved request has a clear receipt, while appointment confirmation stays explicit. */
#appointment-result.success{display:grid;grid-template-columns:56px minmax(0,1fr);gap:5px 14px;margin-top:20px;padding:22px;background:#eaf7ee;border:2px solid #21834a;border-radius:12px;color:#174e2d;font-family:'DM Sans',Arial,sans-serif;line-height:1.5;overflow-wrap:anywhere}
.request-success-icon{grid-column:1;grid-row:1/4;width:56px;height:56px;max-width:none}.request-success-title{grid-column:2;font-size:20px;line-height:1.3;color:#174e2d}.request-success-reference{grid-column:2;font-size:12px;font-weight:800;color:#205d37}.request-success-when{grid-column:2;font-size:13px;color:#205d37}.request-success-note{grid-column:1/-1;border-top:1px solid #acd4b7;padding-top:12px;margin-top:8px;font-size:12px;font-weight:500;color:#27583b}
#submit-appointment.is-received,#submit-appointment.is-received:disabled{background:#21834a;color:#fff;opacity:1;cursor:default;transform:none}
@media(max-width:450px){#appointment-result.success{padding:17px 14px;grid-template-columns:46px minmax(0,1fr);gap:5px 10px}.request-success-icon{width:46px;height:46px}.request-success-title{font-size:18px}.request-success-reference{font-size:11px}.request-success-when{font-size:12px}}
