/* Internal rooms: month grid on wide screens, readable day rows on small screens. */
.occupancy-page .occupancy-main{width:calc(100% - 64px)!important;max-width:1680px!important;margin:auto;padding:48px 0 64px!important}
.occupancy-page .occupancy-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:0;padding:0 0 36px;border:0}
.occupancy-head h1{margin:0;font-size:clamp(2rem,3.8vw,3.5rem);line-height:1.1;font-weight:750}
.occupancy-head p{max-width:65ch;margin:16px 0 0;color:var(--journey-muted);line-height:1.6}
.occupancy-head>.primary-button{flex:none}
.occupancy-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-top:1px solid var(--journey-line);scroll-margin-top:110px}
.occupancy-page .month-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none;position:static}
.month-toolbar h2{margin:0;font-size:1.5rem;font-weight:650;letter-spacing:-.02em}
.month-toolbar nav{display:flex;gap:6px}
.month-toolbar nav>a,.month-nav-disabled{display:grid;width:44px;height:44px;place-items:center;border:1px solid var(--journey-line);border-radius:8px;background:#fff;color:var(--journey-ink)}
.month-toolbar nav>a:hover{border-color:var(--journey-ink);background:#eeebe5}
.month-nav-disabled{background:transparent;color:#aaa69e}
.occupancy-current{display:inline-flex;align-items:center;min-height:44px;font-size:.85rem;color:var(--journey-red);text-underline-offset:4px}
.occupancy-legend{display:flex;flex-wrap:wrap;gap:18px}
.occupancy-legend span{display:flex;align-items:center;gap:7px;font-size:.85rem;color:var(--journey-muted)}
.occupancy-legend i{width:8px;height:8px;border-radius:50%;background:#2e7056}
.occupancy-legend .reserved i{background:#926913}.occupancy-legend .busy i{background:#98534b}
.occupancy-page .occupancy-calendar{overflow:hidden;border:1px solid var(--journey-line)!important;border-radius:12px!important;background:var(--journey-line)!important;box-shadow:none!important;backdrop-filter:none}
.weekday-row,.occupancy-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px}
.weekday-row span{padding:14px;color:var(--journey-muted);background:#f1ede6;font-size:.82rem;font-weight:650}
.occupancy-page .occupancy-day{min-width:0;padding:14px 10px;background:#fff!important}
.occupancy-page .occupancy-day.outside{background:#f1ede6!important}
.occupancy-day>header{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.occupancy-day>header>span{display:none}
.occupancy-day time{display:grid;place-items:center;width:30px;height:30px;font-size:1rem;font-weight:650;font-variant-numeric:tabular-nums}
.occupancy-day.today time{border-radius:50%;background:var(--journey-red);color:#fff}
.occupancy-day>header small{font-size:.72rem;color:var(--journey-red)}
.occupancy-day.past time{color:var(--journey-muted)}
.room-statuses{display:grid;gap:6px}
.occupancy-page .room-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 8px;min-width:0;min-height:48px;padding:9px 10px;border:1px solid transparent;border-radius:6px;background:#eff6f1;color:#285e49;line-height:1.35}
.room-status>span{font-size:.82rem;font-weight:600;overflow-wrap:anywhere}
.room-status>strong{font-size:.75rem;font-weight:500;white-space:nowrap}
.occupancy-page .room-status.reserved{background:#faf3e3;color:#785512}
.occupancy-page .room-status.busy{background:#f5ece9;color:#81473f}
.occupancy-page a.room-status.free{border-color:#c7dbcf}
.occupancy-page a.room-status.free:hover{background:#e3f0e8;border-color:#2e7056}
.occupancy-page a.room-status.free strong{text-decoration:underline;text-underline-offset:3px}
.occupancy-day.past .room-status{background:transparent!important;border-color:var(--journey-line);color:var(--journey-muted)}
.occupancy-note{margin:20px 0 0;max-width:75ch;font-size:.85rem;line-height:1.6;color:var(--journey-muted)}
.occupancy-list-note{display:none}
@media(max-width:1100px){
 .occupancy-page .occupancy-main{width:calc(100% - 48px)!important}
 .occupancy-head{align-items:start!important;flex-direction:column;gap:20px!important}
 .occupancy-controls{flex-wrap:wrap;gap:14px}
 .weekday-row{display:none}.occupancy-grid{grid-template-columns:1fr}
 .occupancy-page .occupancy-day{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:12px 16px}
 .occupancy-day.outside,.occupancy-day.past{display:none!important}
 .occupancy-list-note{display:block;margin:0 0 14px;color:var(--journey-muted);font-size:.82rem}
 .occupancy-day>header{display:flex;flex-direction:column;justify-content:center;gap:1px;margin:0}
 .occupancy-day>header>span{display:block;font-size:.75rem;color:var(--journey-muted)}
 .room-statuses{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .occupancy-page .room-status{min-height:52px}
}
@media(max-width:640px){
 .occupancy-page .occupancy-main{width:calc(100% - 36px)!important;padding:28px 0 40px!important}
 .occupancy-head h1{font-size:2rem}.occupancy-head p{font-size:.94rem;margin-top:12px}
 .occupancy-page .occupancy-head{padding-bottom:26px;gap:16px!important}
 .occupancy-controls{padding:18px 0;scroll-margin-top:14px}
 .occupancy-page .month-toolbar{width:100%;gap:10px}
 .month-toolbar h2{font-size:1.28rem;flex:1}.month-toolbar nav{margin-left:auto}
 .occupancy-current{flex-basis:100%;min-height:44px}
 .occupancy-legend{gap:18px}.occupancy-legend span{font-size:.78rem}
 .occupancy-page .occupancy-day{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:12px}
 .room-statuses{grid-template-columns:minmax(0,1fr);gap:5px}
 .occupancy-page .room-status{min-height:44px;padding:8px 10px;flex-wrap:nowrap}
 .room-status>span{font-size:.83rem}.room-status>strong{font-size:.75rem}
 .occupancy-note{font-size:.8rem}
}
