/* Document viewer, Outline design (spec §3.7): drawn with lines. A framed card with the soft shadow and
   small corners, outlined buttons and fields with small corners, and the page on the card itself, framed
   by a line instead of a shadow. Loaded after document.css, only where the design is chosen. It changes
   design tokens and our own fallbacks, never a property a Style control writes, so the Style tab still
   wins. */
.hafe-design-outline :is(.hafe-document, .hafe-embed) {
	--hafe-radius: 0.5rem;
	--hafe-radius-sm: 0.375rem;
	--hafe-pill: 0.375rem;
}

.hafe-design-outline :is(.hafe-document, .hafe-embed) {
	--hafe-document-back: var(--hafe-surface);
	--hafe-document-hover: none;
	--hafe-document-press: none;
	--hafe-document-button-line: var(--hafe-line);
	--hafe-document-button-hover-line: var(--hafe-accent);
	--hafe-document-sheet: none;
	--hafe-document-edge: 1px solid var(--hafe-line);
}

.hafe-design-outline .hafe-document .hafe-document__button:hover:not(:disabled) {
	color: var(--hafe-accent-ink);
}

.hafe-design-outline .hafe-document .hafe-document__tab {
	border-width: 1px;
	border-color: var(--hafe-line);
}

.hafe-design-outline .hafe-document .hafe-document__tab[aria-pressed="true"] {
	border-color: var(--hafe-document-mark);
}

.hafe-design-outline .hafe-document .hafe-document__thumb:hover,
.hafe-design-outline .hafe-document .hafe-document__outline a:hover {
	background: none;
	color: var(--hafe-accent-ink);
	text-decoration: underline;
}
