:root {
	color-scheme: light;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #29241f;
	background: #f5f1eb;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	background: radial-gradient(circle at top left, #fffdf9 0, #f5f1eb 48%, #e9dfd3 100%);
}

.auth-body {
	display: grid;
	place-items: center;
}

.dashboard-body {
	background: #f5f1eb;
}

.app-shell {
	width: min(42rem, calc(100% - 2rem));
	padding: 3rem;
	background: rgba(255, 253, 249, .9);
	border: 1px solid #ded4c8;
	border-radius: 1.25rem;
	box-shadow: 0 1.25rem 4rem rgba(55, 39, 24, .1);
}

.eyebrow {
	margin: 0 0 .75rem;
	color: #8a3f32;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

h1 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 500;
	letter-spacing: -.04em;
}

.lead {
	max-width: 34rem;
	margin: 1.25rem 0 0;
	color: #62584e;
	font-size: 1.1rem;
	line-height: 1.6;
}

@media (max-width: 42rem) {
	.app-shell {
		padding: 2rem;
	}
}

.site-header {
	width: min(70rem, calc(100% - 2rem));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0;
}

.app-topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: 4.5rem;
	padding: .75rem clamp(1rem, 3vw, 2.5rem);
	background: rgba(255, 253, 249, .96);
	border-bottom: 1px solid #ded4c8;
	box-shadow: 0 .35rem 1.5rem rgba(55, 39, 24, .05);
}

.app-topbar .brand {
	flex: 0 0 auto;
}

.sidebar-toggle,
.theme-toggle {
	display: inline-grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	color: #62584e;
	background: transparent;
	border: 1px solid #cfc2b4;
	border-radius: .5rem;
	font: inherit;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
	color: #8a3f32;
	background: #f5f1eb;
	border-color: #8a3f32;
}

.sidebar-toggle {
	margin-right: .25rem;
}

.user-menu .theme-toggle {
	margin-right: .1rem;
}

.topbar-context {
	display: grid;
	gap: .1rem;
	margin-right: auto;
}

.topbar-context span {
	color: #8a3f32;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.topbar-context strong {
	font-family: Georgia, serif;
	font-size: 1.05rem;
	font-weight: 500;
}

.active-site-context {
	display: grid;
	grid-template-columns: auto auto;
	column-gap: .5rem;
	align-items: center;
	padding: .35rem .7rem;
	background: #f5f1eb;
	border: 1px solid #ded4c8;
	border-radius: .55rem;
}

