.foodord-reservations-admin {
	--foodord-reservations-bg: #f6f7f7;
	--foodord-reservations-surface: #ffffff;
	--foodord-reservations-surface-muted: #f8fafc;
	--foodord-reservations-border: #dcdcde;
	--foodord-reservations-border-soft: #eef0f2;
	--foodord-reservations-text: #1d2327;
	--foodord-reservations-muted: #646970;
	--foodord-reservations-primary: #3858e9;
	--foodord-reservations-primary-hover: #2945c8;
	--foodord-reservations-danger: #b32d2e;
	--foodord-reservations-radius: 8px;
	color: var(--foodord-reservations-text);
}

.foodord-reservations-hidden-field {
	display: none;
}

.foodord-reservations-admin h1 {
	margin-bottom: 18px;
	font-weight: 600;
	letter-spacing: 0;
}

.foodord-reservations-tabs {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 28px;
	margin: 18px 0 22px;
	border-bottom: 1px solid #dfe3e8;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.foodord-reservations-tabs::-webkit-scrollbar {
	display: none;
}

.foodord-reservations-tabs__link:first-child {
	margin-left: auto;
}

.foodord-reservations-tabs__link {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 44px;
	padding: 0 2px;
	color: #3c434a;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	outline: none;
	transition: color 0.14s ease;
}

.foodord-reservations-tabs__link::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	border-radius: 999px 999px 0 0;
	background: transparent;
	content: "";
}

.foodord-reservations-tabs__link:hover,
.foodord-reservations-tabs__link:focus {
	color: var(--foodord-reservations-primary-hover);
	box-shadow: none;
}

.foodord-reservations-tabs__link.is-active {
	color: var(--foodord-reservations-primary);
}

.foodord-reservations-tabs__link.is-active::after {
	background: var(--foodord-reservations-primary);
}

.foodord-reservations-panel {
	margin: 18px 0;
	padding: 20px;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border);
	border-radius: var(--foodord-reservations-radius);
	box-sizing: border-box;
	overflow-x: auto;
}

.foodord-reservations-panel--primary {
	margin-top: 20px;
}

.foodord-reservations-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-panel__actions {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.foodord-reservations-panel__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--foodord-reservations-text);
}

.foodord-reservations-panel__title-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	color: var(--foodord-reservations-muted);
	font-size: 18px;
	line-height: 18px;
}

.foodord-reservations-panel__description {
	max-width: 680px;
	margin: 6px 0 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.5;
}

.foodord-reservations-form,
.foodord-reservations-cancel-form,
.foodord-reservations-action-form {
	margin: 0;
}

.foodord-reservations-floor-toggle,
.foodord-reservations-table-toggle,
.foodord-reservations-manual-toggle {
	flex: 0 0 auto;
	gap: 6px;
}

.foodord-reservations-floor-toggle__icon,
.foodord-reservations-table-toggle__icon,
.foodord-reservations-manual-toggle__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: currentColor;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-floor-panel,
.foodord-reservations-table-panel {
	margin: 0 0 18px;
	padding: 16px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: var(--foodord-reservations-radius);
}

.foodord-reservations-floor-panel:not([hidden]) ~ [data-foodord-reservation-floors-list] .foodord-reservations-empty,
.foodord-reservations-table-panel:not([hidden]) ~ [data-foodord-reservation-tables-list] .foodord-reservations-empty {
	display: none;
}

.foodord-reservations-floor-panel__header,
.foodord-reservations-table-panel__header {
	margin-bottom: 14px;
}

.foodord-reservations-floor-panel__title,
.foodord-reservations-table-panel__title {
	margin: 0;
	color: var(--foodord-reservations-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.foodord-reservations-floor-panel__description,
.foodord-reservations-table-panel__description {
	margin: 4px 0 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.5;
}

.foodord-reservations-fields {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	align-items: end;
}

.foodord-reservations-fields--floor {
	grid-template-columns: minmax(220px, 1fr) minmax(120px, 180px) auto;
	margin-bottom: 16px;
}

.foodord-reservations-fields--table {
	grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1.2fr) minmax(96px, 0.5fr) minmax(160px, 0.7fr) minmax(120px, 0.6fr);
}

.foodord-reservations-field,
.foodord-reservations-filter__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--foodord-reservations-text);
}

.foodord-reservations-field__label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.foodord-reservations-tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: var(--foodord-reservations-muted);
	cursor: help;
}

.foodord-reservations-tooltip .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}

.foodord-reservations-tooltip::after {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	z-index: 2;
	width: max-content;
	max-width: 220px;
	padding: 7px 9px;
	background: #1d2327;
	border-radius: 6px;
	color: #ffffff;
	content: attr(aria-label);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	opacity: 0;
	pointer-events: none;
	text-align: left;
	transform: translateX(-50%) translateY(3px);
	transition: opacity 0.16s ease, transform 0.16s ease;
	white-space: normal;
}

.foodord-reservations-tooltip:hover::after,
.foodord-reservations-tooltip:focus::after {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.foodord-reservations-field input,
.foodord-reservations-field textarea,
.foodord-reservations-field select,
.foodord-reservations-filter input,
.foodord-reservations-filter select,
.foodord-reservations-status-select {
	width: 100%;
	min-height: 34px;
	border-color: #c3c4c7;
	border-radius: 6px;
	font-size: 13px;
}

.foodord-reservations-field input:focus,
.foodord-reservations-field textarea:focus,
.foodord-reservations-field select:focus,
.foodord-reservations-filter input:focus,
.foodord-reservations-filter select:focus,
.foodord-reservations-status-select:focus {
	border-color: var(--foodord-reservations-primary);
	box-shadow: 0 0 0 1px rgba(56, 88, 233, 0.16);
	outline: none;
}

.foodord-reservations-field textarea {
	min-height: 132px;
	resize: vertical;
}

.foodord-reservations-field__description {
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
}

.foodord-reservations-field--date,
.foodord-reservations-filter__field--date {
	position: relative;
}

.foodord-reservations-field--date input,
.foodord-reservations-filter__field--date input {
	padding-right: 36px;
}

.foodord-reservations-field--date::after,
.foodord-reservations-filter__field--date::after {
	position: absolute;
	right: 11px;
	bottom: 8px;
	width: 16px;
	height: 16px;
	background: var(--foodord-reservations-muted);
	content: "";
	pointer-events: none;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm12 9H5v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-8ZM5 9h14V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.foodord-reservations-field--date:focus-within::after,
.foodord-reservations-filter__field--date:focus-within::after {
	background: var(--foodord-reservations-primary);
}

#ui-datepicker-div.foodord-reservations-datepicker {
	display: none;
	position: absolute;
	z-index: 100002;
}

.foodord-reservations-datepicker.ui-datepicker {
	width: 280px;
	padding: 10px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
	color: #1d2327;
	font-family: inherit;
	z-index: 999999;
}

.foodord-reservations-datepicker .ui-datepicker-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.foodord-reservations-datepicker .ui-datepicker-title {
	flex: 1;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

.foodord-reservations-datepicker .ui-datepicker-prev,
.foodord-reservations-datepicker .ui-datepicker-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 8px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	color: #1d2327;
	cursor: pointer;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
}

.foodord-reservations-datepicker table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 13px;
}

.foodord-reservations-datepicker th,
.foodord-reservations-datepicker td {
	padding: 2px;
	border: 0;
	text-align: center;
}

.foodord-reservations-datepicker th {
	color: #646970;
	font-size: 11px;
	font-weight: 600;
}

.foodord-reservations-datepicker td a,
.foodord-reservations-datepicker td span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	color: #1d2327;
	line-height: 1;
	text-decoration: none;
}

.foodord-reservations-datepicker td a:hover,
.foodord-reservations-datepicker td a:focus,
.foodord-reservations-datepicker .ui-datepicker-current-day a {
	background: #3858e9;
	color: #ffffff;
}

.foodord-reservations-datepicker .ui-state-disabled span {
	color: #c3c4c7;
}

.foodord-reservations-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.foodord-reservations-form__inline-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
}

.foodord-reservations-cancel-link {
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	text-decoration: none;
}

.foodord-reservations-cancel-link:hover,
.foodord-reservations-cancel-link:focus {
	color: var(--foodord-reservations-text);
	text-decoration: underline;
}

.foodord-reservations-panel--banner {
	padding: 14px;
}

