/* ── CMS-Layout ─────────────────────────────────────── */

html, body {
	height: 100%;
	overflow: hidden;
}

.cms-wrap {
	display: grid;
	grid-template-rows: 42px 1fr;
	grid-template-columns: 260px 1fr 14px;
	height: 100vh;
}

/* ── Topbar ─────────────────────────────────────────── */

.cms-topbar {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	background-color: rgb(20, 20, 20);
	border-bottom: 1px solid rgb(160, 160, 160);
	padding: 0 10px;
	gap: 6px;
}

.cms-topbar .btn {
	padding: 4px 10px;
	background-color: rgb(40, 40, 40);
	border: 1px solid rgb(180, 180, 180);
	color: rgb(255, 255, 255);
	cursor: pointer;
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
}

.cms-topbar .btn:hover {
	background-color: rgb(160, 160, 160);
}

.cms-topbar .btn-tab {
	padding: 4px 12px;
	background-color: rgb(150, 150, 150);
	border: 1px solid rgb(180, 180, 180);
	color: rgb(255, 255, 255);
	cursor: pointer;
	font-size: 12px;
}

.cms-topbar .btn-tab.aktiv {
	background-color: rgb(30, 80, 160);
	color: rgb(255, 255, 255);
	border-color: rgb(60, 110, 200);
}

.cms-topbar .spacer {
	flex: 1;
}

.cms-topbar .logo {
	height: 28px;
	width: auto;
	display: block;
	flex-shrink: 0;
}

.cms-topbar .abmelden {
	font-size: 12px;
	color: rgb(255, 255, 255);
	text-decoration: none;
	padding: 4px 8px;
}

.cms-topbar .abmelden:hover {
	color: rgb(220, 220, 220);
}

/* ── Seitenbaum (links) ─────────────────────────────── */

.cms-baum {
	background-color: rgb(25, 25, 25);
	border-right: 1px solid rgb(155, 155, 155);
	overflow-y: auto;
	padding: 8px 0;
}

.baum-neuepage {
	display: block;
	margin: 0 8px 10px 8px;
	padding: 5px 10px;
	background-color: rgb(40, 100, 60);
	color: rgb(200, 240, 200);
	font-size: 12px;
	text-decoration: none;
	border: 1px solid rgb(60, 130, 80);
}

.baum-neuepage:hover {
	background-color: rgb(50, 120, 70);
}

.baum-label {
	font-size: 11px;
	color: rgb(220, 220, 220);
	padding: 4px 10px 2px 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ── Baum-Knoten ────────────────────────────────────── */

.baum-knoten {
	list-style: none;
	margin: 0;
	padding: 0;
}

.baum-wurzel > li { margin: 0; }

/* ── Toggle +/- ─────────────────────────────────────── */

.baum-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	font-size: 14px;
	line-height: 1;
	color: rgb(220, 220, 220);
	cursor: pointer;
	margin-right: 4px;
	user-select: none;
}

.baum-toggle:hover { color: rgb(255, 255, 255); }
.baum-toggle-leer  { cursor: default; }

/* ── Sprach-Dots ────────────────────────────────────── */

.sprach-dots {
	display: inline-flex;
	gap: 2px;
	margin-right: 3px;
	flex-shrink: 0;
}

.sprach-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 14px;
	padding: 0 3px;
	font-size: 9px;
	font-weight: bold;
	border-radius: 1px;
	cursor: pointer;
	letter-spacing: 0.3px;
	user-select: none;
}

.sprach-dot:hover { outline: 1px solid rgb(220, 220, 220); }

.dot-online   { background-color: rgb(50, 160, 65);  color: rgb(220, 255, 220); }
.dot-modified { background-color: rgb(40, 100, 200); color: rgb(200, 225, 255); }
.dot-offline  { background-color: rgb(180, 50, 50);  color: rgb(255, 210, 210); }
.dot-root     { background-color: rgb(30, 30, 30);   color: transparent; min-width: 18px; }

/* ── Baum-Item ──────────────────────────────────────── */

.baum-item {
	display: flex;
	align-items: center;
	padding: 2px 6px 2px 4px;
	white-space: nowrap;
	overflow: hidden;
}

.baum-item:hover { background-color: rgb(40, 40, 40); }
.baum-item.aktiv { background-color: rgb(30, 60, 120); }

.seiten-name {
	font-size: 12px;
	color: rgb(255, 255, 255);
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.seiten-name:hover {
	color: rgb(100, 180, 255);
	text-decoration: underline;
}

.art-root  .seiten-name { color: rgb(100, 180, 255); font-weight: bold; }
.art-gruppe .seiten-name { color: rgb(255, 255, 255); font-style: italic; }

/* ── Verbindungslinien ──────────────────────────────── */

.baum-kinder {
	list-style: none;
	margin: 0;
	padding-left: 20px;
	position: relative;
}

.baum-kinder::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 0;
	bottom: 10px;
	border-left: 1px dotted rgb(175, 175, 175);
}

.baum-kinder > li {
	position: relative;
}

.baum-kinder > li::before {
	content: '';
	position: absolute;
	left: -10px;
	top: 11px;
	width: 10px;
	border-top: 1px dotted rgb(175, 175, 175);
}

/* ── Content-Bereich ────────────────────────────────── */

.cms-content {
	background-color: rgb(35, 35, 35);
	overflow-y: auto;
	padding: 20px 24px;
}

.cms-content h2 {
	font-size: 22px;
	color: rgb(100, 180, 255);
	font-weight: normal;
	margin-bottom: 16px;
}

.cms-content .page-einstellungen {
	font-size: 11px;
	color: rgb(200, 200, 200);
	margin-bottom: 20px;
	border-bottom: 1px solid rgb(155, 155, 155);
	padding-bottom: 10px;
}

/* ── Vorschau-Layout-Wrapper ────────────────────────── */

.vorschau-layout-wrap {
	position: relative;
	/* Wrap fuellt das restliche Viewport-Fenster unterhalb der CMS-Topbar
	   (42px) sowie Registerleiste + Online-Bar + Padding (~138px). Der
	   Frontend-Inhalt scrollt INNEN, die UI-Leisten oben bleiben sichtbar.
	   Damit haben Frontend-Layouts mit "height: 100%" auf body/html auch
	   einen echten Hoehen-Anker (in der Vorschau gibt es kein body). */
	height: calc(100vh - 180px);
	overflow: auto;
	/* transform schafft neuen Stacking Context UND containing block fuer
	   position:fixed Kindelemente — die bleiben innerhalb des Wraps. */
	transform: translateZ(0);
}

