:root {
	--rrbfo-ink: #111111;
	--rrbfo-muted: #6f6f6f;
	--rrbfo-line: #e4e4e4;
	--rrbfo-soft: #f6f6f4;
	--rrbfo-white: #ffffff;
	--rrbfo-success: #176b43;
	--rrbfo-danger: #a33838;
	--rrbfo-warning: #8a5b11;
	--rrbfo-radius: 18px;
	--rrbfo-shadow: 0 18px 50px rgba(0, 0, 0, .09);
}
body.rrbfo-page {
	margin: 0;
	overscroll-behavior: none;
	background: #f2f2ef;
	color: var(--rrbfo-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.rrbfo-app,
.rrbfo-app * {
	box-sizing: border-box;
}

.rrbfo-app {
	min-height: 100vh;
	min-height: 100dvh;
	background: #f2f2ef;
	color: var(--rrbfo-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.45;
}

.rrbfo-app button,
.rrbfo-app input,
.rrbfo-app select,
.rrbfo-app textarea {
	font: inherit;
	font-size: 16px;
}

.rrbfo-app button,
.rrbfo-app a {
	-webkit-tap-highlight-color: transparent;
}

.rrbfo-app a {
	color: inherit;
}

.rrbfo-app .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rrbfo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 0 19px;
	border: 1px solid var(--rrbfo-ink);
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background .15s ease, color .15s ease;
}

.rrbfo-button:hover {
	transform: translateY(-1px);
}

.rrbfo-button.is-primary {
	background: var(--rrbfo-ink);
	color: var(--rrbfo-white);
}

.rrbfo-button.is-primary:hover {
	background: #303030;
}

.rrbfo-button.is-secondary {
	background: var(--rrbfo-white);
	color: var(--rrbfo-ink);
}

.rrbfo-button.is-large {
	width: 100%;
	min-height: 54px;
}

.rrbfo-button:disabled {
	opacity: .35;
	cursor: not-allowed;
	transform: none;
}

.rrbfo-app :focus-visible {
	outline: 3px solid rgba(17, 17, 17, .25);
	outline-offset: 3px;
}

.rrbfo-eyebrow {
	margin: 0 0 7px;
	color: var(--rrbfo-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* Authentication */
.rrbfo-auth-shell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 44px 20px 28px;
	background:
		radial-gradient(circle at 12% 15%, rgba(0, 0, 0, .045) 0 1px, transparent 2px) 0 0 / 22px 22px,
		linear-gradient(145deg, #fafaf8, #ededeb);
}

.rrbfo-auth-brand {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: -30px;
	border: 6px solid #f3f3f1;
	border-radius: 50%;
	background: var(--rrbfo-ink);
	color: var(--rrbfo-white);
	font-family: Georgia, serif;
	font-size: 29px;
	font-style: italic;
	font-weight: 700;
	position: relative;
	z-index: 2;
}

.rrbfo-auth-card {
	width: min(100%, 460px);
	padding: 58px 48px 44px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 24px;
	background: rgba(255, 255, 255, .95);
	box-shadow: var(--rrbfo-shadow);
}

.rrbfo-auth-card h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 5vw, 42px);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.rrbfo-auth-intro {
	margin: 16px 0 28px;
	color: var(--rrbfo-muted);
	font-size: 15px;
}

.rrbfo-login-form {
	display: grid;
	gap: 18px;
}

.rrbfo-login-form label:not(.rrbfo-check),
.rrbfo-booking-form label {
	display: grid;
	gap: 7px;
}

.rrbfo-login-form label > span:first-child,
.rrbfo-booking-form label > span:first-child {
	font-size: 13px;
	font-weight: 750;
}

.rrbfo-login-form input[type="text"],
.rrbfo-login-form input[type="password"],
.rrbfo-booking-form input,
.rrbfo-booking-form select,
.rrbfo-booking-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid #cecece;
	border-radius: 10px;
	background: var(--rrbfo-white);
	color: var(--rrbfo-ink);
	box-shadow: none;
}

.rrbfo-login-form input:focus,
.rrbfo-booking-form input:focus,
.rrbfo-booking-form select:focus,
.rrbfo-booking-form textarea:focus {
	border-color: var(--rrbfo-ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .09);
}

.rrbfo-password {
	display: flex;
	align-items: center;
	border: 1px solid #cecece;
	border-radius: 10px;
	background: var(--rrbfo-white);
}

.rrbfo-password:focus-within {
	border-color: var(--rrbfo-ink);
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .09);
}

.rrbfo-password input[type="password"],
.rrbfo-password input[type="text"] {
	border: 0;
	box-shadow: none;
}

.rrbfo-password button {
	margin-right: 8px;
	padding: 6px;
	border: 0;
	background: transparent;
	color: var(--rrbfo-muted);
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
}

.rrbfo-check {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--rrbfo-muted);
	font-size: 13px;
}