.foodord-reservations-banner-form {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.foodord-reservations-banner-form .foodord-reservations-panel--banner {
	margin-bottom: 0;
}

.foodord-reservations-settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.foodord-reservations-settings-grid .foodord-reservations-panel {
	height: 100%;
	margin: 0;
}

.foodord-reservations-panel--customer-cancellation .foodord-reservations-field {
	max-width: 360px;
}

.foodord-reservations-panel--customer-cancellation + .foodord-reservations-panel--email-content {
	margin-top: 0;
}

.foodord-reservations-panel--privacy {
	padding: 18px;
}

.foodord-reservations-privacy__toggle {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-privacy__fields {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
	gap: 14px;
	margin-top: 18px;
}

.foodord-reservations-privacy__ip {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
	transition: opacity 0.2s ease;
}

.foodord-reservations-privacy__ip.is-disabled {
	cursor: default;
	opacity: 0.55;
}

.foodord-reservations-email-content__toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
}

.foodord-reservations-email-content__toolbar .foodord-reservations-field {
	width: min(100%, 360px);
}

.foodord-reservations-email-content__placeholders {
	margin: 0 0 8px;
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
}

.foodord-reservations-email-content__template {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-email-content__template[hidden] {
	display: none;
}

.foodord-reservations-email-content__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.foodord-reservations-email-content__message {
	margin-top: 14px;
}

.foodord-reservations-email-content__footer {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-email-content__footer .foodord-reservations-field {
	max-width: 760px;
}

.foodord-reservations-banner-form__body {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
}

.foodord-reservations-actions-bar {
	margin-top: 30px;
}

.foodord-reservations-actions-bar .button.button-primary {
	display: inline-block;
	min-height: 30px;
	padding: 7px 16px;
	border-color: var(--wp-admin-theme-color, #2271b1);
	border-radius: 3px;
	background: var(--wp-admin-theme-color, #2271b1);
	color: #ffffff;
	font-size: 13px;
	font-weight: 400;
	line-height: 2.15384615;
}

.foodord-reservations-actions-bar .button.button-primary:hover,
.foodord-reservations-actions-bar .button.button-primary:focus {
	border-color: var(--wp-admin-theme-color-darker-10, #135e96);
	background: var(--wp-admin-theme-color-darker-10, #135e96);
	color: #ffffff;
}

.foodord-reservations-banner-form__preview {
	align-items: center;
	overflow: hidden;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 7px;
	aspect-ratio: 4 / 3;
	display: flex;
	justify-content: center;
	position: relative;
}

.foodord-reservations-banner-form__preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.foodord-reservations-banner-form__preview.is-empty img {
	display: none;
}

.foodord-reservations-banner-form__placeholder {
	color: var(--foodord-reservations-muted);
	display: none;
	font-size: 12px;
	line-height: 1.4;
	padding: 10px;
	text-align: center;
}

.foodord-reservations-banner-form__preview.is-empty .foodord-reservations-banner-form__placeholder {
	display: block;
}

.foodord-reservations-banner-form__content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
}

.foodord-reservations-banner-form__content .foodord-reservations-panel__description {
	margin-top: 4px;
}

.foodord-reservations-banner-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

body.foodord-reservations-modal-open {
	overflow: hidden;
}

.foodord-reservations-modal[hidden] {
	display: none;
}

.foodord-reservations-modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 32px 18px;
	box-sizing: border-box;
	opacity: 0;
	overflow-y: auto;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

.foodord-reservations-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.foodord-reservations-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.64);
}

.foodord-reservations-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 620px);
	margin: auto 0;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 8px;
	box-sizing: border-box;
	opacity: 0;
	transform: translateY(12px) scale(0.985);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.foodord-reservations-modal.is-open .foodord-reservations-modal__dialog {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.foodord-reservations-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-modal__title {
	margin: 0;
	color: var(--foodord-reservations-text);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.foodord-reservations-modal__description {
	margin: 5px 0 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.45;
}

.foodord-reservations-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
}

.foodord-reservations-modal__close:hover,
.foodord-reservations-modal__close:focus {
	background: var(--foodord-reservations-surface-muted);
	color: var(--foodord-reservations-text);
	outline: none;
}

.foodord-reservations-modal__close .dashicons {
	width: 24px;
	height: 24px;
	font-size: 24px;
	line-height: 1;
}

.foodord-reservations-manual-form {
	padding: 20px;
}

.foodord-reservations-manual-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.foodord-reservations-field--full {
	grid-column: 1 / -1;
}

.foodord-reservations-manual-form__note {
	grid-column: 1 / -1;
}

.foodord-reservations-manual-form__note-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--foodord-reservations-primary);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.foodord-reservations-manual-form__note-toggle:hover,
.foodord-reservations-manual-form__note-toggle:focus {
	color: var(--foodord-reservations-primary-hover);
	outline: none;
}

.foodord-reservations-manual-form__note-panel {
	margin-top: 12px;
}

.foodord-reservations-manual-form__notify {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--foodord-reservations-text);
	font-size: 13px;
	line-height: 1.4;
}

.foodord-reservations-manual-form__notify input {
	margin: 0;
}

.foodord-reservations-modal__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-manual-form > .foodord-reservations-modal__footer {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.foodord-reservations-manual-form > .foodord-reservations-modal__footer .button {
	width: 100%;
	text-align: center;
}

.foodord-reservations-manual-form__submit {
	position: relative;
}

.foodord-reservations-manual-form__submit.is-loading,
.foodord-reservations-manual-form__submit.is-loading:disabled {
	background: var(--foodord-reservations-primary);
	border-color: var(--foodord-reservations-primary);
	cursor: wait;
	opacity: 1;
	pointer-events: none;
}

.foodord-reservations-manual-form__submit.is-loading .foodord-reservations-manual-form__submit-label {
	opacity: 0;
}

.foodord-reservations-manual-form__submit.is-loading::after {
	position: absolute;
	inset: 0;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	margin: auto;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: foodord-reservations-manual-submit-spinner 0.7s linear infinite;
	content: "";
}

@keyframes foodord-reservations-manual-submit-spinner {
	to {
		transform: rotate(360deg);
	}
}

.foodord-reservations-cancellation-modal__dialog {
	width: min(100%, 520px);
}

.foodord-reservations-cancellation-modal__body {
	padding: 20px;
}

.foodord-reservations-cancellation-modal__refund {
	margin: 0 0 16px;
	padding: 10px 12px;
	color: #8a4b08;
	background: #fff8e5;
	border-left: 3px solid #dba617;
	font-size: 12px;
	line-height: 1.5;
}

.foodord-reservations-code-meta--refund {
	color: #8a4b08;
}

.foodord-reservations-cancellation-modal .foodord-reservations-modal__footer {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.foodord-reservations-cancellation-modal .foodord-reservations-modal__footer .button {
	width: 100%;
	text-align: center;
}

.foodord-reservations-panel--auto-confirm,
.foodord-reservations-panel--customer-management,
.foodord-reservations-panel--customer-cancellation {
	padding: 16px 18px;
}

.foodord-reservations-auto-confirm {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--foodord-reservations-text);
	cursor: pointer;
}

.foodord-reservations-auto-confirm__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.foodord-reservations-auto-confirm__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--foodord-reservations-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.foodord-reservations-auto-confirm__title-icon {
	width: 18px;
	height: 18px;
	color: var(--foodord-reservations-muted);
	font-size: 18px;
	line-height: 1;
}

.foodord-reservations-auto-confirm__description {
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.foodord-reservations-auto-confirm__toggle {
	--foodord-reservation-toggle-knob: 16px;
	--foodord-reservation-toggle-travel: 16px;
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.foodord-reservations-auto-confirm__toggle-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.foodord-reservations-auto-confirm__toggle-control {
	position: relative;
	display: inline-flex;
	flex: 0 0 38px;
	width: 38px;
	height: 22px;
	background: #dcdcde;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	box-sizing: border-box;
	transition: background-color 0.28s ease, border-color 0.28s ease;
}

.foodord-reservations-auto-confirm__toggle-control::before {
	position: absolute;
	top: 2px;
	left: 2px;
	width: var(--foodord-reservation-toggle-knob);
	height: var(--foodord-reservation-toggle-knob);
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	content: "";
	transform: translate3d(0, 0, 0) rotate(0deg);
	transform-origin: center center;
	transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}

.foodord-reservations-auto-confirm__toggle-input:checked + .foodord-reservations-auto-confirm__toggle-control {
	background: #22c55e;
	border-color: #22c55e;
}

.foodord-reservations-auto-confirm__toggle-input:checked + .foodord-reservations-auto-confirm__toggle-control::before {
	transform: translate3d(var(--foodord-reservation-toggle-travel), 0, 0) rotate(180deg);
}

.foodord-reservations-auto-confirm__toggle-input:focus-visible + .foodord-reservations-auto-confirm__toggle-control {
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
	outline: none;
}

.foodord-reservations-auto-confirm:hover .foodord-reservations-auto-confirm__toggle-control {
	background: #c3c4c7;
	border-color: #c3c4c7;
}

.foodord-reservations-auto-confirm__toggle-input:checked:hover + .foodord-reservations-auto-confirm__toggle-control {
	background: #16a34a;
	border-color: #16a34a;
}

.foodord-reservations-security-toggle {
	padding: 0 0 18px;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-security-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.foodord-reservations-security-blocklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.foodord-reservations-deposit-toggle,
.foodord-reservations-preorder-toggle {
	padding: 0 0 18px;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-deposit-grid,
.foodord-reservations-preorder-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.foodord-reservations-deposit-amount {
	display: flex;
	align-items: center;
	width: min(100%, 220px);
	min-width: 0;
}

.foodord-reservations-deposit-amount__currency {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border);
	border-right: 0;
	border-radius: 8px 0 0 8px;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-deposit-amount__currency + input {
	height: 40px;
	min-height: 40px;
	max-width: 180px;
	border-radius: 0 8px 8px 0;
}

.foodord-reservations-panel--deposit-schedule[hidden],
.foodord-reservations-panel--preorder-schedule[hidden],
.foodord-reservations-field[hidden] {
	display: none;
}

.foodord-reservations-schedule {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.foodord-reservations-schedule-day {
	padding: 0;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: var(--foodord-reservations-radius);
	overflow: hidden;
}

.foodord-reservations-panel--booking-limits {
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
	gap: 16px;
	align-items: center;
	overflow: visible;
}

.foodord-reservations-booking-limits__description {
	margin: 4px 0 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.45;
}

.foodord-reservations-booking-limits__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.foodord-reservations-panel--booking-limits .foodord-reservations-tooltip::after {
	right: 0;
	left: auto;
	transform: translateY(3px);
}

.foodord-reservations-panel--booking-limits .foodord-reservations-tooltip:hover::after,
.foodord-reservations-panel--booking-limits .foodord-reservations-tooltip:focus::after {
	transform: translateY(0);
}

.foodord-reservations-panel--capacity-limits {
	overflow: visible;
}

.foodord-reservations-panel--capacity-limits.is-enabled .foodord-reservations-capacity-limits__toggle {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-capacity-limits__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding-top: 18px;
}

.foodord-reservations-capacity-limits__fields[hidden],
.foodord-reservations-capacity-limits__override[hidden] {
	display: none;
}

.foodord-reservations-capacity-limits__hint {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	line-height: 1.45;
}

.foodord-reservations-capacity-limits__override {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-table-selection-form.is-enabled .foodord-reservations-panel--table-selection > .foodord-reservations-auto-confirm {
	padding-bottom: 8px;
}

.foodord-reservations-table-selection__floor-plans {
	padding-top: 6px;
}

.foodord-reservations-table-selection__frontend-toggle {
	margin: 0 0 20px 24px;
	padding: 10px 0 18px 18px;
	border-left: 2px solid var(--foodord-reservations-border);
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-table-selection__frontend-toggle .foodord-reservations-auto-confirm__title {
	font-size: 14px;
}

.foodord-reservations-table-selection__frontend-toggle .foodord-reservations-auto-confirm__title-icon {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.foodord-reservations-table-selection__floor-plans[hidden] {
	display: none;
}

.foodord-reservations-floor-plans {
	display: grid;
	gap: 16px;
}

.foodord-reservations-floor-plans__tabs {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	padding-bottom: 2px;
}

.foodord-reservations-floor-plans__tab {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	padding: 8px 10px;
	white-space: nowrap;
}

.foodord-reservations-floor-plans__tab:hover,
.foodord-reservations-floor-plans__tab:focus-visible {
	color: var(--foodord-reservations-primary);
	box-shadow: none;
	outline: none;
}

.foodord-reservations-floor-plans__tab:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--foodord-reservations-primary) 35%, transparent);
	outline-offset: -2px;
}

.foodord-reservations-floor-plans__tab.is-active {
	border-bottom-color: var(--foodord-reservations-primary);
	color: var(--foodord-reservations-primary);
}

.foodord-reservations-floor-plan {
	display: grid;
	gap: 12px;
}

.foodord-reservations-floor-plan[hidden] {
	display: none;
}

.foodord-reservations-floor-plan__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100%, 920px);
	box-sizing: border-box;
	margin: 0 auto;
	gap: 12px;
}

.foodord-reservations-floor-plan__hint {
	margin: 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.45;
}

.foodord-reservations-floor-plan__actions {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 8px;
}

.foodord-reservations-floor-plan__image-action.button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	min-width: 34px;
	height: 34px;
	min-height: 34px;
	padding: 0;
}

.foodord-reservations-floor-plan__image-action .dashicons {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
	font-size: 18px;
	line-height: 18px;
	transform: translate(-50%, -50%);
}

.foodord-reservations-floor-plan__canvas {
	position: relative;
	width: min(100%, 920px);
	min-height: 260px;
	margin: 0 auto;
	overflow: hidden;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 8px;
}

.foodord-reservations-floor-plan__canvas.is-empty {
	display: grid;
	place-items: center;
	cursor: pointer;
}

.foodord-reservations-floor-plan__empty {
	margin: 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.45;
}

.foodord-reservations-floor-plan__image {
	display: block;
	width: 100%;
	height: auto;
}

.foodord-reservations-floor-plan__image[hidden],
.foodord-reservations-floor-plan__empty[hidden] {
	display: none;
}

.foodord-reservations-floor-plan__markers {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.foodord-reservations-floor-plan__canvas.is-empty .foodord-reservations-floor-plan__markers {
	display: none;
}

.foodord-reservations-floor-plan__marker {
	position: absolute;
	left: var(--foodord-grid-x, 50%);
	top: var(--foodord-grid-y, 50%);
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: var(--foodord-grid-width, 9%);
	height: var(--foodord-grid-height, 7%);
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 5px 8px;
	background: var(--foodord-image-marker-fill, var(--foodord-reservations-surface));
	border: 1px solid var(--foodord-reservations-primary);
	border-radius: 6px;
	box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
	color: var(--foodord-image-marker-text-color, var(--foodord-reservations-text));
	cursor: grab;
	font: inherit;
	line-height: 1.2;
	transform: translate(-50%, -50%) rotate(var(--foodord-grid-rotation, 0deg));
	touch-action: none;
	pointer-events: auto;
}

.foodord-reservations-floor-plan__marker--square,
.foodord-reservations-floor-plan__marker--round {
	height: auto;
	aspect-ratio: 1;
}

.foodord-reservations-floor-plan__marker--round {
	border-radius: 50%;
}

.foodord-reservations-floor-plan__marker:hover,
.foodord-reservations-floor-plan__marker:focus-visible,
.foodord-reservations-floor-plan__marker.is-selected {
	background: var(--foodord-image-marker-fill, var(--foodord-reservations-surface-muted));
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--foodord-reservations-primary) 20%, transparent);
	outline: none;
}

.foodord-reservations-floor-plan__marker.is-selected {
	z-index: 3;
}

.foodord-reservations-floor-plan__marker.is-dragging,
.foodord-reservations-floor-plan__marker.is-resizing,
.foodord-reservations-floor-plan__marker.is-rotating {
	cursor: grabbing;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
	z-index: 4;
}

.foodord-reservations-floor-plan__marker-name {
	max-width: 100%;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-floor-plan__marker-capacity {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--foodord-image-marker-text-color, var(--foodord-reservations-muted));
	font-size: 10px;
	font-weight: 400;
}

.foodord-reservations-floor-plan__marker-capacity svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.foodord-reservations-floor-plan__mode {
	display: inline-flex;
	justify-self: start;
	padding: 3px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 7px;
}

.foodord-reservations-floor-plan__mode-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	margin: 0;
	padding: 6px 11px;
	background: transparent;
	border: 0;
	border-radius: 5px;
	box-shadow: none;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
}

.foodord-reservations-floor-plan__mode-button:hover,
.foodord-reservations-floor-plan__mode-button:focus-visible {
	color: var(--foodord-reservations-text);
	outline: none;
}

.foodord-reservations-floor-plan__mode-button:focus-visible {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--foodord-reservations-primary) 30%, transparent);
}

.foodord-reservations-floor-plan__mode-button.is-active {
	background: var(--foodord-reservations-surface);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
	color: var(--foodord-reservations-primary);
}

.foodord-reservations-floor-plan__mode-button .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.foodord-reservations-floor-plan__image-editor {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	min-width: 0;
}

.foodord-reservations-floor-plan__image-editor.has-marker-selection {
	grid-template-columns: minmax(0, 1fr) 270px;
}

.foodord-reservations-floor-plan__image-workspace {
	display: grid;
	align-content: start;
	gap: 12px;
	min-width: 0;
}

.foodord-reservations-floor-plan__image-sidebar[hidden] {
	display: none;
}

.foodord-reservations-floor-plan__image-editor[hidden],
.foodord-reservations-grid-builder[hidden],
.foodord-reservations-grid-builder__panel[hidden],
.foodord-reservations-grid-builder__inspector[hidden],
.foodord-reservations-grid-builder__field[hidden],
.foodord-reservations-grid-builder__appearance[hidden],
.foodord-reservations-grid-builder__flip[hidden] {
	display: none;
}

.foodord-reservations-grid-builder {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 270px;
	gap: 16px;
	min-width: 0;
}

.foodord-reservations-grid-builder__workspace,
.foodord-reservations-grid-builder__sidebar {
	min-width: 0;
}

.foodord-reservations-grid-builder__workspace {
	display: grid;
	align-content: start;
	gap: 10px;
}

.foodord-reservations-grid-builder__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.foodord-reservations-grid-builder__toolbar-controls {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.foodord-reservations-grid-builder__snap {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.foodord-reservations-grid-builder__snap input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.foodord-reservations-grid-builder__snap > span {
	position: relative;
	width: 28px;
	height: 16px;
	background: #a7adb6;
	border-radius: 999px;
	transition: background-color 0.18s ease;
}

.foodord-reservations-grid-builder__snap > span::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 50%;
	content: "";
	transition: transform 0.18s ease;
}

.foodord-reservations-grid-builder__snap input:checked + span {
	background: #16803c;
}

.foodord-reservations-grid-builder__snap input:checked + span::after {
	transform: translateX(12px);
}

.foodord-reservations-grid-builder__snap input:focus-visible + span {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--foodord-reservations-primary) 30%, transparent);
}