/* Direktes Kind-Layout (typisch .layoutrahmen / div mit "layout" im Klassen-
   namen): hartcodierte height/max-height neutralisieren, damit der
   Vorschau-Inhalt natuerlich fliesst statt im Frontend-Frame zu kleben. */
.vorschau-layout-wrap > .layoutrahmen,
.vorschau-layout-wrap > div[class*="layout"] {
	height: auto !important;
	max-height: none !important;
}

/* ── Vorschau-Overlay ───────────────────────────────── */

.vorschau-overlay {
	position: relative;
	cursor: pointer;
	border: 2px solid rgb(210, 165, 0);
	background-color: rgba(255, 210, 0, 0.07);
}

.vorschau-overlay:hover {
	background-color: rgba(255, 210, 0, 0.25);
}

.vorschau-overlay-label {
	position: absolute;
	top: 6px;
	right: 8px;
	background-color: rgb(210, 165, 0);
	color: rgb(40, 30, 0);
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	border-radius: 3px;
	font-size: 14px;
	pointer-events: none;
	z-index: 10;
}

/* ── Vorschau Online-Leiste ─────────────────────────── */

.vorschau-online-bar {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 8px 14px;
	background-color: rgb(30, 30, 42);
	border-bottom: 1px solid rgb(155, 155, 170);
}

.vorschau-online-info {
	font-size: 13px;
	color: rgb(255, 255, 255);
}

.vorschau-online-info .badge {
	margin-left: 8px;
}

.vorschau-version-info {
	color: rgb(210, 210, 230);
	font-size: 11px;
	margin-left: 0;
}

.vorschau-online-zeile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.vorschau-online-actions {
	display: flex;
	justify-content: flex-start;
}


.btn-online-stellen {
	background-color: rgb(40, 130, 70);
	color: rgb(255, 255, 255);
	border: none;
	padding: 6px 16px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
}

.btn-online-stellen:hover {
	background-color: rgb(50, 155, 85);
}

/* ── Meta-Vorschau ─────────────────────────────────── */

.meta-vorschau-wrap {
	padding: 15px 20px;
}

.meta-vorschau-block {
	margin-bottom: 18px;
}

.meta-vorschau-label {
	font-size: 13px;
	font-weight: bold;
	color: rgb(255, 255, 255);
	margin: 0 0 6px 0;
	border-bottom: 1px solid rgb(150, 150, 165);
	padding-bottom: 4px;
}

.meta-vorschau-wert {
	color: rgb(220, 220, 230);
	font-size: 14px;
	margin: 0;
}

.meta-vorschau-tabelle {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.meta-vorschau-tabelle th {
	text-align: left;
	color: rgb(240, 240, 255);
	padding: 5px 8px;
	border-bottom: 1px solid rgb(160, 160, 175);
	font-weight: normal;
}

.meta-vorschau-tabelle td {
	padding: 5px 8px;
	border-bottom: 1px solid rgb(40, 40, 55);
	color: rgb(255, 255, 255);
	word-break: break-word;
}

.meta-vorschau-tabelle td:first-child {
	white-space: nowrap;
}

.meta-vorschau-tabelle tr:hover td {
	background-color: rgb(35, 35, 50);
}

.meta-vorschau-code {
	background-color: rgb(25, 25, 35);
	border: 1px solid rgb(150, 150, 165);
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 11px;
	color: rgb(255, 255, 255);
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
	line-height: 1.5;
}

/* ── Multipage-Vorschau ────────────────────────────── */

.mp-vorschau-wrap {
	position: relative;
}

.mp-sektion-overlay {
	margin: 4px 0;
	min-height: 40px;
}

/* ── Meta-Vererbung ────────────────────────────────── */

.meta-vererbung-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	margin-bottom: 14px;
	border-bottom: 1px solid rgb(150, 150, 165);
}

.meta-vererbung-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: rgb(255, 255, 255);
	cursor: pointer;
	font-weight: bold;
}

.meta-vererbung-toggle input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.meta-vererbung-hinweis {
	font-size: 11px;
	color: rgb(110, 130, 160);
}

.meta-vererbt {
	background-color: rgb(25, 30, 42);
	border: 1px solid rgb(145, 155, 175);
	border-radius: 4px;
	padding: 10px 12px;
}

.meta-vererbt .meta-vorschau-tabelle td {
	color: rgb(250, 255, 255);
}

.meta-durchgestrichen td {
	color: rgb(200, 205, 220);
}

.meta-durchgestrichen td:nth-child(2) {
	text-decoration: line-through;
}

.meta-ueberschrieben {
	font-size: 10px;
	color: rgb(200, 170, 60);
	white-space: nowrap;
	text-decoration: none;
	display: inline-block;
}

/* ── Drag & Drop ────────────────────────────────────── */

.baum-item[draggable="true"] { cursor: grab; }
.baum-item[draggable="true"]:active { cursor: grabbing; }

.baum-item.dd-dragging {
	opacity: 0.35;
}

.baum-item.dd-vor {
	border-top: 2px solid rgb(100, 170, 255);
}

.baum-item.dd-nach {
	border-bottom: 2px solid rgb(100, 170, 255);
}

.baum-item.dd-in {
	background-color: rgb(25, 55, 115);
	outline: 1px solid rgb(60, 110, 200);
}

/* ── Auswahl-Panel (rechts, ausklappbar) ────────────── */

.cms-auswahl {
	background-color: rgb(30, 30, 45);
	border-left: 1px solid rgb(160, 160, 190);
	display: flex;
	align-items: stretch;
	position: relative;
}

.auswahl-toggle {
	width: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgb(110, 110, 150);
	font-size: 9px;
	user-select: none;
	flex-shrink: 0;
}

.auswahl-toggle:hover {
	background-color: rgb(145, 145, 165);
	color: rgb(180, 180, 220);
}