.rrbfo-check input {
	width: 18px;
	height: 18px;
	accent-color: var(--rrbfo-ink);
}

.rrbfo-auth-foot {
	margin: 22px 0 0;
	color: #858585;
	font-size: 12px;
	text-align: center;
}

/* Application shell */
.rrbfo-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	padding: 12px clamp(20px, 4vw, 58px);
	border-bottom: 1px solid var(--rrbfo-line);
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(14px);
	position: sticky;
	top: 0;
	z-index: 20;
}

.rrbfo-brand,
.rrbfo-user {
	display: flex;
	align-items: center;
}

.rrbfo-brand {
	gap: 12px;
	text-decoration: none;
}

.rrbfo-brand > span:first-child {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--rrbfo-ink);
	color: var(--rrbfo-white);
	font-family: Georgia, serif;
	font-size: 21px;
	font-style: italic;
}

.rrbfo-brand > span:last-child,
.rrbfo-user-copy {
	display: grid;
}

.rrbfo-brand strong {
	font-size: 14px;
}

.rrbfo-brand small,
.rrbfo-user small {
	color: var(--rrbfo-muted);
	font-size: 11px;
}

.rrbfo-user {
	gap: 11px;
}

.rrbfo-device-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rrbfo-user-copy {
	text-align: right;
}

.rrbfo-user-copy strong {
	font-size: 13px;
}

.rrbfo-avatar {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid #d7d7d7;
	border-radius: 50%;
	background: var(--rrbfo-soft);
	font-size: 12px;
	font-weight: 800;
}

.rrbfo-logout {
	margin-left: 7px;
	color: var(--rrbfo-muted) !important;
	font-size: 12px;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rrbfo-workspace {
	width: min(1440px, 100%);
	margin: 0 auto;
	padding: 28px clamp(20px, 4vw, 58px) 52px;
}

.rrbfo-heading,
.rrbfo-section-head,
.rrbfo-drawer-head,
.rrbfo-drawer-submit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.rrbfo-heading h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 5vw, 52px);
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1.05;
}

.rrbfo-daybar {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 27px;
}

.rrbfo-daybar form {
	display: flex;
	align-items: stretch;
	height: 42px;
	border: 1px solid #d4d4d4;
	border-radius: 11px;
	background: var(--rrbfo-white);
	overflow: hidden;
}

.rrbfo-daybar form:focus-within {
	border-color: var(--rrbfo-ink);
	box-shadow: 0 0 0 1px var(--rrbfo-ink);
}

.rrbfo-daybar input,
.rrbfo-daybar button {
	height: 100%;
	border: 0;
	background: transparent;
}

.rrbfo-daybar input {
	padding: 0 12px;
	border-radius: 10px 0 0 10px;
	outline: none;
}

.rrbfo-daybar input:focus-visible,
.rrbfo-daybar button:focus-visible {
	outline: none;
	box-shadow: none;
}

.rrbfo-daybar button {
	padding: 0 13px;
	border-left: 1px solid var(--rrbfo-line);
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
}

.rrbfo-arrow {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid #d4d4d4;
	border-radius: 11px;
	background: var(--rrbfo-white);
	font-size: 18px;
	text-decoration: none;
}

