/* Flying Circus – Schwerpunktrechner. Nutzt die Vereinsfarben des Themes (mit Fallbacks). */
.fc-sp {
	--sp-gruen: var(--fc-gruen, #00ba00);
	--sp-gelb: var(--fc-gelb, #ebf2d1);
	--sp-rot: var(--fc-rot, #f11000);
	--sp-titel: var(--fc-titel, #dedede);
	--sp-nav: var(--fc-nav, 'Montserrat', 'Open Sans', Arial, sans-serif);
	font-size: 14px;
}
.fc-sp p { font-size: 14px; }

.fc-sp fieldset {
	margin: 0 0 1.2em;
	padding: 0 0 1em;
	border: 0;
	border-bottom: 1px solid var(--sp-titel);
}
.fc-sp legend {
	padding: 0;
	margin-bottom: .7em;
	font-family: var(--sp-nav);
	font-size: 16px;
	font-weight: 700;
}
.fc-sp legend span { font-weight: 400; font-size: 13px; color: #555; }

.fc-sp-raster {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 20px;
}
.fc-sp-feld label { display: block; font-weight: 700; margin-bottom: 4px; }
.fc-sp-eingabe { display: flex; }
.fc-sp-eingabe input {
	flex: 1;
	min-width: 0;
	padding: 7px 9px;
	border: 1px solid #b5b5b5;
	border-right: 0;
	background: #fff;
	font: inherit;
	font-size: 15px;
	text-align: right;
}
.fc-sp-eingabe input:focus { outline: 2px solid var(--sp-gruen); outline-offset: -1px; }
.fc-sp-eingabe input.fc-sp-fehler { border-color: var(--sp-rot); background: #fff3f2; }
.fc-sp-einheit {
	min-width: 58px;
	padding: 7px 9px;
	border: 1px solid #b5b5b5;
	background: var(--sp-gelb);
	text-align: center;
	white-space: nowrap;
}
.fc-sp-feld small { display: block; margin-top: 3px; font-size: 12px; color: #555; line-height: 1.35; }

.fc-sp-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.6em; }
.fc-sp-btn {
	border: 0;
	border-radius: 3px;
	padding: .55em 1.2em;
	background: var(--sp-gruen);
	color: #fff;
	font-family: var(--sp-nav);
	font-size: 15px;
	cursor: pointer;
}
.fc-sp-btn:hover, .fc-sp-btn:focus-visible { background: #009600; }
.fc-sp-btn-hell { background: var(--sp-titel); color: #000; }
.fc-sp-btn-hell:hover, .fc-sp-btn-hell:focus-visible { background: #c8c8c8; }

.fc-sp-auswertung {
	background: #fff;
	border: 1px solid var(--sp-titel);
	padding: 0 20px 16px;
}
.fc-sp-auswertung h3 {
	margin: 0 -20px 16px;
	padding: .5em;
	background: var(--sp-titel);
	text-align: center;
	font-size: 1.17em;
}
.fc-sp-info { color: #555; text-align: center; }

.fc-sp-status {
	margin-bottom: 1em;
	padding: 12px 16px;
	font-size: 17px;
	text-align: center;
	border-left: 6px solid;
}
.fc-sp-ok { background: #e3f6e3; border-color: var(--sp-gruen); }
.fc-sp-warn { background: #fde8e6; border-color: var(--sp-rot); }

.fc-sp-tabelle { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: 14px; }
.fc-sp-tabelle th, .fc-sp-tabelle td { padding: 7px 8px; border-bottom: 1px solid #e6e6e6; text-align: left; vertical-align: top; }
.fc-sp-tabelle th { font-weight: 400; width: 38%; }
.fc-sp-tabelle td:nth-child(2) { font-weight: 700; white-space: nowrap; text-align: right; width: 22%; }
.fc-sp-hint { color: #555; }
.fc-sp-zwischen { margin: 1.2em 0 .4em; font-size: 15px; }

/* Skizze */
.fc-sp-skizze { display: block; width: 100%; height: auto; margin-top: .5em; }
.fc-sp-rumpf { stroke: #444; stroke-width: 4; stroke-linecap: round; }
.fc-sp-auflage { fill: #777; }
.fc-sp-waage { fill: var(--sp-titel); stroke: #999; }
.fc-sp-label { font: 700 13px 'Open Sans', Arial, sans-serif; text-anchor: middle; fill: #000; }
.fc-sp-klein { font-weight: 400; fill: #555; }
.fc-sp-mline { stroke-width: 1.5; stroke-dasharray: 3 3; }
.fc-sp-dot { stroke: #fff; stroke-width: 1.5; }
.fc-sp-m-nasl { stroke: #0057b8; fill: #0057b8; }
.fc-sp-m-ist { stroke: var(--sp-rot); fill: var(--sp-rot); }
.fc-sp-m-soll { stroke: var(--sp-gruen); fill: var(--sp-gruen); }
.fc-sp-m-ballast { stroke: #8a5a00; fill: #8a5a00; }
.fc-sp-m-tank { stroke: #7a3fb0; fill: #7a3fb0; }
text.fc-sp-label.fc-sp-m-nasl, text.fc-sp-label.fc-sp-m-ist, text.fc-sp-label.fc-sp-m-soll,
text.fc-sp-label.fc-sp-m-ballast, text.fc-sp-label.fc-sp-m-tank { stroke: #fff; }
.fc-sp-label { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }

.fc-sp-quelle { margin: 1.2em 0 0; font-size: 12px !important; color: #555; }

@media (max-width: 640px) {
	.fc-sp-raster { grid-template-columns: 1fr; }
	.fc-sp-auswertung { padding: 0 12px 12px; }
	.fc-sp-auswertung h3 { margin: 0 -12px 12px; }
	.fc-sp-tabelle th { width: auto; }
	.fc-sp-tabelle td:nth-child(2) { width: auto; }
	.fc-sp-tabelle .fc-sp-hint { font-size: 12px; }
}