.auswahl-panel {
	position: fixed;
	right: 14px;
	top: 42px;
	bottom: 0;
	width: 0;
	overflow: hidden;
	background-color: rgb(22, 22, 32);
	border-left: 1px solid rgb(155, 155, 180);
	transition: width 0.25s ease;
	display: flex;
	flex-direction: column;
	z-index: 50;
}

.auswahl-panel.offen {
	width: 280px;
}

.auswahl-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 8px;
	border-bottom: 1px solid rgb(150, 150, 172);
	background-color: rgb(25, 25, 38);
	flex-shrink: 0;
	min-width: 280px;
}

.auswahl-menu-btn {
	padding: 3px 8px;
	background-color: rgb(38, 38, 60);
	color: rgb(150, 150, 200);
	border: 1px solid rgb(60, 60, 95);
	cursor: pointer;
	font-size: 10px;
	white-space: nowrap;
}

.auswahl-menu-btn:hover {
	background-color: rgb(152, 152, 180);
	color: rgb(200, 200, 240);
}

.auswahl-menu-btn.aktiv {
	background-color: rgb(30, 65, 135);
	color: rgb(180, 210, 255);
	border-color: rgb(55, 100, 195);
}

.auswahl-inhalt {
	flex: 1;
	overflow-y: auto;
	padding: 8px;
	min-width: 280px;
}

/* ── Auswahl: Bilder ─────────────────────────────────── */

.ausw-pfad-nav {
	font-size: 10px;
	color: rgb(190, 190, 220);
	margin-bottom: 6px;
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	align-items: center;
	line-height: 1.4;
}

.ausw-pfad-nav span {
	cursor: pointer;
	color: rgb(100, 135, 195);
}

.ausw-pfad-nav span:hover { text-decoration: underline; }

.ausw-bilder-verz {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin-bottom: 8px;
}

.ausw-verz-btn {
	padding: 2px 7px;
	background-color: rgb(32, 32, 52);
	color: rgb(110, 140, 190);
	border: 1px solid rgb(155, 155, 185);
	cursor: pointer;
	font-size: 10px;
}

.ausw-verz-btn:hover { background-color: rgb(142, 142, 166); }

.ausw-bild-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}

.ausw-bild-item {
	cursor: grab;
	border: 1px solid rgb(150, 150, 172);
	background-color: rgb(26, 26, 38);
	text-align: center;
	padding: 4px;
}

.ausw-bild-item:hover {
	border-color: rgb(80, 115, 195);
	background-color: rgb(32, 32, 52);
}

.ausw-bild-item:active { cursor: grabbing; }