.rrbfo-today {
	margin-left: 5px;
	color: var(--rrbfo-muted) !important;
	font-size: 12px;
	font-weight: 700;
}

.rrbfo-kpis {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 22px;
	border: 1px solid var(--rrbfo-line);
	border-radius: var(--rrbfo-radius);
	background: var(--rrbfo-white);
	overflow: hidden;
}

.rrbfo-kpis > div {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 15px;
	min-height: 82px;
	padding: 17px 21px;
	border-right: 1px solid var(--rrbfo-line);
}

.rrbfo-kpis > div:last-child {
	border-right: 0;
}

.rrbfo-kpis span {
	color: var(--rrbfo-muted);
	font-size: 12px;
	font-weight: 700;
}

.rrbfo-kpis strong {
	font-family: Georgia, serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1;
}

.rrbfo-reservations {
	margin-top: 30px;
}

.rrbfo-section-head h2 {
	margin: 0;
	font-size: 22px;
	letter-spacing: -.02em;
}

.rrbfo-section-head p {
	margin: 4px 0 0;
	color: var(--rrbfo-muted);
	font-size: 13px;
}

.rrbfo-filters {
	display: flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid #dedede;
	border-radius: 12px;
	background: rgba(255, 255, 255, .65);
}

.rrbfo-reservation-tools {
	display: flex;
	flex: 1 1 600px;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.rrbfo-reservation-search {
	position: relative;
	display: block;
	flex: 1 1 280px;
	max-width: 390px;
}

.rrbfo-reservation-search svg {
	position: absolute;
	top: 1px;
	right: 1px;
	bottom: 1px;
	left: auto;
	width: 44px;
	height: auto;
	padding: 12px;
	border-left: 1px solid #e2e2e2;
	box-sizing: border-box;
	fill: none;
	stroke: var(--rrbfo-muted);
	stroke-linecap: round;
	stroke-width: 1.8;
	pointer-events: none;
}

.rrbfo-reservation-search input {
	width: 100%;
	min-height: 48px;
	padding: 10px 56px 10px 14px;
	border: 1px solid #d5d5d5;
	border-radius: 12px;
	background: var(--rrbfo-white);
	color: var(--rrbfo-ink);
	font-size: 14px;
	text-align: left;
}

.rrbfo-reservation-search input::-webkit-search-cancel-button {
	display: none;
	-webkit-appearance: none;
	appearance: none;
}

.rrbfo-reservation-search input::-ms-clear,
.rrbfo-reservation-search input::-ms-reveal {
	display: none;
	width: 0;
	height: 0;
}

.rrbfo-reservation-search input:focus {
	border-color: var(--rrbfo-ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .08);
}

.rrbfo-filters button {
	min-height: 38px;
	padding: 0 13px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--rrbfo-muted);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.rrbfo-filters button.is-active {
	background: var(--rrbfo-ink);
	color: var(--rrbfo-white);
}

.rrbfo-list {
	display: grid;
	gap: 7px;
	margin-top: 12px;
}

.rrbfo-card {
	display: grid;
	grid-template-columns: 88px minmax(250px, 1fr) auto;
	align-items: center;
	column-gap: 13px;
	row-gap: 3px;
	min-height: 70px;
	padding: 8px 13px;
	border: 1px solid var(--rrbfo-line);
	border-left: 4px solid var(--rrbfo-ink);
	border-radius: 15px;
	background: var(--rrbfo-white);
	transition: box-shadow .15s ease, transform .15s ease;
}

.rrbfo-card[hidden] { display: none; }

.rrbfo-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, .055);
	transform: translateY(-1px);
}

.rrbfo-card:has(.rrbfo-customer-history[open]) {
	align-items: start;
}

.rrbfo-card:has(.rrbfo-customer-history[open]) .rrbfo-time,
.rrbfo-card:has(.rrbfo-customer-history[open]) .rrbfo-actions {
	margin-top: 4px;
}

.rrbfo-card.is-pending {
	border-left-color: var(--rrbfo-warning);
}

.rrbfo-card.is-seated,
.rrbfo-card.is-completed {
	border-left-color: var(--rrbfo-success);
}