.foodord-reservations-grid-builder__density {
	display: inline-flex;
	padding: 2px;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 6px;
}

.foodord-reservations-grid-builder__density-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 28px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 4px;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
}

.foodord-reservations-grid-builder__density-button:hover,
.foodord-reservations-grid-builder__density-button:focus-visible {
	color: var(--foodord-reservations-text);
	outline: none;
}

.foodord-reservations-grid-builder__density-button:focus-visible {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--foodord-reservations-primary) 24%, transparent);
}

.foodord-reservations-grid-builder__density-button.is-active {
	background: var(--foodord-reservations-text);
	color: var(--foodord-reservations-surface);
}

.foodord-reservations-grid-builder__density-button:disabled {
	cursor: default;
	opacity: 0.42;
}

.foodord-reservations-grid-builder__density-icon {
	width: 14px;
	height: 14px;
	background-image:
		linear-gradient(to right, currentcolor 1px, transparent 1px),
		linear-gradient(to bottom, currentcolor 1px, transparent 1px);
	border: 1px solid currentcolor;
	border-radius: 2px;
}

.foodord-reservations-grid-builder__density-icon--fine {
	background-size: 4px 4px;
}

.foodord-reservations-grid-builder__density-icon--coarse {
	background-size: 7px 7px;
}

.foodord-reservations-grid-builder__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 6px;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
}

.foodord-reservations-grid-builder__reset:hover,
.foodord-reservations-grid-builder__reset:focus-visible {
	border-color: #d63638;
	color: #b32d2e;
	outline: none;
}

.foodord-reservations-grid-builder__reset:focus-visible {
	box-shadow: 0 0 0 2px color-mix(in srgb, #d63638 22%, transparent);
}

.foodord-reservations-grid-builder__reset:disabled {
	border-color: var(--foodord-reservations-border-soft);
	color: var(--foodord-reservations-muted);
	cursor: default;
	opacity: 0.42;
}

.foodord-reservations-grid-builder__reset .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.foodord-reservations-grid-builder__canvas {
	position: relative;
	width: 100%;
	aspect-ratio: 8 / 5;
	overflow: hidden;
	background-color: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 8px;
	outline: none;
}

.foodord-reservations-grid-builder__canvas.is-snap-enabled {
	background-image:
		linear-gradient(var(--foodord-reservations-border-soft) 1px, transparent 1px),
		linear-gradient(90deg, var(--foodord-reservations-border-soft) 1px, transparent 1px);
}

.foodord-reservations-grid-builder__canvas.is-grid-fine {
	background-size: 24px 24px;
}

.foodord-reservations-grid-builder__canvas.is-grid-coarse {
	background-size: 48px 48px;
}

.foodord-reservations-grid-builder__canvas:focus-visible {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--foodord-reservations-primary) 24%, transparent);
}

.foodord-reservations-grid-builder__empty {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(300px, calc(100% - 32px));
	margin: 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
	transform: translate(-50%, -50%);
}

.foodord-reservations-grid-builder__empty[hidden] {
	display: none;
}