.ausw-bild-item img {
	max-width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.ausw-bild-item span {
	display: block;
	font-size: 9px;
	color: rgb(190, 190, 215);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 2px;
}

/* ── Auswahl-Dropzone ────────────────────────────────── */

.ausw-dropzone {
	border: 2px dashed rgb(160, 165, 180);
	border-radius: 4px;
	padding: 10px;
	margin: 6px 0;
	text-align: center;
	transition: border-color 0.2s, background-color 0.2s;
}

.ausw-dropzone.dragover {
	border-color: rgb(80, 140, 220);
	background-color: rgb(25, 35, 55);
}

.ausw-dropzone-text {
	font-size: 11px;
	color: rgb(210, 215, 235);
}

.ausw-dropzone-link {
	color: rgb(100, 160, 230);
	cursor: pointer;
	text-decoration: underline;
}

.ausw-dropzone-link:hover {
	color: rgb(130, 180, 240);
}

.ausw-dropzone-status {
	font-size: 10px;
	margin-top: 4px;
	min-height: 14px;
}

.ausw-upload-hinweis {
	font-size: 10px;
	color: rgb(190, 190, 210);
	margin: 6px 0;
	font-style: italic;
}

/* ── Lightbox-Gruppierungsname (nur bei Modus "lightbox") ───── */

.ausw-lightbox-gruppe-row {
	margin: 6px 0 10px 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 11px;
}

.ausw-lightbox-gruppe-row label {
	color: rgb(190, 190, 210);
}

.ausw-lightbox-gruppe-row input {
	font-size: 11px;
	padding: 3px 6px;
	border: 1px solid rgb(160, 160, 190);
	background-color: rgb(45, 45, 65);
	color: rgb(245, 245, 250);
}

.ausw-lightbox-gruppe-row input:focus {
	outline: none;
	border-color: rgb(95, 145, 225);
	background-color: rgb(50, 50, 75);
}

/* ── Bildeigenschaften ──────────────────────────────── */

.bild-eigen-wrap {
	padding: 15px 20px;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.bild-eigen-block {
	flex: 1;
	min-width: 250px;
}

.bild-eigen-block h3 {
	font-size: 13px;
	color: rgb(255, 255, 255);
	margin: 0 0 8px 0;
	border-bottom: 1px solid rgb(150, 150, 165);
	padding-bottom: 4px;
}

.bild-eigen-vorschau {
	background-color: rgb(20, 20, 30);
	border: 1px solid rgb(150, 150, 165);
	border-radius: 4px;
	padding: 8px;
	text-align: center;
	margin-bottom: 6px;
}

.bild-eigen-vorschau img {
	max-width: 100%;
	height: auto;
}

.bild-eigen-meta {
	font-size: 11px;
	color: rgb(230, 230, 255);
	margin-bottom: 10px;
}

.bild-eigen-upload {
	margin-top: 8px;
}

.bild-eigen-upload .bilder-file-input {
	font-size: 11px;
	margin-bottom: 4px;
	display: block;
}

.bild-eigen-cb {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: rgb(255, 255, 255);
	margin: 6px 0;
	cursor: pointer;
}

.bild-eigen-cb input[type="checkbox"] {
	width: 14px;
	height: 14px;
}

.bild-eigen-verwendung {
	width: 100%;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgb(150, 150, 165);
}

.bild-eigen-verwendung h3 {
	font-size: 13px;
	color: rgb(255, 255, 255);
	margin: 0 0 6px 0;
}

.bild-verwendung-liste {
	list-style: disc;
	padding: 0 0 0 18px;
	margin: 0;
}

.bild-verwendung-liste li {
	padding: 3px 0;
	font-size: 12px;
}

.bild-verwendung-liste a {
	color: rgb(100, 160, 230);
	text-decoration: none;
}

.bild-verwendung-liste a:hover {
	text-decoration: underline;
}

.bild-verwendung-leer {
	font-size: 11px;
	color: rgb(200, 200, 220);
	margin: 0;
}

.bild-eigen-loeschen {
	width: 100%;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgb(150, 150, 165);
}

.btn-loeschen {
	background-color: rgb(120, 40, 40);
	color: rgb(255, 180, 180);
	border-color: rgb(150, 50, 50);
}

.btn-loeschen:hover {
	background-color: rgb(150, 50, 50);
}

/* ── Auswahl: Downloads ─────────────────────────────── */

.ausw-dl-liste {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ausw-dl-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 6px;
	cursor: grab;
	border-radius: 3px;
}

.ausw-dl-item:hover {
	background-color: rgb(28, 28, 46);
}

.ausw-dl-item:active { cursor: grabbing; }

.ausw-dl-icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	pointer-events: none;
}

.ausw-dl-info {
	overflow: hidden;
	pointer-events: none;
}

.ausw-dl-name {
	display: block;
	font-size: 11px;
	color: rgb(255, 255, 255);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ausw-dl-meta {
	display: block;
	font-size: 9px;
	color: rgb(190, 190, 215);
}

.ausw-bild-badge {
	display: inline-block;
	background-color: rgb(40, 90, 140);
	color: rgb(180, 210, 255);
	font-size: 8px;
	padding: 1px 4px;
	border-radius: 2px;
	margin-top: 2px;
}

/* ── Auswahl: Links ──────────────────────────────────── */

.ausw-link-item {
	display: flex;
	align-items: baseline;
	gap: 4px;
	padding: 4px 6px;
	cursor: grab;
	border-bottom: 1px solid rgb(38, 38, 56);
}

.ausw-link-item:hover { background-color: rgb(28, 28, 46); }
.ausw-link-item:active { cursor: grabbing; }

.ausw-link-pfad {
	font-size: 9px;
	color: rgb(175, 175, 205);
	flex-shrink: 0;
}

.ausw-link-titel {
	font-size: 11px;
	color: rgb(155, 175, 215);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ausw-link-item.ebene-1 { padding-left: 14px; }
.ausw-link-item.ebene-2 { padding-left: 24px; }
.ausw-link-item.ebene-3 { padding-left: 34px; }

.ausw-link-domain {
	padding: 6px 6px 4px;
	margin-top: 6px;
	border-bottom: 1px solid rgb(150, 150, 165);
	font-size: 11px;
	color: rgb(255, 255, 255);
}

/* ── Multipage ───────────────────────────────────────── */

.badge-mp {
	background-color: rgb(80, 60, 140);
	color: rgb(220, 200, 255);
	border-color: rgb(110, 80, 180);
}

.mp-liste {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 16px;
}

.mp-sektion {
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: rgb(38, 38, 52);
	border: 1px solid rgb(160, 160, 180);
	border-radius: 4px;
	padding: 6px 10px;
}

.mp-nr {
	width: 22px;
	text-align: center;
	font-size: 11px;
	color: rgb(220, 220, 240);
	flex-shrink: 0;
}

.mp-name {
	flex: 1;
}

.mp-name-input {
	width: 100%;
	background-color: rgb(30, 30, 42);
	border: 1px solid rgb(160, 160, 180);
	border-radius: 3px;
	color: rgb(220, 220, 220);
	padding: 3px 6px;
	font-size: 12px;
}

.mp-name-input:focus {
	border-color: rgb(80, 120, 200);
	outline: none;
}

.mp-layout-badge {
	font-size: 10px;
	color: rgb(240, 240, 255);
	background-color: rgb(30, 30, 42);
	border: 1px solid rgb(155, 155, 175);
	border-radius: 3px;
	padding: 2px 6px;
	white-space: nowrap;
	flex-shrink: 0;
}

.mp-status {
	flex-shrink: 0;
}

.mp-aktionen {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
}

.mp-btn {
	padding: 3px 7px;
	background-color: rgb(150, 150, 165);
	border: 1px solid rgb(175, 175, 195);
	border-radius: 3px;
	color: rgb(255, 255, 255);
	font-size: 11px;
	cursor: pointer;
	white-space: nowrap;
}

.mp-btn:hover {
	background-color: rgb(165, 165, 185);
}

.mp-btn-leer {
	display: inline-block;
	width: 28px;
}

.mp-btn-edit {
	background-color: rgb(30, 70, 130);
	border-color: rgb(50, 100, 180);
}

.mp-btn-edit:hover {
	background-color: rgb(40, 90, 160);
}

.mp-btn-del {
	background-color: rgb(90, 30, 30);
	border-color: rgb(130, 50, 50);
	color: rgb(255, 160, 160);
}

.mp-btn-del:hover {
	background-color: rgb(120, 40, 40);
}

.mp-btn-zurueck {
	padding: 4px 10px;
	background-color: rgb(145, 145, 160);
	border: 1px solid rgb(175, 175, 195);
	border-radius: 3px;
	color: rgb(255, 255, 255);
	font-size: 12px;
	cursor: pointer;
	margin-right: 6px;
}

.mp-btn-zurueck:hover {
	background-color: rgb(160, 160, 180);
}

.mp-neu {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid rgb(155, 155, 170);
	margin-top: 4px;
}

.eins-zeile-sektionen .eins-wert {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
}

.eins-zeile-sektionen .mp-sektion {
	background-color: rgb(32, 32, 44);
}

/* ── Seitentyp-Icons im Baum ─────────────────────────── */

.pf-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	font-size: 8px;
	border-radius: 2px;
	flex-shrink: 0;
	margin-right: 4px;
	user-select: none;
}

.pf-icon-1 {
	background-color: rgb(35, 75, 45);
	color: rgb(140, 220, 140);
}

.pf-icon-2 {
	background-color: rgb(28, 55, 100);
	color: rgb(140, 185, 255);
}

.pf-icon-3 {
	background-color: rgb(65, 45, 115);
	color: rgb(195, 165, 255);
}

/* ── Einstellungen-Baum ─────────────────────────────── */

.settings-baum {
	padding: 8px 0;
}

.settings-baum-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgb(210, 210, 220);
	padding: 6px 12px 4px;
}

/* Wurzel-Liste (kein Einzug, keine Linien) */
.settings-wurzel {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Gruppe-Header (Sprachen / Layout) — wirkt wie ein Elternknoten */
.settings-gruppe-header {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 3px 6px 3px 4px;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	color: rgb(255, 255, 255);
	user-select: none;
	white-space: nowrap;
	overflow: hidden;
}

.settings-gruppe-header:hover {
	background-color: rgb(40, 40, 40);
}

.settings-gruppe-header.aktiv {
	background-color: rgb(30, 60, 120);
	color: rgb(100, 180, 255);
}

/* Symbol vor dem Gruppen-Label (Emoji-Icon) */
.settings-gruppe-icon {
	display: inline-block;
	width: 16px;
	text-align: center;
	font-size: 13px;
	flex-shrink: 0;
	opacity: 0.85;
}

/* Toggle +/- vor dem Gruppenname */
.settings-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	font-size: 14px;
	line-height: 1;
	color: rgb(220, 220, 220);
	cursor: pointer;
	user-select: none;
}

.settings-toggle:hover { color: rgb(255, 255, 255); }

/* Kind-Liste mit Verbindungslinien — genau wie .baum-kinder */
.settings-kinder {
	list-style: none;
	margin: 0;
	padding-left: 20px;
	position: relative;
	display: none;
}

.settings-kinder.offen {
	display: block;
}

.settings-kinder::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 0;
	bottom: 10px;
	border-left: 1px dotted rgb(175, 175, 175);
}