.rrbfo-card.is-cancelled,
.rrbfo-card.is-no_show {
	border-left-color: #bababa;
	opacity: .68;
}

.rrbfo-time {
	display: grid;
	grid-column: 1;
	grid-row: 1;
	gap: 3px;
	padding-right: 11px;
	border-right: 1px solid var(--rrbfo-line);
}

.rrbfo-time strong {
	font-family: Georgia, serif;
	font-size: 23px;
	font-weight: 500;
	line-height: 1;
}

.rrbfo-time span {
	color: var(--rrbfo-muted);
	font-size: 12px;
}

.rrbfo-card-main {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.rrbfo-card-title,
.rrbfo-meta,
.rrbfo-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.rrbfo-card-title {
	gap: 10px;
}

.rrbfo-card-title h3 {
	margin: 0;
	font-size: 17px;
	letter-spacing: -.01em;
}

.rrbfo-status {
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--rrbfo-soft);
	color: #535353;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.is-pending .rrbfo-status {
	background: #fff4dc;
	color: var(--rrbfo-warning);
}

.is-seated .rrbfo-status,
.is-completed .rrbfo-status {
	background: #e8f5ed;
	color: var(--rrbfo-success);
}

.rrbfo-meta {
	gap: 3px 12px;
	margin-top: 3px;
	color: var(--rrbfo-muted);
	font-size: 12px;
}

.rrbfo-meta > span:not(:first-child)::before,
.rrbfo-meta > a::before {
	content: "·";
	margin-right: 9px;
	color: #b6b6b6;
}

.rrbfo-meta a {
	font-weight: 700;
	text-decoration: none;
}

.rrbfo-notes {
	margin: 6px 0 0;
	padding: 5px 8px;
	border-radius: 7px;
	background: var(--rrbfo-soft);
	color: #515151;
	font-size: 12px;
}

.rrbfo-actions {
	grid-column: 3;
	grid-row: 1;
	justify-content: flex-end;
	gap: 6px;
}

.rrbfo-actions form {
	margin: 0;
}

.rrbfo-actions button {
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid #d5d5d5;
	border-radius: 9px;
	background: var(--rrbfo-white);
	color: #555;
	font-size: 11px;
	font-weight: 750;
	cursor: pointer;
}

.rrbfo-actions button.is-danger {
	border-color: var(--rrbfo-danger);
	background: #fff5f5;
	color: var(--rrbfo-danger);
}

.rrbfo-arrival-delay {
	padding: 3px 7px;
	border-radius: 999px;
	background: #fff0d8;
	color: #9a550c;
	font-size: 10px;
	font-weight: 800;
}

.rrbfo-actions button.is-main {
	border-color: var(--rrbfo-ink);
	background: var(--rrbfo-ink);
	color: var(--rrbfo-white);
}

.rrbfo-decline-action {
	position: relative;
}

.rrbfo-decline-action > summary {
	min-height: 34px;
	padding: 7px 11px;
	border: 1px solid #d5d5d5;
	border-radius: 9px;
	background: var(--rrbfo-white);
	color: #555;
	font-size: 11px;
	font-weight: 750;
	cursor: pointer;
	list-style: none;
}

.rrbfo-decline-action form {
	position: absolute;
	top: 35px;
	right: 0;
	z-index: 30;
	display: grid;
	gap: 10px;
	width: 310px;
	padding: 14px;
	border: 1px solid var(--rrbfo-line);
	border-radius: 12px;
	background: var(--rrbfo-white);
	box-shadow: 0 12px 35px rgba(20, 25, 23, .18);
}

.rrbfo-decline-action label,
.rrbfo-decline-action label span {
	display: grid;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
}

.rrbfo-decline-action textarea {
	width: 100%;
	resize: vertical;
}

.rrbfo-customer-history {
	position: relative;
	font-size: 12px;
}

.rrbfo-customer-history > summary {
	display: flex;
	align-items: center;
	width: fit-content;
	cursor: pointer;
	color: var(--rrbfo-muted);
	font-weight: 700;
	list-style: none;
}