.foodord-reservations-grid-builder__objects {
	position: absolute;
	inset: 0;
}

.foodord-reservations-grid-builder__item {
	position: absolute;
	left: var(--foodord-grid-x);
	top: var(--foodord-grid-y);
	width: var(--foodord-grid-width);
	height: var(--foodord-grid-height);
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	cursor: grab;
	font: inherit;
	transform: translate(-50%, -50%) rotate(var(--foodord-grid-rotation));
	transform-origin: center;
	touch-action: none;
}

.foodord-reservations-grid-builder__item.is-dragging,
.foodord-reservations-grid-builder__item.is-resizing,
.foodord-reservations-grid-builder__item.is-rotating {
	cursor: grabbing;
	z-index: 20;
}

.foodord-reservations-grid-builder__item.is-selected {
	z-index: 10;
}

.foodord-reservations-grid-builder__item.is-selected::after {
	position: absolute;
	inset: -5px;
	border: 1px solid var(--foodord-reservations-primary);
	border-radius: 5px;
	content: "";
	pointer-events: none;
}

.foodord-reservations-grid-builder__table {
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--foodord-reservations-primary) 78%, #fff);
	border: 1px solid color-mix(in srgb, var(--foodord-reservations-primary) 72%, #111827);
	border-radius: 4px;
	color: #fff;
}

.foodord-reservations-grid-builder__table--square,
.foodord-reservations-grid-builder__table--round {
	height: auto;
	aspect-ratio: 1;
}

.foodord-reservations-grid-builder__table--square {
	border-radius: 4px;
}

.foodord-reservations-grid-builder__table--round {
	border-radius: 50%;
}

.foodord-reservations-grid-builder__table-label {
	display: block;
	max-width: calc(100% - 10px);
	overflow: hidden;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.15;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-grid-builder__seats {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.foodord-reservations-grid-builder__seat {
	position: absolute;
	left: var(--foodord-seat-left);
	top: var(--foodord-seat-top);
	width: 13px;
	height: 10px;
	box-sizing: border-box;
	background: #9ba1aa;
	border: 1px solid var(--foodord-reservations-surface);
	border-radius: 3px 3px 5px 5px;
	box-shadow: 0 2px 0 -1px #626a74;
	transform: translate(-50%, -50%) rotate(var(--foodord-seat-rotation));
}

.foodord-reservations-grid-builder__seat::before {
	position: absolute;
	top: -3px;
	left: 1px;
	right: 1px;
	height: 4px;
	box-sizing: border-box;
	background: #747b85;
	border: 1px solid var(--foodord-reservations-surface);
	border-radius: 3px 3px 1px 1px;
	content: "";
}

.foodord-reservations-grid-builder__object {
	background: transparent;
}

.foodord-reservations-grid-builder__object-visual {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	background: var(--foodord-object-fill);
	border: var(--foodord-object-border-width) solid var(--foodord-object-stroke);
	color: var(--foodord-object-stroke);
	font-size: 12px;
	line-height: 1.2;
	overflow: hidden;
	transform: scaleX(var(--foodord-object-flip-x, 1));
	transform-origin: center;
}

.foodord-reservations-grid-builder__object--circle .foodord-reservations-grid-builder__object-visual,
.foodord-reservations-grid-builder__object--plant .foodord-reservations-grid-builder__object-visual {
	border-radius: 50%;
}

.foodord-reservations-grid-builder__object--line .foodord-reservations-grid-builder__object-visual {
	top: 50%;
	height: max(2px, var(--foodord-object-border-width));
	background: var(--foodord-object-stroke);
	border: 0;
	transform: translateY(-50%) scaleX(var(--foodord-object-flip-x, 1));
}

.foodord-reservations-grid-builder__object--arrow .foodord-reservations-grid-builder__object-visual {
	background: transparent;
	border: 0;
	overflow: visible;
}

.foodord-reservations-grid-builder__object--arrow .foodord-reservations-grid-builder__object-visual::before {
	position: absolute;
	top: 50%;
	left: 0;
	right: 8px;
	height: max(2px, var(--foodord-object-border-width));
	background: var(--foodord-object-stroke);
	content: "";
	transform: translateY(-50%);
}

.foodord-reservations-grid-builder__object--arrow .foodord-reservations-grid-builder__object-visual::after {
	position: absolute;
	top: 50%;
	right: 0;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid var(--foodord-object-stroke);
	content: "";
	transform: translateY(-50%);
}

.foodord-reservations-grid-builder__object--text .foodord-reservations-grid-builder__object-visual {
	font-weight: 600;
}

.foodord-reservations-grid-builder__object--plant .foodord-reservations-grid-builder__object-visual {
	background:
		radial-gradient(ellipse at 50% 22%, var(--foodord-object-fill) 0 22%, transparent 24%),
		radial-gradient(ellipse at 77% 50%, var(--foodord-object-fill) 0 22%, transparent 24%),
		radial-gradient(ellipse at 50% 78%, var(--foodord-object-fill) 0 22%, transparent 24%),
		radial-gradient(ellipse at 23% 50%, var(--foodord-object-fill) 0 22%, transparent 24%);
}

.foodord-reservations-grid-builder__object--door .foodord-reservations-grid-builder__object-visual {
	background: transparent;
	border: 0;
	overflow: visible;
}

.foodord-reservations-grid-builder__door-graphic {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	color: var(--foodord-object-stroke);
}

.foodord-reservations-grid-builder__door-frame,
.foodord-reservations-grid-builder__door-swing {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.foodord-reservations-grid-builder__door-frame {
	stroke-width: max(2px, var(--foodord-object-border-width));
}

.foodord-reservations-grid-builder__door-swing {
	stroke-width: max(1.5px, var(--foodord-object-border-width));
	stroke-dasharray: 5 4;
}

.foodord-reservations-grid-builder__door-hinge {
	fill: currentColor;
}

.foodord-reservations-grid-builder__object--stairs .foodord-reservations-grid-builder__object-visual {
	background: repeating-linear-gradient(to bottom, transparent 0 10%, var(--foodord-object-stroke) 10% 13%);
}

.foodord-reservations-grid-builder__resize-handle,
.foodord-reservations-floor-plan__marker-resize {
	position: absolute;
	right: -6px;
	bottom: -6px;
	display: none;
	width: 12px;
	height: 12px;
	box-sizing: border-box;
	background: var(--foodord-reservations-surface);
	border: 2px solid var(--foodord-reservations-primary);
	border-radius: 3px;
	cursor: nwse-resize;
}

.foodord-reservations-grid-builder__item.is-selected .foodord-reservations-grid-builder__resize-handle,
.foodord-reservations-floor-plan__marker.is-selected .foodord-reservations-floor-plan__marker-resize {
	display: block;
}

.foodord-reservations-grid-builder__rotation-handle,
.foodord-reservations-floor-plan__marker-rotation {
	position: absolute;
	top: -30px;
	left: 50%;
	z-index: 4;
	display: none;
	width: 18px;
	height: 26px;
	transform: translateX(-50%);
	cursor: grab;
	touch-action: none;
}

.foodord-reservations-grid-builder__rotation-handle::before,
.foodord-reservations-floor-plan__marker-rotation::before {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 2px;
	height: 18px;
	background: var(--foodord-reservations-primary);
	content: "";
}

.foodord-reservations-grid-builder__rotation-handle::after,
.foodord-reservations-floor-plan__marker-rotation::after {
	position: absolute;
	top: 0;
	left: 5px;
	width: 8px;
	height: 8px;
	box-sizing: border-box;
	background: var(--foodord-reservations-surface);
	border: 2px solid var(--foodord-reservations-primary);
	border-radius: 1px;
	content: "";
}

.foodord-reservations-grid-builder__table.is-selected .foodord-reservations-grid-builder__rotation-handle,
.foodord-reservations-floor-plan__marker.is-selected .foodord-reservations-floor-plan__marker-rotation {
	display: block;
}

.foodord-reservations-grid-builder__item.is-rotating .foodord-reservations-grid-builder__rotation-handle,
.foodord-reservations-floor-plan__marker.is-rotating .foodord-reservations-floor-plan__marker-rotation {
	cursor: grabbing;
}

.foodord-reservations-grid-builder__selection-actions {
	position: absolute;
	bottom: 12px;
	left: 50%;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 5px;
	background: #3f3f46;
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgb(17 24 39 / 20%);
	transform: translateX(-50%);
}

.foodord-reservations-grid-builder__selection-actions[hidden] {
	display: none;
}

.foodord-reservations-grid-builder__selection-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background-color 160ms ease;
}

.foodord-reservations-grid-builder__selection-actions button:hover,
.foodord-reservations-grid-builder__selection-actions button:focus-visible {
	background: rgb(255 255 255 / 14%);
	color: #fff;
}

.foodord-reservations-grid-builder__selection-actions button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

.foodord-reservations-grid-builder__selection-actions .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 1;
}

.foodord-reservations-grid-builder__sidebar {
	box-sizing: border-box;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 8px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.foodord-reservations-grid-builder > .foodord-reservations-grid-builder__sidebar {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 270px;
}

.foodord-reservations-grid-builder__tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-grid-builder__tab {
	min-height: 40px;
	margin: 0;
	padding: 8px 10px;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
}

.foodord-reservations-grid-builder__tab:hover,
.foodord-reservations-grid-builder__tab:focus-visible,
.foodord-reservations-grid-builder__tab.is-active {
	color: var(--foodord-reservations-primary);
	outline: none;
}

.foodord-reservations-grid-builder__tab.is-active {
	border-bottom-color: var(--foodord-reservations-primary);
}

.foodord-reservations-grid-builder__panel,
.foodord-reservations-grid-builder__inspector {
	padding: 12px;
}

.foodord-reservations-grid-builder__table-list {
	display: grid;
	gap: 6px;
	max-height: 330px;
	overflow-y: auto;
}

.foodord-reservations-grid-builder__table-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 7px 9px;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 6px;
	color: var(--foodord-reservations-text);
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.foodord-reservations-grid-builder__table-option > span:first-child {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.foodord-reservations-grid-builder__table-option strong {
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-grid-builder__table-option small {
	color: var(--foodord-reservations-muted);
	font-size: 10px;
}

.foodord-reservations-grid-builder__table-option:hover,
.foodord-reservations-grid-builder__table-option:focus-visible,
.foodord-reservations-grid-builder__table-option.is-added {
	border-color: color-mix(in srgb, var(--foodord-reservations-primary) 50%, var(--foodord-reservations-border-soft));
	outline: none;
}

.foodord-reservations-grid-builder__table-option.is-added .dashicons {
	color: #16803c;
}

.foodord-reservations-grid-builder__shape-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.foodord-reservations-grid-builder__shape-option {
	display: grid;
	place-items: center;
	gap: 6px;
	min-height: 68px;
	margin: 0;
	padding: 8px;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 6px;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
}

.foodord-reservations-grid-builder__shape-option:hover,
.foodord-reservations-grid-builder__shape-option:focus-visible {
	border-color: var(--foodord-reservations-primary);
	color: var(--foodord-reservations-primary);
	outline: none;
}

.foodord-reservations-grid-builder__shape-icon {
	position: relative;
	display: block;
	width: 25px;
	height: 20px;
	box-sizing: border-box;
	border: 1.5px solid currentColor;
}

.foodord-reservations-grid-builder__shape-icon--circle,
.foodord-reservations-grid-builder__shape-icon--plant {
	width: 22px;
	height: 22px;
	border-radius: 50%;
}

.foodord-reservations-grid-builder__shape-icon--line,
.foodord-reservations-grid-builder__shape-icon--arrow {
	height: 1px;
	border-width: 1.5px 0 0;
	transform: rotate(-20deg);
}

.foodord-reservations-grid-builder__shape-icon--arrow::after {
	position: absolute;
	top: -5px;
	right: 0;
	width: 7px;
	height: 7px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	content: "";
	transform: rotate(45deg);
}

.foodord-reservations-grid-builder__shape-icon--text {
	border: 0;
}

.foodord-reservations-grid-builder__shape-icon--text::before {
	font-family: Georgia, serif;
	font-size: 22px;
	line-height: 20px;
	content: "T";
}

.foodord-reservations-grid-builder__shape-icon--plant {
	background: currentColor;
	border: 0;
	clip-path: polygon(50% 0, 62% 34%, 100% 20%, 72% 50%, 100% 80%, 62% 66%, 50% 100%, 38% 66%, 0 80%, 28% 50%, 0 20%, 38% 34%);
}

.foodord-reservations-grid-builder__shape-icon--door {
	border-right: 0;
	border-bottom: 0;
	border-radius: 100% 0 0;
}

.foodord-reservations-grid-builder__shape-icon--stairs {
	background: repeating-linear-gradient(to bottom, transparent 0 4px, currentColor 4px 5px);
}

.foodord-reservations-grid-builder__inspector {
	display: grid;
	gap: 10px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-grid-builder__inspector-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.foodord-reservations-grid-builder__inspector-header strong {
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-grid-builder__inspector-header button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--foodord-reservations-muted);
	cursor: pointer;
}

.foodord-reservations-grid-builder__field,
.foodord-reservations-grid-builder__appearance,
.foodord-reservations-grid-builder__flip {
	display: grid;
	gap: 5px;
}

.foodord-reservations-grid-builder__flip-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 34px;
	margin: 0;
	padding: 6px 10px;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 5px;
	color: var(--foodord-reservations-text);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
}

.foodord-reservations-grid-builder__flip-button:hover,
.foodord-reservations-grid-builder__flip-button:focus-visible,
.foodord-reservations-grid-builder__flip-button.is-active {
	background: color-mix(in srgb, var(--foodord-reservations-primary) 8%, var(--foodord-reservations-surface));
	border-color: var(--foodord-reservations-primary);
	color: var(--foodord-reservations-primary);
	outline: none;
}

.foodord-reservations-grid-builder__flip-button .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.foodord-reservations-grid-builder__field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.foodord-reservations-grid-builder__seat-settings {
	display: grid;
	gap: 9px;
	padding: 10px 0;
	border-top: 1px solid var(--foodord-reservations-border-soft);
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-grid-builder__seat-settings[hidden],
.foodord-reservations-grid-builder__seat-toggle[hidden],
.foodord-reservations-grid-builder__seat-grid[hidden] {
	display: none;
}

.foodord-reservations-grid-builder__section-label {
	font-size: 12px;
	font-weight: 600;
}

.foodord-reservations-grid-builder__seat-toggle {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--foodord-reservations-muted);
	font-size: 11px;
	cursor: pointer;
}

.foodord-reservations-grid-builder__seat-toggle input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.foodord-reservations-grid-builder__seat-toggle-control {
	position: relative;
	flex: 0 0 auto;
	width: 30px;
	height: 18px;
	background: #c8cdd4;
	border-radius: 9px;
	transition: background-color 0.18s ease;
}

.foodord-reservations-grid-builder__seat-toggle-control::before {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 12px;
	height: 12px;
	background: #fff;
	border-radius: 50%;
	content: "";
	transition: transform 0.18s ease;
}

.foodord-reservations-grid-builder__seat-toggle input:checked + .foodord-reservations-grid-builder__seat-toggle-control {
	background: #218c5a;
}

.foodord-reservations-grid-builder__seat-toggle input:checked + .foodord-reservations-grid-builder__seat-toggle-control::before {
	transform: translateX(12px);
}

.foodord-reservations-grid-builder__seat-toggle input:focus-visible + .foodord-reservations-grid-builder__seat-toggle-control {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--foodord-reservations-primary);
}

.foodord-reservations-grid-builder__seat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.foodord-reservations-grid-builder__field label {
	color: var(--foodord-reservations-muted);
	font-size: 11px;
	font-weight: 600;
}

.foodord-reservations-grid-builder__field input,
.foodord-reservations-grid-builder__field select {
	width: 100%;
	min-height: 34px;
	margin: 0;
	font-size: 12px;
}

.foodord-reservations-grid-builder__field input[type="color"] {
	height: 34px;
	padding: 3px;
}

.foodord-reservations-grid-builder__remove {
	width: 100%;
	margin-top: 2px;
	color: #b42318;
}

.foodord-reservations-schedule-day__header,
.foodord-reservations-booking-block__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 0;
	padding: 12px 14px;
}

.foodord-reservations-schedule-day__toggle {
	--foodord-reservation-toggle-knob: 16px;
	--foodord-reservation-toggle-travel: 16px;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 150px;
	color: var(--foodord-reservations-text);
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.foodord-reservations-schedule-day__toggle-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.foodord-reservations-schedule-day__toggle-control {
	position: relative;
	display: inline-flex;
	flex: 0 0 38px;
	width: 38px;
	height: 22px;
	background: #dcdcde;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	box-sizing: border-box;
	transition: background-color 0.28s ease, border-color 0.28s ease;
}

.foodord-reservations-schedule-day__toggle-control::before {
	position: absolute;
	top: 2px;
	left: 2px;
	width: var(--foodord-reservation-toggle-knob);
	height: var(--foodord-reservation-toggle-knob);
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	content: "";
	transform: translate3d(0, 0, 0) rotate(0deg);
	transform-origin: center center;
	transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}

.foodord-reservations-schedule-day__toggle-input:checked + .foodord-reservations-schedule-day__toggle-control {
	background: #22c55e;
	border-color: #22c55e;
}

.foodord-reservations-schedule-day__toggle-input:checked + .foodord-reservations-schedule-day__toggle-control::before {
	transform: translate3d(var(--foodord-reservation-toggle-travel), 0, 0) rotate(180deg);
}

.foodord-reservations-schedule-day__toggle-input:focus-visible + .foodord-reservations-schedule-day__toggle-control {
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
	outline: none;
}

.foodord-reservations-schedule-day__toggle:hover .foodord-reservations-schedule-day__toggle-control {
	background: #c3c4c7;
	border-color: #c3c4c7;
}

.foodord-reservations-schedule-day__toggle-input:checked:hover + .foodord-reservations-schedule-day__toggle-control {
	background: #16a34a;
	border-color: #16a34a;
}

.foodord-reservations-schedule-day__toggle-label {
	min-width: 0;
}

.foodord-reservations-schedule-day__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1 1 auto;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.4;
}

.foodord-reservations-schedule-day__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 24px;
	padding: 0 9px;
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 999px;
	background: #f6f7f7;
	color: #50575e;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-schedule-day__badge.is-open {
	background: #edf7ed;
	border-color: #bfdfc2;
	color: #20732c;
}

