/* Shared day/time palette for booking, proposals and rescheduling. */
:is(#eis-calendar,.eis-calendar-ui){max-width:620px;width:100%;box-sizing:border-box}
:is(#eis-calendar,.eis-calendar-ui) :is(.eis-cal-day,.cal-grid button,.eis-cal-slots button,.times button){border-radius:8px!important;box-shadow:none!important}
:is(#eis-calendar,.eis-calendar-ui) :is(.eis-cal-day,.cal-grid button,.available):not(:disabled):not(.partial):not(.full-unavailable):not([aria-pressed=true]){background:#faa61a!important;color:#333!important;border:1px solid #faa61a!important}
:is(#eis-calendar,.eis-calendar-ui) :is(button.eis-cal-day.partial, .cal-grid button.partial, .eis-cal-slots button.partial, .times button.partial):not(:disabled){background:#fff1d6!important;color:#74674e!important;border:1px solid #eee4ce!important}
:is(#eis-calendar,.eis-calendar-ui) :is(button.eis-cal-day.full-unavailable,.cal-grid button.full-unavailable,.times button.request,.times button.outside,.times button.past,.eis-cal-slots button.request,.eis-cal-slots button.outside,.eis-cal-slots button.past):not(:disabled),
:is(#eis-calendar,.eis-calendar-ui) :is(.eis-cal-day,.cal-grid button,.eis-cal-slots button,.times button):disabled{background:#f2f2f2!important;color:#969696!important;border:1px solid #eaeaea!important}
:is(#eis-calendar,.eis-calendar-ui) :is(.eis-cal-day,.cal-grid button,.eis-cal-slots button,.times button)[aria-pressed=true]:not(:disabled){background:#29a456!important;color:#fff!important;border:1px solid #238044!important;outline:none!important}
:is(#eis-calendar,.eis-calendar-ui) button:focus-visible{outline:2px solid #238044!important;outline-offset:2px!important}
:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:10px;color:#777}
:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}
:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend i.available{background:#faa61a!important;border-color:#faa61a!important}
:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend i.partial{background:#fff1d6!important;border-color:#eee4ce!important}
:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend i.unavailable{background:#f2f2f2!important;border-color:#eaeaea!important}
:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend i.selected{background:#29a456!important;border-color:#238044!important}
:is(#eis-calendar,.eis-calendar-ui) .eis-cal-day-legend{font-size:10px;line-height:1.5;color:#777;margin:10px 0}
.eis-slot-warning{grid-column:1 / -1;border:1px solid #e6e6e6;background:#fafafa;color:#606060;padding:10px 12px;border-radius:8px;margin-top:12px;font-size:12px;line-height:1.5}
.eis-slot-warning strong{display:block;font-size:12px;font-weight:600;line-height:1.4;color:#444}.eis-slot-warning p{margin:5px 0 0!important;font-size:12px!important;line-height:1.5!important}.eis-slot-warning[hidden]{display:none!important}

:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend span{display:inline-flex;align-items:center;gap:4px}:is(#eis-calendar,.eis-calendar-ui) .eis-cal-legend i{flex:none;border:1px solid transparent;margin:0}

/* Compact time buttons shared by booking, proposals and rescheduling. */
:is(#eis-calendar,.eis-calendar-ui) :is(.eis-cal-slots,.times){gap:6px!important}
:is(#eis-calendar,.eis-calendar-ui) :is(.eis-cal-slots,.times) button{min-height:34px!important;height:34px!important;padding:4px!important;font-size:11px!important;line-height:1.2!important;border-radius:6px!important}
.eis-calendar-ui .times button:last-child.outside{height:auto!important;min-height:34px!important}
@media(max-width:700px){:is(#eis-calendar,.eis-calendar-ui) :is(.eis-cal-slots,.times){grid-template-columns:repeat(4,minmax(0,1fr))!important}}