.rrbfo-customer-history > summary::-webkit-details-marker { display: none; }

.rrbfo-customer-history > summary::after {
	content: "⌄";
	margin-left: 5px;
	font-size: 11px;
	line-height: 1;
}

.rrbfo-customer-history[open] {
	flex-basis: 100%;
}

.rrbfo-customer-history[open] > summary::after { transform: rotate(180deg); }

.rrbfo-customer-history > summary span {
	padding: 2px 7px;
	border-radius: 999px;
	background: #eef5f2;
	color: var(--rrbfo-success);
}

.rrbfo-history-panel {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
	gap: 14px;
	margin-top: 7px;
	padding: 10px;
	border: 1px solid var(--rrbfo-line);
	border-radius: 10px;
	background: var(--rrbfo-soft);
}

.rrbfo-reference {
	display: flex;
	grid-column: 1 / -1;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	color: var(--rrbfo-muted);
}

.rrbfo-reference span {
	overflow-wrap: anywhere;
	color: var(--rrbfo-ink);
	font-weight: 750;
}

.rrbfo-history-summary { color: var(--rrbfo-muted); }

.rrbfo-history-list { display: grid; gap: 8px; }
.rrbfo-history-list article { padding-left: 9px; border-left: 2px solid #cfd9d5; }
.rrbfo-history-list article.is-incident { border-left-color: #d88a3d; }
.rrbfo-history-list time { color: var(--rrbfo-muted); font-size: 10px; }
.rrbfo-history-list p { margin: 3px 0 0; }
.rrbfo-comment-edit { display: grid; gap: 7px; }
.rrbfo-comment-edit label { display: grid; gap: 5px; }
.rrbfo-comment-edit textarea { width: 100%; min-height: 60px; }
.rrbfo-comment-edit button { justify-self: start; padding: 7px 11px; border: 0; border-radius: 8px; background: var(--rrbfo-ink); color: #fff; cursor: pointer; }

.rrbfo-empty,
.rrbfo-filter-empty {
	padding: 60px 25px;
	border: 1px dashed #cfcfcf;
	border-radius: var(--rrbfo-radius);
	background: rgba(255, 255, 255, .5);
	text-align: center;
}

.rrbfo-empty > span {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin: 0 auto 14px;
	border: 1px solid #d7d7d7;
	border-radius: 50%;
	background: var(--rrbfo-white);
}

.rrbfo-empty h3 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: 24px;
	font-weight: 500;
}

.rrbfo-empty p {
	margin: 7px 0 20px;
	color: var(--rrbfo-muted);
	font-size: 13px;
}

.rrbfo-filter-empty {
	color: var(--rrbfo-muted);
	font-size: 13px;
}

.rrbfo-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin: 0 0 24px;
	padding: 13px 16px;
	border: 1px solid #cfcfcf;
	border-radius: 11px;
	background: var(--rrbfo-white);
	font-size: 13px;
	font-weight: 650;
}

.rrbfo-auth-card .rrbfo-notice {
	margin-top: 20px;
	margin-bottom: 20px;
}

.rrbfo-notice.is-success {
	border-color: #abd5bc;
	color: var(--rrbfo-success);
}

.rrbfo-notice.is-error {
	border-color: #e5bcbc;
	color: var(--rrbfo-danger);
}

.rrbfo-notice.is-warning {
	border-color: #e5d2a9;
	color: var(--rrbfo-warning);
}

.rrbfo-notice a {
	font-size: 22px;
	line-height: 1;
	text-decoration: none;
}

/* Reservation drawer */
.rrbfo-drawer[hidden] {
	display: none;
}

.rrbfo-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.rrbfo-drawer-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: rgba(0, 0, 0, .48);
	backdrop-filter: blur(3px);
	cursor: default;
}

.rrbfo-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(520px, 100%);
	height: 100dvh;
	max-height: 100dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 32px 34px;
	background: var(--rrbfo-white);
	box-shadow: -20px 0 60px rgba(0, 0, 0, .16);
	overflow-y: auto;
	animation: rrbfo-slide-in .22s ease-out;
}