.foodord-reservations-schedule-day__badge.is-closed {
	background: #f6f7f7;
	border-color: #dcdcde;
	color: #646970;
}

.foodord-reservations-schedule-day__times {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-schedule-day__details {
	flex: 0 0 auto;
}

.foodord-reservations-schedule-day__body {
	padding: 14px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
	background: var(--foodord-reservations-surface-muted);
}

.foodord-reservations-time-ranges,
.foodord-reservations-holiday-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.foodord-reservations-time-ranges {
	margin-bottom: 18px;
}

.foodord-reservations-time-range-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(130px, 0.7fr) auto;
	gap: 12px;
	align-items: end;
}

.foodord-reservations-time-range-row--deposit {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.foodord-reservations-time-ranges__add {
	margin-top: 0;
}

.foodord-reservations-booking-block {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-booking-block__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--foodord-reservations-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.foodord-reservations-booking-block__title-icon {
	width: 18px;
	height: 18px;
	color: var(--foodord-reservations-muted);
	font-size: 18px;
	line-height: 1;
}

.foodord-reservations-booking-block__description {
	margin: 4px 0 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.45;
}

.foodord-reservations-booking-block__add {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.foodord-reservations-booking-block__add-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: currentColor;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-holiday-panel {
	margin-top: 14px;
	padding: 14px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: var(--foodord-reservations-radius);
}

.foodord-reservations-holiday-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
	padding: 12px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: var(--foodord-reservations-radius);
}

.foodord-reservations-time-range-row__remove,
.foodord-reservations-holiday-row__remove {
	min-width: 86px;
}

.foodord-reservations-filter {
	display: grid;
	grid-template-columns: minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(220px, 1.4fr) auto;
	gap: 12px;
	align-items: end;
	margin-bottom: 18px;
	padding: 14px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: var(--foodord-reservations-radius);
}

.foodord-reservations-filter--tables {
	grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.4fr) auto;
}

.foodord-reservations-filter__actions {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	min-height: 34px;
}

.foodord-reservations-view-switcher {
	flex: 0 0 auto;
	margin: 0;
}

.foodord-reservations-view-switcher__buttons {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 3px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 8px;
}

.foodord-reservations-admin .foodord-reservations-view-switcher__button {
	min-height: 30px;
	padding: 0 11px;
	border-color: transparent;
	background: transparent;
	color: var(--foodord-reservations-muted);
	box-shadow: none;
}

.foodord-reservations-admin .foodord-reservations-view-switcher__button:hover,
.foodord-reservations-admin .foodord-reservations-view-switcher__button:focus {
	background: #eef0f2;
	border-color: transparent;
	color: var(--foodord-reservations-text);
	box-shadow: none;
}

.foodord-reservations-admin .foodord-reservations-view-switcher__button.is-active {
	background: var(--foodord-reservations-surface);
	border-color: var(--foodord-reservations-border);
	color: var(--foodord-reservations-text);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.foodord-reservations-calendar {
	min-width: 920px;
}

.foodord-reservations-calendar__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.foodord-reservations-calendar__title {
	margin: 0;
	color: var(--foodord-reservations-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

.foodord-reservations-calendar__nav-form {
	margin: 0;
}

.foodord-reservations-admin .foodord-reservations-calendar__nav-button {
	width: 34px;
	min-width: 34px;
	height: 34px;
	padding: 0;
	border-color: var(--foodord-reservations-border);
	background: var(--foodord-reservations-surface);
	color: var(--foodord-reservations-text);
	box-shadow: none;
}

.foodord-reservations-admin .foodord-reservations-calendar__nav-button:hover,
.foodord-reservations-admin .foodord-reservations-calendar__nav-button:focus {
	border-color: #8c8f94;
	background: #f6f7f7;
	color: var(--foodord-reservations-text);
	box-shadow: none;
}

.foodord-reservations-calendar__nav-icon {
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-calendar__weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--foodord-reservations-border-soft);
	border-bottom: 0;
	border-radius: var(--foodord-reservations-radius) var(--foodord-reservations-radius) 0 0;
	background: #fbfbfc;
}

.foodord-reservations-calendar__weekday {
	padding: 10px 12px;
	border-right: 1px solid var(--foodord-reservations-border-soft);
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
}

.foodord-reservations-calendar__weekday:last-child {
	border-right: 0;
}

.foodord-reservations-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border-left: 1px solid var(--foodord-reservations-border-soft);
	border-top: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-calendar__day {
	min-height: 158px;
	padding: 10px;
	background: var(--foodord-reservations-surface);
	border-right: 1px solid var(--foodord-reservations-border-soft);
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
}

.foodord-reservations-calendar__day--empty {
	background: #fbfbfc;
}

.foodord-reservations-calendar__day.is-today {
	background: #f8fbff;
}

.foodord-reservations-calendar__day.is-selected {
	box-shadow: inset 0 0 0 2px rgba(56, 88, 233, 0.28);
}

.foodord-reservations-calendar__day-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.foodord-reservations-calendar__day-number {
	color: var(--foodord-reservations-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-calendar__day-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	background: #eef2ff;
	border: 1px solid #dbe3ff;
	border-radius: 999px;
	color: #3858e9;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-calendar__events {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.foodord-reservations-calendar-event {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-left: 3px solid #9ca3af;
	border-radius: 7px;
	color: var(--foodord-reservations-text);
}

.foodord-reservations-calendar-event--pending {
	border-left-color: #c79a00;
}

.foodord-reservations-calendar-event--confirmed {
	border-left-color: #3858e9;
}

.foodord-reservations-calendar-event--completed {
	border-left-color: #22a06b;
}

.foodord-reservations-calendar-event--cancelled,
.foodord-reservations-calendar-event--no-show {
	border-left-color: #b32d2e;
}

.foodord-reservations-calendar-event__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--foodord-reservations-muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
}

.foodord-reservations-calendar-event__time,
.foodord-reservations-calendar-event__guests {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-calendar-event__customer {
	overflow: hidden;
	color: var(--foodord-reservations-text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-calendar-event__table,
.foodord-reservations-calendar-event__status {
	overflow: hidden;
	color: var(--foodord-reservations-muted);
	font-size: 11px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.foodord-reservations-calendar-event__status {
	color: var(--foodord-reservations-text);
	font-weight: 500;
}

.foodord-reservations-calendar__more {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 3px 7px;
	background: #f6f7f7;
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: 999px;
	color: var(--foodord-reservations-muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.foodord-reservations-calendar__empty {
	margin: 12px 0 0;
	padding: 14px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px dashed var(--foodord-reservations-border);
	border-radius: var(--foodord-reservations-radius);
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	text-align: center;
}

.foodord-reservations-admin p.submit {
	margin: 0;
	padding: 0;
}

.foodord-reservations-admin .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.foodord-reservations-admin .button-primary {
	background: var(--foodord-reservations-primary);
	border-color: var(--foodord-reservations-primary);
	color: #ffffff;
}

.foodord-reservations-admin .button-primary:hover,
.foodord-reservations-admin .button-primary:focus {
	background: var(--foodord-reservations-primary-hover);
	border-color: var(--foodord-reservations-primary-hover);
	color: #ffffff;
}

.foodord-reservations-admin .foodord-reservations-table-toggle:disabled,
.foodord-reservations-admin .foodord-reservations-table-toggle:disabled:hover,
.foodord-reservations-admin .foodord-reservations-table-toggle:disabled:focus {
	background: #f0f0f1;
	border-color: var(--foodord-reservations-border);
	color: #8c8f94;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 1;
}

.foodord-reservations-admin .button.delete {
	background: transparent;
	border-color: transparent;
	color: var(--foodord-reservations-danger);
}

.foodord-reservations-admin .button.delete:hover,
.foodord-reservations-admin .button.delete:focus {
	background: #fcf0f1;
	border-color: #f4c7ca;
	color: #8a1f22;
}

.foodord-reservations-bulk-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.foodord-reservations-bulk-actions select {
	max-width: 100%;
	min-width: 190px;
	height: 32px;
	min-height: 32px;
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-color: var(--foodord-reservations-border);
	border-radius: 6px;
	line-height: 30px;
	box-shadow: none;
}

.foodord-reservations-bulk-actions select:focus {
	border-color: var(--foodord-reservations-primary);
	box-shadow: 0 0 0 1px rgba(56, 88, 233, 0.16);
}

.foodord-reservations-bulk-actions .button {
	height: 32px;
	min-height: 32px;
	margin: 0;
}

.foodord-reservations-table-scroll {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--foodord-reservations-border-soft);
	border-radius: var(--foodord-reservations-radius);
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior: contain;
}

.foodord-reservations-table-scroll--compact .foodord-reservations-table tbody {
	max-height: 300px;
}

.foodord-reservations-table-scroll--reservations .foodord-reservations-table tbody {
	max-height: 520px;
}

.foodord-reservations-table-scroll:focus {
	outline: 2px solid var(--foodord-reservations-primary);
	outline-offset: 2px;
}

.foodord-reservations-table-scroll > .foodord-reservations-table {
	margin: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.foodord-reservations-table-scroll .foodord-reservations-table thead {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.foodord-reservations-table-scroll .foodord-reservations-table tbody {
	display: block;
	width: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.foodord-reservations-table-scroll .foodord-reservations-table tbody tr {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.foodord-reservations-table {
	min-width: 760px;
	border: 1px solid var(--foodord-reservations-border-soft);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--foodord-reservations-radius);
	overflow: hidden;
}

.foodord-reservations-table th {
	padding: 12px 14px;
	background: #fbfbfc;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-align: left;
}

.foodord-reservations-table td {
	padding: 14px;
	border-bottom: 1px solid var(--foodord-reservations-border-soft);
	color: var(--foodord-reservations-text);
	font-size: 13px;
	line-height: 1.45;
	text-align: left;
	vertical-align: middle;
}

.foodord-reservations-table--main .check-column {
	width: 42px;
	padding: 12px 10px;
	text-align: center;
	vertical-align: middle;
}

.foodord-reservations-table--main .check-column input[type="checkbox"] {
	margin: 0;
}

.foodord-reservations-table--main th:nth-child(5),
.foodord-reservations-table--main td:nth-child(5) {
	width: 60px;
	text-align: center;
}

.foodord-reservations-table--main th:nth-child(even),
.foodord-reservations-table--main td:nth-child(even) {
	background: #f8fafc;
}

.foodord-reservations-table--main th:nth-child(odd),
.foodord-reservations-table--main td:nth-child(odd) {
	background: #ffffff;
}

.foodord-reservations-table--main tbody tr:hover td {
	background: #f2f6fb;
}

.foodord-reservations-table--main tbody tr.foodord-reservations-row--pending td {
	animation: foodord-reservations-pending-pulse 1.8s ease-in-out infinite;
	background: #fff1f2;
}

.foodord-reservations-table--main tbody tr.foodord-reservations-row--pending:hover td {
	background: #ffe4e6;
}

@keyframes foodord-reservations-pending-pulse {
	0%,
	100% {
		background: #fff1f2;
	}

	50% {
		background: #ffe4e6;
	}
}

@media (prefers-reduced-motion: reduce) {
	.foodord-reservations-table--main tbody tr.foodord-reservations-row--pending td {
		animation: none;
	}
}

.foodord-reservations-table--tables {
	table-layout: fixed;
	min-width: 640px;
}

.foodord-reservations-table--tables th:first-child,
.foodord-reservations-table--tables td:first-child {
	width: auto;
}

.foodord-reservations-table--tables th:nth-child(2),
.foodord-reservations-table--tables td:nth-child(2),
.foodord-reservations-table--tables th:nth-child(3),
.foodord-reservations-table--tables td:nth-child(3),
.foodord-reservations-table--tables th:nth-child(4),
.foodord-reservations-table--tables td:nth-child(4) {
	width: 120px;
}

.foodord-reservations-table--tables th:last-child,
.foodord-reservations-table--tables td:last-child {
	width: 150px;
	text-align: left;
}

.foodord-reservations-table--tables .foodord-reservations-table__actions {
	min-width: 0;
}

.foodord-reservations-table--tables .foodord-reservations-actions {
	justify-content: flex-start;
}

.foodord-reservations-table--floors {
	table-layout: fixed;
}

.foodord-reservations-table--floors th:first-child,
.foodord-reservations-table--floors td:first-child {
	width: auto;
}

.foodord-reservations-table--floors th:nth-child(2),
.foodord-reservations-table--floors td:nth-child(2) {
	width: 120px;
}

.foodord-reservations-table--floors th:last-child,
.foodord-reservations-table--floors td:last-child {
	width: 150px;
	text-align: left;
}

.foodord-reservations-table--floors .foodord-reservations-actions {
	justify-content: flex-start;
}

.foodord-reservations-table tbody tr:last-child td,
.foodord-reservations-table tbody tr:last-child th {
	border-bottom: 0;
}

.foodord-reservations-code {
	font-weight: 600;
	color: var(--foodord-reservations-text);
}

.foodord-reservations-code-meta {
	display: block;
	margin-top: 3px;
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.foodord-reservations-code-link {
	display: inline-block;
	margin-left: 6px;
	color: var(--foodord-reservations-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.foodord-reservations-code-link:hover,
.foodord-reservations-code-link:focus {
	color: #1d3fd6;
}

.foodord-reservations-customer {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--foodord-reservations-muted);
}

.foodord-reservations-customer strong {
	color: var(--foodord-reservations-text);
	font-weight: 600;
}

.foodord-reservations-customer-email-form {
	display: block;
	margin: 1px 0 0;
	padding: 0;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.12s ease;
}

.foodord-reservations-table--main tbody tr:hover .foodord-reservations-customer-email-form,
.foodord-reservations-table--main tbody tr:focus-within .foodord-reservations-customer-email-form {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.foodord-reservations-customer-email {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--foodord-reservations-primary);
	font: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	box-shadow: none;
	appearance: none;
}

.foodord-reservations-customer-email:hover,
.foodord-reservations-customer-email:focus {
	color: #1d3fd6;
	background: transparent;
	outline: none;
}

.foodord-reservations-customer-email:focus-visible {
	border-radius: 3px;
	box-shadow: 0 0 0 2px rgba(56, 88, 233, 0.16);
}

.foodord-reservations-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 24px;
	padding: 4px 9px;
	border: 1px solid #d5dadd;
	border-radius: 999px;
	background: #f6f7f7;
	color: #3c434a;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
}

.foodord-reservations-status--pending {
	background: #fff8e5;
	border-color: #f0d98d;
	color: #6f5400;
}

.foodord-reservations-status--paid-pending {
	background: #f5f3ff;
	border-color: #c4b5fd;
	color: #5b21b6;
}

.foodord-reservations-status--confirmed {
	background: #eef7ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.foodord-reservations-status--completed {
	background: #edf7ed;
	border-color: #bfdfc2;
	color: #20732c;
}

.foodord-reservations-status--cancelled,
.foodord-reservations-status--no-show {
	background: #fcf0f1;
	border-color: #f4c7ca;
	color: #8a1f22;
}

.foodord-reservations-table__actions {
	min-width: 230px;
}

.foodord-reservations-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.foodord-reservations-action-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.foodord-reservations-action-form--status {
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	width: 160px;
}

.foodord-reservations-action-form__row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
}

.foodord-reservations-table--main .foodord-reservations-table__actions {
	min-width: 170px;
}

.foodord-reservations-action-form__row .button {
	width: 100%;
	margin: 0;
}

.foodord-reservations-status-select {
	width: 100%;
	min-width: 132px;
	max-width: 160px;
	min-height: 32px;
	padding: 0 30px 0 10px;
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 6px;
	background-color: var(--foodord-reservations-surface);
	color: var(--foodord-reservations-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 30px;
	box-shadow: none;
	cursor: pointer;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.wp-core-ui .foodord-reservations-action-form--status .foodord-reservations-status-select {
	border: 1px solid #d7dde3;
	border-radius: 8px;
	box-shadow: none;
	outline: none;
}

.foodord-reservations-actions .foodord-reservations-status-select:hover {
	border-color: #8c8f94;
	background-color: #fbfbfc;
}

.foodord-reservations-actions .foodord-reservations-status-select:focus {
	border-color: var(--foodord-reservations-primary);
	box-shadow: 0 0 0 1px rgba(56, 88, 233, 0.16);
	outline: none;
}

.wp-core-ui .foodord-reservations-action-form--status .foodord-reservations-status-select:focus {
	border-color: var(--foodord-reservations-primary);
	box-shadow: 0 0 0 2px rgba(56, 88, 233, 0.12);
}

.foodord-reservations-cancellation-reason {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.foodord-reservations-cancellation-reason[hidden] {
	display: none;
}

.foodord-reservations-cancellation-reason textarea {
	width: 100%;
	min-height: 58px;
	padding: 8px 10px;
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 8px;
	background: var(--foodord-reservations-surface);
	color: var(--foodord-reservations-text);
	font-size: 13px;
	line-height: 1.4;
	resize: vertical;
	box-shadow: none;
}

.foodord-reservations-cancellation-reason textarea:focus {
	border-color: var(--foodord-reservations-primary);
	box-shadow: 0 0 0 2px rgba(56, 88, 233, 0.12);
	outline: none;
}

.foodord-reservations-note-row td {
	background: #fbfbfc;
	color: var(--foodord-reservations-muted);
}

.foodord-reservations-note-row__label {
	display: inline-flex;
	margin-right: 6px;
	font-weight: 600;
	color: #ff0011;
}

.foodord-reservations-empty {
	margin: 0;
	padding: 22px;
	background: var(--foodord-reservations-surface-muted);
	border: 1px dashed var(--foodord-reservations-border);
	border-radius: var(--foodord-reservations-radius);
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	text-align: center;
}

.foodord-reservations-pagination {
	margin-top: 14px;
}

.foodord-reservations-pagination .tablenav-pages {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	float: none;
	margin: 0;
}

.foodord-reservations-pagination .displaying-num {
	margin: 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
}

.foodord-reservations-pagination .pagination-links {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.foodord-reservations-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 6px;
	background: var(--foodord-reservations-surface);
	color: var(--foodord-reservations-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

.foodord-reservations-pagination a.page-numbers:hover,
.foodord-reservations-pagination a.page-numbers:focus {
	border-color: #8c8f94;
	background: #f6f7f7;
	color: var(--foodord-reservations-text);
	box-shadow: none;
	outline: none;
}

.foodord-reservations-pagination .page-numbers.current {
	border-color: var(--foodord-reservations-text);
	background: var(--foodord-reservations-text);
	color: #ffffff;
}

.foodord-reservations-pagination .page-numbers.dots {
	min-width: auto;
	border-color: transparent;
	background: transparent;
	color: var(--foodord-reservations-muted);
}

.foodord-reservations-pagination .page-numbers.prev,
.foodord-reservations-pagination .page-numbers.next {
	min-width: 86px;
}

@media (max-width: 1180px) {
	.foodord-reservations-grid-builder,
	.foodord-reservations-floor-plan__image-editor,
	.foodord-reservations-floor-plan__image-editor.has-marker-selection {
		grid-template-columns: minmax(0, 1fr);
	}

	.foodord-reservations-grid-builder > .foodord-reservations-grid-builder__sidebar {
		position: static;
		display: grid;
		grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 1fr);
		width: auto;
		max-height: none;
		overflow: hidden;
	}

	.foodord-reservations-grid-builder__tabs {
		grid-column: 1;
	}

	.foodord-reservations-grid-builder__panel {
		grid-column: 1;
	}

	.foodord-reservations-grid-builder__inspector {
		grid-column: 2;
		grid-row: 1 / span 2;
		border-top: 0;
		border-left: 1px solid var(--foodord-reservations-border-soft);
	}

	.foodord-reservations-grid-builder__sidebar.foodord-reservations-floor-plan__image-sidebar {
		display: block;
		max-height: none;
		overflow: hidden;
	}

	.foodord-reservations-grid-builder__sidebar.foodord-reservations-floor-plan__image-sidebar[hidden] {
		display: none;
	}

	.foodord-reservations-floor-plan__image-sidebar .foodord-reservations-grid-builder__inspector {
		grid-column: auto;
		grid-row: auto;
		border-top: 0;
		border-left: 0;
	}

	.foodord-reservations-filter {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-fields--table {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.foodord-reservations-filter__actions {
		align-items: flex-start;
	}
}

@media (max-width: 960px) {
	.foodord-reservations-panel--booking-limits {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-security-grid {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-security-blocklist {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-settings-grid {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-deposit-grid,
	.foodord-reservations-preorder-grid {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-cancellation-modal .foodord-reservations-modal__footer {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-panel--booking .foodord-reservations-schedule-day__header,
	.foodord-reservations-panel--booking .foodord-reservations-booking-block__header {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.foodord-reservations-panel--booking .foodord-reservations-schedule-day__summary {
		flex: 1 1 220px;
	}

	.foodord-reservations-panel--booking .foodord-reservations-time-range-row,
	.foodord-reservations-panel--booking .foodord-reservations-holiday-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.foodord-reservations-panel--booking .foodord-reservations-time-range-row__remove,
	.foodord-reservations-panel--booking .foodord-reservations-holiday-row__remove {
		justify-self: start;
	}
}

@media (max-width: 782px) {
	.foodord-reservations-grid-builder__sidebar {
		display: block;
	}

	.foodord-reservations-grid-builder__inspector {
		border-top: 1px solid var(--foodord-reservations-border-soft);
		border-left: 0;
	}

	.foodord-reservations-grid-builder__toolbar,
	.foodord-reservations-floor-plan__mode {
		align-items: flex-start;
		width: 100%;
	}

	.foodord-reservations-grid-builder__toolbar {
		flex-direction: column;
	}

	.foodord-reservations-grid-builder__toolbar-controls {
		justify-content: space-between;
		width: 100%;
	}

	.foodord-reservations-floor-plan__mode-button {
		flex: 1 1 50%;
		justify-content: center;
	}

	.foodord-reservations-panel {
		padding: 16px;
	}

	.foodord-reservations-bulk-actions select {
		width: 100%;
	}

	.foodord-reservations-email-content__toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.foodord-reservations-email-content__toolbar .foodord-reservations-field {
		width: 100%;
	}

	.foodord-reservations-email-content__placeholders {
		margin-bottom: 0;
	}

	.foodord-reservations-email-content__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.foodord-reservations-privacy__fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.foodord-reservations-panel__header,
	.foodord-reservations-pagination .tablenav-pages {
		flex-direction: column;
		align-items: flex-start;
	}

	.foodord-reservations-panel__actions {
		flex-wrap: wrap;
		width: 100%;
	}

	.foodord-reservations-manual-form__grid {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-fields {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-fields--floor {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-booking-limits__fields {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-capacity-limits__fields {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-floor-plan__toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.foodord-reservations-floor-plan__canvas {
		min-height: 220px;
	}

	.foodord-reservations-time-range-row,
	.foodord-reservations-holiday-row {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-panel--booking .foodord-reservations-schedule-day__toggle,
	.foodord-reservations-panel--booking .foodord-reservations-schedule-day__summary,
	.foodord-reservations-panel--booking .foodord-reservations-schedule-day__details,
	.foodord-reservations-panel--booking .foodord-reservations-booking-block__header .button {
		width: 100%;
	}

	.foodord-reservations-banner-form__body {
		grid-template-columns: 1fr;
	}

	.foodord-reservations-banner-form__preview {
		max-width: 180px;
	}

	.foodord-reservations-banner-form__content,
	.foodord-reservations-banner-form__actions {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.foodord-reservations-actions,
	.foodord-reservations-action-form,
	.foodord-reservations-actions-bar,
	.foodord-reservations-banner-form__actions,
	.foodord-reservations-modal__footer,
	.foodord-reservations-form__actions {
		width: 100%;
	}

	.foodord-reservations-status-select,
	.foodord-reservations-admin .button {
		width: 100%;
	}
}

.foodord-reservations-dashboard {
	margin: 18px 0 36px;
	padding: 32px 28px 28px;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border);
	border-radius: var(--foodord-reservations-radius);
	box-sizing: border-box;
}

.foodord-reservations-dashboard__header {
	max-width: 680px;
	margin: 0 auto 22px;
	text-align: center;
}

.foodord-reservations-dashboard__eyebrow {
	margin: 0 0 8px;
	color: var(--foodord-reservations-primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.foodord-reservations-dashboard__title {
	margin: 0;
	color: var(--foodord-reservations-text);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
}

.foodord-reservations-dashboard__description {
	margin: 10px auto 0;
	color: var(--foodord-reservations-muted);
	font-size: 14px;
	line-height: 1.6;
}

.foodord-reservations-dashboard__billing {
	display: flex;
	width: fit-content;
	margin: 0 auto 24px;
	padding: 4px;
	background: #eceff3;
	border: 1px solid #d9dee5;
	border-radius: 8px;
}

.foodord-reservations-dashboard__billing-button {
	min-width: 112px;
	min-height: 38px;
	padding: 8px 18px;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: #50575e;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.foodord-reservations-dashboard__billing-button:hover,
.foodord-reservations-dashboard__billing-button:focus-visible {
	color: var(--foodord-reservations-primary-hover);
	outline: none;
}

.foodord-reservations-dashboard__billing-button.is-active {
	background: var(--foodord-reservations-primary);
	color: #ffffff;
}

.foodord-reservations-dashboard__plans {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	max-width: 920px;
	margin: 0 auto;
}

.foodord-reservations-plan {
	display: flex;
	min-width: 0;
	min-height: 420px;
	padding: 28px;
	background: var(--foodord-reservations-surface);
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 8px;
	box-sizing: border-box;
	flex-direction: column;
}

.foodord-reservations-plan--unlimited {
	border-color: var(--foodord-reservations-primary);
	border-top-width: 4px;
	padding-top: 25px;
}

.foodord-reservations-plan__header {
	min-height: 126px;
}

.foodord-reservations-plan__name {
	margin: 0 0 8px;
	color: var(--foodord-reservations-primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
}

.foodord-reservations-plan__title {
	margin: 0;
	color: var(--foodord-reservations-text);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
}

.foodord-reservations-plan__description {
	margin: 8px 0 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.55;
}

.foodord-reservations-plan__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-height: 48px;
	margin: 18px 0;
}

.foodord-reservations-plan__price[hidden] {
	display: none;
}

.foodord-reservations-plan__amount {
	color: var(--foodord-reservations-text);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
}

.foodord-reservations-plan__period {
	color: var(--foodord-reservations-muted);
	font-size: 13px;
}

.foodord-reservations-plan__features {
	display: grid;
	gap: 11px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.foodord-reservations-plan__features li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: #3c434a;
	font-size: 13px;
	line-height: 1.45;
}

.foodord-reservations-plan__features .dashicons {
	width: 17px;
	height: 17px;
	color: #16833e;
	font-size: 17px;
	line-height: 17px;
}

.foodord-reservations-plan__action {
	margin-top: auto;
}

.foodord-reservations-plan__status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	margin-top: auto;
	padding: 10px 18px;
	background: #f0f2f4;
	border: 1px solid #d5d9de;
	border-radius: 6px;
	box-sizing: border-box;
	color: #50575e;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

.foodord-reservations-plan__status .dashicons {
	width: 16px;
	height: 16px;
	color: #16833e;
	font-size: 16px;
	line-height: 16px;
}

.foodord-reservations-plan__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 42px;
	padding: 10px 18px;
	background: var(--foodord-reservations-primary);
	border: 1px solid var(--foodord-reservations-primary);
	border-radius: 6px;
	box-sizing: border-box;
	color: #ffffff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.foodord-reservations-plan__button:hover,
.foodord-reservations-plan__button:focus-visible {
	background: var(--foodord-reservations-primary-hover);
	border-color: var(--foodord-reservations-primary-hover);
	color: #ffffff;
	outline: none;
}

.foodord-reservations-plan__button .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
}

.foodord-reservations-dashboard__benefits {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 36px;
	max-width: 920px;
	margin: 38px auto 0;
	padding: 28px 0;
	border-top: 1px solid var(--foodord-reservations-border);
	border-bottom: 1px solid var(--foodord-reservations-border);
}

.foodord-reservations-dashboard__benefits-title {
	margin: 0 0 14px;
	color: var(--foodord-reservations-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.foodord-reservations-dashboard__terms-heading,
.foodord-reservations-dashboard__assurance-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.foodord-reservations-dashboard__terms-heading .foodord-reservations-dashboard__benefits-title,
.foodord-reservations-dashboard__assurance-heading .foodord-reservations-dashboard__benefits-title {
	margin: 0;
}

.foodord-reservations-dashboard__terms-heading > .dashicons,
.foodord-reservations-dashboard__assurance-heading > .dashicons {
	width: 34px;
	height: 34px;
	padding: 7px;
	background: #eef2ff;
	border-radius: 50%;
	box-sizing: border-box;
	color: var(--foodord-reservations-primary);
	font-size: 20px;
	line-height: 20px;
}

.foodord-reservations-dashboard__benefits ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.foodord-reservations-dashboard__benefits li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #3c434a;
	font-size: 13px;
	line-height: 1.5;
}

.foodord-reservations-dashboard__benefits li .dashicons {
	width: 17px;
	height: 17px;
	color: #16833e;
	font-size: 17px;
	line-height: 17px;
}

.foodord-reservations-dashboard__assurance {
	min-width: 0;
}

.foodord-reservations-dashboard__assurance-description {
	margin: 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.55;
}

.foodord-reservations-dashboard__video-guide {
	display: grid;
	align-items: center;
	grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
	gap: 36px;
	max-width: 920px;
	margin: 32px auto 0;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--foodord-reservations-border);
}

.foodord-reservations-dashboard__video-copy {
	min-width: 0;
}

.foodord-reservations-dashboard__video-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 9px;
	color: var(--foodord-reservations-primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.foodord-reservations-dashboard__video-eyebrow .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 18px;
}

.foodord-reservations-dashboard__video-title {
	margin: 0;
	color: var(--foodord-reservations-text);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
}

.foodord-reservations-dashboard__video-description {
	margin: 10px 0 0;
	color: var(--foodord-reservations-muted);
	font-size: 13px;
	line-height: 1.6;
}

.foodord-reservations-dashboard__video-media {
	min-width: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111827;
	border: 1px solid var(--foodord-reservations-border);
	border-radius: 8px;
}

.foodord-reservations-dashboard__video-media iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.foodord-reservations-dashboard__footer {
	max-width: 760px;
	margin: 26px auto 0;
	color: var(--foodord-reservations-muted);
	font-size: 12px;
	line-height: 1.55;
	text-align: center;
}

.foodord-reservations-dashboard__footer-note {
	margin: 7px 0;
}

.foodord-reservations-dashboard__powered {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 12px;
	padding: 6px 10px;
	border: 1px solid #c9ced6;
	border-radius: 6px;
	color: #50575e;
}

.foodord-reservations-dashboard__powered strong {
	color: var(--foodord-reservations-text);
	font-weight: 600;
}

@media (max-width: 782px) {
	.foodord-reservations-dashboard {
		padding: 22px 16px;
	}

	.foodord-reservations-dashboard__header {
		margin-bottom: 18px;
		text-align: left;
	}

	.foodord-reservations-dashboard__title {
		font-size: 22px;
	}

	.foodord-reservations-dashboard__billing {
		width: 100%;
		box-sizing: border-box;
	}

	.foodord-reservations-dashboard__billing-button {
		flex: 1 1 50%;
		min-width: 0;
	}

	.foodord-reservations-dashboard__plans,
	.foodord-reservations-dashboard__benefits,
	.foodord-reservations-dashboard__video-guide {
		grid-template-columns: minmax(0, 1fr);
	}

	.foodord-reservations-plan {
		min-height: 0;
		padding: 22px;
	}

	.foodord-reservations-plan--unlimited {
		padding-top: 19px;
	}

	.foodord-reservations-plan__header {
		min-height: 0;
	}

	.foodord-reservations-dashboard__benefits {
		gap: 24px;
		margin-top: 28px;
		padding: 24px 0;
	}

	.foodord-reservations-dashboard__video-guide {
		gap: 20px;
		margin-top: 26px;
		padding-bottom: 26px;
	}
}
