#date-calendar{
 box-sizing:border-box;width:min(760px,calc(100% - 24px));max-width:760px;
 height:min(640px,calc(100dvh - 12px));max-height:calc(100dvh - 12px);
 overflow:clip;padding:16px 22px;
 border:1px solid #ffffffbd;border-radius:24px;background:linear-gradient(130deg,#fff,#f5f2f3f0);
 box-shadow:0 25px 90px #0004;backdrop-filter:blur(25px);
}
#date-calendar[open]{display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto auto auto;gap:0}
#date-calendar::backdrop{background:#15131b7a;backdrop-filter:blur(8px)}
.calendar-dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.calendar-dialog-top .eyebrow{font-size:9px;margin:0 0 4px}
.calendar-dialog-top h2{font-size:23px;margin:0 0 10px}
.calendar-dialog-top>button,.guest-calendar-nav button{
 display:grid;place-items:center;flex:none;width:30px;height:30px;padding:0;
 border:1px solid #e2dbde;border-radius:50%;background:#fff;font:22px/1 Arial,sans-serif;
}
.calendar-dialog-top>button{background:#e9e4e6}
.calendar-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.calendar-tabs button{min-width:0;border:1px solid #e2d9dc;background:#fff9;border-radius:9px;padding:7px 3px;font-size:11px}
.calendar-tabs button[aria-pressed=true]{border-color:#bd2946;color:#a1243e;background:#fbecf0}
.calendar-status{margin:6px 0;font-size:11px;line-height:1.3;color:#5e4f57}
.guest-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:8px}
.guest-calendar-nav span{font-size:10px;color:#6d5c66;text-align:center}
.guest-calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;min-height:0}
.guest-calendar-month{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0}
.guest-calendar-month h3{text-align:center;font-size:13px;line-height:1.25;text-transform:capitalize;margin:4px 0 5px}
.guest-days{display:grid;min-height:0;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:16px repeat(6,minmax(0,1fr));gap:2px}
.guest-days .weekday{display:grid;place-items:center;font-size:10px;color:#74666f}
#date-calendar .guest-days button{
 position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;
 min-width:0;min-height:0;overflow:clip;padding:0;border:0;border-radius:7px;
 background:transparent;color:#252127;font-size:12px;line-height:1.1;
}
#date-calendar .guest-days button:hover:not(:disabled){background:#efdde4}
#date-calendar .guest-days button:disabled{opacity:1;color:#90858c;cursor:default}
#date-calendar .guest-days button:is(.is-busy,.is-minimum-gap){text-decoration:line-through;background:#e9e5e785;color:#776b74}
#date-calendar .guest-days button:is(.is-busy,.is-minimum-gap):not(:disabled){border:1px dashed #bd2946}
#date-calendar .guest-days button.in-range{background:#f2dce3;color:#6b283a;border-radius:3px}
#date-calendar .guest-days button.is-selected{background:#b42643;color:#fff;text-decoration:none}
#date-calendar .guest-days button:focus-visible{outline:2px solid #8d2848;outline-offset:-2px}
.calendar-day-price{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.15;letter-spacing:-.03em}
.guest-days .is-selected .calendar-day-price{color:inherit}
.calendar-demand-fire{position:absolute;top:1px;left:1px;width:11px;height:11px;object-fit:contain;pointer-events:none}
#date-calendar .holiday-day-number{text-decoration:underline #a22448 2px;text-underline-offset:2px}
#date-calendar .is-selected .holiday-day-number{color:inherit;text-decoration-color:currentColor}
.guest-calendar-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:3px 12px;margin-top:8px;color:#66555f;font-size:10px}
.guest-calendar-legend i{display:inline-block;width:9px;height:9px;border:1px solid #bbb;border-radius:3px;vertical-align:middle}
.guest-calendar-legend i.selected{background:#b42643;border-color:#b42643}
.calendar-popular-legend{display:inline-flex;align-items:center;gap:4px}
.calendar-popular-legend[hidden]{display:none}
.calendar-popular-legend img{width:12px;height:12px;object-fit:contain}
.calendar-hint{margin:4px 0 6px;text-align:center;font-size:10px;line-height:1.3}
#date-calendar .calendar-dialog-actions{
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;
 margin-top:6px;padding-top:6px;border-top:1px solid #e5d6dc;
}
.calendar-dialog-actions>[data-calendar-retry]{
 min-width:0;padding:3px;border:0;background:transparent;color:#695761;
 text-decoration:underline;font-size:10px;white-space:normal;overflow-wrap:anywhere;
}
#date-calendar .calendar-dialog-actions .button{min-height:42px;padding:6px 12px;border-radius:9px;font-size:12px;line-height:1.25}
#date-calendar [data-calendar-clear]{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;
 padding:6px 10px;border:1px solid #986174;border-radius:9px;background:#f8eaf0;color:#69243e;
 font:600 12px/1.2 system-ui,sans-serif;font-family:inherit;cursor:pointer;
}
#date-calendar [data-calendar-clear] svg{
 flex:none;width:15px;height:15px;fill:none;stroke:currentColor;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
#date-calendar [data-calendar-clear]:hover:not(:disabled){background:#efdae4;border-color:#71384d}
#date-calendar [data-calendar-clear]:disabled{background:#f4eff1;border-color:#d4c7cc;color:#72626b;cursor:default}
#date-calendar [data-calendar-clear]:focus-visible{outline:2px solid #7a324f;outline-offset:-2px}
.availability .date-field input[type=hidden]{display:none}

@media(max-width:680px){
 #date-calendar{padding-inline:12px;border-radius:19px}
 .guest-calendar-months{grid-template-columns:minmax(0,1fr)}
 #date-calendar .calendar-dialog-actions{grid-template-columns:minmax(0,1fr) minmax(0,.75fr) minmax(0,1fr);gap:4px}
 #date-calendar .calendar-dialog-actions .button,#date-calendar [data-calendar-clear]{padding-inline:5px;white-space:normal}
}
@media(max-width:365px){.calendar-day-price{font-size:8px}.calendar-demand-fire{width:9px;height:9px}}
@media(max-height:585px){
 #date-calendar{padding-block:10px}
 .calendar-dialog-top .eyebrow,.calendar-hint{display:none}
 .calendar-dialog-top h2{font-size:19px;margin-bottom:7px}
}
@media(max-height:435px){
 #date-calendar{padding-block:7px;border-radius:14px}
 .calendar-dialog-top h2{font-size:17px;margin-bottom:3px}
 .calendar-dialog-top>button,.guest-calendar-nav button{width:23px;height:23px;font-size:18px}
 .calendar-tabs button{padding-block:3px}
 .calendar-status{font-size:10px;margin:3px 0}
 .guest-calendar-month h3{margin:2px 0;font-size:12px}
 .guest-days{grid-template-rows:12px repeat(6,minmax(0,1fr));gap:1px}
 .guest-days .weekday{font-size:9px}
 #date-calendar .guest-days button{gap:1px;font-size:11px}
 .calendar-day-price{font-size:8px}
 .calendar-demand-fire{width:9px;height:9px}
 .guest-calendar-legend{display:none}
 #date-calendar .calendar-dialog-actions{margin-top:3px;padding-top:3px}
 #date-calendar .calendar-dialog-actions .button,#date-calendar [data-calendar-clear]{min-height:32px;padding-block:4px}
}
@media(max-height:330px){
 .guest-calendar-nav span{visibility:hidden}
 .calendar-day-price{display:none}
}
@media(max-width:680px) and (max-height:330px){
 #date-calendar{padding-block:5px}
 .guest-calendar-nav{position:relative;z-index:1;height:0}
 .guest-calendar-nav span{display:none}
 .guest-calendar-nav button{transform:translateY(11px)}
 .guest-calendar-month h3{padding-inline:25px}
}