@keyframes rrbfo-slide-in {
	from { transform: translateX(30px); opacity: .6; }
	to { transform: translateX(0); opacity: 1; }
}

.rrbfo-drawer-head {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--rrbfo-line);
}

.rrbfo-drawer-head h2 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -.025em;
}

.rrbfo-drawer-head > button {
	display: grid;
	place-items: center;
	width: 39px;
	height: 44px;
	width: 44px;
	border: 1px solid #d4d4d4;
	border-radius: 50%;
	background: var(--rrbfo-white);
	font-size: 24px;
	cursor: pointer;
}

.rrbfo-booking-form {
	display: grid;
	gap: 17px;
	padding-top: 26px;
}

.rrbfo-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 13px;
}

.rrbfo-booking-form select:disabled,
.rrbfo-booking-form input:disabled {
	background: #f3f3f3;
	color: #999;
}

.rrbfo-booking-form textarea {
	min-height: 88px;
	resize: vertical;
}

.rrbfo-booking-form small {
	color: var(--rrbfo-muted);
	font-size: 11px;
}

.rrbfo-booking-form small.is-error {
	color: var(--rrbfo-danger);
}

.rrbfo-booking-form em {
	color: var(--rrbfo-muted);
	font-size: 11px;
	font-style: normal;
	font-weight: 500;
}

.rrbfo-form-separator {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 -2px;
	color: var(--rrbfo-muted);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.rrbfo-form-separator::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--rrbfo-line);
}

.rrbfo-list,
.rrbfo-reservations {
	overscroll-behavior: contain;
}

.rrbfo-connectivity {
	margin: 0 0 18px;
	padding: 11px 14px;
	border-radius: 10px;
	background: #e8f5ed;
	color: #17552f;
	font-weight: 700;
	text-align: center;
}

.rrbfo-connectivity.is-offline {
	background: #fff0cf;
	color: #6f4b00;
}

.rrbfo-device-status {
	margin: -8px 0 14px;
	color: var(--rrbfo-muted);
	font-size: 12px;
	text-align: right;
}

.rrbfo-install-button,
.rrbfo-push-button {
	min-height: 44px;
	padding: 0 13px;
	border: 1px solid #d4d4d4;
	border-radius: 10px;
	background: #fff;
	color: var(--rrbfo-ink);
	font-size: 13px !important;
	font-weight: 700;
	cursor: pointer;
}

.rrbfo-install-button[hidden],
.rrbfo-push-button[hidden] { display: none; }

.rrbfo-install,
.rrbfo-session-expired {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
	background: rgba(0, 0, 0, .55);
	backdrop-filter: blur(5px);
	z-index: 10000;
}

.rrbfo-install[hidden] { display: none; }

.rrbfo-install-card,
.rrbfo-session-expired > div {
	position: relative;
	display: grid;
	gap: 13px;
	width: min(430px, 100%);
	padding: 34px;
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--rrbfo-shadow);
	text-align: center;
}

.rrbfo-install-card h2,
.rrbfo-install-card p,
.rrbfo-session-expired h2 { margin: 0; }

.rrbfo-install-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto;
	border-radius: 16px;
	background: var(--rrbfo-ink);
	color: #fff;
	font-size: 30px;
}

.rrbfo-install-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #e1e1e1;
	border-radius: 10px;
	background: #fafafa;
	color: #666;
	cursor: pointer;
}

.rrbfo-install-close:hover,
.rrbfo-install-close:focus-visible {
	border-color: #c8c8c8;
	background: #f3f3f3;
	color: var(--rrbfo-ink);
}

.rrbfo-install-close svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.is-offline-shell .rrbfo-card {
	grid-template-columns: 100px minmax(0, 1fr);
}

.is-offline-shell .rrbfo-section-head h1 { margin: 0 0 5px; }

.rrbfo-drawer-submit {
	margin-top: 10px;
	padding-top: 22px;
	border-top: 1px solid var(--rrbfo-line);
}