.active-site-context span,
.active-site-context small {
	grid-column: 1 / -1;
	color: #8a3f32;
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.active-site-context strong {
	max-width: 14rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .82rem;
}

.active-site-context small {
	grid-column: auto;
	color: #796e63;
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.active-site-context a {
	grid-column: 1 / -1;
	margin-top: .15rem;
	color: #8a3f32;
	font-size: .7rem;
	font-weight: 700;
	text-decoration: none;
}

.active-site-context a:hover,
.active-site-context a:focus-visible {
	text-decoration: underline;
}

.user-identity {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.user-identity > span:last-child {
	display: grid;
	gap: .12rem;
}

.user-identity small {
	color: #796e63;
	font-size: .7rem;
	text-transform: capitalize;
}

.user-avatar {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	color: #fffdf9;
	background: #8a3f32;
	border-radius: 50%;
	font-size: .8rem;
	font-weight: 700;
}

.dashboard-layout {
	display: flex;
	min-height: calc(100vh - 4.5rem);
}

.dashboard-sidebar {
	position: sticky;
	top: 4.5rem;
	display: flex;
	flex: 0 0 15.5rem;
	flex-direction: column;
	justify-content: space-between;
	height: calc(100vh - 4.5rem);
	padding: 1.5rem .85rem 1rem;
	background: #29241f;
	color: #f5f1eb;
}

body.sidebar-collapsed .dashboard-sidebar {
	flex-basis: 0;
	width: 0;
	padding-right: 0;
	padding-left: 0;
	overflow: hidden;
}

body.sidebar-collapsed .dashboard-sidebar > * {
	opacity: 0;
}

.side-nav {
	display: grid;
	gap: .25rem;
}

.nav-section-label {
	margin: 1.1rem .8rem .35rem;
	color: #b8a99a;
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.nav-section-label:first-child {
	margin-top: .25rem;
}

.nav-item {
	display: grid;
	grid-template-columns: 1.25rem 1fr auto;
	align-items: center;
	gap: .75rem;
	min-height: 2.75rem;
	padding: .6rem .8rem;
	color: #d9cec2;
	border-radius: .55rem;
	font-size: .9rem;
	text-decoration: none;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-item:hover,
.nav-item:focus-visible {
	color: #fffdf9;
	background: rgba(255, 253, 249, .1);
	transform: translateX(2px);
}

.nav-item.active {
	color: #fffdf9;
	background: #8a3f32;
	box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .14);
}

.nav-item small {
	color: #b8a99a;
	font-size: .62rem;
}

.nav-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.sidebar-footer {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .9rem .8rem 0;
	border-top: 1px solid rgba(255, 253, 249, .16);
	color: #b8a99a;
	font-size: .75rem;
}

.status-dot {
	display: block;
	width: .45rem;
	height: .45rem;
	background: #8fc69a;
	border-radius: 50%;
}

.dashboard-main {
	min-width: 0;
	flex: 1;
}

.app-footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 clamp(1rem, 3vw, 2.5rem) 1rem;
	color: #796e63;
	font-size: .7rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.dashboard-main .page-shell {
	width: 100%;
	max-width: 110rem;
	margin-inline: auto;
	padding-right: clamp(1rem, 3vw, 2.5rem);
	padding-left: clamp(1rem, 3vw, 2.5rem);
	padding-top: clamp(2rem, 4vw, 3.5rem);
}

.dashboard-main .content-section {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.dashboard-main .auth-card,
.dashboard-main .wide-card,
.dashboard-main .welcome-card {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.brand {
	color: #29241f;
	font-family: Georgia, serif;
	font-size: 1.25rem;
	text-decoration: none;
}

.brand span {
	color: #8a3f32;
	font-family: inherit;
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.user-menu {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #62584e;
	font-size: .9rem;
}

.user-menu form {
	margin: 0;
}

.page-shell {
	width: min(70rem, calc(100% - 2rem));
	padding: 3rem 0 5rem;
}

.auth-card,
.welcome-card {
	width: min(30rem, 100%);
	margin: 4vh auto 0;
	padding: 2.5rem;
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: 1.25rem;
	box-shadow: 0 1.25rem 4rem rgba(55, 39, 24, .1);
}

.dashboard-main .welcome-card {
	width: min(62rem, 100%);
	margin: 0 auto;
}

.auth-card.compact {
	text-align: center;
}

.auth-card h1,
.welcome-card h1 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: clamp(2rem, 6vw, 3.25rem);
	font-weight: 500;
	letter-spacing: -.04em;
}

.intro {
	margin: 1rem 0 1.75rem;
	color: #62584e;
	line-height: 1.6;
}

.form-stack {
	display: grid;
	gap: .65rem;
}

.form-stack label {
	margin-top: .65rem;
	font-size: .9rem;
	font-weight: 700;
}

.form-stack input {
	width: 100%;
	padding: .8rem .9rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .5rem;
	font: inherit;
}

.form-stack input:focus {
	outline: 3px solid rgba(138, 63, 50, .2);
	border-color: #8a3f32;
}

.form-stack select:focus,
.form-stack textarea:focus,
.settings-grid input:focus,
.settings-grid textarea:focus,
.repeatable-row input:focus,
.repeatable-row select:focus,
.inline-form input:focus,
.area-edit-form input:focus,
.area-edit-form select:focus,
.data-table input:focus,
.data-table select:focus,
.reservation-filters input:focus,
.reservation-filters select:focus {
	outline: 3px solid rgba(138, 63, 50, .2);
	outline-offset: 1px;
	border-color: #8a3f32;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 2.75rem;
	margin-top: 1rem;
	padding: .8rem 1.2rem;
	color: #fffdf9;
	background: #8a3f32;
	border: 1px solid #8a3f32;
	border-radius: .5rem;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.button:focus-visible {
	background: #6f3028;
}

.button-quiet {
	margin-top: 0;
	padding: .45rem .7rem;
	color: #8a3f32;
	background: transparent;
}

.button-danger {
	color: #fffdf9;
	background: #9b4a3e;
	border-color: #9b4a3e;
}

.button-danger:hover,
.button-danger:focus-visible {
	color: #fffdf9;
	background: #78372f;
	border-color: #78372f;
}

.field-help,
.form-link {
	margin: 0;
	color: #62584e;
	font-size: .85rem;
}

.form-link {
	margin-top: 1.5rem;
}

.form-link a {
	color: #8a3f32;
	font-weight: 700;
}

.notice {
	margin: 1rem 0 1.25rem;
	padding: .85rem 1rem;
	border-radius: .5rem;
	font-size: .9rem;
}

.notice p,
.notice ul {
	margin: 0;
}

.notice ul {
	padding-left: 1.2rem;
}

.notice.error {
	color: #752d25;
	background: #f9e8e4;
	border: 1px solid #e4bdb5;
}

.notice.success {
	color: #2d5c42;
	background: #e8f3e9;
	border: 1px solid #b9d7bd;
}

.live-notifications {
	display: grid;
	gap: .45rem;
	margin-top: .45rem;
}

.live-notifications[data-live-notifications] {
	position: fixed;
	top: 5.25rem;
	right: 1.25rem;
	z-index: 30;
	display: grid;
	width: min(28rem, calc(100vw - 2.5rem));
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.live-notification {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title close"
		"detail close"
		"actions actions";
	align-items: start;
	gap: .45rem .75rem;
	padding: .65rem .8rem;
	color: #62584e;
	background: #fffdf9;
	border: 1px solid #e5cfc3;
	border-left: .25rem solid #d99b32;
	border-radius: .55rem;
	box-shadow: 0 .25rem .8rem rgba(55, 39, 24, .06);
	pointer-events: auto;
	animation: live-alert-in .2s ease-out both;
}

.live-notification-confirmed {
	border-left-color: #3d9461;
}

.live-notification-cancelled,
.live-notification-rejected {
	border-left-color: #9b4a3e;
}

.live-notification strong {
	grid-area: title;
	min-width: 0;
	color: #29241f;
	font-size: .78rem;
}

.live-notification > span {
	grid-area: detail;
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: .76rem;
}

.live-notification-close {
	grid-area: close;
	align-self: start;
	width: 1.6rem;
	height: 1.6rem;
	padding: 0;
	color: #796e63;
	background: transparent;
	border: 0;
	border-radius: .35rem;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.live-notification-close:hover,
.live-notification-close:focus-visible {
	color: #29241f;
	background: #f5f1eb;
}

.live-notification-actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	justify-content: stretch;
	flex-wrap: nowrap;
	gap: .6rem;
	width: 100%;
}

.live-notification-actions form {
	display: flex;
	flex: 1 1 0;
	margin: 0;
}

.live-notification-actions > a,
.live-notification-actions form {
	flex: 1 1 0;
	min-width: 0;
}

.live-notification-actions .button {
	width: 100%;
	margin-top: 0;
	white-space: nowrap;
}

.sidebar-footer.is-syncing .status-dot {
	background: #8fc69a;
	animation: live-status-pulse 1.2s ease-in-out infinite;
}

.sidebar-footer.is-error {
	color: #e0aaa0;
}

.sidebar-footer.is-error .status-dot {
	background: #d66d61;
}

@keyframes live-status-pulse {
	0%, 100% {
		opacity: .45;
		transform: scale(.85);
	}
	50% {
		opacity: 1;
		transform: scale(1.2);
	}
}

@keyframes live-alert-in {
	from {
		opacity: 0;
		transform: translateY(-.35rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sidebar-footer.is-syncing .status-dot,
	.live-notification {
		animation: none;
	}
}

html[data-theme="dark"] {
	color-scheme: dark;
}

html[data-theme="dark"] body {
	color: #f1e8df;
	background: #171412;
}

html[data-theme="dark"] .auth-body {
	background: radial-gradient(circle at top left, #2a211d 0, #171412 55%, #110f0d 100%);
}

html[data-theme="dark"] .dashboard-body,
html[data-theme="dark"] .status-grid div,
html[data-theme="dark"] .active-site-context,
html[data-theme="dark"] .reservation-filters,
html[data-theme="dark"] .reservation-card,
html[data-theme="dark"] .calendar-board,
html[data-theme="dark"] .reservation-list-row,
html[data-theme="dark"] .context-bar,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .settings-section,
html[data-theme="dark"] .smtp-test-panel,
html[data-theme="dark"] .selection-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .welcome-card,
html[data-theme="dark"] .wide-card,
html[data-theme="dark"] .live-notification {
	color: #f1e8df;
	background: #241e1a;
	border-color: #4b3d34;
}

html[data-theme="dark"] .app-topbar {
	background: rgba(30, 25, 21, .97);
	border-color: #4b3d34;
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .reservation-card-main strong,
html[data-theme="dark"] .reservation-list-row strong,
html[data-theme="dark"] .selection-card,
html[data-theme="dark"] .data-table td,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
	color: #f1e8df;
}

html[data-theme="dark"] .intro,
html[data-theme="dark"] .field-help,
html[data-theme="dark"] .reservation-card-main span,
html[data-theme="dark"] .reservation-card-main small,
html[data-theme="dark"] .reservation-list-row > time,
html[data-theme="dark"] .reservation-list-row span,
html[data-theme="dark"] .selection-card span,
html[data-theme="dark"] .context-bar span,
html[data-theme="dark"] .settings-section-heading p:not(.eyebrow),
html[data-theme="dark"] .settings-grid label,
html[data-theme="dark"] .repeatable-row label,
html[data-theme="dark"] .data-table th,
html[data-theme="dark"] .user-menu,
html[data-theme="dark"] .user-identity small {
	color: #c8b8aa;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .form-stack input,
html[data-theme="dark"] .form-stack select,
html[data-theme="dark"] .form-stack textarea,
html[data-theme="dark"] .data-table input,
html[data-theme="dark"] .data-table select,
html[data-theme="dark"] .reservation-filters input,
html[data-theme="dark"] .reservation-filters select {
	background: #171412;
	border-color: #5a493e;
}

html[data-theme="dark"] .sidebar-toggle,
html[data-theme="dark"] .theme-toggle {
	color: #d9cec2;
	border-color: #6a5749;
}

html[data-theme="dark"] .sidebar-toggle:hover,
html[data-theme="dark"] .sidebar-toggle:focus-visible,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
	color: #fffdf9;
	background: #3a2e27;
}

html[data-theme="dark"] .live-notification-close {
	color: #c8b8aa;
}

html[data-theme="dark"] .live-notification-close:hover,
html[data-theme="dark"] .live-notification-close:focus-visible {
	color: #fffdf9;
	background: #3a2e27;
}

html[data-theme="dark"] .live-notification {
	color: #f1e8df;
	background: #302721;
	border-color: #735a2e;
	box-shadow: 0 .35rem 1.2rem rgba(0, 0, 0, .32);
}

html[data-theme="dark"] .live-notification strong {
	color: #fffdf9;
}

html[data-theme="dark"] .live-notification > span {
	color: #ead9cf;
}

html[data-theme="dark"] .live-notification-actions .button.button-quiet {
	color: #f0b7a8;
	background: #241e1a;
	border-color: #9b6b5d;
}

html[data-theme="dark"] .table-actions a {
	color: #d7a99b;
	border-color: #6a5749;
}

html[data-theme="dark"] .table-actions a:hover,
html[data-theme="dark"] .table-actions a:focus-visible {
	color: #fffdf9;
	background: #3a2e27;
	border-color: #d7a99b;
}

html[data-theme="dark"] .notice.info {
	color: #ead9ae;
	background: #3a2e1c;
	border-color: #735a2e;
}

html[data-theme="dark"] .notice.success {
	color: #b9dfc0;
	background: #1d3625;
	border-color: #3f724d;
}

html[data-theme="dark"] .notice.error {
	color: #f0b7ae;
	background: #3d201d;
	border-color: #85443b;
}

html[data-theme="dark"] .holiday-import-panel {
	background: #302721;
	border-color: #4b3d34;
}

html[data-theme="dark"] .smtp-test-panel {
	background: #302721;
}

html[data-theme="dark"] .smtp-test-status.is-success {
	color: #9bd4ab;
}

html[data-theme="dark"] .smtp-test-status.is-error {
	color: #f0aaa0;
}

@media (max-width: 42rem) {
	body.sidebar-collapsed .dashboard-sidebar {
		display: none;
	}
}

.status-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.status-grid div {
	display: grid;
	gap: .3rem;
	padding: 1rem;
	background: #f5f1eb;
	border-radius: .75rem;
	min-width: 0;
}

.status-grid span {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.content-section {
	width: min(70rem, 100%);
	margin: 0 auto;
}

.section-heading,
.subsection-heading,
.context-bar,
.button-row,
.form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.section-heading {
	align-items: flex-end;
	margin-bottom: 2rem;
}

.section-heading h1,
.subsection-heading h2,
.panel h2 {
	margin: 0;
	font-family: Georgia, serif;
	font-weight: 500;
}

.section-heading .intro {
	margin-bottom: 0;
}

.table-wrap {
	overflow-x: auto;
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: 1rem;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.data-table th,
.data-table td {
	padding: 1rem;
	border-bottom: 1px solid #e8dfd5;
	vertical-align: middle;
}

.data-table th {
	color: #62584e;
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.data-table tr:last-child td {
	border-bottom: 0;
}

.data-table td:last-child {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .6rem;
}

.data-table td strong,
.data-table td small {
	display: block;
}

.data-table td small {
	margin-top: .25rem;
	color: #796e63;
}

.table-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .6rem;
	white-space: normal;
}

.table-actions a,
.subsection-heading a,
.context-bar a {
	color: #8a3f32;
	font-size: .85rem;
	font-weight: 700;
}

.table-actions a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .55rem .75rem;
	border: 1px solid #cfc2b4;
	border-radius: .5rem;
	background: transparent;
	text-decoration: none;
}

.table-actions a:hover,
.table-actions a:focus-visible {
	color: #6f3028;
	background: #f5f1eb;
	border-color: #8a3f32;
}

.status {
	display: inline-block;
	padding: .3rem .55rem;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 700;
	text-transform: capitalize;
}

.status.active {
	color: #2d5c42;
	background: #e8f3e9;
}

.status.inactive,
.status.revoked {
	color: #752d25;
	background: #f9e8e4;
}

.empty-state {
	display: grid;
	gap: .35rem;
	padding: 2rem;
	background: rgba(255, 253, 249, .94);
	border: 1px dashed #cfc2b4;
	border-radius: 1rem;
	color: #62584e;
}

.empty-state strong {
	color: #29241f;
}

.empty-state.small {
	padding: 1rem 0;
	background: transparent;
	border: 0;
}

.detail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-bottom: 3rem;
	background: #ded4c8;
	border: 1px solid #ded4c8;
	border-radius: 1rem;
	overflow: hidden;
}

.detail-grid div {
	display: grid;
	gap: .35rem;
	padding: 1rem;
	background: #fffdf9;
}

.detail-grid strong {
	color: #8a3f32;
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.full-detail {
	grid-column: 1 / -1;
}

.subsection-heading {
	margin-bottom: 1rem;
}

.subsection-heading h2 {
	font-size: 1.5rem;
}

.wide-card {
	width: min(52rem, 100%);
}

.two-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1rem;
}

.two-columns .full-field {
	grid-column: 1 / -1;
}

.form-stack select,
.form-stack textarea {
	width: 100%;
	padding: .8rem .9rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .5rem;
	font: inherit;
}

.form-stack textarea {
	resize: vertical;
}

.form-divider {
	display: grid;
	gap: .25rem;
	margin-top: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid #ded4c8;
}

.form-divider span {
	color: #62584e;
	font-size: .85rem;
}

.selection-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.selection-card {
	display: grid;
	gap: .35rem;
	padding: 1.25rem;
	color: #29241f;
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: .85rem;
	text-decoration: none;
}

.selection-card:hover,
.selection-card:focus-visible {
	border-color: #8a3f32;
}

.selection-card span,
.context-bar span {
	color: #62584e;
	font-size: .85rem;
}

.context-bar {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	background: #fffdf9;
	border: 1px solid #ded4c8;
	border-radius: .75rem;
}

.context-bar span {
	margin-right: auto;
}

.split-layout {
	display: grid;
	grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr);
	gap: 1.5rem;
}

.panel {
	padding: 1.5rem;
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: 1rem;
}

.panel h2 {
	margin-bottom: 1rem;
	font-size: 1.4rem;
}

.key-created {
	display: grid;
	gap: .6rem;
	color: #2d5c42;
	background: #e8f3e9;
	border: 1px solid #b9d7bd;
}

.key-created code {
	display: block;
	padding: .8rem;
	color: #29241f;
	background: #fffdf9;
	border: 1px solid #b9d7bd;
	border-radius: .4rem;
	font-size: .9rem;
	overflow-wrap: anywhere;
}

.key-created span {
	font-size: .85rem;
}

.key-list {
	display: grid;
	gap: .75rem;
}

.key-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	background: #f5f1eb;
	border-radius: .65rem;
}

.template-site-picker {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	background: #fffdf9;
	border: 1px solid #ded4c8;
	border-radius: .75rem;
}

.template-site-picker summary {
	color: #8a3f32;
	font-weight: 700;
	cursor: pointer;
}

.template-site-picker .selection-grid {
	margin-top: 1rem;
}

.email-scope-bar {
	margin-bottom: 1.5rem;
}

.template-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(17rem, .7fr);
	align-items: start;
	gap: 1.25rem;
}

.template-list {
	display: grid;
	gap: 1rem;
}

.template-card {
	padding: clamp(1.25rem, 2vw, 1.75rem);
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: 1rem;
}

.template-card-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.template-card-heading h2 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: 1.4rem;
	font-weight: 500;
}

.template-card-heading p:not(.eyebrow) {
	margin: .4rem 0 0;
	color: #62584e;
	font-size: .85rem;
}

.template-scope {
	flex: 0 0 auto;
	padding: .35rem .6rem;
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 700;
}

.template-scope.is-custom {
	color: #2d5c42;
	background: #e8f3e9;
}

.template-scope.is-inherited {
	color: #62584e;
	background: #f5f1eb;
}

.template-form {
	display: grid;
	gap: .85rem;
}

.template-form label {
	display: grid;
	gap: .35rem;
	color: #62584e;
	font-size: .85rem;
	font-weight: 700;
}

.template-form input,
.template-form textarea {
	width: 100%;
	padding: .7rem .8rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .45rem;
	font: inherit;
}

.template-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.template-actions {
	justify-content: flex-start;
	flex-wrap: wrap;
}

.template-help {
	position: sticky;
	top: 6rem;
}

.template-help h2 {
	margin-bottom: .6rem;
}

.template-help > p {
	margin: 0 0 1rem;
	color: #62584e;
	font-size: .85rem;
	line-height: 1.5;
}

.template-help dl {
	display: grid;
	gap: .75rem;
	margin: 0;
}

.template-help dl div {
	padding-bottom: .65rem;
	border-bottom: 1px solid #e8dfd5;
}

.template-help dt code {
	color: #8a3f32;
	font-size: .75rem;
	font-weight: 700;
	word-break: break-word;
}

.template-help dd {
	margin: .2rem 0 0;
	color: #62584e;
	font-size: .75rem;
}

.key-item > div:first-child {
	display: grid;
	gap: .25rem;
}

.key-item span,
.key-item small {
	color: #62584e;
	font-size: .8rem;
}

.key-item form {
	margin: 0;
}

.button-small {
	margin-top: 0;
	min-height: 2.75rem;
	padding: .55rem .75rem;
	font-size: .8rem;
}

.button-danger {
	color: #752d25;
	background: transparent;
	border-color: #e4bdb5;
}

.button-danger:hover,
.button-danger:focus-visible {
	color: #fffdf9;
	background: #8a3f32;
}

.dashboard-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: .75rem;
	margin-top: 2rem;
}

.dashboard-nav a {
	display: grid;
	gap: .35rem;
	padding: 1rem;
	color: #29241f;
	background: #f5f1eb;
	border-radius: .75rem;
	text-decoration: none;
}

.dashboard-nav a:hover,
.dashboard-nav a:focus-visible {
	outline: 2px solid #8a3f32;
}

.dashboard-nav span {
	color: #62584e;
	font-size: .85rem;
}

.dashboard-page {
	display: grid;
	gap: 1.25rem;
}

.dashboard-welcome {
	width: 100%;
	margin: 0;
}

.dashboard-welcome-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

.dashboard-site-badge {
	display: grid;
	gap: .2rem;
	min-width: 12rem;
	padding: .75rem .9rem;
	background: #f5f1eb;
	border: 1px solid #ded4c8;
	border-radius: .6rem;
}

.dashboard-site-badge span {
	color: #8a3f32;
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.dashboard-site-badge strong {
	overflow-wrap: anywhere;
}

.dashboard-site-badge small {
	color: #796e63;
	font-size: .75rem;
}

.dashboard-widget {
	min-width: 0;
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: 1rem;
	box-shadow: 0 .6rem 2rem rgba(55, 39, 24, .05);
}

.dashboard-widget-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.dashboard-chart-widget {
	grid-column: 1 / -1;
}

.dashboard-widget-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.35rem 0;
}

.dashboard-widget-heading h2 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: 1.35rem;
	font-weight: 500;
}

.dashboard-widget-heading p:not(.eyebrow) {
	margin: .35rem 0 0;
	color: #62584e;
	font-size: .82rem;
}

.dashboard-widget-toggle {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: .55rem;
	color: #8a3f32;
	background: #f5f1eb;
	border: 1px solid #ded4c8;
	border-radius: 50%;
	cursor: pointer;
}

.dashboard-widget-toggle:hover,
.dashboard-widget-toggle:focus-visible {
	color: #fffdf9;
	background: #8a3f32;
}

.dashboard-widget-toggle svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dashboard-eye-closed {
	display: none;
}

.dashboard-widget.is-collapsed .dashboard-eye-open {
	display: none;
}

.dashboard-widget.is-collapsed .dashboard-eye-closed {
	display: inline-flex;
}

.dashboard-widget-body {
	padding: 1rem 1.35rem 1.35rem;
}

.dashboard-widget.is-collapsed .dashboard-widget-body {
	display: none;
}

.dashboard-total {
	display: inline-block;
	margin-right: .45rem;
	color: #8a3f32;
	font-family: Georgia, serif;
	font-size: 2.6rem;
	font-weight: 500;
	line-height: 1;
}

.dashboard-total-label {
	color: #62584e;
	font-size: .8rem;
}

.dashboard-reservation-list {
	display: grid;
	gap: .4rem;
	margin-top: 1rem;
}

.dashboard-reservation-list a {
	display: grid;
	grid-template-columns: 3.4rem minmax(0, 1fr) auto;
	align-items: center;
	gap: .7rem;
	padding: .55rem .65rem;
	color: #29241f;
	border-top: 1px solid #e8dfd5;
	text-decoration: none;
}

.dashboard-reservation-list a:hover,
.dashboard-reservation-list a:focus-visible {
	background: #f5f1eb;
}

.dashboard-reservation-list time {
	color: #8a3f32;
	font-size: .85rem;
	font-weight: 700;
}

.dashboard-reservation-list a span {
	display: grid;
	min-width: 0;
	gap: .1rem;
}

.dashboard-reservation-list small {
	color: #796e63;
	font-size: .72rem;
	overflow-wrap: anywhere;
}

.dashboard-reservation-list b {
	color: #8a3f32;
	font-size: 1.35rem;
	font-weight: 400;
}

.dashboard-empty {
	margin: 1rem 0 0;
	color: #62584e;
	font-size: .85rem;
}

.dashboard-chart {
	display: grid;
	grid-template-columns: repeat(7, minmax(3rem, 1fr));
	align-items: end;
	gap: .75rem;
	min-height: 11rem;
}

.dashboard-chart-column {
	display: grid;
	grid-template-rows: 1.2rem 7.5rem auto;
	align-items: end;
	gap: .35rem;
	min-width: 0;
	text-align: center;
}

.dashboard-chart-value {
	color: #8a3f32;
	font-size: .72rem;
	font-weight: 700;
}

.dashboard-chart-track {
	display: flex;
	align-items: end;
	height: 100%;
	background: #f5f1eb;
	border-radius: .35rem .35rem .15rem .15rem;
	overflow: hidden;
}

.dashboard-chart-track i {
	display: block;
	width: 100%;
	min-height: 0;
	background: #8a3f32;
	border-radius: .35rem .35rem .15rem .15rem;
}

.dashboard-chart-label {
	color: #796e63;
	font-size: .68rem;
}

.dashboard-account-notice {
	display: grid;
	gap: .25rem;
	margin: 0;
}

.dashboard-site-selector {
	display: grid;
	gap: 1.25rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: 1rem;
}

.dashboard-site-selector h2 {
	margin: 0;
	font-family: Georgia, serif;
	font-weight: 500;
}

.dashboard-site-selector .intro {
	margin-bottom: 0;
}

.notice.info {
	color: #4e4b42;
	background: #f3f0e5;
	border: 1px solid #d8d0b8;
}

.settings-form {
	display: grid;
	gap: 1.25rem;
}

.settings-section {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: 1rem;
}

.holiday-import-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: .85rem 1rem;
	background: #f5f1eb;
	border: 1px solid #ded4c8;
	border-radius: .65rem;
}

.holiday-import-panel strong {
	display: block;
	margin-bottom: .2rem;
}

.holiday-import-panel .field-help {
	display: block;
}

.holiday-import-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: .45rem;
}

.holiday-import-actions .button {
	margin-top: 0;
}

.settings-section-heading,
.panel-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.settings-section-heading h2,
.panel-heading h2 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: 1.5rem;
	font-weight: 500;
}

.settings-section-heading p:not(.eyebrow),
.panel-heading span {
	margin: .4rem 0 0;
	color: #62584e;
	font-size: .85rem;
}

.settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.settings-grid label,
.repeatable-row label {
	display: grid;
	gap: .4rem;
	color: #62584e;
	font-size: .85rem;
	font-weight: 700;
}

.settings-grid input,
.settings-grid textarea,
.repeatable-row input,
.repeatable-row select,
.inline-form input {
	width: 100%;
	padding: .7rem .8rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .45rem;
	font: inherit;
}

.settings-grid textarea {
	resize: vertical;
}

.full-setting {
	grid-column: 1 / -1;
}

.check-setting {
	display: flex !important;
	align-items: center;
	grid-template-columns: auto 1fr;
	gap: .6rem !important;
	align-self: end;
	min-height: 2.8rem;
	font-weight: 500 !important;
}

.check-setting input {
	width: 1rem;
	height: 1rem;
	accent-color: #8a3f32;
}

.settings-actions {
	justify-content: flex-end;
}

.smtp-test-panel {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		margin: 1rem 0 1.5rem;
		padding: 1rem;
		border: 1px solid #ded5c9;
		border-radius: .7rem;
		background: #fbf8f3;
}

.smtp-test-panel p {
		margin: .3rem 0 0;
}

.smtp-test-actions {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: .5rem;
}

.smtp-test-status {
		display: flex;
		align-items: center;
		gap: .4rem;
		font-weight: 700;
}

.smtp-test-status.is-success {
		color: #2d6d48;
}

.smtp-test-status.is-error {
		color: #9a3b31;
}

.smtp-test-indicator {
		width: .65rem;
		height: .65rem;
		flex: 0 0 .65rem;
		border-radius: 50%;
		background: currentColor;
	}

.repeatable-list {
	display: grid;
	gap: .6rem;
}

.hours-mode-switch {
	display: inline-flex;
	gap: .5rem;
	margin-bottom: 1rem;
	padding: .25rem;
	background: #f5f1eb;
	border-radius: 999px;
}

.hours-mode-switch label {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	min-height: 2.75rem;
	padding: .4rem .75rem;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 700;
	cursor: pointer;
}

.hours-mode-switch label:has(input:checked) {
	color: #fffdf9;
	background: #8a3f32;
}

.hours-mode-switch input {
	accent-color: #8a3f32;
}

.hours-mode-panel[hidden] {
	display: none;
}

.hours-settings:has(input[name="hours_mode"][value="simple"]:checked) [data-hours-mode-panel="complete"],
.hours-settings:has(input[name="hours_mode"][value="complete"]:checked) [data-hours-mode-panel="simple"] {
	display: none;
}

.simple-hours-list {
	display: grid;
	gap: .6rem;
}

.simple-hours-row {
	display: grid;
	grid-template-columns: minmax(7rem, .8fr) repeat(4, minmax(7rem, 1fr));
	align-items: end;
	gap: .75rem;
	padding: .85rem;
	background: #f5f1eb;
	border-radius: .65rem;
}

.simple-hours-row label {
	display: grid;
	gap: .4rem;
	color: #62584e;
	font-size: .8rem;
	font-weight: 700;
}

.simple-hours-row .simple-day {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
}

.simple-hours-row input[type="time"] {
	width: 100%;
	padding: .7rem .8rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .45rem;
	font: inherit;
}

.repeatable-row {
	display: grid;
	grid-template-columns: minmax(7rem, 1.2fr) repeat(2, minmax(7rem, 1fr)) auto;
	align-items: end;
	gap: .75rem;
	padding: .85rem;
	background: #f5f1eb;
	border-radius: .65rem;
}

.special-hours-row {
	grid-template-columns: repeat(3, minmax(7rem, 1fr)) minmax(8rem, auto) minmax(10rem, 1.5fr) auto;
}

.icon-button {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: .15rem;
	color: #8a3f32;
	background: transparent;
	border: 1px solid #e4bdb5;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
	color: #fffdf9;
	background: #8a3f32;
}

.compact-heading {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.compact-heading h2 {
	font-family: Georgia, serif;
	font-size: 1.5rem;
	font-weight: 500;
}

.plan-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.plan-panel {
	min-width: 0;
}

.floor-plan {
	display: block;
	width: 100%;
	min-height: 20rem;
	background: #eee7df;
	border: 1px solid #ded4c8;
	border-radius: .75rem;
	touch-action: none;
}

.floor-background {
	fill: #f5f1eb;
	stroke: #ded4c8;
	stroke-width: 2;
}

.plan-zones {
	pointer-events: none;
}

.plan-zone-region {
	opacity: .1;
	vector-effect: non-scaling-stroke;
}

.plan-zone-label {
	font-family: system-ui, sans-serif;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.table-zone-legend {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem .8rem;
	margin: .65rem 0 1rem;
	color: #62584e;
	font-size: .75rem;
}

.table-zone-legend span {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}

.plan-reservation-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: .65rem;
	margin: 0 0 1rem;
}

.plan-reservation-list[hidden] {
	display: none;
}

.plan-reservation-card {
	display: grid;
	gap: .2rem;
	padding: .75rem .85rem;
	background: #fffdf9;
	border: 1px solid #ded4c8;
	border-left: .3rem solid #d99b32;
	border-radius: .6rem;
	box-shadow: 0 .2rem .6rem rgba(55, 39, 24, .06);
	cursor: grab;
	touch-action: none;
}

.plan-reservation-card:active,
.plan-reservation-card.is-dragging {
	cursor: grabbing;
	opacity: .55;
}

.plan-reservation-card strong {
	overflow-wrap: anywhere;
}

.plan-reservation-card span,
.plan-reservation-card small {
	color: #62584e;
	font-size: .78rem;
}

.plan-reservation-card.status-card-confirmed { border-left-color: #3d9461; }
.plan-reservation-card.status-card-cancelled,
.plan-reservation-card.status-card-rejected { border-left-color: #9b4a3e; }

.plan-table.is-drop-target rect,
.plan-table.is-drop-target ellipse {
	stroke: #2e9dcb;
	stroke-width: 7;
	filter: drop-shadow(0 0 8px rgba(46, 157, 203, .6));
}

.plan-table.is-reassigning {
	opacity: .55;
}

.plan-resize-handle {
	display: none;
	fill: #fffdf9;
	stroke: #8a3f32;
	stroke-width: 3;
	cursor: nwse-resize;
	touch-action: none;
}

.plan-resize-handle-top-left {
	cursor: nwse-resize;
}

.plan-table.is-editing .plan-resize-handle {
	display: block;
}

.plan-move-handle {
	display: none;
	fill: #fffdf9;
	stroke: #8a3f32;
	stroke-width: 2;
	cursor: move;
	pointer-events: all;
	touch-action: none;
}

.plan-move-handle text {
	fill: #8a3f32;
	font-family: system-ui, sans-serif;
	font-size: 20px;
	font-weight: 800;
	pointer-events: none;
}

.plan-table.is-editing .plan-move-handle {
	display: block;
}

.plan-table.is-moving {
	opacity: .72;
}

.plan-table.is-editing rect,
.plan-table.is-editing ellipse {
	stroke-dasharray: 6 4;
}

.table-operation-toast {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 35;
	max-width: min(26rem, calc(100vw - 2.5rem));
	padding: .8rem 1rem;
	color: #2d5c42;
	background: #e8f3e9;
	border: 1px solid #b9d7bd;
	border-radius: .6rem;
	box-shadow: 0 .4rem 1rem rgba(55, 39, 24, .14);
	font-size: .85rem;
	font-weight: 700;
	opacity: 1;
	transform: translateY(0);
	transition: opacity .25s ease, transform .25s ease;
}

.table-operation-toast.is-error {
	color: #752d25;
	background: #f9e8e4;
	border-color: #e4bdb5;
}

.table-operation-toast.is-hiding {
	opacity: 0;
	transform: translateY(.4rem);
}

.table-zone-swatch {
	display: inline-block;
	width: .75rem;
	height: .75rem;
	border-radius: .2rem;
}

.table-state-toolbar {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 1rem;
	padding: .85rem;
	background: #f5f1eb;
	border: 1px solid #ded4c8;
	border-radius: .65rem;
}

.plan-editor-controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: .75rem;
	padding: .55rem .7rem;
	color: #62584e;
	background: #f5f1eb;
	border: 1px solid #ded4c8;
	border-radius: .55rem;
	font-size: .75rem;
}

.plan-editor-controls strong {
	margin-right: auto;
	color: #29241f;
}

.plan-editor-controls button:not(.button) {
	width: 2.75rem;
	height: 2.75rem;
	color: #8a3f32;
	background: #fffdf9;
	border: 1px solid #cfc2b4;
	border-radius: .45rem;
	font-size: 1.15rem;
	cursor: pointer;
}

.plan-editor-controls output {
	min-width: 3.5rem;
	color: #8a3f32;
	font-weight: 700;
	text-align: center;
}

.plan-editor-controls > span {
	color: #796e63;
}

.table-state-toolbar > div:first-child {
	display: grid;
	gap: .2rem;
	margin-right: auto;
}

.table-state-toolbar > div:first-child strong {
	font-size: .95rem;
}

.table-state-toolbar > div:first-child span {
	color: #796e63;
	font-size: .75rem;
}

.table-state-toolbar label {
	display: grid;
	gap: .25rem;
	color: #62584e;
	font-size: .72rem;
	font-weight: 700;
}

.table-state-toolbar input[type="date"],
.table-state-toolbar input[type="time"] {
	min-height: 2.75rem;
	padding: .5rem .6rem;
	color: #29241f;
	background: #fffdf9;
	border: 1px solid #cfc2b4;
	border-radius: .4rem;
	font: inherit;
}

.table-state-toolbar input[type="range"] {
	width: 9rem;
	min-height: 2.75rem;
	accent-color: #8a3f32;
}

.table-state-toolbar output {
	color: #8a3f32;
	font-size: .75rem;
	font-weight: 700;
}

.table-state-legend {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem .75rem;
	width: 100%;
	padding-top: .65rem;
	border-top: 1px solid #ded4c8;
	color: #62584e;
	font-size: .72rem;
}

.table-state-legend span {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

.table-state-swatch {
	width: .7rem;
	height: .7rem;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.table-state-swatch.is-available { color: #3d9461; }
.table-state-swatch.is-occupied { color: #c65c52; }
.table-state-swatch.is-upcoming { color: #d99b32; }
.table-state-swatch.is-inactive { color: #8f8378; }

.plan-table {
	cursor: grab;
	color: #fffdf9;
}

.plan-table:active,
.plan-table.is-dragging {
	cursor: grabbing;
}

.plan-table rect,
.plan-table ellipse {
	fill: #8a3f32;
	stroke: #fffdf9;
	stroke-width: 3;
	filter: drop-shadow(0 5px 5px rgba(55, 39, 24, .16));
}

.plan-table.is-state-available rect,
.plan-table.is-state-available ellipse { stroke: #72c68e; }
.plan-table.is-state-occupied rect,
.plan-table.is-state-occupied ellipse { stroke: #e06e62; stroke-width: 6; }
.plan-table.is-state-upcoming rect,
.plan-table.is-state-upcoming ellipse { stroke: #e6b24e; stroke-width: 5; }
.plan-table.is-state-inactive rect,
.plan-table.is-state-inactive ellipse { stroke: #8f8378; }

.plan-table.is-inactive {
	opacity: .38;
}

.plan-table text {
	fill: #fffdf9;
	font-family: system-ui, sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-anchor: middle;
	pointer-events: none;
}

.plan-table .table-capacity {
	font-size: 12px;
	font-weight: 500;
}

.area-strip {
	display: grid;
	gap: .65rem;
	padding: 1rem;
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded4c8;
	border-radius: .85rem;
}

.area-list {
	display: grid;
	gap: .5rem;
}

.area-entry {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.inline-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	flex: 1 1 22rem;
}

.inline-form input:first-of-type {
	min-width: 10rem;
}

.inline-field {
	display: grid;
	gap: .25rem;
	color: #62584e;
	font-size: .75rem;
	font-weight: 700;
}

.inline-field input {
	min-width: 8rem;
}

.order-field input {
	width: 5rem;
	min-width: 5rem;
}

.area-chip {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .55rem .75rem;
	color: #2d5c42;
	background: #e8f3e9;
	border-radius: 999px;
	font-size: .85rem;
}

.area-chip small {
	font-size: .7rem;
	text-transform: capitalize;
}

.area-chip.is-inactive {
	color: #752d25;
	background: #f9e8e4;
}

.area-edit-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .6rem;
	flex: 1 1 24rem;
	padding: .35rem;
	background: #f5f1eb;
	border-radius: .5rem;
}

.area-edit-form input,
.area-edit-form select {
	min-width: 0;
	padding: .45rem .55rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .35rem;
	font: inherit;
}

.status-toggle {
	min-width: 5.75rem;
	min-height: 2.75rem;
	margin-top: 0;
	padding: .45rem .7rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: .78rem;
	font-weight: 700;
	cursor: pointer;
}

.status-toggle.is-active {
	color: #2d5c42;
	background: #e8f3e9;
	border-color: #b9d7bd;
}

.status-toggle.is-inactive {
	color: #752d25;
	background: #f9e8e4;
	border-color: #e4bdb5;
}

.status-toggle:hover,
.status-toggle:focus-visible {
	filter: brightness(.96);
}

.status-toggle:disabled {
	opacity: .6;
	cursor: wait;
}

.area-edit-form input:first-of-type {
	flex: 1;
}

.area-strip > .inline-form {
	width: 100%;
}

.plan-table.is-inactive {
	display: none;
}

.visually-hidden-form {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.notice.warning {
	color: #744d18;
	background: #fbf0d7;
	border: 1px solid #e6ca8c;
}

.table-edit-form {
	display: block;
}

.data-table input,
.data-table select {
	max-width: 10rem;
	padding: .5rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .35rem;
	font: inherit;
}

.table-capacity-control {
	display: flex;
	align-items: center;
	gap: .45rem;
}

.table-capacity-control input[type="range"] {
	width: 6.5rem;
	padding: 0;
	accent-color: #8a3f32;
}

.table-capacity-control output {
	min-width: 2rem;
	color: #8a3f32;
	font-weight: 700;
	text-align: center;
}

.shape-toggle {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

.shape-toggle label {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid #cfc2b4;
	border-radius: .35rem;
	cursor: pointer;
}

.shape-toggle label:has(input:checked) {
	background: #f7e8df;
	border-color: #8a3f32;
}

.shape-toggle label:has(input:focus-visible) {
	outline: 3px solid rgba(138, 63, 50, .2);
	outline-offset: 1px;
}

.shape-toggle input {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

.shape-symbol {
	display: block;
	width: 1rem;
	height: 1rem;
	border: 2px solid #8a3f32;
}

.shape-rect {
	border-radius: .15rem;
}

.shape-round {
	border-radius: 50%;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.position-fields {
	display: flex;
	gap: .35rem;
}

.position-fields input {
	width: 4rem;
}

.coming-soon-card {
	text-align: left;
}

.reservations-heading {
	align-items: center;
}

.reservations-heading-actions {
	display: grid;
	justify-items: end;
	gap: .45rem;
}

.reservation-range-nav {
	display: inline-flex;
	align-items: center;
	gap: .2rem;
	padding: .2rem;
	background: #f5f1eb;
	border: 1px solid #ded4c8;
	border-radius: .55rem;
}

.reservation-range-nav span {
	padding: .35rem .45rem;
	color: #796e63;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.reservation-range-nav a {
	padding: .35rem .55rem;
	color: #62584e;
	border-radius: .35rem;
	font-size: .78rem;
	font-weight: 700;
	text-decoration: none;
}

.reservation-range-nav a:hover,
.reservation-range-nav a:focus-visible,
.reservation-range-nav a.is-active {
	color: #fffdf9;
	background: #8a3f32;
}

.reservation-filters {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 1rem;
	padding: 1rem;
	background: #fffdf9;
	border: 1px solid #ded4c8;
	border-radius: .8rem;
}

.reservation-filters label {
	display: grid;
	gap: .3rem;
	color: #62584e;
	font-size: .75rem;
	font-weight: 700;
}

.reservation-filters input,
.reservation-filters select {
	min-width: 8rem;
	padding: .55rem .65rem;
	color: #29241f;
	background: #fff;
	border: 1px solid #cfc2b4;
	border-radius: .4rem;
	font: inherit;
}

.reservation-filters .filter-search {
	flex: 1 1 12rem;
}

.reservation-day-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: .8rem 1rem;
	background: #f8eee7;
	border: 1px solid #e5cfc3;
	border-radius: .7rem;
}

.reservation-day-summary > div:first-child {
	display: grid;
	gap: .2rem;
}

.reservation-day-summary strong {
	color: #6f3028;
	font-size: .85rem;
}

.reservation-day-summary span {
	color: #796e63;
	font-size: .75rem;
}

.reservation-day-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: .45rem;
}

.reservation-day-links a {
	display: grid;
	gap: .1rem;
	min-width: 4.8rem;
	padding: .4rem .55rem;
	color: #6f3028;
	background: #fffdf9;
	border: 1px solid #e5cfc3;
	border-radius: .45rem;
	text-align: center;
	text-decoration: none;
}

.reservation-day-links a:hover,
.reservation-day-links a:focus-visible {
	border-color: #8a3f32;
	box-shadow: 0 .15rem .45rem rgba(111, 48, 40, .1);
}

.reservation-day-links a strong {
	font-size: .78rem;
}

.reservation-day-links a span {
	color: #62584e;
	font-size: .68rem;
}

.reservation-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
	color: #62584e;
	font-size: .78rem;
}

.reservation-legend span {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.status-dot {
	width: .55rem;
	height: .55rem;
	border-radius: 50%;
}

.status-pending { background: #d99b32; }
.status-confirmed { background: #3d9461; }
.status-cancelled { background: #9b776d; }
.status-rejected { background: #9b4a3e; }
.status-no_show { background: #5e586d; }
.status-completed { background: #4a7ca8; }

.calendar-board {
	display: grid;
	background: #fffdf9;
	border: 1px solid #ded4c8;
	border-radius: 1rem;
	overflow: hidden;
}

.calendar-row {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	min-height: 4.3rem;
	border-bottom: 1px solid #eee7df;
}

.calendar-row:last-child {
	border-bottom: 0;
}

.calendar-row > time {
	padding: 1rem .8rem;
	color: #796e63;
	font-size: .78rem;
	font-variant-numeric: tabular-nums;
	border-right: 1px solid #eee7df;
}

.calendar-row-content {
	display: grid;
	align-content: start;
	gap: .5rem;
	min-width: 0;
	padding: .5rem;
}

.calendar-row.is-drop-target .calendar-row-content {
	background: #f7e8df;
	outline: 2px dashed #8a3f32;
	outline-offset: -2px;
}

.reservation-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .7rem .85rem;
	background: #f5f1eb;
	border-left: .35rem solid #9b776d;
	border-radius: .55rem;
	cursor: grab;
}

.reservation-card.is-dragging {
	opacity: .45;
}

.status-card-pending { border-left-color: #d99b32; }
.status-card-confirmed { border-left-color: #3d9461; }
.status-card-cancelled { border-left-color: #9b776d; }
.status-card-rejected { border-left-color: #9b4a3e; }
.status-card-no_show { border-left-color: #5e586d; }
.status-card-completed { border-left-color: #4a7ca8; }

.reservation-card-main {
	display: grid;
	gap: .18rem;
	min-width: 0;
}

.reservation-card-main strong {
	overflow-wrap: anywhere;
}

.reservation-card-main span,
.reservation-card-main small {
	color: #62584e;
	font-size: .78rem;
}

.reservation-card-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: .6rem;
}

.reservation-card-actions form {
	margin: 0;
}

.reservation-card-actions a,
.reservation-card-actions button {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .3rem .45rem;
	color: #8a3f32;
	background: transparent;
	border: 0;
	font: inherit;
	font-size: .78rem;
	font-weight: 700;
	cursor: pointer;
}

.reservation-card-actions .button {
	min-height: 2.75rem;
	margin-top: 0;
	padding: .55rem .75rem;
	color: #fffdf9;
	background: #8a3f32;
	border: 1px solid #8a3f32;
	border-radius: .5rem;
	font-size: .78rem;
}

.reservation-card-actions .button:hover,
.reservation-card-actions .button:focus-visible {
	color: #fffdf9;
	background: #6f3028;
}

.reservation-card-actions .button.button-quiet {
	color: #8a3f32;
	background: transparent;
	border-color: #cfc2b4;
}

.reservation-card-actions .button.button-danger {
	color: #fffdf9;
	background: #9b4a3e;
	border-color: #9b4a3e;
}

.week-reservation-list {
	display: grid;
	gap: .6rem;
}

.reservation-list-row {
	display: grid;
	grid-template-columns: 12rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.15rem;
	background: #fffdf9;
	border-left: .35rem solid #9b776d;
	border-radius: .65rem;
}

.reservation-list-row > time,
.reservation-list-row span {
	color: #62584e;
	font-size: .82rem;
}

.reservation-list-row > div:not(.reservation-card-actions) {
	display: grid;
	gap: .25rem;
}

.status-grid strong {
	color: #8a3f32;
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

@media (max-width: 52rem) {
	.site-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.auth-card,
	.welcome-card {
		padding: 1.5rem;
	}

	.app-topbar {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: .75rem 1rem;
		padding: .9rem 1rem;
	}

	.topbar-context {
		order: 3;
		flex-basis: 100%;
	}

	.active-site-context {
		order: 4;
		flex-basis: 100%;
		grid-template-columns: auto auto 1fr;
	}

	.active-site-context a {
		grid-column: auto;
		margin-top: 0;
		justify-self: end;
	}

	.app-topbar .user-menu {
		margin-left: auto;
	}

	.dashboard-layout {
		display: block;
	}

	.dashboard-sidebar {
		position: sticky;
		top: 0;
		z-index: 9;
		height: auto;
		padding: .55rem .75rem .65rem;
		border-bottom: 1px solid rgba(255, 253, 249, .16);
	}

	.side-nav {
		display: flex;
		gap: .35rem;
		overflow-x: auto;
		padding-bottom: .15rem;
	}

	.nav-section-label,
	.sidebar-footer,
	.nav-item small {
		display: none;
	}

	.nav-item {
		flex: 0 0 auto;
		grid-template-columns: 1.1rem auto;
		min-height: 2.75rem;
		padding: .5rem .65rem;
		font-size: .8rem;
	}

	.dashboard-main .page-shell {
		width: 100%;
		max-width: none;
		margin-inline: auto;
		padding-right: 1rem;
		padding-left: 1rem;
		padding-top: 1.5rem;
	}

	.status-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-welcome-heading {
		flex-direction: column;
	}

	.dashboard-site-badge {
		width: 100%;
	}

	.dashboard-widget-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-chart-widget {
		grid-column: auto;
	}

	.dashboard-chart {
		gap: .35rem;
	}

	.reservation-card,
	.reservation-list-row {
		align-items: flex-start;
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.reservation-card-actions {
		justify-content: flex-start;
	}

	.section-heading,
	.context-bar,
	.key-item {
		align-items: flex-start;
		flex-direction: column;
	}

	.reservations-heading-actions {
		width: 100%;
		justify-items: stretch;
	}

	.reservations-heading-actions .button-row,
	.reservation-range-nav {
		justify-content: center;
	}

	.reservation-day-summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.reservation-day-links {
		justify-content: flex-start;
	}

	.live-notification {
		min-height: calc(100vh - 9rem);
		padding: 1.25rem;
		align-content: center;
	}

	.live-notifications[data-live-notifications] {
		top: 4.75rem;
		right: .5rem;
		bottom: .5rem;
		left: .5rem;
		width: auto;
		max-height: none;
		align-content: start;
		overflow-y: auto;
		margin-right: auto;
		margin-left: auto;
		padding: .5rem;
	}

	.live-notifications[data-live-notifications]:has(.live-notification) {
		background: rgba(23, 20, 18, .9);
		border: 1px solid #6a5749;
		border-radius: .8rem;
		box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .3);
	}

	.live-notification-title {
		grid-area: title;
	}

	.live-notification-detail {
		grid-area: detail;
	}

	.live-notification-actions {
		grid-area: actions;
		justify-content: stretch;
	}

	.live-notification-close {
		grid-area: close;
	}

	.holiday-import-panel {
		align-items: flex-start;
		flex-direction: column;
	}

	.holiday-import-actions {
		justify-content: flex-start;
	}

	.two-columns,
	.detail-grid,
	.split-layout,
	.settings-grid,
	.plan-layout,
	.template-layout {
		grid-template-columns: 1fr;
	}

	.template-help {
		position: static;
	}

	.template-card-heading {
		flex-direction: column;
	}

	.repeatable-row,
	.special-hours-row,
	.simple-hours-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.simple-hours-row .simple-day {
		grid-column: 1 / -1;
	}

	.repeatable-row .icon-button {
		justify-self: end;
	}

	.inline-form {
		flex-wrap: wrap;
	}

	.two-columns .full-field,
	.full-detail {
		grid-column: auto;
	}
}

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

/* Dark theme overrides are kept at the end so they win over component defaults. */
html[data-theme="dark"] .status-grid div,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .data-table,
html[data-theme="dark"] .data-table th,
html[data-theme="dark"] .data-table td,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .dashboard-widget,
html[data-theme="dark"] .dashboard-nav a,
html[data-theme="dark"] .repeatable-row,
html[data-theme="dark"] .simple-hours-row,
html[data-theme="dark"] .plan-layout,
html[data-theme="dark"] .floor-plan,
html[data-theme="dark"] .calendar-row-content,
html[data-theme="dark"] .week-reservation-list {
	color: #f1e8df;
	background: #241e1a;
	border-color: #4b3d34;
}

html[data-theme="dark"] .status-grid div,
html[data-theme="dark"] .dashboard-nav a:hover,
html[data-theme="dark"] .dashboard-nav a:focus-visible,
html[data-theme="dark"] .repeatable-row,
html[data-theme="dark"] .simple-hours-row {
	background: #302721;
}

html[data-theme="dark"] .reservation-day-summary,
html[data-theme="dark"] .reservation-day-links a,
html[data-theme="dark"] .reservation-range-nav,
html[data-theme="dark"] .reservation-legend,
html[data-theme="dark"] .calendar-row,
html[data-theme="dark"] .calendar-row-content {
	background-color: #302721;
	border-color: #4b3d34;
}

html[data-theme="dark"] .reservation-day-summary strong,
html[data-theme="dark"] .reservation-day-links a strong,
html[data-theme="dark"] .reservation-range-nav a,
html[data-theme="dark"] .reservation-legend,
html[data-theme="dark"] .settings-section-heading h2,
html[data-theme="dark"] .section-heading h1,
html[data-theme="dark"] .subsection-heading h2,
html[data-theme="dark"] .panel h2 {
	color: #f1e8df;
}

html[data-theme="dark"] .data-table th,
html[data-theme="dark"] .data-table td,
html[data-theme="dark"] .settings-section-heading p:not(.eyebrow),
html[data-theme="dark"] .panel-heading span {
	border-color: #4b3d34;
	color: #c8b8aa;
}

html[data-theme="dark"] .data-table tr:nth-child(even) td {
	background: #2b231f;
}

html[data-theme="dark"] .app-shell,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .welcome-card,
html[data-theme="dark"] .reservation-filters,
html[data-theme="dark"] .reservation-card,
html[data-theme="dark"] .reservation-list-row,
html[data-theme="dark"] .calendar-board,
html[data-theme="dark"] .settings-section,
html[data-theme="dark"] .selection-card,
html[data-theme="dark"] .context-bar,
html[data-theme="dark"] .key-item,
html[data-theme="dark"] .wide-card {
	background: #241e1a;
	border-color: #4b3d34;
}

html[data-theme="dark"] .detail-grid {
	background: #4b3d34;
	border-color: #4b3d34;
}

html[data-theme="dark"] .detail-grid div {
	color: #f1e8df;
	background: #241e1a;
}

html[data-theme="dark"] .hours-mode-switch {
	background: #302721;
	border: 1px solid #4b3d34;
}

html[data-theme="dark"] .hours-mode-switch label {
	color: #c8b8aa;
}

html[data-theme="dark"] .hours-mode-switch label:has(input:checked) {
	color: #fffdf9;
}

html[data-theme="dark"] .template-site-picker,
html[data-theme="dark"] .template-card {
	color: #f1e8df;
	background: #241e1a;
	border-color: #4b3d34;
}

html[data-theme="dark"] .template-card-heading p:not(.eyebrow),
html[data-theme="dark"] .template-form label {
	color: #c8b8aa;
}

html[data-theme="dark"] .template-scope.is-inherited {
	color: #c8b8aa;
	background: #302721;
}

html[data-theme="dark"] .dashboard-site-badge {
	background: #302721;
	border-color: #4b3d34;
}

html[data-theme="dark"] .dashboard-site-badge small {
	color: #c8b8aa;
}

html[data-theme="dark"] .dashboard-account-notice {
	color: #ead9ae;
	background: #3a2e1c;
	border-color: #735a2e;
}

html[data-theme="dark"] .dashboard-site-selector {
	color: #f1e8df;
	background: #241e1a;
	border-color: #4b3d34;
}

html[data-theme="dark"] .floor-plan {
	background: #1c1714;
	border-color: #4b3d34;
}

html[data-theme="dark"] .table-zone-legend {
	color: #c8b8aa;
}

html[data-theme="dark"] .plan-reservation-card {
	color: #f1e8df;
	background: #302721;
	border-color: #4b3d34;
}

html[data-theme="dark"] .plan-reservation-card span,
html[data-theme="dark"] .plan-reservation-card small {
	color: #c8b8aa;
}

html[data-theme="dark"] .table-operation-toast {
	color: #b9dfc0;
	background: #1d3625;
	border-color: #3f724d;
}

html[data-theme="dark"] .table-operation-toast.is-error {
	color: #f0b7ae;
	background: #3d201d;
	border-color: #85443b;
}

html[data-theme="dark"] .plan-zone-label {
	fill: #f1e8df;
}

html[data-theme="dark"] .floor-background {
	fill: #302721;
	stroke: #4b3d34;
}

html[data-theme="dark"] .area-strip,
html[data-theme="dark"] .area-edit-form {
	background: #241e1a;
	border-color: #4b3d34;
}

html[data-theme="dark"] .area-edit-form input,
html[data-theme="dark"] .area-edit-form select {
	color: #f1e8df;
	background: #171412;
	border-color: #5a493e;
}

html[data-theme="dark"] .table-state-toolbar {
	color: #f1e8df;
	background: #302721;
	border-color: #4b3d34;
}

html[data-theme="dark"] .table-state-toolbar > div:first-child span,
html[data-theme="dark"] .table-state-toolbar label,
html[data-theme="dark"] .table-state-legend {
	color: #c8b8aa;
}

html[data-theme="dark"] .table-state-toolbar input[type="date"],
html[data-theme="dark"] .table-state-toolbar input[type="time"] {
	color: #f1e8df;
	background: #171412;
	border-color: #5a493e;
}

html[data-theme="dark"] .plan-editor-controls {
	color: #c8b8aa;
	background: #302721;
	border-color: #4b3d34;
}

html[data-theme="dark"] .plan-editor-controls strong {
	color: #f1e8df;
}

html[data-theme="dark"] .plan-editor-controls button:not(.button) {
	color: #f0b7a8;
	background: #241e1a;
	border-color: #6a5749;
}

html[data-theme="dark"] .plan-editor-controls > span {
	color: #c8b8aa;
}

html[data-theme="dark"] .plan-move-handle {
	fill: #241e1a;
	stroke: #f0b7a8;
}

html[data-theme="dark"] .plan-move-handle text {
	fill: #f0b7a8;
}

html[data-theme="dark"] .table-state-legend {
	border-color: #4b3d34;
}
