.rbs-app, .rbs-auth-wrap { font-family: -apple-system, "Segoe UI", "Noto Sans Thai", sans-serif; background: #FAF6EC; color: #2A3B33; padding: 20px; border-radius: 14px; max-width: 900px; margin: 0 auto; box-sizing: border-box; }
.rbs-app *, .rbs-auth-wrap * { box-sizing: border-box; }
.rbs-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; border-bottom: 1px solid #E3DCC9; padding-bottom: 16px; }
.rbs-header-right { display: flex; align-items: center; gap: 10px; }
.rbs-title { font-weight: 600; font-size: 24px; margin: 0; }
.rbs-subtitle { margin: 6px 0 0; font-size: 13.5px; color: #5B6B62; }
.rbs-user-chip { font-size: 13px; color: #5B6B62; }
.rbs-role-tag { margin-left: 7px; background: #F3E4D8; color: #5C3620; border-radius: 999px; font-size: 10.5px; padding: 2px 7px; font-weight: 600; }
.rbs-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.rbs-tab-btn { background: #FBF8F1; border: 1px solid #E3DCC9; border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: #5B6B62; cursor: pointer; }
.rbs-tab-btn.active { background: #2A3B33; color: #FAF6EC; border-color: #2A3B33; }
.rbs-toast { font-size: 13.5px; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-weight: 500; }
.rbs-toast.ok { background: #E7EFE5; color: #33472F; }
.rbs-toast.err { background: #F6E3DF; color: #7A3324; }
.rbs-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; }
.rbs-room-list { display: flex; flex-direction: column; gap: 8px; }
.rbs-room-card { position: relative; display: flex; align-items: center; gap: 10px; border-radius: 10px; border: 1px solid #E3DCC9; padding: 10px 12px; text-align: left; background: #FBF8F1; cursor: pointer; width: 100%; }
.rbs-room-card.active { border-color: #A6603F; background: #FFFDF8; }
.rbs-room-bar { width: 4px; align-self: stretch; border-radius: 3px; min-height: 34px; background: #A6603F; }
.rbs-room-name { font-size: 13.5px; font-weight: 500; flex: 1; color: #1F2A24; }
.rbs-room-cap {
	position: absolute; left: 100%; top: 50%; margin-left: 8px;
	transform: translateY(-50%) translateX(-4px);
	background: #2A3B33; color: #FAF6EC; padding: 5px 10px; border-radius: 6px;
	font-size: 11.5px; white-space: nowrap; opacity: 0; pointer-events: none;
	transition: opacity .15s ease, transform .15s ease; z-index: 5;
}
.rbs-room-card:hover .rbs-room-cap,
.rbs-room-card:focus-visible .rbs-room-cap { opacity: 1; transform: translateY(-50%) translateX(0); }
.rbs-main-col { display: flex; flex-direction: column; gap: 16px; }
.rbs-panel { background: #FFFDF8; border: 1px solid #E3DCC9; border-radius: 12px; padding: 18px 20px; }
.rbs-panel-title { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.rbs-form { display: flex; flex-direction: column; gap: 12px; }
.rbs-form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.rbs-label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: #5B6B62; font-weight: 500; }
.rbs-input, .rbs-textarea { width: 100%; border: 1px solid #DAD3C2; border-radius: 6px; padding: 9px 11px; font-size: 14px; color: #2A3B33; background: #FFFDF8; font-family: inherit; }
.rbs-input:focus, .rbs-textarea:focus { outline: 2px solid #A6603F; outline-offset: 1px; }
.rbs-form-error { color: #A6443A; font-size: 12.5px; margin: 0; }
.rbs-btn { font-family: inherit; font-weight: 500; cursor: pointer; border: none; border-radius: 7px; padding: 8px 14px; font-size: 13.5px; }
.rbs-btn-primary { background: #A6603F; color: #FCEEE4; padding: 10px 18px; font-size: 14px; align-self: flex-start; }
.rbs-btn-ghost { background: #FBF8F1; border: 1px solid #E3DCC9; color: #5B6B62; text-decoration: none; display: inline-block; }
.rbs-empty-text { font-size: 13.5px; color: #8A897F; margin: 0; }
.rbs-booking-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rbs-booking-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #EFE9DA; padding-bottom: 10px; flex-wrap: wrap; }
.rbs-booking-date { font-size: 13px; font-weight: 500; }
.rbs-booking-meta { font-size: 12.5px; color: #5B6B62; margin-top: 2px; }
.rbs-status-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.rbs-status-pending { background: #FBF0DA; color: #7A551C; }
.rbs-status-approved { background: #E7EFE5; color: #33472F; }
.rbs-status-rejected { background: #F6E3DF; color: #7A3324; }
.rbs-admin-actions { display: flex; gap: 8px; }
.rbs-approve-btn { background: #3F6B52; color: #EAF3DE; }
.rbs-reject-btn { background: #A6443A; color: #FCEBEB; }
.rbs-footnote { font-size: 11.5px; color: #8A897F; margin-top: 22px; text-align: center; }
.rbs-auth-wrap { max-width: 380px; text-align: center; }
.rbs-auth-wrap form p { text-align: left; }
.rbs-hint { font-size: 12.5px; color: #8A897F; margin-top: 14px; }
.rbs-usage-app { max-width: 1200px; }
.rbs-usage-filter .rbs-form-row { align-items: end; }
.rbs-usage-week-nav { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: #5B6B62; margin: 4px 0 16px; }
.rbs-usage-scroll { overflow-x: auto; border: 1px solid #E3DCC9; border-radius: 12px; }
.rbs-usage-table { border-collapse: collapse; width: 100%; min-width: 1100px; background: #FFFDF8; }
.rbs-usage-table th, .rbs-usage-table td { border: 1px solid #E3DCC9; padding: 8px; font-size: 12.5px; }
.rbs-usage-table thead th { background: #FBF8F1; font-weight: 600; text-align: center; color: #5B6B62; }
.rbs-usage-table thead th span { display: block; font-weight: 400; font-size: 11px; color: #8A897F; }
.rbs-usage-corner { width: 96px; }
.rbs-usage-daycell { font-weight: 600; background: #FBF8F1; white-space: nowrap; }
.rbs-usage-daycell span { display: block; font-weight: 400; font-size: 11px; color: #8A897F; }
.rbs-usage-busy { text-align: center; vertical-align: top; }
.rbs-usage-booking { background: #E7EFE5; }
.rbs-usage-lock { background: #FBF0DA; }
.rbs-usage-time { font-weight: 600; color: #2A3B33; }
.rbs-usage-note { font-size: 11.5px; color: #5B6B62; margin-top: 2px; }
@media (max-width: 640px) {
	.rbs-grid { grid-template-columns: 1fr; }
	.rbs-form-row { grid-template-columns: 1fr; }
	.rbs-usage-week-nav { flex-wrap: wrap; }
}