body.rrbfo-drawer-open {
	overflow: hidden;
}

@media (max-width: 920px) {
	.rrbfo-workspace {
		padding-top: 32px;
	}

	.rrbfo-kpis {
		grid-template-columns: 1fr 1fr;
	}

	.rrbfo-kpis > div:nth-child(2) {
		border-right: 0;
	}

	.rrbfo-kpis > div:nth-child(-n+2) {
		border-bottom: 1px solid var(--rrbfo-line);
	}
}

@media (max-width: 740px) {
	.rrbfo-card {
		grid-template-columns: 72px 1fr;
		column-gap: 11px;
		row-gap: 5px;
		padding: 8px 11px;
	}

	.rrbfo-actions {
		grid-column: 2;
		grid-row: 3;
		justify-content: flex-start;
	}

	.rrbfo-time { grid-row: 1 / span 2; }
	.rrbfo-card-main { grid-column: 2; grid-row: 1; }
}

@media (max-width: 680px) {
	.rrbfo-topbar {
		min-height: 68px;
		padding: 9px 15px;
	}

	.rrbfo-user-copy,
	.rrbfo-push-button { display: none; }

	.rrbfo-install-button {
		min-height: 38px;
		padding: 0 10px;
		font-size: 11px !important;
	}

	.rrbfo-brand > span:last-child,
	.rrbfo-user-copy,
	.rrbfo-logout {
		display: none;
	}

	.rrbfo-workspace {
		padding: 25px 14px 50px;
	}

	.rrbfo-heading {
		align-items: flex-end;
	}

	.rrbfo-heading h1 {
		font-size: 31px;
	}

	.rrbfo-heading .rrbfo-button {
		width: 46px;
		padding: 0;
		font-size: 0;
	}

	.rrbfo-heading .rrbfo-button span {
		font-size: 24px;
	}

	.rrbfo-daybar {
		flex-wrap: wrap;
	}

	.rrbfo-daybar form {
		flex: 1;
	}

	.rrbfo-daybar form label {
		flex: 1;
	}

	.rrbfo-daybar input {
		width: 100%;
	}

	.rrbfo-today {
		width: 100%;
		margin: 3px 0 0;
	}

	.rrbfo-kpis {
		margin-top: 25px;
	}

	.rrbfo-kpis > div {
		min-height: 88px;
		padding: 18px;
	}

	.rrbfo-kpis strong {
		font-size: 29px;
	}

	.rrbfo-reservations {
		margin-top: 35px;
	}

	.rrbfo-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.rrbfo-reservation-tools {
		width: 100%;
		flex-basis: auto;
		align-items: stretch;
		flex-direction: column;
	}

	.rrbfo-reservation-search {
		width: 100%;
		max-width: none;
		flex: 0 0 auto;
	}

	.rrbfo-filters {
		width: 100%;
		overflow-x: auto;
	}

	.rrbfo-filters button {
		flex: 0 0 auto;
	}

	.rrbfo-card {
		grid-template-columns: 60px 1fr;
		column-gap: 9px;
		row-gap: 5px;
		padding: 8px 10px;
	}

	.rrbfo-time {
		padding-right: 8px;
	}

	.rrbfo-time strong {
		font-size: 23px;
	}

	.rrbfo-meta {
		gap: 2px 8px;
	}

	.rrbfo-meta > span:not(:first-child)::before,
	.rrbfo-meta > a::before {
		margin-right: 5px;
	}

	.rrbfo-history-panel { grid-template-columns: 1fr; }

	.rrbfo-auth-card {
		padding: 54px 24px 31px;
	}

	.rrbfo-drawer-panel {
		padding: 25px 20px;
	}

	.rrbfo-form-grid {
		grid-template-columns: 1fr;
	}

	.rrbfo-drawer-submit {
		position: sticky;
		bottom: -25px;
		margin: 3px -20px -25px;
		padding: 15px 20px calc(15px + env(safe-area-inset-bottom));
		background: var(--rrbfo-white);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rrbfo-app *,
	.rrbfo-app *::before,
	.rrbfo-app *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}