.settings-kinder > li {
	position: relative;
}

.settings-kinder > li::before {
	content: '';
	position: absolute;
	left: -10px;
	top: 11px;
	width: 10px;
	border-top: 1px dotted rgb(175, 175, 175);
}

/* Einzelner Eintrag */
.settings-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 2px 6px 2px 4px;
	cursor: pointer;
	font-size: 12px;
	color: rgb(255, 255, 255);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.settings-item:hover {
	background-color: rgb(40, 40, 40);
}

.settings-item.aktiv {
	background-color: rgb(30, 60, 120);
	color: rgb(180, 215, 255);
}

.settings-badge {
	font-size: 10px;
	font-weight: bold;
	background-color: rgb(40, 80, 130);
	color: rgb(160, 210, 255);
	padding: 1px 5px;
	border-radius: 2px;
	flex-shrink: 0;
}

.settings-badge.inaktiv {
	background-color: rgb(160, 160, 160);
	color: rgb(230, 230, 240);
}

.settings-icon {
	font-size: 9px;
	color: rgb(100, 170, 120);
	flex-shrink: 0;
}

.settings-icon.mp {
	color: rgb(170, 130, 210);
}

/* ── Einstellungen-Formular ─────────────────────────── */

.settings-header {
	padding: 16px 20px 12px;
	border-bottom: 1px solid rgb(155, 155, 165);
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.settings-header h2 {
	font-size: 15px;
	font-weight: bold;
	color: rgb(210, 210, 220);
}

.settings-wrap {
	padding: 16px 20px;
	max-width: 520px;
}

.settings-zeile {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
}

.settings-label {
	width: 130px;
	flex-shrink: 0;
	font-size: 12px;
	color: rgb(250, 250, 255);
	padding-top: 7px;
}

.settings-wert {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.settings-input {
	width: 100%;
	padding: 6px 8px;
	background-color: rgb(35, 35, 45);
	border: 1px solid rgb(170, 170, 185);
	color: rgb(220, 220, 230);
	font-size: 12px;
}

.settings-input:focus {
	outline: none;
	border-color: rgb(80, 130, 200);
}

.settings-input-sm {
	width: 90px;
}

.settings-textarea {
	width: 100%;
	min-height: 80px;
	resize: vertical;
	font-family: inherit;
	line-height: 1.4;
}

.settings-json {
	font-family: monospace;
	font-size: 12px;
	white-space: pre;
	tab-size: 2;
}

.settings-hinweis {
	display: block;
	color: rgb(210, 210, 230);
	font-size: 11px;
	margin-top: 3px;
}

.settings-select {
	padding: 6px 8px;
	background-color: rgb(35, 35, 45);
	border: 1px solid rgb(170, 170, 185);
	color: rgb(220, 220, 230);
	font-size: 12px;
}

.btn-settings {
	padding: 5px 12px;
	background-color: rgb(40, 90, 160);
	color: rgb(220, 235, 255);
	border: none;
	font-size: 12px;
	cursor: pointer;
}

.btn-settings:hover {
	background-color: rgb(50, 110, 190);
}

.settings-trennlinie {
	border: none;
	border-top: 1px solid rgb(150, 150, 160);
	margin: 20px 0;
}

.settings-neu-titel {
	font-size: 12px;
	font-weight: bold;
	color: rgb(250, 250, 255);
	margin-bottom: 14px;
}

.badge-inaktiv {
	font-size: 10px;
	padding: 2px 6px;
	background-color: rgb(80, 50, 30);
	color: rgb(220, 160, 100);
	vertical-align: middle;
}

/* ── Layout HTML-Editor ─────────────────────────────── */

.layout-html-bereich {
	display: flex;
	gap: 0;
	flex-direction: column;
	border-top: 1px solid rgb(150, 150, 160);
	margin-top: 4px;
}

.layout-html-block {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid rgb(150, 150, 160);
}

.layout-html-label {
	font-size: 11px;
	font-weight: bold;
	color: rgb(255, 255, 255);
	padding: 8px 20px 6px;
	background-color: rgb(28, 28, 35);
	border-bottom: 1px solid rgb(150, 150, 160);
}

.layout-html-hint {
	font-weight: normal;
	color: rgb(200, 200, 220);
	font-size: 10px;
}

.layout-html-editor {
	width: 100%;
	min-height: 280px;
	padding: 12px 20px;
	background-color: rgb(20, 20, 28);
	color: rgb(255, 255, 255);
	font-family: "Consolas", "Monaco", "Courier New", monospace;
	font-size: 12px;
	line-height: 1.6;
	border: none;
	resize: vertical;
	box-sizing: border-box;
	tab-size: 2;
}

.layout-html-editor:focus {
	outline: none;
	background-color: rgb(22, 22, 32);
	box-shadow: inset 0 0 0 1px rgb(80, 130, 200);
}

.layout-html-footer {
	padding: 12px 20px;
	background-color: rgb(28, 28, 35);
	border-top: 1px solid rgb(150, 150, 160);
}

/* ── Session-Modal ─────────────────────────────────── */

.session-modal-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.75);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.session-modal-box {
	background-color: rgb(40, 40, 50);
	border: 1px solid rgb(180, 180, 200);
	border-radius: 6px;
	padding: 30px 36px;
	width: 320px;
}

.session-modal-box h2 {
	color: rgb(220, 220, 220);
	font-size: 16px;
	margin-bottom: 8px;
}

.session-modal-box p {
	color: rgb(255, 255, 255);
	font-size: 12px;
	margin-bottom: 20px;
}

.session-modal-fehler {
	color: rgb(220, 80, 80);
	font-size: 12px;
	margin-bottom: 12px;
}

.session-modal-box label {
	display: block;
	font-size: 11px;
	color: rgb(255, 255, 255);
	margin-bottom: 4px;
}

.session-modal-box input {
	width: 100%;
	padding: 7px 10px;
	background-color: rgb(25, 25, 35);
	border: 1px solid rgb(170, 170, 190);
	border-radius: 3px;
	color: rgb(220, 220, 220);
	font-size: 13px;
	margin-bottom: 14px;
}

.session-modal-box input[readonly] {
	opacity: 0.6;
}

.session-modal-box button[type="submit"] {
	width: 100%;
	padding: 8px;
	background-color: rgb(60, 120, 200);
	border: none;
	border-radius: 3px;
	color: rgb(255, 255, 255);
	font-size: 13px;
	cursor: pointer;
	margin-top: 4px;
}

.session-modal-box button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: default;
}

