/* Schießabend-Auswertung – Website */

.sa-wrap {
	--sa-gruen: #1e8449;
	margin: 1em 0 2em;
	line-height: 1.45;
	color: inherit;
}
.sa-wrap *,
.sa-modal * { box-sizing: border-box; }

.sa-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.sa-saison-name { font-weight: 600; }

/* Auswahl-Felder */
.sa-auswahl { margin: 0 0 12px; }
.sa-auswahl label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.sa-auswahl select {
	font: inherit; font-weight: normal; padding: 6px 8px; min-height: 40px; max-width: 100%;
	border: 1px solid #1e8449; border-radius: 4px; background: #fff; color: #222;
}
.sa-auswahl button { font: inherit; padding: 6px 12px; }

/* Reiter */
.sa-reiter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; border-bottom: 2px solid #1e8449; }
.sa-reiter a {
	display: inline-block; padding: 8px 14px; border-radius: 4px 4px 0 0; text-decoration: none !important;
	background: #eef3ef; color: #1e5631 !important; font-weight: 600; margin-bottom: -2px; border: 2px solid transparent;
}
.sa-reiter a:hover, .sa-reiter a:focus { background: #dcebe0; }
.sa-reiter a.sa-aktiv { background: #1e8449; color: #fff !important; border-color: #1e8449; }
.sa-reiter-klein a { padding: 6px 11px; font-size: 0.93em; }

.sa-sprung { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.sa-sprung a {
	font-size: 0.9em; padding: 4px 10px; border-radius: 999px; border: 1px solid #1e8449; color: #1e5631 !important;
	text-decoration: none !important; background: #fff;
}
.sa-sprung a:hover { background: #eef3ef; }

.sa-titel { margin: 1.4em 0 0.5em; font-size: 1.25em; }
.sa-untertitel { margin: 1.1em 0 0.4em; font-size: 1.05em; color: #c0392b; }
.sa-text { margin: 0.3em 0 0.6em; }
.sa-rot { color: #c0392b; }
.sa-klein { font-size: 0.85em; }
.sa-grau { color: #777; }
.sa-gruen { color: #1e8449; }
.sa-mitte { text-align: center; }
.sa-leer { color: #777; font-style: italic; }
.sa-nach-oben { text-align: right; font-size: 0.85em; margin: 6px 0 0; }
.sa-hinweis { padding: 14px 16px; background: #f4f7f5; border-left: 4px solid #1e8449; border-radius: 3px; margin: 10px 0; }
.sa-tipp { font-size: 0.85em; color: #666; margin: 0 0 8px; }
.sa-marke { display: inline-block; font-size: 0.75em; padding: 1px 7px; border-radius: 999px; background: #f0b429; color: #3b2a00; vertical-align: middle; font-weight: 600; }

.sa-abend-titel { margin: 0.8em 0 0.2em; font-size: 1.3em; }
.sa-abend-titel span { font-weight: normal; color: #666; font-size: 0.8em; }
.sa-blaettern { display: flex; justify-content: space-between; gap: 10px; font-size: 0.9em; margin-bottom: 6px; }
.sa-blaettern .sa-rechts { margin-left: auto; }

/* Tabellen */
.sa-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 14px; }
.sa-tabelle { width: 100%; border-collapse: collapse; font-size: 0.95em; margin: 0; border: 1px solid #cfd8d2; background: #fff; color: #222; }
.sa-tabelle th, .sa-tabelle td { padding: 6px 8px; border: 0; border-bottom: 1px solid #e3e8e5; text-align: left; vertical-align: top; }
.sa-tabelle thead th { background: #1e8449; color: #fff; font-weight: 600; font-size: 0.85em; white-space: nowrap; }
.sa-tabelle tbody tr:hover td { background: #f6faf7; }
.sa-tabelle .sa-platz { width: 3.2em; text-align: center; white-space: nowrap; }
.sa-tabelle .sa-zahl { text-align: right; white-space: nowrap; }
.sa-tabelle .sa-gesamt { font-weight: 700; }
.sa-tabelle tr.sa-gruppe th { background: #e4e7e5; color: #222; font-size: 0.95em; text-align: left; padding: 6px 8px; }
.sa-schuetze { font-weight: 700; }
.sa-werte { display: block; margin-top: 2px; line-height: 1.9; }

/* Knopf für das Schussbild – sieht aus wie ein Wert, nicht wie ein Knopf */
.sa-sb {
	font: inherit; font-weight: inherit; color: inherit; background: none; border: 0; padding: 0 1px; margin: 0; cursor: pointer;
	border-bottom: 2px solid #1e8449; border-radius: 0; line-height: 1.2; min-height: 0; text-transform: none; letter-spacing: normal;
	box-shadow: none;
}
.sa-sb:hover, .sa-sb:focus { background: #dcebe0; color: #145a32; outline: none; }
.sa-sb:focus-visible { outline: 2px solid #1e8449; outline-offset: 1px; }
.sa-sb.sa-klein-knopf { font-weight: normal; font-size: 0.95em; margin-right: 4px; }
.sa-sb.sa-laedt { opacity: 0.5; cursor: progress; }

/* Pokal */
.sa-zeitraum { color: #555; margin-top: -0.3em; }
.sa-balken { background: #e4e7e5; padding: 6px 10px; margin: 1.4em 0 0; font-size: 1.05em; border-radius: 3px 3px 0 0; }
.sa-paarungen { table-layout: fixed; min-width: 520px; }
.sa-paarungen .sa-c-nr { width: 3.2em; }
.sa-paarungen .sa-c-wert { width: 13%; }
.sa-paarungen .sa-c-gesamt { width: 18%; }
.sa-paarungen .sa-nr { font-size: 1.6em; text-align: center; vertical-align: middle; width: 2.2em; color: #555; }
.sa-paarungen tbody.sa-paarung { border-bottom: 2px solid #9aa59f; }
.sa-paarungen tr.sa-sieger td { font-weight: 700; }
.sa-paarungen tr.sa-raus td.sa-name { color: #666; }
.sa-paarungen tr.sa-paarung-hinweis td { font-size: 0.85em; color: #8a6d00; padding-top: 0; }
.sa-weiter { display: inline-block; font-size: 0.72em; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #1e8449; color: #fff; vertical-align: middle; }
.sa-rangliste tr.sa-podest td { font-weight: 700; }

/* Könige */
.sa-koenige tr.sa-koenig td { background: #fff7db; font-weight: 700; }
.sa-krone { color: #c79a00; }

@media (max-width: 600px) {
	.sa-tabelle { font-size: 0.88em; }
	.sa-tabelle th, .sa-tabelle td { padding: 5px 5px; }
	.sa-reiter a { padding: 7px 10px; font-size: 0.92em; }
	.sa-paarungen { table-layout: fixed; min-width: 520px; }
.sa-paarungen .sa-c-nr { width: 3.2em; }
.sa-paarungen .sa-c-wert { width: 13%; }
.sa-paarungen .sa-c-gesamt { width: 18%; }
.sa-paarungen .sa-nr { font-size: 1.2em; width: 1.6em; }
}

/* ---------------------------------------------------------------- Schussbild-Fenster */
html.sa-modal-offen, html.sa-modal-offen body { overflow: hidden; }
.sa-modal {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; background: rgba(0, 0, 0, 0.72);
	display: flex; align-items: center; justify-content: center; padding: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.4;
}
.sa-modal-box {
	background: #2a2a2a; color: #fff; border-radius: 6px; width: 100%; max-width: 1100px; max-height: 100%;
	display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.sa-modal-kopf { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px 6px; }
.sa-modal-titelbox { flex: 1 1 auto; min-width: 0; }
.sa-modal-titel { font-size: 1.2em; font-weight: 700; }
.sa-modal-unter { color: #bbb; font-size: 0.9em; }
.sa-modal-zu {
	flex: 0 0 auto; background: #555; color: #fff; border: 0; border-radius: 4px; width: 40px; height: 40px;
	font-size: 26px; line-height: 38px; cursor: pointer; padding: 0;
}
.sa-modal-zu:hover { background: #777; }
.sa-modal-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 16px 10px; }
.sa-knopf {
	background: #1e8449; color: #fff; border: 0; border-radius: 3px; padding: 8px 14px; font: inherit; cursor: pointer; min-height: 38px;
}
.sa-knopf:hover { background: #145a32; }
.sa-knopf[disabled] { background: #555; color: #999; cursor: default; }
/* Knöpfe im Fenster gegen Theme-Stile absichern (manche Themes färben Knöpfe/Beschriftungen um) */
.sa-modal .sa-knopf {
	display: inline-block; width: auto; height: auto; margin: 0; background: #1e8449 !important; color: #fff !important;
	border: 0 !important; border-radius: 3px; padding: 8px 14px !important; font: inherit !important; font-size: 15px !important;
	line-height: 1.3 !important; text-transform: none !important; letter-spacing: normal !important; text-indent: 0 !important;
	box-shadow: none !important; min-height: 38px; opacity: 1; visibility: visible;
}
.sa-modal .sa-knopf:hover { background: #145a32 !important; }
.sa-modal .sa-knopf[disabled] { background: #555 !important; color: #999 !important; }
.sa-modal .sa-knopf.sa-nummern[aria-pressed="false"] { background: #3a3a3a !important; }
.sa-modal .sa-modal-titel, .sa-modal .sa-modal-unter, .sa-modal .sa-info, .sa-modal .sa-legende { text-transform: none; }
.sa-modal .sa-modal-box { color: #fff !important; }
.sa-modal .sa-modal-unter { color: #bbb !important; }
.sa-modal .sa-legende { color: #aaa !important; }
.sa-modal-inhalt { display: flex; gap: 14px; padding: 0 16px 16px; min-height: 0; overflow: auto; }
.sa-bild { flex: 3 1 0; min-width: 0; display: flex; align-items: flex-start; justify-content: center; }
.sa-scheibe { width: 100%; height: auto; max-height: 72vh; display: block; background: #f4f1e8; }
.sa-seite { flex: 1 1 0; min-width: 250px; display: flex; flex-direction: column; gap: 10px; }
.sa-info { background: #1a1a1a; border: 1px solid #1e8449; padding: 10px 12px; font-size: 1.05em; }
.sa-info .sa-zeit { font-weight: 700; }
.sa-info .sa-gruen { color: #2ecc71; }
.sa-schuss-scroll { overflow: auto; max-height: 50vh; border: 1px solid #1e8449; background: #1a1a1a; }
.sa-schuesse { width: 100%; border-collapse: collapse; color: #fff; font-size: 0.95em; margin: 0; background: transparent; }
.sa-schuesse th { position: sticky; top: 0; background: #1e8449; color: #fff; padding: 5px 6px; font-weight: 600; text-align: center; border: 0; }
.sa-schuesse td { padding: 4px 6px; text-align: center; border: 0; border-bottom: 1px solid #262626; cursor: pointer; }
.sa-schuesse tr.sa-hover td { background: #34495e; }
.sa-schuesse tr.sa-fest td { background: #1e8449; }
.sa-schuesse td.sa-punkt { font-size: 1.1em; }
.sa-schuesse td.sa-bester { color: #2ecc71; font-weight: 700; }
.sa-legende { color: #aaa; font-size: 0.82em; }

@media (max-width: 760px) {
	.sa-modal { padding: 0; align-items: stretch; }
	.sa-modal-box { border-radius: 0; max-height: none; height: 100%; }
	.sa-modal-inhalt { flex-direction: column; }
	.sa-scheibe { max-height: 58vh; }
	.sa-seite { min-width: 0; }
	.sa-schuss-scroll { max-height: none; }
}
.sa-modal .sa-modal-zu { background: #555 !important; color: #fff !important; border: 0 !important; padding: 0 !important; width: 40px !important; height: 40px !important; font-size: 26px !important; line-height: 38px !important; box-shadow: none !important; }
.sa-modal .sa-modal-zu:hover { background: #777 !important; }

/* ---------------------------------------------------------------- Jahreswertung (Klassentabelle) */
.sa-aw-scroll { border: 1px solid #9aa59f; }
.sa-aw { border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.25; background: #fff; color: #111; margin: 0; width: auto; }
.sa-aw th, .sa-aw td {
	border: 0; border-right: 1px solid #b9c2bd; padding: 3px 5px; text-align: center; white-space: nowrap; vertical-align: middle;
	background-clip: padding-box;
}
.sa-aw thead th { background: #e0e0e0; color: #111; font-weight: 700; border-bottom: 1px solid #8f9993; }
.sa-aw thead th.sa-aw-abend { color: #1e8449; font-size: 15px; border-bottom: 0; }
.sa-aw thead th.sa-aw-datum { font-weight: 600; font-size: 12px; }
.sa-aw .sa-aw-name { text-align: left; min-width: 11em; font-weight: 700; }
.sa-aw thead .sa-aw-name { text-align: center; }
.sa-aw .sa-aw-klasse { color: #c0392b; font-size: 17px; }
.sa-aw thead th.sa-aw-sum { color: #c0392b; font-size: 15px; }
.sa-aw .sa-aw-vs { color: #1f4fd1; font-weight: 700; }
.sa-aw .sa-aw-best { background: #c6e5c6; font-weight: 700; }
.sa-aw .sa-aw-sum, .sa-aw .sa-aw-anw, .sa-aw .sa-aw-rei { font-weight: 700; }
.sa-aw .sa-aw-wert { min-width: 3.4em; font-weight: 600; }
.sa-aw tbody td { background: #fff; }
.sa-aw tbody.sa-aw-alt td { background: #d6eaff; }
.sa-aw tbody.sa-aw-alt td.sa-aw-best, .sa-aw tbody td.sa-aw-best { background: #c6e5c6; }
.sa-aw tbody tr.sa-aw-z2 td, .sa-aw tbody td[rowspan] { border-bottom: 1px solid #555; }
.sa-aw tbody tr:hover td.sa-aw-wert { background: #fff3c4; }
/* Name und Reihenfolge bleiben beim seitlichen Verschieben stehen */
.sa-aw .sa-aw-rei { position: sticky; left: 0; z-index: 2; width: 2.6em; min-width: 2.6em; }
.sa-aw .sa-aw-name { position: sticky; left: 2.6em; z-index: 2; box-shadow: 2px 0 0 #8f9993; }
.sa-aw thead .sa-aw-rei, .sa-aw thead .sa-aw-name { z-index: 3; }
@media (max-width: 600px) {
	.sa-aw { font-size: 12px; }
	.sa-aw .sa-aw-name { min-width: 8.5em; white-space: normal; }
}

/* ---------------------------------------------------------------- Endschießen */
.sa-pdf-liste { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid #cfd8d2; border-radius: 4px; }
.sa-pdf-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; border-bottom: 1px solid #e3e8e5; margin: 0; }
.sa-pdf-liste li:last-child { border-bottom: 0; }
.sa-pdf-liste li.sa-aktiv { background: #eef3ef; }
.sa-pdf-liste .sa-pdf-titel {
	font: inherit; font-weight: 700; color: #1e5631 !important; background: none !important; border: 0 !important; padding: 0 !important;
	cursor: pointer; text-align: left; text-transform: none !important; box-shadow: none !important; min-height: 0;
}
.sa-pdf-liste .sa-pdf-titel:hover { text-decoration: underline; }
.sa-pdf-liste .sa-pdf-titel:before { content: "\1F4C4\00a0"; }
.sa-pdf-liste .sa-pdf-oeffnen {
	display: inline-block; background: #1e8449 !important; color: #fff !important; border: 0 !important; cursor: pointer; font: inherit; font-size: 0.9em !important;
	padding: 6px 14px !important; border-radius: 3px; text-transform: none !important; box-shadow: none !important; line-height: 1.3 !important;
}
.sa-pdf-liste .sa-pdf-oeffnen:hover { background: #145a32 !important; }

/* PDF-Lightbox: füllt das Fenster, das Dokument beginnt oben – kein Scrollen der Seite */
.sa-pdf-box {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100001; background: rgba(0, 0, 0, 0.78);
	display: flex; align-items: center; justify-content: center; padding: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px;
}
.sa-pdf-box-inhalt { background: #2a2a2a; width: 100%; max-width: 1100px; height: 100%; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; }
.sa-pdf-box-kopf { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #fff; }
.sa-pdf-box-titel { flex: 1 1 auto; font-weight: 700; font-size: 1.05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-pdf-box-kopf a, .sa-pdf-box-kopf button {
	background: #1e8449 !important; color: #fff !important; border: 0 !important; border-radius: 3px; padding: 7px 12px !important; font: inherit !important;
	font-size: 14px !important; text-decoration: none !important; cursor: pointer; line-height: 1.3 !important; text-transform: none !important; box-shadow: none !important;
}
.sa-pdf-box-kopf .sa-pdf-box-zu { background: #555 !important; font-size: 22px !important; line-height: 1 !important; padding: 5px 12px !important; }
.sa-pdf-box iframe { flex: 1 1 auto; width: 100%; height: 100%; border: 0; background: #525659; display: block; }
@media (max-width: 760px) { .sa-pdf-box { padding: 0; } .sa-pdf-box-inhalt { border-radius: 0; } }
.sa-modal .sa-auflage-hinweis { margin-top: 6px; padding-top: 6px; border-top: 1px solid #333; font-size: 0.82em; color: #f0c674 !important; }


/* ---------------------------------------------------------------- Jahreswertung: Vollbild / Zoom */
.sa-aw-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.sa-aw-leiste[hidden] { display: none; }
.sa-aw-knopf {
	font: inherit; font-size: 14px !important; line-height: 1.2 !important; padding: 6px 12px !important; min-height: 34px;
	background: #eef3ef !important; color: #1e5631 !important; border: 1px solid #1e8449 !important; border-radius: 4px; cursor: pointer;
	text-transform: none !important; box-shadow: none !important; font-weight: 600;
}
.sa-aw-knopf:hover { background: #dcebe0 !important; }
.sa-aw-voll { background: #1e8449 !important; color: #fff !important; }
.sa-aw-voll:hover { background: #145a32 !important; }
.sa-aw-zoomgruppe { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.sa-aw-zoomgruppe .sa-aw-knopf { width: 36px; padding: 6px 0 !important; font-size: 18px !important; text-align: center; }
.sa-aw-prozent { min-width: 3.4em; text-align: center; font-size: 14px; font-weight: 600; }
/* Vollbild: die Klassentabelle über das ganze Fenster */
.sa-auswertung.sa-aw-vollbild {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; background: #fff; color: #222;
	padding: 12px 14px; display: flex; flex-direction: column; margin: 0;
}
.sa-auswertung.sa-aw-vollbild .sa-reiter { margin-bottom: 10px; }
.sa-auswertung.sa-aw-vollbild .sa-aw-scroll { flex: 1 1 auto; overflow: auto; max-width: none; margin: 0; }
body.admin-bar .sa-auswertung.sa-aw-vollbild { top: 32px; }
@media (max-width: 782px) { body.admin-bar .sa-auswertung.sa-aw-vollbild { top: 46px; } }

/* [schiessabend_saisons]: Saisons als oberste Reiterreihe */
.sa-saisons-wrap { margin-top: 0; }
.sa-saisons-wrap > .sa-reiter-saisons { margin-bottom: 14px; }
.sa-saisons-wrap > .sa-reiter-saisons a { font-size: 1.05em; }
.sa-saisons-wrap .sa-wrap { margin-top: 0; }
.sa-saisons-wrap .sa-kopf:empty { display: none; }
.sa-schuesse tr.sa-gruppe-zeile td { background: #1e3d2a; color: #cfe8d6; font-weight: 700; text-align: left; padding: 5px 8px; cursor: default; border-bottom: 1px solid #1e8449; }
.sa-schuesse td.sa-org { color: #bbb; }

/* Pokal-Symbole (Gold, Silber, Bronze) in der Finalrunde und Rangliste */
.sa-pokal-symbol { display: inline-block; vertical-align: middle; line-height: 0; margin-left: 4px; }
.sa-pokal-symbol svg { display: inline-block; width: 22px; height: 22px; }

/* Endschießen: gewertete Serien fett, Finale */
.sa-wrap .sa-werte .sa-gewertet { font-weight: 700; }
.sa-wrap .sa-zusatz { font-size: 0.8em; color: #777; margin-left: 4px; }
.sa-wrap .sa-finale tr.sa-finalist .sa-schuetze { font-weight: 700; }
.sa-wrap .sa-finale tr.sa-nachruecker td { color: #8a8a8a; }
.sa-wrap .sa-finale tr.sa-finale-grenze td { border-bottom: 2px solid #1e8449; }
.sa-wrap .sa-finale td.sa-stechen { white-space: nowrap; }
.sa-wrap .sa-finalblatt th, .sa-wrap .sa-finalblatt td { padding-left: 5px; padding-right: 5px; white-space: nowrap; }
.sa-wrap .sa-finalblatt .sa-schuss { min-width: 2.6em; }
.sa-wrap .sa-finale td.sa-zw { background: #eaf4ee; font-weight: 700; }
.sa-wrap .sa-finale td.sa-rot, .sa-wrap .sa-finale td.sa-rot .sa-sb { color: #c0392b; font-weight: 700; }
.sa-wrap .sa-finalblatt { font-size: 0.86em; }
.sa-wrap .sa-finalblatt th, .sa-wrap .sa-finalblatt td { padding-left: 3px; padding-right: 3px; }
.sa-wrap .sa-finalblatt .sa-schuss { min-width: 2.3em; }
.sa-wrap .sa-finalblatt .sa-name .sa-klein { display: block; }
.sa-wrap .sa-vereinsfinale .sa-finale { margin-bottom: 26px; }
.sa-wrap .sa-finalblatt thead th { line-height: 1.15; vertical-align: bottom; }

/* ================================================================ Darstellung der Reiter (Admin: Darstellung) */
.sa-wrap .sa-unterwahl { display: none; }
.sa-wrap .sa-gruppe-label { display: none; }
.sa-wrap .sa-seite { display: none; }

/* gemeinsam für Klare Ebenen / Auswahlfeld / Seitenmenü */
.sa-stil-ebenen .sa-kopf, .sa-stil-auswahl .sa-kopf { justify-content: flex-end; margin-bottom: 4px; }
.sa-stil-ebenen .sa-kopf .sa-auswahl, .sa-stil-auswahl .sa-kopf .sa-auswahl { margin: 0; }
.sa-stil-ebenen .sa-auswahl-saison select, .sa-stil-auswahl .sa-auswahl-saison select, .sa-stil-menue .sa-auswahl-saison select { font-weight: 700; color: #1e5631; }

/* Bereiche: schlichte Wörter, aktiver grün unterstrichen, eine Zeile (seitlich wischen) */
.sa-stil-ebenen .sa-reiter-bereiche, .sa-stil-auswahl .sa-reiter-bereiche {
	gap: 0; border-bottom: 1px solid #cfdcd3; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; margin-bottom: 14px;
}
.sa-stil-ebenen .sa-reiter-bereiche::-webkit-scrollbar, .sa-stil-auswahl .sa-reiter-bereiche::-webkit-scrollbar,
.sa-stil-ebenen .sa-reiter-klein::-webkit-scrollbar { display: none; }
.sa-stil-ebenen .sa-reiter-bereiche a, .sa-stil-auswahl .sa-reiter-bereiche a {
	background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important;
	padding: 10px 14px !important; color: #3d5446 !important; font-weight: 600; white-space: nowrap; margin-bottom: -1px; font-size: 1em;
}
.sa-stil-ebenen .sa-reiter-bereiche a:hover, .sa-stil-auswahl .sa-reiter-bereiche a:hover { color: #1e8449 !important; }
.sa-stil-ebenen .sa-reiter-bereiche a.sa-aktiv, .sa-stil-auswahl .sa-reiter-bereiche a.sa-aktiv { color: #1e8449 !important; border-bottom-color: #1e8449 !important; }

/* Klare Ebenen: Unterpunkte als runde Knöpfe in einer Zeile */
.sa-stil-ebenen .sa-reiter-klein {
	border: 0; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	padding-bottom: 4px; margin-bottom: 16px; align-items: center;
}
.sa-stil-ebenen .sa-reiter-klein a {
	background: #f0f4f1; border: 1px solid #d5e3d9; border-radius: 999px; padding: 5px 13px; font-size: 0.88em;
	white-space: nowrap; margin: 0; color: #1e5631 !important;
}
.sa-stil-ebenen .sa-reiter-klein a:hover { background: #dcebe0; }
.sa-stil-ebenen .sa-reiter-klein a.sa-aktiv { background: #1e8449; border-color: #1e8449; color: #fff !important; }
.sa-stil-ebenen .sa-gruppe-label {
	display: inline-block; font-size: 0.72em; text-transform: uppercase; letter-spacing: 0.05em; color: #7a8a80;
	padding: 0 2px 0 8px; white-space: nowrap;
}
.sa-stil-ebenen .sa-gruppe-label:first-child { padding-left: 0; }

/* Auswahlfeld mit ◀ ▶ (Auswahlfeld; Seitenmenü am Handy) */
.sa-unterwahl { align-items: center; gap: 6px 10px; flex-wrap: wrap; margin: 0 0 16px; }
.sa-unterwahl-titel { font-weight: 700; color: #1e5631; }
.sa-unterwahl-feld { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.sa-unterwahl select {
	font: inherit; font-size: 15px; padding: 7px 10px; border: 1px solid #1e8449; border-radius: 6px; background: #fff;
	color: #222; min-width: 220px; max-width: calc(100vw - 140px);
}
.sa-unterwahl .sa-blatt {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 36px; border: 1px solid #1e8449;
	border-radius: 6px; background: #eef3ef; color: #1e5631 !important; text-decoration: none !important; font-size: 14px;
}
.sa-unterwahl .sa-blatt:hover { background: #dcebe0; }
.sa-unterwahl .sa-blatt.sa-aus { opacity: 0.35; }
.sa-stil-auswahl .sa-reiter-klein { display: none; }
.sa-stil-auswahl .sa-unterwahl { display: flex; }

/* Seitenmenü */
.sa-stil-menue .sa-menue-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.sa-stil-menue .sa-seite { box-sizing: border-box; min-width: 0;
	display: block; position: sticky; top: 12px; background: #f4f8f5; border: 1px solid #d5e3d9; border-radius: 8px; padding: 12px;
}
body.admin-bar .sa-stil-menue .sa-seite { top: 44px; }
.sa-stil-menue .sa-seite .sa-auswahl { margin: 0 0 10px; }
.sa-stil-menue .sa-seite .sa-auswahl label { display: block; }
.sa-stil-menue .sa-seite .sa-auswahl select { width: 100%; margin-top: 4px; }
.sa-stil-menue .sa-seite .sa-saison-name { display: block; margin-bottom: 10px; color: #1e5631; }
.sa-stil-menue .sa-seite-liste a {
	display: block; padding: 7px 10px; border-radius: 6px; color: #1e5631 !important; text-decoration: none !important; font-weight: 700;
}
.sa-stil-menue .sa-seite-liste a:hover { background: #e3eee6; }
.sa-stil-menue .sa-seite-liste a.sa-seite-bereich.sa-aktiv { background: #1e8449; color: #fff !important; }
.sa-stil-menue .sa-seite-unter { margin: 4px 0 8px 10px; border-left: 2px solid #b9d3c1; padding-left: 6px; }
.sa-stil-menue .sa-seite-unter a { font-weight: 400; font-size: 0.93em; padding: 4px 8px; }
.sa-stil-menue .sa-seite-unter a.sa-aktiv { background: #dcebe0; font-weight: 700; }
.sa-stil-menue .sa-seite-gruppe { font-size: 0.7em; text-transform: uppercase; letter-spacing: 0.05em; color: #7a8a80; margin: 6px 0 2px 8px; }
.sa-stil-menue .sa-seite-handy { display: none; }
.sa-stil-menue .sa-menue-inhalt .sa-reiter-klein { display: none; }
@media (max-width: 760px) {
	.sa-stil-menue .sa-menue-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.sa-stil-menue .sa-seite { position: static; }
	.sa-stil-menue .sa-seite-liste { display: none; }
	.sa-stil-menue .sa-seite-handy { display: block; }
	.sa-stil-menue .sa-seite-handy label { display: block; font-weight: 700; color: #1e5631; margin-bottom: 4px; }
	.sa-stil-menue .sa-seite-handy select { width: 100%; font: inherit; font-size: 15px; padding: 7px 10px; border: 1px solid #1e8449; border-radius: 6px; font-weight: 700; color: #1e5631; }
	.sa-stil-menue .sa-menue-inhalt .sa-unterwahl { display: flex; }
}
