.fb {
	display: grid;
	gap: 2rem;
	margin: 2rem 0 4rem;
}
@media (min-width: 900px) {
	.fb { grid-template-columns: 1.1fr .9fr; align-items: start; }
}
.fb-cal, .fb-form {
	background: #402d20;
	border-radius: 1.8rem;
	padding: 1.6rem;
}
.fb-cal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	color: #faf7ed;
}
.fb-cal__bar button {
	width: 3.6rem;
	height: 3.6rem;
	border: 0;
	border-radius: 999px;
	background: #664833;
	color: #faf7ed;
	font-size: 2rem;
	cursor: pointer;
}
.fb-week, .fb-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: .4rem;
}
.fb-week span {
	text-align: center;
	font-size: 1.2rem;
	letter-spacing: .04em;
	color: #b3b0aa;
}
.fb-grid button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .15rem;
	min-height: 5.2rem;
	padding: .3rem .1rem;
	border: 0;
	border-radius: .8rem;
	background: linear-gradient(to bottom right, var(--am, #8c6346) 50%, var(--pm, #8c6346) 50%);
	color: #faf7ed;
	cursor: pointer;
	font: inherit;
	line-height: 1.05;
}
.fb-d { font-size: 1.5rem; font-weight: 650; text-shadow: 0 1px 2px rgba(64, 45, 32, .7); }
.fb-p { font-size: 1.05rem; letter-spacing: -.03em; color: #f3efe4; text-shadow: 0 1px 2px rgba(64, 45, 32, .7); }
.fb-grid button.is-season .fb-p,
.fb-grid button.is-holiday .fb-p { color: #ffb142; font-weight: 700; }
.fb-grid button.is-out { opacity: .35; }
.fb-grid button.is-past,
.fb-grid button:disabled { color: #f4f1ea; cursor: not-allowed; pointer-events: none; }
.fb-grid button.is-today { outline: 2px solid #ffb142; outline-offset: -2px; }
.fb-grid button.is-closed { cursor: not-allowed; }
.fb-grid button.is-start, .fb-grid button.is-end { outline: 2px solid #ffb142; outline-offset: -2px; }
.fb-legend { margin: 1rem 0 0; font-size: 1.3rem; color: #d9d6ce; }
.fb-legend--note { margin-top: .4rem; color: #b3b0aa; }
.fb-legend i {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin: 0 .3rem 0 .8rem;
	border-radius: .2rem;
	vertical-align: middle;
}
.fb-legend .is-past { background: #b5b1ac; }
.fb-legend .is-free { background: #8c6346; }
.fb-legend .is-hold { background: #c47b2b; }
.fb-legend .is-booked { background: #c0392b; }
.fb-legend .is-split { background: linear-gradient(to bottom right, #c0392b 50%, #8c6346 50%); }
.fb-form label { display: block; margin-bottom: 1rem; color: #faf7ed; font-size: 1.4rem; }
.fb-form input, .fb-form textarea {
	display: block;
	width: 100%;
	min-width: 0;
	margin-top: .4rem;
	padding: 1rem 1.2rem;
	border: 1px solid #8c6346;
	border-radius: .8rem;
	background: #664833;
	color: #faf7ed;
	font: inherit;
}
#fb-summary, .fb-hint, .fb-ok {
	color: #faf7ed;
	font-size: 1.5rem;
}
#fb-summary { margin-bottom: 1.2rem; }
.fb-sum__intro { margin: 0; }
.fb-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.fb-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.fb-lines span { display: grid; gap: .15rem; }
.fb-lines b { font-weight: 650; }
.fb-lines small { color: #d9d6ce; font-size: 1.3rem; }
.fb-lines strong, .fb-sum__total strong { color: #ffb142; font-weight: 700; white-space: nowrap; }
.fb-sum__total {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: .8rem 0 0;
	padding-top: .8rem;
	border-top: 1px solid #8c6346;
	font-size: 1.7rem;
}
.fb-callout {
	padding: 1rem 1.2rem;
	border-radius: .8rem;
	background: rgba(255, 177, 66, .16);
	border-left: 3px solid #ffb142;
}
.fb-callout strong { display: block; margin-bottom: .35rem; color: #ffb142; }
.fb-callout p { margin: 0; }
.fb-form .btn:disabled { opacity: .45; cursor: not-allowed; }
.fb-hint { margin-top: 1rem; color: #d9d6ce; }
.fb-ok { padding: 2rem 0; }
.fb-form .btn { width: 100%; text-align: center; }
