/* Modulspezifische Styles für das Dokumentmodul.
   Wird automatisch über cTheme::ladeHeader() im <head> eingebunden. */

/* ===== Dokument-Einzelansicht ===== */
.dok-metadaten {
	margin-bottom: var(--abst-5);
}

.dok-meta-raster {
	display: flex;
	flex-wrap: wrap;
	gap: var(--abst-4) var(--abst-8);
}

.dok-meta-eintrag {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dok-meta-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--f-text-schwach, #6c7086);
}

.dok-inhalt {
	line-height: 1.7;
	color: var(--f-text, #cdd6f4);
	overflow-wrap: anywhere;
	word-break: break-word;
}

.dok-inhalt pre,
.dok-inhalt code {
	white-space: pre-wrap;
	word-break: break-word;
}

/* Wenn Tabellen im Inhalt zu breit sind, horizontal scrollbar statt Layout-Bruch */
.dok-inhalt {
	overflow-x: auto;
}

.dok-inhalt h1,
.dok-inhalt h2,
.dok-inhalt h3 {
	margin-top: 1.4em;
	margin-bottom: 0.4em;
	font-weight: 600;
}

.dok-inhalt table {
	border-collapse: collapse;
	width: 100%;
	margin: 1em 0;
}

.dok-inhalt table td,
.dok-inhalt table th {
	border: 1px solid var(--f-border, #45475a);
	padding: 0.375rem 0.625rem;
}

.dok-inhalt table th {
	background: var(--f-seitenleiste, #181825);
	font-weight: 600;
}

.dok-inhalt img {
	max-width: 100%;
	height: auto;
}

/* ===== Workflow-Konfiguration ===== */
.wf-hinweis-block {
	text-align: left;
	margin-bottom: 1rem;
}

.wf-hinweis-inline {
	text-align: left;
}