/* ── Seiten-Registerleiste ────────────────────────────── */

.cms-register {
	display: flex;
	align-items: flex-end;
	gap: 0;
	padding: 0 0 0 8px;
	margin: -20px -24px 16px -24px;
	background-color: rgb(22, 22, 28);
	border-bottom: 1px solid rgb(155, 155, 165);
	min-height: 32px;
	flex-shrink: 0;
}

.cms-register-tab {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	font-size: 12px;
	color: rgb(240, 240, 255);
	background-color: rgb(30, 30, 38);
	border: 1px solid rgb(155, 155, 165);
	border-bottom: 1px solid rgb(155, 155, 165);
	border-radius: 6px 6px 0 0;
	margin-bottom: -1px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s, color 0.15s;
}

.cms-register-tab:hover {
	background-color: rgb(40, 40, 50);
	color: rgb(255, 255, 255);
}

.cms-register-tab.aktiv {
	background-color: rgb(38, 38, 48);
	color: rgb(220, 220, 230);
	border-bottom-color: rgb(38, 38, 48);
	font-weight: bold;
}

.cms-register-icon {
	margin-right: 5px;
	font-size: 13px;
}

.cms-register-tab .sprach-dot {
	font-size: 9px;
	width: 18px;
	height: 14px;
	line-height: 14px;
	text-align: center;
	border-radius: 2px;
	display: inline-block;
}

.cms-register-tab .dot-online {
	background-color: rgb(30, 80, 40);
	color: rgb(120, 210, 130);
}

.cms-register-tab .dot-modified {
	background-color: rgb(30, 50, 90);
	color: rgb(120, 170, 230);
}

.cms-register-tab .dot-cms {
	background-color: rgb(60, 50, 30);
	color: rgb(200, 170, 100);
}

.cms-register-tab .dot-offline {
	background-color: rgb(60, 30, 30);
	color: rgb(200, 110, 110);
}

/* ── Werkzeuge: Suchen & Ersetzen ────────────────────── */

.se-vorschau {
	margin-top: 14px;
}

.se-zusammenfassung {
	font-size: 12px;
	color: rgb(255, 255, 255);
	padding: 8px 0;
	border-bottom: 1px solid rgb(150, 150, 165);
	margin-bottom: 8px;
}

.se-details {
	max-height: 250px;
	overflow-y: auto;
	margin-bottom: 12px;
}

.se-detail-zeile {
	font-size: 11px;
	color: rgb(250, 255, 255);
	padding: 3px 0;
}

.se-badge {
	display: inline-block;
	font-size: 9px;
	padding: 1px 5px;
	border-radius: 2px;
	background-color: rgb(145, 150, 165);
	color: rgb(130, 140, 170);
	min-width: 60px;
	text-align: center;
}

.se-sprache {
	font-size: 9px;
	color: rgb(110, 120, 145);
}

.se-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-right: 14px;
	font-size: 12px;
	color: rgb(255, 255, 255);
	cursor: pointer;
}

.se-ausfuehren {
	padding-top: 8px;
	border-top: 1px solid rgb(150, 150, 165);
}

/* ── Domain-spezifische Einstellungen ────────────────── */

.settings-domain-header {
	font-size: 12px;
	cursor: pointer;
}

.settings-domain-name {
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: rgb(170, 170, 185);
}

.settings-domain-name:hover {
	color: rgb(255, 255, 255);
	text-decoration-color: rgb(200, 200, 220);
}

.settings-domain-hinweis {
	font-size: 11px;
	font-weight: normal;
	color: rgb(120, 160, 200);
}

.settings-domain-info {
	background-color: rgb(35, 45, 55);
	border: 1px solid rgb(150, 165, 180);
	border-radius: 4px;
	padding: 8px 12px;
	margin-bottom: 14px;
	font-size: 11px;
	color: rgb(140, 170, 200);
	line-height: 1.5;
}

.settings-reset-link {
	display: inline-block;
	margin-left: 6px;
	font-size: 10px;
	color: rgb(180, 130, 100);
	text-decoration: underline;
	cursor: pointer;
}

.settings-reset-link:hover {
	color: rgb(220, 150, 110);
}

/* ── JSON-Listeneditoren (CSS/JS-Dateien) ────────────── */

.json-liste {
	border: 1px solid rgb(155, 155, 165);
	border-radius: 4px;
	background-color: rgb(28, 28, 36);
	padding: 6px;
}

.json-liste-zeile {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
	padding: 4px 6px;
	background-color: rgb(35, 35, 45);
	border-radius: 3px;
}

.json-liste-zeile:hover {
	background-color: rgb(40, 40, 52);
}

