/* Keep the original theme. Every day has a full border. */
.calendar .day{border:1px solid var(--line);box-sizing:border-box}
.calendar .day.blank{border:1px solid transparent}
.selectable-slot{padding-left:20px!important;position:relative}
.selectable-slot::before{content:'□';position:absolute;left:4px;top:6px}
.selectable-slot[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--green)}
.selectable-slot[aria-pressed=true]::before{content:'✓'}
.selection-tools>b{min-width:90px;font-variant-numeric:tabular-nums}
.mobile-day-count,.mobile-day-slots{display:none}
button:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}
@media(max-width:600px){
 html{overflow-x:hidden}main{padding:14px 10px}.intro h1{font-size:27px}header{padding:12px 14px;gap:10px}header>small{display:none}header label{font-size:12px}.card{padding:12px;min-width:0}.layout{min-width:0}.toolbar{gap:8px}.toolbar h2{font-size:23px}.toolbar>div{display:flex;flex-wrap:wrap;gap:5px}.toolbar button{padding:9px 11px}nav{gap:4px}nav>button{padding:10px 9px}
 .calendar{width:100%;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar .day{min-height:66px;padding:3px;border-radius:6px;cursor:pointer}.calendar .day.selected-calendar-day{border:2px solid var(--green);padding:2px;background:#eef4ec}.calendar .slot{display:none}.calendar .day-add{font-size:13px;min-height:29px;padding:3px;touch-action:manipulation}.calendar .day-add span{display:none}.calendar .date{font-size:13px;padding:3px}.mobile-day-count{display:block;font-size:10px;color:var(--muted);padding:2px 3px;pointer-events:none}.weekday{font-size:11px;padding:7px 0}.legend{display:none}
 .mobile-day-slots{display:block;margin-top:18px;border-top:1px solid var(--line);padding-top:14px;min-height:180px}.mobile-day-slots h3{font:600 15px system-ui;margin:0}.mobile-slot-list .slot{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:12px;font-size:14px;border-radius:8px}.mobile-slot-list .selectable-slot{padding-left:30px!important}.mobile-slot-list .selectable-slot::before{left:9px;top:20px}.mobile-slot-list .slot>span:last-child{text-align:right}.selection-tools{gap:6px!important;align-items:center!important}.selection-tools button{min-height:40px;padding:8px 10px;font-size:12px}.selection-tools>small{display:none}.form{grid-template-columns:minmax(0,1fr)}input,select,textarea{max-width:100%;box-sizing:border-box;font-size:16px}dialog{max-height:85dvh;overflow:auto;width:calc(100% - 24px);box-sizing:border-box;padding:20px}#roomSwitcher{padding:12px!important}#roomSwitcher label{min-width:0!important;width:100%}#toast{max-width:calc(100vw - 24px);box-sizing:border-box;width:max-content;font-size:13px}
}
/* Selected bookings must be distinct from availability and renter colours. */
.slot.selectable-slot{padding-left:26px!important}
.slot.selectable-slot::before{content:'';box-sizing:border-box;width:15px;height:15px;position:absolute;left:6px;top:50%;transform:translateY(-50%);border:2px solid #687b75;border-radius:4px;background:#fff}
.slot.selectable-slot[aria-pressed=true]{background:#164b3d!important;color:#fff!important;box-shadow:inset 0 0 0 3px #092e24;font-weight:600}
.slot.selectable-slot[aria-pressed=true] small{color:#fff}
.slot.selectable-slot[aria-pressed=true]::before{content:'✓';display:grid;place-items:center;background:#fff;border-color:#fff;color:#164b3d;font:bold 12px/1 system-ui}
.selection-count{display:inline-block;box-sizing:border-box;border-radius:8px;padding:8px 10px;background:#edf1ee;color:var(--ink);min-width:108px!important}
.selection-count[data-has-selection=true]{background:#164b3d;color:#fff}
@media(max-width:600px){
 .calendar .day.selected-calendar-day{border:2px solid #164b3d;box-shadow:inset 0 0 0 1px #164b3d;background:#e4efe8}
 .calendar .day.has-selected-slots{background:#cce6d5;border-color:#164b3d}
 .calendar .day.has-selected-slots .mobile-day-count{font-weight:700;color:#123e31}
 .mobile-slot-list .slot.selectable-slot{padding-left:42px!important}
 .mobile-slot-list .slot.selectable-slot::before{width:22px;height:22px;left:10px;top:50%;font-size:17px}
}
.calendar .day.has-selected-slots{border-color:#164b3d;background:#e4efe8}
