.cr-occupancy { clear: both; position: relative; isolation: isolate; width: 100%; max-width: 66rem; margin: 1em 0; color: #222; font-family: Roboto, sans-serif; }
.cr-occupancy .cr-month-nav { position: absolute; z-index: 1; inset: 0 auto auto 0; width: 100%; max-width: 28rem; display: flex; justify-content: space-between; height: 2.75rem; pointer-events: none; }
.cr-occupancy .cr-month-nav button { width: 2.75rem; padding: 0; color: #333; font: inherit; font-size: 1.5em; line-height: 1; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.cr-occupancy .cr-month-nav button:hover, .cr-occupancy .cr-month-nav button:focus-visible { background: #e5e5df; }
.cr-occupancy .cr-month-nav button[aria-disabled="true"] { opacity: .35; cursor: default; }
.cr-occupancy .cr-month-nav strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cr-occupancy .cr-months { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: .75rem; width: 100%; max-width: 28rem; background: #fff; }
.cr-occupancy.cr-wide .cr-month-nav, .cr-occupancy.cr-wide .cr-months { max-width: none; }
.cr-occupancy.cr-wide .cr-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-occupancy .cr-month { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; margin: 0; text-align: center; font-family: inherit; }
.cr-occupancy .cr-month caption { display: table-caption; padding: 0 2.75rem; line-height: 2.75rem; text-align: center; font-weight: 600; white-space: nowrap; }
.cr-occupancy .cr-month th, .cr-occupancy .cr-month td { padding: 0; border: 0; text-align: center; font-family: inherit; }
.cr-occupancy .cr-month td { box-shadow: inset -1px -1px #fff; }
.cr-occupancy .cr-month th { padding: .3em 0; background: #fff; }
.cr-occupancy .cr-month td:empty { background: #fff; }
.cr-occupancy .cr-month[hidden] { display: none; }
.cr-occupancy .cr-month time, .cr-occupancy .cr-day-link { display: grid; place-items: center; width: 100%; aspect-ratio: 1; line-height: 1; color: inherit; }
.cr-occupancy .cr-day-link[aria-current="date"] { font-weight: bold; outline: 2px solid currentColor; }

.cr-stay-admin .cr-occupancy { font-family: inherit; }
.cr-stay-admin .cr-stay-form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin-bottom: 1.25rem; }
.cr-stay-admin .cr-stay-form label { display: grid; gap: .25rem; }
.cr-stay-admin .cr-stay-form input,
.cr-stay-admin .cr-stay-form select { max-width: 100%; }
.cr-stay-admin .cr-stay-list { max-width: 66rem; overflow-x: auto; }
.cr-stay-admin .cr-stay-note { max-width: 24rem; overflow-wrap: anywhere; }
.cr-stay-admin .striped tbody tr.cr-stay-editing { background-color: #e7f3fc; }
.cr-stay-admin tr.cr-stay-editing > :first-child { box-shadow: inset 3px 0 #2271b1; }

.cr-stats { max-width: 66rem; }
.cr-stats-year, .cr-stats-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1rem 0; }
.cr-stats-legend li { display: flex; align-items: center; gap: .35rem; margin: 0; }
.cr-stats-legend li span { width: .75rem; height: .75rem; }
.cr-stats-chart {
	display: grid;
	grid-template-columns: 3rem repeat(12, minmax(2rem, 1fr));
	gap: .2rem;
	min-width: 30rem;
	margin: 0 0 1.25rem;
	text-align: center;
}
.cr-stats-scale, .cr-stats-bars { height: 10rem; }
.cr-stats-scale { display: flex; flex-direction: column; justify-content: space-between; text-align: right; }
.cr-stats-bars {
	display: flex;
	align-items: end;
	justify-content: center;
	gap: 2px;
	background: repeating-linear-gradient(to top, #c3c4c7 0 1px, transparent 1px 25%);
}
.cr-stats-bars > span { width: 36%; max-width: 1.35rem; }
.cr-stats-table td { font-variant-numeric: tabular-nums; }
.cr-stats-table tfoot th, .cr-stats-table tfoot td { font-weight: 600; }