.json-input-pfad {
	flex: 1;
	min-width: 0;
	font-size: 12px;
	padding: 4px 8px;
}

.json-input-pfad-breit {
	flex: 2;
}

.json-input-media {
	flex: 1;
	min-width: 0;
	font-size: 11px;
	padding: 4px 8px;
	color: rgb(150, 170, 200);
}

.json-input-media::placeholder {
	color: rgb(180, 190, 210);
}

.btn-json-entfernen {
	background: none;
	border: none;
	color: rgb(180, 80, 80);
	font-size: 16px;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	flex-shrink: 0;
}

.btn-json-entfernen:hover {
	color: rgb(230, 100, 100);
}

.json-sortierung {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	gap: 0;
}

.btn-json-sort {
	background: none;
	border: none;
	color: rgb(220, 220, 240);
	font-size: 8px;
	cursor: pointer;
	padding: 0 3px;
	line-height: 1.2;
}

.btn-json-sort:hover {
	color: rgb(255, 255, 255);
}

.json-liste-footer {
	padding: 4px 2px 2px;
}

.btn-settings-sm {
	background-color: rgb(150, 155, 165);
	color: rgb(255, 255, 255);
	border: 1px solid rgb(165, 170, 180);
	border-radius: 3px;
	padding: 3px 10px;
	font-size: 11px;
	cursor: pointer;
}

.btn-settings-sm:hover {
	background-color: rgb(160, 165, 175);
	color: rgb(255, 255, 255);
}

/* ── Asset-Aktionen (Upload/Edit pro Zeile) ──────── */
.btn-json-asset {
	background: none;
	border: 1px solid rgb(165, 170, 180);
	border-radius: 3px;
	color: rgb(220, 225, 240);
	font-size: 13px;
	line-height: 1;
	padding: 3px 7px;
	cursor: pointer;
	flex-shrink: 0;
}
.btn-json-asset:hover {
	background-color: rgb(60, 65, 80);
	color: rgb(255, 255, 255);
}

/* ── Asset-Editor-Modal ──────────────────────────── */
.asset-editor-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9000;
}
.asset-editor-modal {
	width: 90%;
	max-width: 1200px;
	height: 85%;
	max-height: 800px;
	background-color: rgb(20, 22, 28);
	border: 1px solid rgb(180, 185, 195);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
}
.asset-editor-modal--max {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	border-radius: 0;
	border: none;
}
.asset-editor-max {
	background: none;
	border: none;
	color: rgb(220, 225, 240);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	margin-left: auto;
}
.asset-editor-max:hover { color: rgb(255, 255, 255); }
.asset-editor-modal .asset-editor-x { margin-left: 0; }
.asset-editor-kopf {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-bottom: 1px solid rgb(165, 170, 180);
	background-color: rgb(30, 32, 42);
	border-radius: 6px 6px 0 0;
	color: rgb(240, 245, 255);
}
.asset-editor-kopf code {
	font-size: 12px;
	background-color: rgb(50, 55, 65);
	padding: 1px 5px;
	border-radius: 3px;
}
.asset-editor-info {
	font-size: 11px;
	color: rgb(200, 205, 220);
	margin-left: 6px;
}
.asset-editor-x {
	margin-left: auto;
	background: none;
	border: none;
	color: rgb(220, 225, 240);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 6px;
}
.asset-editor-x:hover { color: rgb(255, 255, 255); }
.asset-editor-body {
	flex: 1;
	min-height: 0;
	display: flex;
}
.asset-editor-body .CodeMirror {
	flex: 1;
	height: 100%;
	font-size: 13px;
}
.asset-editor-fuss {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-top: 1px solid rgb(165, 170, 180);
	background-color: rgb(30, 32, 42);
	border-radius: 0 0 6px 6px;
}
.asset-editor-status {
	flex: 1;
	font-size: 12px;
	color: rgb(220, 225, 240);
}
.asset-editor-abbrechen {
	background-color: rgb(150, 155, 165) !important;
	color: rgb(255, 255, 255) !important;
}

/* ── Benutzer-Tabelle ──────────────────────────────── */

