.availability-dialog { width: min(900px, calc(100% - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 18px; padding: 0; box-shadow: 0 30px 90px rgba(12,35,28,.35); }
.availability-calendar { padding: clamp(20px,4vw,36px); display: grid; gap: 16px; }
.calendar-head { display: flex; justify-content: space-between; gap: 20px; position: relative; }
.calendar-head h2 { font: clamp(27px,4vw,38px) Georgia,serif; margin: 4px 0 0; }
.calendar-head .dialog-close { position: static; }
.month-nav button { border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); padding: 8px 13px; font-weight: 800; cursor: pointer; }
.calendar-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(220px,.8fr); gap: 24px; }
.month-nav { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; text-align: center; margin-bottom: 10px; }
.month-nav button { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; font-size: 16px; line-height: 1; }
.calendar-weekdays,.calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; }
.calendar-weekdays span { text-align: center; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.calendar-day { min-height: 52px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-weight: 800; cursor: pointer; }
.calendar-day.outside { visibility: hidden; }
.calendar-day.unavailable,.calendar-day:disabled { background: #f1f1ef; color: #a5aaa7; border-color: #e5e5e2; cursor: not-allowed; }
.calendar-day.selected { background: var(--green); color: white; border-color: var(--green); }
.calendar-times { border-left: 1px solid var(--line); padding-left: 22px; }
.calendar-times h3 { margin-top: 0; }
.calendar-times [data-calendar-times] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 330px; overflow: auto; }
.calendar-time { border: 1px solid var(--line); border-radius: 9px; background: white; padding: 10px 8px; color: var(--ink); font-weight: 800; cursor: pointer; }
.calendar-time.unavailable { background: #f1f1ef; color: #a5aaa7; cursor: not-allowed; }
.calendar-status { margin: 0; color: var(--muted); }
@media(max-width:700px){.calendar-layout{grid-template-columns:1fr}.calendar-times{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.calendar-day{min-height:44px}}
