.be-room-tools { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.be-room-tools button { display:inline-flex; align-items:center; gap:7px; padding:9px 12px; border:1px solid #cbded6; border-radius:9px; background:#f2f8f5; color:#176746; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.be-room-tools button:hover { background:#e3f2e9; border-color:#168a5a; }
.be-room-tools button:focus-visible,.be-room-dialog button:focus-visible,.be-room-dialog input:focus-visible { outline:3px solid #eaaa45; outline-offset:3px; }
body.be-room-dialog-open { overflow:hidden; }
.be-room-dialog { width:min(1040px,calc(100% - 32px)); max-height:calc(100dvh - 40px); margin:auto; padding:28px; overflow:auto; border:1px solid #d8e4de; border-radius:20px; color:#172e3f; background:#fff; box-shadow:0 24px 80px #0f263540; font:inherit; }
.be-room-dialog::backdrop { background:#0f263577; }
.be-room-dialog [hidden] { display:none!important; }
.be-room-dialog-heading { display:flex; gap:24px; justify-content:space-between; align-items:flex-start; margin-bottom:16px; }
.be-room-dialog-heading h2 { font-size:22px; line-height:1.4; margin:0; color:#172e3f; }
.be-room-dialog button { cursor:pointer; font:inherit; color:inherit; }
.be-room-dialog-heading button { flex:none; border:0; background:#edf4f0; border-radius:50%; width:36px; height:36px; font-size:26px; line-height:1; }
.be-room-dialog p { font-size:14px; line-height:1.65; margin:12px 0; color:#506173; }
.be-calendar-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:20px 0; }
.be-calendar-toolbar button,.be-room-dialog [data-room-retry] { border:1px solid #cbded6; background:#f2f8f5; border-radius:8px; padding:8px 14px; }
.be-calendar-toolbar label { display:flex; gap:8px; align-items:center; font-size:14px; }
.be-calendar-toolbar input { border:1px solid #cbded6; border-radius:8px; padding:8px; background:white; color:#172e3f; max-width:180px; }
.be-calendar-legend { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; font-size:12px; }
.be-calendar-legend span { border-radius:5px; padding:5px 9px; }
.be-calendar-months { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.be-calendar { width:100%; border-collapse:separate; border-spacing:3px; table-layout:fixed; }
.be-calendar caption { caption-side:top; color:#172e3f; font-size:17px; font-weight:750; padding:10px 0; }
.be-calendar th { text-align:center; font-size:12px; font-weight:600; padding:8px 0; }
.be-calendar td { padding:0; vertical-align:top; }
.be-calendar-day { width:100%; min-height:57px; padding:7px 1px; border:1px solid transparent; border-radius:8px; display:flex; flex-direction:column; align-items:center; gap:2px; }
.be-calendar-day strong { font-size:15px; }
.be-calendar-day small { font-size:10px; line-height:1.2; white-space:normal; }
.be-calendar-day.is-searched strong { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
.be-calendar-day[aria-pressed=true] { outline:2px solid #172e3f; outline-offset:0; }
.be-calendar-day[aria-current=date] { border-color:currentColor; }
.be-room-dialog .is-available { background:#e7f5ed; color:#176746; }
.be-room-dialog .is-closed { background:#fbeaea; color:#a13333; }
.be-room-dialog .is-restricted { background:#fff4d9; color:#835615; }
.be-room-dialog .is-unknown { background:#eff2f5; color:#677689; }
.be-room-detail-note { background:#f2f6f8; border-radius:10px; padding:14px; }
.be-room-table-scroll { overflow:auto; max-width:100%; border:1px solid #dce5e0; border-radius:10px; }
.be-room-table { width:100%; border-collapse:collapse; font-size:14px; }
.be-room-table th,.be-room-table td { padding:12px 14px; text-align:left; border-bottom:1px solid #e7eeea; }
.be-room-table th { background:#f1f7f4; color:#295242; font-weight:700; }
.be-room-table td:not(:first-child) { font-variant-numeric:tabular-nums; white-space:nowrap; }
.be-room-table tbody tr:last-child td { border-bottom:0; }
.be-room-table tfoot td { font-weight:750; background:#edf6f1; }
.be-room-table.is-money td:last-child,.be-room-table.is-money th:last-child { text-align:right; }
@media(max-width:700px) {
    .be-room-dialog { padding:18px; width:calc(100% - 20px); max-height:calc(100dvh - 20px); border-radius:14px; }
    .be-room-dialog-heading h2 { font-size:18px; }
    .be-calendar-months { grid-template-columns:1fr; gap:12px; }
    .be-room-tools { gap:6px; }
    .be-room-tools button { flex:1 1 auto; justify-content:center; }
    .be-room-table th,.be-room-table td { padding:10px; font-size:13px; }
}