.benutzer-tabelle {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.benutzer-tabelle th {
	text-align: left;
	padding: 6px 10px;
	border-bottom: 1px solid rgb(160, 165, 175);
	color: rgb(240, 245, 255);
	font-weight: 500;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.benutzer-tabelle td {
	padding: 7px 10px;
	border-bottom: 1px solid rgb(145, 148, 158);
	color: rgb(255, 255, 255);
}

.benutzer-tabelle tr:hover td {
	background-color: rgb(38, 42, 52);
}

.benutzer-tabelle td a {
	color: rgb(130, 170, 220);
	text-decoration: none;
	font-size: 12px;
}

.benutzer-tabelle td a:hover {
	text-decoration: underline;
}

.settings-trenner {
	border-top: 1px solid rgb(155, 160, 170);
	margin: 18px 0 14px;
}

/* ══════════════════════════════════════════════════════
   Auswahl-Panel Override — Dark-Kontrast
   Dunkle Flaechen, weisse Schrift, klare Rahmen um alle Elemente.
   ══════════════════════════════════════════════════════ */

.auswahl-panel {
	background-color: rgb(20, 20, 28);
	border-left: 1px solid rgb(180, 180, 200);
}

.auswahl-menu {
	background-color: rgb(35, 35, 48);
	border-bottom: 1px solid rgb(180, 180, 200);
}

.auswahl-menu-btn {
	background-color: rgb(30, 30, 42);
	color: rgb(240, 240, 250);
	border: 1px solid rgb(180, 180, 200);
}
.auswahl-menu-btn:hover {
	background-color: rgb(55, 55, 75);
	color: rgb(255, 255, 255);
}
.auswahl-menu-btn.aktiv {
	background-color: rgb(80, 140, 230);
	color: rgb(255, 255, 255);
	border-color: rgb(150, 190, 255);
}

.auswahl-inhalt {
	background-color: rgb(20, 20, 28);
	color: rgb(240, 240, 250);
}

.ausw-pfad-nav { color: rgb(200, 200, 220); }
.ausw-pfad-nav span { color: rgb(140, 180, 255); }

.ausw-verz-btn {
	background-color: rgb(30, 30, 42);
	color: rgb(180, 210, 255);
	border: 1px solid rgb(180, 180, 200);
}
.ausw-verz-btn:hover { background-color: rgb(55, 55, 75); }

.ausw-bild-item,
.ausw-dl-item,
.ausw-link-item {
	background-color: rgb(30, 30, 42);
	border: 1px solid rgb(150, 150, 170);
	color: rgb(240, 240, 250);
}
.ausw-bild-item:hover,
.ausw-dl-item:hover,
.ausw-link-item:hover {
	background-color: rgb(55, 55, 75);
	border-color: rgb(210, 210, 230);
}

.ausw-bild-item span,
.ausw-dl-name { color: rgb(240, 240, 250); }
.ausw-dl-meta,
.ausw-link-pfad { color: rgb(190, 190, 210); }
.ausw-link-titel { color: rgb(240, 240, 250); }
.ausw-link-domain { color: rgb(140, 180, 255); }

.ausw-dropzone {
	background-color: rgb(25, 25, 35);
	border: 1px dashed rgb(180, 180, 200);
	color: rgb(200, 200, 220);
}
.ausw-dropzone.dragover {
	background-color: rgb(40, 55, 85);
	border-color: rgb(140, 180, 255);
	color: rgb(255, 255, 255);
}

/* Color-Picker in System-Settings */
.settings-input-color {
	width: 44px !important;
	min-width: 44px !important;
	height: 28px;
	padding: 1px 2px !important;
	flex: 0 0 auto !important;
	cursor: pointer;
	vertical-align: middle;
}
.settings-input-color:not([data-gesetzt]) {
	opacity: 0.45;
}
.settings-color-reset {
	border: none;
	background: none;
	cursor: pointer;
	font-size: 14px;
	padding: 2px 8px;
	color: inherit;
	opacity: 0.6;
	vertical-align: middle;
}
.settings-color-reset:hover { opacity: 1; }


/* ── Werkzeuge: Update-Dashboard ─────────────────────── */
.update-dashboard { max-width: 960px; }
.update-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.update-info-item { padding: 10px 12px; background-color: rgb(40, 40, 50); border: 2px solid rgb(155, 155, 165); border-radius: 4px; }
.update-info-label { font-size: 10px; color: rgb(180, 180, 195); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; font-weight: 600; }
.update-info-wert { font-size: 13px; color: rgb(240, 240, 250); font-weight: 600; word-break: break-word; }
.update-hinweis { padding: 10px 12px; margin-bottom: 16px; background-color: rgb(65, 55, 25); border-left: 4px solid rgb(235, 180, 60); color: rgb(250, 225, 170); font-size: 12px; border-radius: 3px; }
.update-banner { padding: 12px 14px; margin-bottom: 16px; border-radius: 4px; border-left: 4px solid; font-size: 13px; font-weight: 500; }
.update-banner-titel { font-size: 14px; }
.update-banner-ok   { background-color: rgb(30, 60, 35); border-left-color: rgb(110, 210, 110); color: rgb(200, 245, 200); }
.update-banner-warn { background-color: rgb(70, 35, 30); border-left-color: rgb(240, 120, 95); color: rgb(255, 210, 195); }
.update-banner-info { background-color: rgb(30, 50, 75); border-left-color: rgb(130, 175, 240); color: rgb(205, 225, 250); }
.btn-settings-secondary { background-color: rgb(55, 60, 75); color: rgb(240, 242, 250); border-color: rgb(90, 95, 115); }
.btn-settings-secondary:hover { background-color: rgb(70, 75, 92); }
.update-aktionen { margin-bottom: 14px; }
.update-tabs { display: flex; border-bottom: 2px solid rgb(155, 155, 165); margin: 16px 0 12px; gap: 2px; flex-wrap: wrap; }
.update-tab { padding: 7px 14px; cursor: pointer; border: 2px solid transparent; border-bottom: none; border-radius: 4px 4px 0 0; font-size: 12px; color: rgb(180, 180, 195); margin-bottom: -2px; font-weight: 500; }
.update-tab:hover { background-color: rgb(50, 50, 60); color: rgb(240, 240, 250); }
.update-tab.aktiv { background-color: rgb(30, 30, 40); border-color: rgb(155, 155, 165); border-bottom-color: rgb(30, 30, 40); color: rgb(240, 240, 250); font-weight: 700; }
.update-tab-content { padding: 4px 0 12px; }
.update-tabelle { width: 100%; border-collapse: collapse; font-size: 12px; }
.update-tabelle th { text-align: left; padding: 7px 10px; border-bottom: 2px solid rgb(155, 155, 165); color: rgb(240, 240, 250); font-weight: 700; }
.update-tabelle td { padding: 7px 10px; border-bottom: 1px solid rgb(95, 95, 108); color: rgb(225, 225, 235); vertical-align: top; }
.update-tabelle tr:hover td { background-color: rgb(42, 42, 52); }
.update-tabelle tr.update-zeile-inaktiv td { opacity: 0.5; }
.update-tabelle code { font-family: monospace; font-size: 11px; background-color: rgb(50, 50, 60); padding: 1px 5px; border-radius: 2px; color: rgb(220, 220, 235); border: 1px solid rgb(95, 95, 108); }
.update-pfad { font-family: monospace; font-size: 11px; color: rgb(210, 210, 225); word-break: break-all; }
.update-datum { color: rgb(180, 180, 195); font-size: 11px; white-space: nowrap; }
.update-leer { padding: 18px 12px; color: rgb(180, 180, 195); font-style: italic; font-size: 12px; background-color: rgb(40, 40, 50); border: 2px dashed rgb(110, 110, 125); border-radius: 4px; text-align: center; }
.update-badge-ok, .update-badge-warn, .update-badge-fehler, .update-badge-info { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.update-badge-ok { background-color: rgb(45, 85, 50); color: rgb(200, 245, 205); border-color: rgb(100, 180, 110); }
.update-badge-warn { background-color: rgb(95, 70, 25); color: rgb(255, 225, 175); border-color: rgb(210, 160, 60); }
.update-badge-fehler { background-color: rgb(110, 40, 40); color: rgb(255, 210, 210); border-color: rgb(220, 90, 90); }
.update-badge-info { background-color: rgb(45, 70, 115); color: rgb(200, 220, 255); border-color: rgb(100, 145, 220); }
