/* Quarter Deck collaborative pad. */
.tbook-deck-page .tbook-quarter-deck {
	margin: 0 0 16px;
	padding: 15px;
	border: 1px solid var(--td-line, #dcdcde);
	border-radius: var(--td-radius, 5px);
	background: var(--td-card, #fffdf7);
	color: var(--td-ink, #3a4f66);
}
.tbook-quarter-deck__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 9px;
}
.tbook-quarter-deck h2 {
	margin: 0;
	color: var(--td-retro-author, #474747);
	font-family: 'McLaren', display;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}
.tbook-quarter-deck__status {
	color: var(--td-muted, #64748b);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.tbook-quarter-deck__editor,
.tbook-quarter-deck__readonly {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 230px;
	max-height: 65vh;
	overflow: auto;
	padding: 13px 14px;
	border: 1px solid var(--td-line, #dcdcde);
	border-radius: 4px;
	background: var(--td-soft, #f6f7f7);
	color: var(--td-ink, #3a4f66);
	font-family: 'Atkinson Hyperlegible', 'Segoe UI', sans-serif;
	font-size: 14px;
	line-height: 1.65;
	resize: vertical;
}
.tbook-quarter-deck__readonly {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.tbook-quarter-deck__editor:focus {
	outline: 2px solid var(--td-accent, #567a2b);
	outline-offset: 1px;
}
.tbook-quarter-deck__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	color: var(--td-muted, #64748b);
	font-size: 11px;
}
.tbook-quarter-deck__reload {
	border: 0;
	background: transparent;
	color: var(--td-accent, #567a2b);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
}
@media (max-width: 620px) {
	.tbook-quarter-deck__editor,
	.tbook-quarter-deck__readonly { min-height: 200px; }
}
