.showroom-calendar {margin-top:28px;background:#fff;border:1px solid #e2e5e8;padding:28px;color:#181b1f;border-radius:4px}
.showroom-calendar[hidden] {display:none}
.showroom-calendar-heading {display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.showroom-calendar-heading p {font-size:11px;letter-spacing:.14em;color:#6d7784;font-weight:700;margin:0 0 8px}
.showroom-calendar-heading h3 {font-size:25px;letter-spacing:-.04em;margin:0 0 10px}
.showroom-calendar-heading span {font-size:12px;color:#6d7784;line-height:1.8}
.showroom-calendar-heading nav {display:flex;align-items:center;gap:8px;flex-shrink:0}
.showroom-calendar-heading nav strong {font-size:18px;min-width:116px;text-align:center}
.showroom-calendar button {font:inherit;cursor:pointer}
.showroom-calendar-heading button,.showroom-calendar [data-showroom-calendar-retry] {padding:9px 12px;background:#fff;border:1px solid #d8dfe5;border-radius:3px;color:#343d46}
.showroom-calendar button:focus-visible,.showroom-calendar-scroll:focus-visible {outline:3px solid #176db7;outline-offset:2px}
.showroom-calendar-legend {display:flex;flex-wrap:wrap;gap:10px 24px;margin:22px 0 14px;font-size:12px;color:#69737d;line-height:1.7}
.showroom-calendar-legend i {display:inline-block;width:10px;height:10px;background:#ed681b;margin-right:6px;border-radius:2px}
.showroom-calendar-message {font-size:13px;line-height:1.7;color:#59646e;margin:8px 0}
.showroom-calendar-message:empty {display:none}
.showroom-calendar-scroll {overflow-x:auto;margin-top:14px}
.showroom-calendar-weekdays,.showroom-calendar-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:735px}
.showroom-calendar-weekdays {background:#f5f6f7;border:1px solid #e2e5e8;border-bottom:0;font-size:12px;font-weight:700;text-align:center}
.showroom-calendar-weekdays span {padding:12px 6px}
.showroom-calendar-weekdays span:first-child {color:#c34336}
.showroom-calendar-weekdays span:last-child {color:#3572a5}
.showroom-calendar-grid {border-left:1px solid #e2e5e8;border-top:1px solid #e2e5e8}
.showroom-calendar-day {padding:10px 7px;border-bottom:1px solid #e2e5e8;border-right:1px solid #e2e5e8;min-width:0;background:#fff}
.showroom-calendar-day.is-outside {background:#f8f9fa}
.showroom-calendar-day.is-today {background:#fffaf3}
.showroom-calendar-date {display:flex;align-items:center;gap:6px;height:23px;margin-bottom:9px;font-weight:700;font-size:13px}
.showroom-calendar-date span {font-size:10px;color:#c45210;font-weight:500}
.showroom-calendar-slots {display:grid;gap:5px}
.showroom-calendar-slot {width:100%;text-align:left;border:1px solid #e8ebed;background:#f8f9fa;color:#8a939a;min-height:63px;padding:7px 6px;border-radius:3px;display:flex;flex-direction:column;gap:3px;box-sizing:border-box;overflow-wrap:anywhere}
.showroom-calendar-slot strong {font-size:10px;letter-spacing:-.03em;line-height:1.4;white-space:nowrap}
.showroom-calendar-slot span {font-size:11px;line-height:1.4}
.showroom-calendar-slot small {font-size:10px;line-height:1.4}
.showroom-calendar-slot.is-booked {background:#ed681b;color:#fff;border-color:#ed681b}
.showroom-calendar-slot.is-booked:hover {background:#d9540c;border-color:#d9540c}
.showroom-calendar-summary {font-size:12px;color:#6d7784;margin-top:17px}
@media(max-width:700px) {.showroom-calendar {padding:20px 14px}.showroom-calendar-heading {gap:16px}.showroom-calendar-heading h3 {font-size:23px}.showroom-calendar-heading nav {width:100%}.showroom-calendar-heading nav strong {flex:1}.showroom-calendar-heading span {font-size:11px}}

.showroom-calendar-booking-group{display:grid;gap:5px;min-width:0}.showroom-calendar-booking-group .showroom-calendar-slot{width:100%}
.showroom-calendar-slot[draggable="true"]{cursor:grab}.showroom-calendar-slot.is-dragging{opacity:.45;cursor:grabbing}
.showroom-calendar-day.is-drop-target{background:#fff0df;box-shadow:inset 0 0 0 3px #ed681b}
.showroom-calendar-move-hint{font-size:12px;color:#69737d;line-height:1.7;margin:14px 0 0}
.showroom-calendar .showroom-reschedule-dialog{border:1px solid #d8dfe5;border-radius:8px;padding:28px;max-width:480px;width:calc(100% - 40px);box-sizing:border-box;color:#181b1f;box-shadow:0 20px 70px #0003}
.showroom-reschedule-dialog::backdrop{background:#17202b80}
.showroom-reschedule-dialog h3{font-size:23px;margin:0 0 20px;letter-spacing:-.04em}
.showroom-reschedule-dialog p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.showroom-reschedule-dialog label{display:grid;gap:8px;font-size:14px;margin-top:18px}
.showroom-reschedule-dialog input{font:inherit;padding:12px;border:1px solid #aab3bc;border-radius:4px;min-width:0;width:100%;box-sizing:border-box}
.showroom-reschedule-dialog .showroom-reschedule-note{font-size:13px;color:#69737d}
.showroom-reschedule-dialog [role="alert"]{color:#b33220}
.showroom-reschedule-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.showroom-reschedule-actions button{padding:12px 16px;border:1px solid #d8dfe5;background:#fff;border-radius:4px;color:#343d46}
.showroom-reschedule-actions [type="submit"]{background:#1476c4;border-color:#1476c4;color:#fff}
.showroom-reschedule-dialog :disabled{opacity:.55;cursor:wait}

/* Completed showroom visits stay available for detail and authorized rescheduling. */
.showroom-calendar-slot.is-booked.is-completed{background:#6b7280;color:#fff;border-color:#6b7280}
.showroom-calendar-slot.is-booked.is-completed:hover{background:#585f6b;border-color:#585f6b}
.showroom-calendar-legend i.is-completed{background:#6b7280}
