.side-content.tt-av-panel-content { padding: 0; }
.tt-availability-calendar { margin: 0; font-family: var(--tt-font-sans, 'Source Sans 3', Helvetica, Arial, sans-serif); color: #2c343f; background: #fff; min-height: 100%; }
.tt-availability-calendar > .stickyhead { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 0 10px 0 15px; min-height: 38px; background: #1b3f8b; color: #fff; }
.tt-availability-calendar .closepanel { border: 0; color: #fff; background: transparent; position: static; }
.tt-av-person { padding: 14px 20px; background: #edf6fd; color: #1b3f8b; font-size: 18px; font-weight: 600; text-align: center; }
.tt-av-content { padding: 20px; max-width: 720px; margin: auto; }
.tt-av-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.tt-av-navigation h3 { margin: 0; padding: 0 !important; font-family: inherit; font-size: 23px; color: #1b3f8b; font-weight: 600; text-align: center; }
.tt-av-navigation .btn { min-width: 42px; min-height: 34px; }
.tt-av-legend { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.tt-av-key { padding: 4px 9px; border: 1px solid #ddd; border-radius: 2px; background: #f5f5f5; font-size: 13px; }
.tt-availability-calendar .tt-av-key:not(.is-available):not(.is-unavailable) { color: #2c343f; }
.tt-av-key.is-available, .tt-av-day.is-available { background: #20aa11; color: #fff; border-color: #20aa11; }
.tt-av-key.is-unavailable, .tt-av-day.is-unavailable { background: #c54736; color: #fff; border-color: #c54736; }
.tt-av-help { margin: 14px 0 18px; color: #646464; text-align: center; font-size: 14px; line-height: 1.5; }
.tt-av-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.tt-av-weekday { text-align: center; padding: 5px 0; font-size: 13px; font-weight: 600; color: #646464; }
.tt-av-day { --tt-av-day-padding-y: 10px; position: relative; min-height: 68px; padding: var(--tt-av-day-padding-y) 4px; border: 1px solid #ddd; border-radius: 2px; background: #f9f9f9; color: #2c343f; font: inherit; cursor: pointer; text-align: center; }
.tt-av-day:hover:enabled { filter: brightness(.95); }
.tt-av-day:focus-visible { outline: 3px solid #23a9fb; outline-offset: 1px; }
.tt-av-date-number { font-size: 22px; line-height: 1.2; }
.tt-av-state-icon { display: block; height: 18px; font-size: 16px; line-height: 18px; }
.tt-av-overnight-icon { position: absolute; top: 5px; right: 5px; font-size: 11px; }
.tt-av-day.is-focused-date {
    border: 0;
    border-bottom: 5px solid #1b3f8b;
    border-radius: 2px 2px 0 0;
    box-shadow: none;
    padding-top: calc(var(--tt-av-day-padding-y) + 1px);
    padding-bottom: calc(var(--tt-av-day-padding-y) - 4px);
}
.tt-av-day.is-changed::after { content: ''; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tt-av-day[aria-current="date"] .tt-av-date-number { text-decoration: underline; text-underline-offset: 4px; }
.tt-av-day:disabled { cursor: default; opacity: .55; }
.tt-av-calendar-loading { grid-column: 1 / -1; margin: 20px 0; padding: 50px 0; text-align: center; font-size: 15px; }
.tt-av-message { min-height: 24px; margin-top: 18px; font-size: 14px; color: #16760c; line-height: 1.5; }
.tt-av-message.is-error { color: #c54736; }
.tt-av-footer { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; border-top: 1px solid #e9e9e9; background: #fff; }
.tt-av-changes { font-size: 14px; color: #646464; }
.tt-av-save-actions { display: flex; flex: 0 0 auto; gap: 5px; }
.tt-av-save { min-width: 100px; }
body.darkSide .tt-availability-calendar, body.darkSide .tt-av-footer { background: #1a222c; color: #f3f6f9; }
body.darkSide .tt-av-person { background: #223b56; color: #fff; }
body.darkSide .tt-av-month, body.darkSide .tt-av-changes, body.darkSide .tt-av-help, body.darkSide .tt-av-weekday { color: #dce8f3; }
@media (max-width: 480px) { .tt-av-content { padding: 15px 10px; } .tt-av-days { gap: 3px; } .tt-av-day { --tt-av-day-padding-y: 7px; min-height: 57px; padding: var(--tt-av-day-padding-y) 2px; } .tt-av-date-number { font-size: 20px; } .tt-av-footer { padding: 12px; flex-wrap: wrap; gap: 8px; } .tt-av-save-actions { margin-left: auto; } }
