/*
 * Einladungsmanagement – Design-System „App“ (Backend und Frontend-Portal).
 *
 * Vorbild: Thera X / Präsentations-Zeitplaner (Seitenleiste mit Gruppen, Suchleiste oben,
 * Seitenkopf mit Symbolkachel, Kennzahl-Kacheln, Karten) – bewusst etwas kompakter, weil das
 * Werkzeug viele Felder und Datensätze zeigt.
 *
 * Alle Regeln hängen an .cbem-app, damit WordPress-Seiten und Themes unberührt bleiben.
 * Die WordPress-Standardklassen (.button, .widefat, .form-table, .notice) werden innerhalb der App
 * vollständig selbst gestaltet – so sieht das Portal im Frontend ohne wp-admin-CSS gleich aus.
 * Cottbus-CD (eckig, Rot/Dunkelblau) überschreibt nur Variablen: cbem-admin-cottbus.css.
 */

/* ---------- Schrift lokal (Roboto, SIL OFL 1.1) – keine Verbindung zu Google ---------- */
@font-face { font-family: "CBEM Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url(../vendor/roboto/roboto-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "CBEM Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url(../vendor/roboto/roboto-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "CBEM Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url(../vendor/roboto/roboto-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "CBEM Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url(../vendor/roboto/roboto-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "CBEM Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url(../vendor/roboto/roboto-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "CBEM Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url(../vendor/roboto/roboto-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Farben und Maße (aus den Vorlagen ausgemessen) ---------- */
.cbem-app {
	--cbem-primaer: #0E7DB5;
	--cbem-primaer-dunkel: #0B6A9A;
	--cbem-primaer-hell: #E7F2F8;
	--cbem-primaer-ring: rgba(14, 125, 181, .18);
	--cbem-gruen: #2E7D32;
	--cbem-gruen-hell: #E5EFE6;
	--cbem-orange: #B45309;
	--cbem-orange-hell: #F6EAE1;
	--cbem-rot: #C62828;
	--cbem-rot-hell: #F8E5E5;
	--cbem-lila: #6D4AB0;
	--cbem-lila-hell: #ECE7F6;
	--cbem-tuerkis: #0F766E;
	--cbem-tuerkis-hell: #E5F3F1;
	--cbem-info-flaeche: #E1E7F6;
	--cbem-info-rand: #A6B9ED;
	--cbem-warn-flaeche: #F3E9E2;
	--cbem-warn-rand: #DCB9A1;
	--cbem-text: #1E293B;
	--cbem-text-2: #334155;
	--cbem-text-leise: #64748B;
	--cbem-text-blass: #94A3B8;
	--cbem-linie: #E4E9F1;
	--cbem-linie-hell: #EEF2F6;
	--cbem-feldrand: #D5DCE5;
	--cbem-flaeche: #F4F6F9;
	--cbem-flaeche-2: #F8FAFC;
	--cbem-karte: #FFFFFF;
	--cbem-radius: 8px;
	--cbem-radius-klein: 6px;
	--cbem-schatten-pop: 0 12px 32px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .06);
	--cbem-leiste: 236px;
	--cbem-oben: 56px;
	--cbem-schrift: "CBEM Roboto", Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

	position: relative;
	display: flex;
	min-height: calc(100vh - var(--cbem-adminbar, 0px));
	background: var(--cbem-flaeche);
	color: var(--cbem-text);
	font-family: var(--cbem-schrift);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.cbem-app *, .cbem-app *::before, .cbem-app *::after { box-sizing: border-box; }
.cbem-app [hidden] { display: none !important; }
.cbem-app a { color: var(--cbem-primaer); text-decoration: none; }
.cbem-app a:hover { color: var(--cbem-primaer-dunkel); }
.cbem-app :focus-visible { outline: 2px solid var(--cbem-primaer); outline-offset: 2px; box-shadow: none; }
.cbem-app h1, .cbem-app h2, .cbem-app h3, .cbem-app h4 { color: var(--cbem-text); font-family: var(--cbem-schrift); }
.cbem-app p { font-size: 14px; }
.cbem-app code { background: var(--cbem-flaeche); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.cbem-i { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* ---------- WordPress-Backend: App füllt den Inhaltsbereich, WP-Seitenmenü ausgeblendet ---------- */
body.cbem-app-vollbild { --cbem-adminbar: 32px; background: #F4F6F9; }
body.cbem-app-vollbild #adminmenumain { display: none; }
body.cbem-app-vollbild #wpcontent, body.cbem-app-vollbild #wpfooter { margin-left: 0; padding-left: 0; }
body.cbem-app-vollbild #wpbody-content { padding-bottom: 0; }
body.cbem-app-vollbild #wpfooter { display: none; }
body.cbem-app-vollbild .update-nag, body.cbem-app-vollbild #screen-meta-links { display: none; }
body.cbem-plugin-seite:not(.cbem-app-vollbild) .cbem-app { margin-left: -20px; }
@media (max-width: 782px) { body.cbem-app-vollbild { --cbem-adminbar: 46px; } body.cbem-plugin-seite:not(.cbem-app-vollbild) .cbem-app { margin-left: -10px; } }

/* ---------- Seitenleiste ---------- */
.cbem-leiste { position: sticky; top: var(--cbem-adminbar, 0px); align-self: flex-start; display: flex; flex-direction: column; width: var(--cbem-leiste); height: calc(100vh - var(--cbem-adminbar, 0px)); background: #fff; border-right: 1px solid var(--cbem-linie); z-index: 20; transition: width .18s ease; }
.cbem-marke { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--cbem-linie); color: var(--cbem-text) !important; }
.cbem-marke-logo { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, #1597D3, #0E7DB5 55%, #0A5F8C); color: #fff; }
.cbem-marke-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 9px; background: #fff; }
.cbem-marke-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.cbem-marke-text strong { font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbem-marke-text small { font-size: 12px; color: var(--cbem-text-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbem-leiste-nav { flex: 1 1 auto; overflow-y: auto; padding: 8px 10px 12px; scrollbar-width: thin; }
.cbem-nav-gruppe { margin: 14px 8px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--cbem-text-leise); }
.cbem-nav-gruppe:first-child { margin-top: 6px; }
.cbem-leiste .cbem-nav-link { display: flex; align-items: center; gap: 11px; min-height: 36px; margin: 1px 0; padding: 7px 10px; border-radius: var(--cbem-radius-klein); color: var(--cbem-text-2) !important; font-size: 14px; font-weight: 400; white-space: nowrap; }
.cbem-leiste .cbem-nav-link .cbem-i { color: var(--cbem-text-leise); }
.cbem-leiste .cbem-nav-link:hover { background: var(--cbem-flaeche-2); color: var(--cbem-text) !important; }
.cbem-leiste .cbem-nav-link.ist-aktiv { background: var(--cbem-primaer-hell); color: var(--cbem-primaer) !important; font-weight: 500; }
.cbem-leiste .cbem-nav-link.ist-aktiv .cbem-i { color: var(--cbem-primaer); }
.cbem-nav-zahl { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--cbem-flaeche); color: var(--cbem-text-leise); font-size: 11px; font-weight: 700; text-align: center; line-height: 18px; }
.cbem-leiste-fuss { display: flex; justify-content: center; padding: 10px; border-top: 1px solid var(--cbem-linie-hell); }
.cbem-zuklappen { display: grid; place-items: center; width: 34px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--cbem-text-leise); cursor: pointer; }
.cbem-zuklappen:hover { background: var(--cbem-flaeche); color: var(--cbem-text); }
.cbem-app.ist-eingeklappt { --cbem-leiste: 64px; }
.cbem-app.ist-eingeklappt .cbem-marke-text, .cbem-app.ist-eingeklappt .cbem-nav-gruppe, .cbem-app.ist-eingeklappt .cbem-nav-text, .cbem-app.ist-eingeklappt .cbem-nav-zahl { display: none; }
.cbem-app.ist-eingeklappt .cbem-marke { padding: 0 14px; }
.cbem-app.ist-eingeklappt .cbem-leiste .cbem-nav-link { justify-content: center; padding: 8px 0; }
.cbem-app.ist-eingeklappt .cbem-leiste-nav .cbem-nav-gruppe + .cbem-nav-link { margin-top: 12px; }
.cbem-app.ist-eingeklappt .cbem-zuklappen .cbem-i { transform: rotate(180deg); }

/* ---------- Hauptbereich und obere Leiste ---------- */
.cbem-haupt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.cbem-oben { position: sticky; top: var(--cbem-adminbar, 0px); z-index: 15; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--cbem-linie); }
.cbem-oben-zurueck, .cbem-menue-knopf { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 6px; background: transparent; color: var(--cbem-text-leise) !important; cursor: pointer; }
.cbem-oben-zurueck:hover, .cbem-menue-knopf:hover { background: var(--cbem-flaeche); color: var(--cbem-text) !important; }
.cbem-menue-knopf { display: none; }
.cbem-oben-rechts { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.cbem-pille { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--cbem-flaeche); color: var(--cbem-text-leise); font-size: 12.5px; white-space: nowrap; }
.cbem-status-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--cbem-gruen); flex: 0 0 8px; }
.cbem-status-punkt.ist-gelb { background: #F59E0B; }
.cbem-status-punkt.ist-rot { background: var(--cbem-rot); }
.cbem-nutzer { display: flex; align-items: center; gap: 10px; color: var(--cbem-text) !important; }
.cbem-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cbem-primaer-hell); color: var(--cbem-primaer); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.cbem-nutzer-text { display: flex; flex-direction: column; line-height: 1.2; }
.cbem-nutzer-text strong { font-size: 13.5px; font-weight: 500; }
.cbem-nutzer-text small { font-size: 12px; color: var(--cbem-text-leise); }
.cbem-inhalt { flex: 1 1 auto; width: 100%; max-width: 1680px; padding: 20px 24px 28px; }

/* ---------- Globale Suche mit Autovervollständigung ---------- */
.cbem-suche { position: relative; flex: 0 1 560px; min-width: 0; }
.cbem-suche-feld { position: relative; display: flex; align-items: center; }
.cbem-suche-feld > .cbem-i { position: absolute; left: 12px; color: var(--cbem-text-leise); pointer-events: none; }
.cbem-app .cbem-suche input.cbem-suche-eingabe { width: 100%; height: 40px; margin: 0; padding: 0 64px 0 38px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); background: var(--cbem-flaeche-2); font-size: 14px; color: var(--cbem-text); box-shadow: none; }
.cbem-app .cbem-suche input.cbem-suche-eingabe::placeholder { color: var(--cbem-text-leise); }
.cbem-app .cbem-suche input.cbem-suche-eingabe:focus { background: #fff; border-color: var(--cbem-primaer); box-shadow: 0 0 0 3px var(--cbem-primaer-ring); outline: 0; }
.cbem-kbd { position: absolute; right: 8px; padding: 2px 6px; border: 1px solid var(--cbem-linie); border-radius: 5px; background: #fff; color: var(--cbem-text-leise); font-size: 11px; font-family: var(--cbem-schrift); pointer-events: none; }
.cbem-suche-ergebnisse { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 100; max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); box-shadow: var(--cbem-schatten-pop); }
.cbem-suche-ergebnisse[hidden] { display: none; }
.cbem-suche-gruppe { margin: 0; padding: 0; list-style: none; }
.cbem-suche-gruppe + .cbem-suche-gruppe { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--cbem-linie-hell); }
.cbem-suche-gruppe-titel { display: flex; justify-content: space-between; padding: 6px 10px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--cbem-text-leise); }
.cbem-suche-treffer { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; color: var(--cbem-text) !important; cursor: pointer; }
.cbem-suche-treffer .cbem-i { color: var(--cbem-text-leise); }
.cbem-suche-treffer[aria-selected="true"], .cbem-suche-treffer:hover { background: var(--cbem-primaer-hell); }
.cbem-suche-treffer[aria-selected="true"] .cbem-i { color: var(--cbem-primaer); }
.cbem-suche-treffer-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.cbem-suche-treffer-text strong { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbem-suche-treffer-text small { color: var(--cbem-text-leise); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbem-suche-treffer mark { background: #FFF1B8; color: inherit; padding: 0 1px; border-radius: 2px; }
.cbem-suche-treffer-badge { margin-left: auto; }
.cbem-suche-leer { padding: 16px 12px; text-align: center; color: var(--cbem-text-leise); font-size: 13px; }
.cbem-suche-fuss { display: flex; gap: 14px; padding: 8px 10px 4px; margin-top: 4px; border-top: 1px solid var(--cbem-linie-hell); color: var(--cbem-text-blass); font-size: 11.5px; }
/* lokale Suchfelder (Listen) nutzen dieselbe Optik */
.cbem-suche-lokal { flex: 1 1 320px; max-width: 100%; }

/* ---------- Seitenkopf ---------- */
.cbem-seitenkopf { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.cbem-seitenkopf-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--cbem-primaer-hell); color: var(--cbem-primaer); }
.cbem-seitenkopf-text { flex: 1 1 auto; min-width: 0; }
.cbem-app .cbem-seitenkopf h1 { margin: 0; padding: 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
.cbem-seitenkopf-untertitel { margin: 2px 0 0 !important; color: var(--cbem-text-leise); font-size: 13.5px !important; }
.cbem-brotkrumen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 2px; font-size: 12.5px; color: var(--cbem-text-leise); }
.cbem-brotkrumen a { color: var(--cbem-text-leise); }
.cbem-brotkrumen a:hover { color: var(--cbem-primaer); }
.cbem-seitenkopf-aktionen { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.cbem-hilfe-knopf { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--cbem-text-leise) !important; }
.cbem-hilfe-knopf:hover { background: #fff; color: var(--cbem-primaer) !important; }

/* ---------- Schaltflächen (inkl. WordPress-Klassen innerhalb der App) ---------- */
.cbem-app .button, .cbem-app .cbem-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; min-height: 36px; margin: 0; padding: 0 14px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); background: #fff; color: var(--cbem-primaer); font-family: var(--cbem-schrift); font-size: 13.5px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; vertical-align: middle; transition: background .12s, border-color .12s, color .12s; }
.cbem-app .button:hover, .cbem-app .cbem-knopf:hover { background: var(--cbem-flaeche-2); border-color: #CDD6E1; color: var(--cbem-primaer-dunkel); }
.cbem-app .button:focus, .cbem-app .cbem-knopf:focus { box-shadow: 0 0 0 3px var(--cbem-primaer-ring); outline: 0; }
.cbem-app .button-primary, .cbem-app .button.cbem-primaer, .cbem-app .cbem-knopf-primaer { background: var(--cbem-primaer); border-color: var(--cbem-primaer); color: #fff; }
.cbem-app .button-primary:hover, .cbem-app .button.cbem-primaer:hover, .cbem-app .cbem-knopf-primaer:hover { background: var(--cbem-primaer-dunkel); border-color: var(--cbem-primaer-dunkel); color: #fff; }
.cbem-app .button:disabled, .cbem-app .button[disabled], .cbem-app .button.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.cbem-app .button.cbem-gefahr-button { color: var(--cbem-rot); border-color: #F0CACA; }
.cbem-app .button.cbem-gefahr-button:hover:not(:disabled) { background: var(--cbem-rot); border-color: var(--cbem-rot); color: #fff; }
.cbem-app .button-small, .cbem-app .cbem-knopf-klein { height: 30px; min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.cbem-app .cbem-knopf-icon { width: 32px; height: 32px; min-height: 32px; padding: 0; border-color: transparent; background: transparent; color: var(--cbem-text-leise); }
.cbem-app .cbem-knopf-icon:hover { background: var(--cbem-flaeche); color: var(--cbem-primaer); border-color: transparent; }
.cbem-app .cbem-knopf-icon.cbem-gefahr:hover { color: var(--cbem-rot); }
.cbem-app .button .dashicons { width: 16px; height: 16px; font-size: 16px; line-height: 1; }
.cbem-kopieren.ist-kopiert { border-color: var(--cbem-gruen) !important; color: var(--cbem-gruen) !important; }
.cbem-kopieren-label:empty { display: none; }
.cbem-werkzeugleiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.cbem-werkzeugleiste-rechts { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cbem-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.cbem-inline-formular { display: inline-flex; margin: 0; vertical-align: middle; }

/* ---------- Karten ---------- */
.cbem-karte { margin: 0 0 16px; background: var(--cbem-karte); border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); }
.cbem-app h2.cbem-karte-kopf, .cbem-karte-kopf { display: flex; align-items: center; gap: 10px; margin: 0; padding: 13px 18px; border-bottom: 1px solid var(--cbem-linie-hell); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.cbem-karte-kopf .cbem-i { color: var(--cbem-primaer); }
.cbem-karte-kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 400; color: var(--cbem-text-leise); }
.cbem-karte-inhalt { position: relative; padding: 16px 18px; overflow-x: auto; contain: inline-size; }
.cbem-karte-inhalt.ohne-abstand { padding: 0; }
.cbem-karte-inhalt > :first-child { margin-top: 0; }
.cbem-karte-inhalt > :last-child { margin-bottom: 0; }
.cbem-karte-warnung { border-left: 3px solid #F59E0B; }
.cbem-karte-fehler, .cbem-karte-gefahr { border-left: 3px solid var(--cbem-rot); }
.cbem-karte-ok, .cbem-karte-aktuell { border-left: 3px solid var(--cbem-gruen); }
.cbem-zwei-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; margin-bottom: 16px; }
.cbem-zwei-spalten > .cbem-karte { margin-bottom: 0; }
.cbem-raster-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.cbem-raster-2-1 > .cbem-karte, .cbem-raster-2-1 > div > .cbem-karte:last-child { margin-bottom: 0; }

/* ---------- Kennzahl-Kacheln (Pastell-Symbolfläche) ---------- */
.cbem-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 14px; margin: 0 0 16px; }
.cbem-kachel { display: flex; align-items: flex-start; gap: 14px; padding: 15px 16px; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); color: var(--cbem-text) !important; }
a.cbem-kachel:hover { border-color: #CBD5E1; }
.cbem-kachel-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--cbem-primaer-hell); color: var(--cbem-primaer); }
.cbem-kachel > div { min-width: 0; overflow-wrap: anywhere; }
.cbem-kachel p { margin: 0 !important; }
.cbem-kachel-titel { font-size: 13px !important; color: var(--cbem-text-2); }
.cbem-kachel-wert { margin: 1px 0 2px !important; font-size: 22px !important; font-weight: 700; line-height: 1.25; color: var(--cbem-text); }
.cbem-kachel-text { font-size: 12px !important; color: var(--cbem-text-leise); }
.cbem-kachel-link { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 500; }
.cbem-ton-blau .cbem-kachel-icon { background: var(--cbem-primaer-hell); color: var(--cbem-primaer); }
.cbem-ton-gruen .cbem-kachel-icon, .cbem-kachel-ok .cbem-kachel-icon { background: var(--cbem-gruen-hell); color: var(--cbem-gruen); }
.cbem-ton-orange .cbem-kachel-icon, .cbem-kachel-hinweis .cbem-kachel-icon { background: var(--cbem-orange-hell); color: var(--cbem-orange); }
.cbem-ton-rot .cbem-kachel-icon, .cbem-kachel-fehler .cbem-kachel-icon { background: var(--cbem-rot-hell); color: var(--cbem-rot); }
.cbem-ton-lila .cbem-kachel-icon { background: var(--cbem-lila-hell); color: var(--cbem-lila); }
.cbem-ton-tuerkis .cbem-kachel-icon { background: var(--cbem-tuerkis-hell); color: var(--cbem-tuerkis); }
.cbem-kachel-hinweis .cbem-kachel-wert { color: var(--cbem-orange); }
.cbem-kachel-fehler .cbem-kachel-wert { color: var(--cbem-rot); }

/* Ampel-Kachel (wie Abrechnungs-/System-Ampel der Vorlagen) */
.cbem-ampel { display: flex; flex-direction: column; justify-content: space-between; flex: 0 0 34px; width: 34px; height: 76px; padding: 6px 0; border-radius: 17px; background: #1F2733; align-items: center; }
.cbem-ampel span { width: 20px; height: 20px; border-radius: 50%; background: #3A4452; }
.cbem-ampel .an-rot { background: #EF4444; box-shadow: 0 0 6px rgba(239, 68, 68, .7); }
.cbem-ampel .an-gelb { background: #F5B70A; box-shadow: 0 0 6px rgba(245, 183, 10, .7); }
.cbem-ampel .an-gruen { background: #22C55E; box-shadow: 0 0 6px rgba(34, 197, 94, .6); }
.cbem-ampel-liste { margin: 2px 0 0 !important; padding: 0; list-style: none; font-size: 13px; }
.cbem-ampel-liste li { display: flex; align-items: center; gap: 8px; margin: 1px 0; }
.cbem-ampel-liste b { min-width: 22px; }
.cbem-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.cbem-punkt-rot { background: #EF4444; } .cbem-punkt-gelb { background: #F5B70A; } .cbem-punkt-gruen { background: #22C55E; } .cbem-punkt-blau { background: var(--cbem-primaer); } .cbem-punkt-grau { background: #CBD5E1; }

/* ---------- Hinweise ---------- */
.cbem-hinweis, .cbem-app .notice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 11px 16px; border: 1px solid var(--cbem-info-rand); border-radius: var(--cbem-radius-klein); background: var(--cbem-info-flaeche); color: var(--cbem-text); box-shadow: none; }
.cbem-hinweis > .cbem-i { margin-top: 1px; color: var(--cbem-primaer); }
.cbem-hinweis p, .cbem-app .notice p { margin: 0 !important; padding: 0 !important; font-size: 13.5px; }
.cbem-hinweis-text { flex: 1 1 auto; min-width: 0; }
.cbem-hinweis-aktion { margin-left: auto; font-weight: 500; white-space: nowrap; }
.cbem-hinweis-warnung, .cbem-app .notice-warning { background: var(--cbem-warn-flaeche); border-color: var(--cbem-warn-rand); }
.cbem-hinweis-warnung > .cbem-i { color: var(--cbem-orange); }
.cbem-hinweis-fehler, .cbem-app .notice-error { background: var(--cbem-rot-hell); border-color: #E8AFAF; }
.cbem-hinweis-fehler > .cbem-i { color: var(--cbem-rot); }
.cbem-hinweis-ok, .cbem-app .notice-success { background: var(--cbem-gruen-hell); border-color: #A9CBAB; }
.cbem-hinweis-ok > .cbem-i { color: var(--cbem-gruen); }
.cbem-app .notice { position: relative; padding-right: 40px; }
.cbem-app .notice-dismiss { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: var(--cbem-text-leise); cursor: pointer; }

/* ---------- Badges ---------- */
.cbem-badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 5px; font-size: 12px; font-weight: 500; line-height: 20px; white-space: nowrap; background: var(--cbem-primaer-hell); color: var(--cbem-primaer); }
.cbem-badge-ok { background: var(--cbem-gruen-hell); color: var(--cbem-gruen); }
.cbem-badge-hinweis { background: var(--cbem-orange-hell); color: var(--cbem-orange); }
.cbem-badge-fehler { background: var(--cbem-rot-hell); color: var(--cbem-rot); }
.cbem-badge-neutral { background: #F1F5F9; color: #475569; }
.cbem-badge-lila { background: var(--cbem-lila-hell); color: var(--cbem-lila); }
.cbem-farbpunkt { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }

/* ---------- Reiter (Symbol über Text, wie „Abrechnung“) und Segmente/Chips ---------- */
.cbem-reiter { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 16px; border-bottom: 1px solid var(--cbem-linie); }
.cbem-reiter-link { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 9px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--cbem-text-2) !important; font-size: 13.5px; white-space: nowrap; }
.cbem-reiter-link .cbem-i, .cbem-reiter-link .dashicons { color: var(--cbem-text-leise); }
.cbem-reiter-link:hover { color: var(--cbem-primaer) !important; }
.cbem-reiter-link.ist-aktiv { border-bottom-color: var(--cbem-primaer); color: var(--cbem-primaer) !important; font-weight: 500; }
.cbem-reiter-link.ist-aktiv .cbem-i, .cbem-reiter-link.ist-aktiv .dashicons { color: var(--cbem-primaer); }
.cbem-segmente { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); background: #fff; overflow: hidden; }
.cbem-segment { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 34px; border-right: 1px solid var(--cbem-linie); color: var(--cbem-primaer) !important; font-size: 13.5px; font-weight: 500; }
.cbem-segment:last-child { border-right: 0; }
.cbem-app button.cbem-segment { margin: 0; border-top: 0; border-bottom: 0; border-left: 0; background: transparent; font-family: var(--cbem-schrift); cursor: pointer; }
.cbem-app button.cbem-segment.ist-aktiv { background: var(--cbem-primaer-hell); }
.cbem-app button.cbem-segment:focus-visible { outline: 2px solid var(--cbem-primaer); outline-offset: -2px; }
.cbem-segment.ist-aktiv { background: var(--cbem-primaer-hell); }
.cbem-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.cbem-chips-label { color: var(--cbem-text-leise); font-size: 13px; }
.cbem-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); background: #fff; color: var(--cbem-text-2) !important; font-size: 13px; }
.cbem-chip:hover { border-color: #CBD5E1; }
.cbem-chip.ist-aktiv { border-color: var(--cbem-primaer); background: var(--cbem-primaer-hell); color: var(--cbem-primaer) !important; }

/* ---------- Tabellen ---------- */
.cbem-tabelle-scroll { position: relative; overflow-x: auto; contain: inline-size; }
.cbem-app table.widefat, .cbem-app .cbem-tabelle { width: 100%; border: 0; border-collapse: collapse; border-spacing: 0; background: #fff; box-shadow: none; font-size: 13.5px; }
.cbem-app .cbem-tabelle thead th, .cbem-app .cbem-tabelle thead td, .cbem-app table.widefat thead th, .cbem-app table.widefat thead td { padding: 10px 14px; border-bottom: 1px solid var(--cbem-linie); background: #fff; color: var(--cbem-text-leise); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.cbem-app .cbem-tabelle td, .cbem-app .cbem-tabelle tbody th, .cbem-app table.widefat td, .cbem-app table.widefat tbody th { padding: 10px 14px; border-bottom: 1px solid var(--cbem-linie-hell); color: var(--cbem-text); vertical-align: middle; font-size: 13.5px; }
.cbem-app .cbem-tabelle tbody tr:last-child td { border-bottom: 0; }
.cbem-app .cbem-tabelle tbody tr:hover td, .cbem-app table.widefat tbody tr:hover td { background: var(--cbem-flaeche-2); }
.cbem-app .striped > tbody > :nth-child(odd) { background: transparent; }
.cbem-app .cbem-tabelle .check-column { width: 36px; }
.cbem-zelle-titel { display: flex; flex-direction: column; line-height: 1.35; }
.cbem-zelle-titel strong, .cbem-zelle-titel a { font-weight: 500; color: var(--cbem-text) !important; }
.cbem-zelle-titel a:hover { color: var(--cbem-primaer) !important; }
.cbem-zelle-titel small { color: var(--cbem-text-leise); font-size: 12px; }
.cbem-zelle-aktionen { display: flex; justify-content: flex-end; gap: 2px; white-space: nowrap; }
.cbem-zeile-fehler td { background: #FFF8F8; }
.cbem-zeile-gedimmt td { color: var(--cbem-text-blass) !important; }
.cbem-nowrap { white-space: nowrap; }
.cbem-rechts { text-align: right !important; }
.cbem-protokoll td { vertical-align: top !important; }
.cbem-protokoll td:nth-child(7) { min-width: 280px; }
.cbem-rechte td { text-align: center; }
.cbem-ja { color: var(--cbem-gruen); } .cbem-nein { color: #A0AEC0; }
.cbem-seiten { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 0; }
.cbem-seiten .cbem-seite { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid var(--cbem-linie); border-radius: 6px; background: #fff; color: var(--cbem-text-2) !important; }
.cbem-seiten .cbem-seite.ist-aktiv { background: var(--cbem-primaer); border-color: var(--cbem-primaer); color: #fff !important; }
.cbem-seiten-luecke { padding: 6px 4px; color: var(--cbem-text-leise); }
.cbem-zaehler { color: var(--cbem-text-leise); font-size: 13px; }

/* Listenzeilen (wie „Letzte Ereignisse“ / Wochenplan) */
.cbem-liste-zeilen { margin: 0; padding: 0; list-style: none; }
.cbem-liste-zeilen li { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--cbem-linie-hell); font-size: 13.5px; }
.cbem-liste-zeilen li:last-child { border-bottom: 0; }
.cbem-liste-zeilen .cbem-meta { margin-left: auto; color: var(--cbem-text-leise); font-size: 12.5px; white-space: nowrap; }

/* ---------- Formulare ---------- */
.cbem-app input[type="text"], .cbem-app input[type="search"], .cbem-app input[type="email"], .cbem-app input[type="url"], .cbem-app input[type="number"], .cbem-app input[type="password"], .cbem-app input[type="tel"], .cbem-app input[type="date"], .cbem-app input[type="time"], .cbem-app input[type="datetime-local"], .cbem-app select, .cbem-app textarea {
	min-height: 36px; margin: 0; padding: 6px 10px; border: 1px solid var(--cbem-feldrand); border-radius: var(--cbem-radius-klein); background: #fff; color: var(--cbem-text); font-family: var(--cbem-schrift); font-size: 14px; line-height: 1.4; box-shadow: none; max-width: 100%;
}
.cbem-app select { padding-right: 30px; }
.cbem-app textarea { min-height: 84px; }
.cbem-app input:focus, .cbem-app select:focus, .cbem-app textarea:focus { border-color: var(--cbem-primaer); box-shadow: 0 0 0 3px var(--cbem-primaer-ring); outline: 0; }
.cbem-app input[type="color"] { width: 44px; height: 36px; padding: 2px; border: 1px solid var(--cbem-feldrand); border-radius: 6px; background: #fff; }
.cbem-app input[type="checkbox"], .cbem-app input[type="radio"] { width: 17px; height: 17px; margin: 0 6px 0 0; accent-color: var(--cbem-primaer); vertical-align: -3px; }
.cbem-app .regular-text { width: 100%; max-width: 420px; }
.cbem-app .large-text { width: 100%; }
.cbem-app .small-text { width: 90px; }
.cbem-app .description, .cbem-hilfe-text { margin: 4px 0 0; color: var(--cbem-text-leise); font-size: 12.5px; }
.cbem-app .form-table { width: 100%; border-collapse: collapse; margin: 0; }
.cbem-app .form-table th { width: 240px; padding: 12px 16px 12px 0; text-align: left; vertical-align: top; font-weight: 500; font-size: 13.5px; color: var(--cbem-text-2); }
.cbem-app .form-table td { padding: 10px 0; vertical-align: top; font-size: 13.5px; }
.cbem-app .form-table tr + tr th, .cbem-app .form-table tr + tr td { border-top: 1px solid var(--cbem-linie-hell); }
.cbem-felder { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px 16px; }
.cbem-feld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cbem-feld > span:first-child, .cbem-feld-label { font-size: 12px; font-weight: 500; color: var(--cbem-text-leise); }
.cbem-feld input, .cbem-feld select, .cbem-feld textarea { width: 100%; }
.cbem-feld-breit { grid-column: 1 / -1; }
.cbem-pflicht { color: var(--cbem-rot); }
.cbem-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.cbem-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 500; color: var(--cbem-text-leise); }
.cbem-filter-suche input { min-width: min(260px, 100%); }
.cbem-zeile { display: block; margin: 5px 0; }
.cbem-schalter { display: inline-flex; align-items: center; font-size: 13.5px; cursor: pointer; }
.cbem-code-formular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.cbem-app input.cbem-code-eingabe { width: 10em; font-size: 20px; letter-spacing: .2em; font-family: Consolas, Monaco, monospace; }
fieldset.cbem-gruppe { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); }
fieldset.cbem-gruppe legend { padding: 0 6px; font-weight: 500; color: var(--cbem-text-2); }
.cbem-formular-fuss { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--cbem-linie-hell); }

/* ---------- Leere Zustände ---------- */
.cbem-leer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; text-align: center; color: var(--cbem-text-leise); }
.cbem-leer > .cbem-i { color: var(--cbem-text-blass); }
.cbem-leer p { margin: 0 !important; max-width: 520px; }

/* ---------- Code, Details, Listen ---------- */
.cbem-code { margin: 8px 0; padding: 12px 14px; background: #1E293B; color: #E2E8F0; border-radius: var(--cbem-radius-klein); font-family: Consolas, Monaco, monospace; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; overflow-x: auto; }
.cbem-codes { columns: 2; max-width: 360px; font-size: 16px; letter-spacing: .08em; }
.cbem-geheimnis { padding: 4px 8px; font-size: 15px; letter-spacing: .1em; }
.cbem-code-inline { font-family: Consolas, Monaco, monospace; color: var(--cbem-rot); }
.cbem-details summary { margin: 8px 0; color: var(--cbem-primaer); font-weight: 500; cursor: pointer; }
.cbem-liste { margin: 6px 0 6px 20px; list-style: disc; }
.cbem-schritte { margin-left: 20px; }
.cbem-schritte > li { margin-bottom: 16px; }
.cbem-changelog-titel { display: flex; align-items: center; gap: 6px; margin: 14px 0 6px; font-size: 14px; }
.cbem-changelog-titel .cbem-i, .cbem-changelog-titel .dashicons { color: var(--cbem-primaer); }
.cbem-begruendung { color: var(--cbem-text-leise); }
.cbem-daten { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 12px; font-size: 13.5px; }
.cbem-daten dt { color: var(--cbem-text-leise); }
.cbem-daten dd { margin: 0; }
.cbem-versteckt { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cbem-leise { color: var(--cbem-text-leise); }
.cbem-klein { font-size: 12.5px; }
.cbem-qr { width: 200px; height: 200px; margin: 10px 0; padding: 8px; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); }
.cbem-qr svg { display: block; width: 100%; height: 100%; }
.cbem-palette { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cbem-farbe { display: inline-flex; align-items: center; gap: 6px; }
.cbem-farbfeld { display: inline-block; width: 20px; height: 20px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .12); }
.cbem-logo-vorschau img { display: block; max-height: 60px; width: auto; margin-bottom: 8px; }
.cbem-gefahr { margin-top: 16px; padding: 12px 14px; border: 1px dashed #E8AFAF; border-radius: var(--cbem-radius-klein); background: #FFFBFB; }
.cbem-gefahr p { margin: 8px 0 0; }
.cbem-fusszeile { margin: 18px 0 0; color: var(--cbem-text-blass); font-size: 12px; }

/* ---------- Projekte: Karten-Raster ---------- */
.cbem-projekte { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.cbem-projekt { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); overflow: hidden; }
.cbem-projekt:hover { border-color: #CBD5E1; }
.cbem-projekt-kopf { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 10px; border-top: 3px solid var(--cbem-projektfarbe, var(--cbem-primaer)); }
.cbem-projekt-kuerzel { display: grid; place-items: center; flex: 0 0 auto; min-width: 38px; padding: 0 7px; height: 38px; border-radius: 9px; background: color-mix(in srgb, var(--cbem-projektfarbe, #0E7DB5) 14%, #fff); color: var(--cbem-projektfarbe, var(--cbem-primaer)); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.cbem-projekt-titel { min-width: 0; flex: 1 1 auto; }
.cbem-projekt-titel a { display: block; color: var(--cbem-text) !important; font-weight: 700; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.cbem-projekt-titel a:hover { color: var(--cbem-primaer) !important; }
.cbem-projekt-titel small { color: var(--cbem-text-leise); font-size: 12px; }
.cbem-projekt-text { padding: 0 16px; margin: 0 0 10px !important; color: var(--cbem-text-leise); font-size: 13px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cbem-projekt-zahlen { display: flex; gap: 16px; margin-top: auto; padding: 10px 16px; border-top: 1px solid var(--cbem-linie-hell); color: var(--cbem-text-leise); font-size: 12.5px; }
.cbem-projekt-zahlen span { display: inline-flex; align-items: center; gap: 5px; }
.cbem-projekt-zahlen b { color: var(--cbem-text); font-weight: 500; }

/* Fortschritt / Balken */
.cbem-balken { position: relative; height: 8px; border-radius: 4px; background: var(--cbem-linie-hell); overflow: hidden; }
.cbem-balken > span { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--cbem-primaer); }
.cbem-balken-stapel { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--cbem-linie-hell); }
.cbem-balken-stapel span { display: block; height: 100%; }
.cbem-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; font-size: 12.5px; color: var(--cbem-text-leise); }
.cbem-legende span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Dialog ---------- */
.cbem-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 64px); padding: 0; border: 1px solid var(--cbem-linie); border-radius: 10px; box-shadow: var(--cbem-schatten-pop); color: var(--cbem-text); font-family: var(--cbem-schrift); }
.cbem-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.cbem-dialog-kopf { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--cbem-linie-hell); font-weight: 700; }
.cbem-dialog-kopf .cbem-i { color: var(--cbem-primaer); }
.cbem-dialog-inhalt { padding: 16px 18px; }
.cbem-dialog-fuss { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--cbem-linie-hell); background: var(--cbem-flaeche-2); }

/* ---------- Toast ---------- */
.cbem-toast { position: fixed; right: 20px; bottom: 20px; z-index: 100100; display: flex; align-items: center; gap: 10px; max-width: min(420px, calc(100vw - 40px)); padding: 11px 16px; border-radius: 8px; background: #1E293B; color: #fff; font-family: var(--cbem-schrift); font-size: 13.5px; box-shadow: var(--cbem-schatten-pop); }
.cbem-toast.ist-fehler { background: #991B1B; }
.cbem-toast.ist-ok { background: #1B5E20; }

/* ---------- Responsiv ---------- */
@media (max-width: 1200px) {
	.cbem-raster-2-1 { grid-template-columns: 1fr; }
	.cbem-nutzer-text { display: none; }
}
@media (max-width: 960px) {
	.cbem-app { --cbem-leiste: 64px; }
	.cbem-marke-text, .cbem-nav-gruppe, .cbem-nav-text, .cbem-nav-zahl, .cbem-leiste-fuss { display: none; }
	.cbem-marke { padding: 0 14px; }
	.cbem-leiste .cbem-nav-link { justify-content: center; padding: 8px 0; }
	.cbem-pille.cbem-version-pille { display: none; }
}
@media (max-width: 782px) {
	.cbem-app { --cbem-leiste: 260px; }
	.cbem-leiste { position: fixed; left: 0; top: var(--cbem-adminbar, 0px); transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--cbem-schatten-pop); z-index: 99990; }
	.cbem-app.ist-menue-offen .cbem-leiste { transform: none; }
	.cbem-app.ist-menue-offen::after { content: ""; position: fixed; inset: 0; background: rgba(15, 23, 42, .35); z-index: 99980; }
	.cbem-marke-text, .cbem-nav-gruppe, .cbem-nav-text, .cbem-nav-zahl { display: revert; }
	.cbem-marke-text { display: flex; }
	.cbem-leiste .cbem-nav-link { justify-content: flex-start; padding: 7px 10px; }
	.cbem-menue-knopf { display: grid; }
	.cbem-oben { position: static; height: auto; min-height: 56px; padding: 8px 12px; flex-wrap: wrap; }
	.cbem-oben-zurueck { display: none; }
	.cbem-suche { order: 5; flex: 1 1 100%; }
	.cbem-kbd { display: none; }
	.cbem-inhalt { padding: 14px 12px 24px; }
	.cbem-seitenkopf { flex-wrap: wrap; }
	.cbem-seitenkopf-aktionen { width: 100%; justify-content: flex-start; }
	.cbem-app .cbem-seitenkopf h1 { font-size: 19px; }
	.cbem-karte-inhalt { padding: 12px 14px; }
	.cbem-app .form-table th, .cbem-app .form-table td { display: block; width: 100%; padding: 8px 0; }
	.cbem-app .form-table tr + tr td { border-top: 0; }
	.cbem-daten { grid-template-columns: 1fr; }
	.cbem-codes { columns: 1; }
	.cbem-reiter { gap: 2px 12px; overflow-x: auto; flex-wrap: nowrap; }
}

/* ---------- Druck ---------- */
@media print {
	.cbem-leiste, .cbem-oben, .cbem-seitenkopf-aktionen, .cbem-werkzeugleiste, .cbem-nicht-drucken, #wpadminbar { display: none !important; }
	.cbem-app { display: block; background: #fff; }
	.cbem-inhalt { padding: 0; max-width: none; }
	.cbem-karte { border-color: #ccc; break-inside: avoid; }
}

/* ---------- Frontend-Portal ---------- */
body.cbem-portal { margin: 0; background: #F4F6F9; }
.cbem-anmeldung { flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 12px; }
.cbem-anmeldung-karte { width: min(420px, 100%); background: #fff; border: 1px solid var(--cbem-linie); border-radius: 12px; overflow: hidden; }
.cbem-anmeldung .cbem-marke { height: 72px; }
.cbem-anmeldung-inhalt { padding: 20px 22px 22px; }
.cbem-app .cbem-anmeldung-inhalt h1 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 20px; }
.cbem-anmeldung-inhalt h1 .cbem-i { color: var(--cbem-primaer); }
.cbem-anmeldung-inhalt form p { margin: 0 0 12px; }
.cbem-anmeldung-inhalt label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--cbem-text-2); }
.cbem-anmeldung-inhalt input[type="text"], .cbem-anmeldung-inhalt input[type="password"] { width: 100%; height: 40px; }
.cbem-anmeldung-inhalt .login-remember label { display: inline-flex; align-items: center; font-weight: 400; }
.cbem-anmeldung-inhalt input[type="submit"] { width: 100%; height: 40px; border: 0; border-radius: var(--cbem-radius-klein); background: var(--cbem-primaer); color: #fff; font: 500 14px var(--cbem-schrift); cursor: pointer; }
.cbem-anmeldung-inhalt input[type="submit"]:hover { background: var(--cbem-primaer-dunkel); }
.cbem-anmeldung-fuss { margin: 6px 0 0 !important; text-align: center; font-size: 13px; }

/* ---------- Farbauswahl (Projekte) ---------- */
.cbem-farbwahl { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.cbem-farbwahl-punkt { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--f); cursor: pointer; }
.cbem-farbwahl-punkt input { position: absolute; inset: 0; opacity: 0; margin: 0 !important; width: 100% !important; height: 100% !important; cursor: pointer; }
.cbem-farbwahl-punkt:has(input:checked) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--f); }
.cbem-farbwahl-punkt:has(input:focus-visible) { outline: 2px solid var(--cbem-primaer); outline-offset: 3px; }

/* ---------- Ladezustand ---------- */
.cbem-suche.ist-laedt .cbem-suche-feld > .cbem-i, .cbem-sitzplan.ist-laedt .cbem-sp-buehne { animation: cbem-puls 1s ease-in-out infinite; }
@keyframes cbem-puls { 50% { opacity: .45; } }
.cbem-suche-treffer.ist-laedt { opacity: .5; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .cbem-app *, .cbem-app *::before { animation: none !important; transition: none !important; } }

/* ---------- QR-Tickets (Druckbogen) ---------- */
.cbem-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.cbem-ticket { display: flex; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--cbem-linie); border-left: 4px solid var(--cbem-primaer); border-radius: var(--cbem-radius); break-inside: avoid; }
.cbem-ticket-qr { flex: 0 0 116px; width: 116px; height: 116px; }
.cbem-ticket-qr svg { display: block; width: 100%; height: 100%; }
.cbem-ticket-text { min-width: 0; }
.cbem-ticket-text p { margin: 0 !important; }
.cbem-ticket-titel { font-size: 12px !important; text-transform: uppercase; letter-spacing: .05em; color: var(--cbem-text-leise); }
.cbem-ticket-name { margin: 2px 0 4px !important; font-size: 17px !important; font-weight: 700; overflow-wrap: anywhere; }
.cbem-ticket-meta { font-size: 12.5px !important; color: var(--cbem-text-2); }
.cbem-ticket-code code { display: inline-block; margin-top: 6px; font-size: 11.5px; letter-spacing: .04em; }
@media print {
	.cbem-tickets { grid-template-columns: 1fr 1fr; gap: 6mm; }
	.cbem-ticket { border: 1px dashed #999; border-left: 4px solid #000; }
	.cbem-reiter, .cbem-seitenkopf, .cbem-fusszeile, .cbem-hinweis { display: none !important; }
}

/* ---------- Einlass-Scanner ---------- */
.cbem-scanner-zaehler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.cbem-scanner-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: start; }
.cbem-scanner-rechts > .cbem-karte { margin-top: 16px; }
.cbem-kamera { position: relative; aspect-ratio: 1 / 1; max-height: 420px; width: 100%; background: #0F172A; border-radius: var(--cbem-radius); overflow: hidden; }
.cbem-kamera video { width: 100% !important; height: 100% !important; object-fit: cover; }
.cbem-kamera-platzhalter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; color: #CBD5E1; text-align: center; }
.cbem-kamera-platzhalter p { margin: 0 !important; color: #CBD5E1; }
.cbem-app input.cbem-scan-eingabe::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--cbem-schrift); font-size: 14px; }
.cbem-app input.cbem-scan-eingabe { width: 100%; height: 44px; font-family: Consolas, Monaco, monospace; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.cbem-scanner.ist-auslass .cbem-scanner-eingabe { border-color: #F59E0B; }
.cbem-ergebnis { display: flex; align-items: center; gap: 18px; min-height: 150px; padding: 20px 22px; border: 1px solid var(--cbem-linie); border-left-width: 8px; border-radius: var(--cbem-radius); background: #fff; transition: background .15s; }
.cbem-ergebnis-icon { flex: 0 0 auto; color: var(--cbem-text-blass); }
.cbem-ergebnis-icon .cbem-i { width: 48px; height: 48px; }
.cbem-ergebnis-text { flex: 1 1 auto; min-width: 0; }
.cbem-ergebnis-text p { margin: 0 !important; }
.cbem-ergebnis-titel { font-size: 24px !important; font-weight: 700; line-height: 1.2; }
.cbem-ergebnis-name { margin-top: 4px !important; font-size: 19px !important; font-weight: 500; }
.cbem-ergebnis-detail { margin-top: 4px !important; color: var(--cbem-text-2); }
.cbem-ergebnis-notiz { display: flex; align-items: center; gap: 6px; margin-top: 8px !important; padding: 6px 10px; border-radius: 6px; background: #FFF7E6; font-weight: 500; }
.cbem-ergebnis-platz { flex: 0 0 auto; padding: 10px 16px; border-radius: 10px; background: var(--cbem-flaeche); text-align: center; }
.cbem-ergebnis-platz small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--cbem-text-leise); }
.cbem-ergebnis-platz strong { font-size: 30px; line-height: 1.1; }
.cbem-ergebnis.ist-ok { border-left-color: #22C55E; background: #F0FAF1; }
.cbem-ergebnis.ist-ok .cbem-ergebnis-icon { color: var(--cbem-gruen); }
.cbem-ergebnis.ist-warnung { border-left-color: #F5B70A; background: #FFF9EB; }
.cbem-ergebnis.ist-warnung .cbem-ergebnis-icon { color: var(--cbem-orange); }
.cbem-ergebnis.ist-fehler { border-left-color: #EF4444; background: #FEF2F2; }
.cbem-ergebnis.ist-fehler .cbem-ergebnis-icon { color: var(--cbem-rot); }
.cbem-ergebnis.ist-laedt { opacity: .7; }
.cbem-ergebnis.ist-bereit { border-left-color: var(--cbem-primaer); }
#cbem-verlauf li { gap: 10px; }
#cbem-verlauf .button { margin-left: 8px; }

/* ---------- Sitzplan-Manager 2 (Aufbau, Belegung, Vollbild) ---------- */
.cbem-sp { display: flex; flex-direction: column; gap: 10px; }
.cbem-sp-leiste { position: sticky; top: calc(var(--cbem-adminbar, 0px) + 64px); z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 8px; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); }
.cbem-sp-leiste-teil { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cbem-sp-leiste-teil.ist-rechts { margin-left: auto; }
.cbem-sp-gruppe-knoepfe { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); background: #fff; }
.cbem-app .cbem-sp-gruppe-knoepfe .button { height: 30px; min-height: 30px; padding: 0 8px; border-color: transparent; background: transparent; color: var(--cbem-text-2); font-size: 13px; box-shadow: none; }
.cbem-app .cbem-sp-gruppe-knoepfe .button:hover:not(:disabled) { background: var(--cbem-flaeche); color: var(--cbem-primaer); border-color: transparent; }
.cbem-app .cbem-sp-gruppe-knoepfe .button.ist-an { background: var(--cbem-primaer-hell); color: var(--cbem-primaer); }
.cbem-sp-gruppe-knoepfe select { width: auto; height: 30px; min-height: 30px; padding: 0 24px 0 6px; border: 0; background-color: transparent; font-size: 13px; }
.cbem-app .cbem-sp-zoom { min-width: 58px; justify-content: center; font-variant-numeric: tabular-nums; }
.cbem-app .cbem-sp-speichern { height: 36px; min-height: 36px; }
.cbem-app .cbem-sp-speichern.ist-ungespeichert { background: var(--cbem-orange); border-color: var(--cbem-orange); }
.cbem-sp .cbem-segment { height: 32px; }

.cbem-sp-raster { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 10px; height: calc(100vh - var(--cbem-adminbar, 0px) - 230px); min-height: 520px; }
.cbem-sp-seite { min-height: 0; overflow-y: auto; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); overscroll-behavior: contain; }
.cbem-sp-flaeche { position: relative; min-height: 0; overflow: hidden; background: #E9EEF4; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); }
.cbem-sp-flaeche.ist-ziel { outline: 2px dashed var(--cbem-primaer); outline-offset: -4px; }
.cbem-sp-buehne { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; }
.cbem-sp-platzhalter { pointer-events: none; }
.cbem-sp-leinwand { position: absolute; transform-origin: 0 0; background-color: #fff; box-shadow: 0 0 0 1px #C5CFDB, 0 10px 30px rgba(15, 23, 42, .08);
	background-image: linear-gradient(to right, rgba(100, 116, 139, .30) 1px, transparent 1px), linear-gradient(to bottom, rgba(100, 116, 139, .30) 1px, transparent 1px), linear-gradient(to right, rgba(148, 163, 184, .18) 1px, transparent 1px), linear-gradient(to bottom, rgba(148, 163, 184, .18) 1px, transparent 1px);
	background-size: var(--m, 40px) var(--m, 40px), var(--m, 40px) var(--m, 40px), var(--r, 20px) var(--r, 20px), var(--r, 20px) var(--r, 20px); }
.cbem-sp-leinwand.ohne-raster, .cbem-sp.ist-belegen .cbem-sp-leinwand { background-image: none; }
.cbem-sp-saalname { position: absolute; left: 0; bottom: 100%; padding-bottom: calc(6px / var(--z, 1)); color: var(--cbem-text-leise); font-size: calc(12px / var(--z, 1)); font-weight: 500; white-space: nowrap; pointer-events: none; }
.cbem-sp-flaeche.ist-hand .cbem-sp-buehne, .cbem-sp-flaeche.ist-hand .cbem-sp-buehne * { cursor: grab !important; }
.cbem-sp-flaeche.ist-greifen .cbem-sp-buehne, .cbem-sp-flaeche.ist-greifen .cbem-sp-buehne * { cursor: grabbing !important; }
.cbem-sp.ist-belegen .cbem-sp-buehne { cursor: grab; }
.cbem-sp-leer { position: absolute; left: 40px; top: 40px; display: flex; gap: 12px; align-items: center; max-width: 520px; padding: 16px; color: var(--cbem-text-leise); background: #fff; border: 1px dashed var(--cbem-feldrand, #CBD5E1); border-radius: var(--cbem-radius); }
.cbem-sp-leer .cbem-i { width: 28px; height: 28px; color: var(--cbem-primaer); flex: 0 0 auto; }
.cbem-sp-leer p { margin: 4px 0 0 !important; }
.cbem-sp-rahmen { position: absolute; z-index: 20; border: 1px dashed var(--cbem-primaer); background: var(--cbem-primaer-ring); pointer-events: none; }

/* Elemente */
.cbem-sp-el { position: absolute; box-sizing: border-box; transform-origin: 50% 50%; user-select: none; -webkit-user-select: none; touch-action: none; }
.cbem-sp:not(.ist-belegen) .cbem-sp-el { cursor: move; }
.cbem-sp-el.ist-gewaehlt { outline: 2px solid var(--cbem-primaer); outline-offset: 3px; border-radius: 4px; z-index: 5; }
.cbem-sp-stage { display: grid; place-items: center; background: #334155; color: #fff; border-radius: 6px; font-weight: 700; letter-spacing: .12em; font-size: 14px; }
.cbem-sp-text { display: grid; place-items: center; color: var(--cbem-text-2); font-weight: 500; line-height: 1.1; text-align: center; }
.cbem-sp:not(.ist-belegen) .cbem-sp-text { outline: 1px dashed #CBD5E1; }
.cbem-sp:not(.ist-belegen) .cbem-sp-text.ist-gewaehlt { outline: 2px solid var(--cbem-primaer); }
.cbem-sp-shape { display: grid; place-items: center; background: color-mix(in srgb, var(--k) 30%, #fff); border: 2px solid var(--k); border-radius: 4px; color: #1E293B; font-size: 11px; font-weight: 500; text-align: center; overflow: hidden; }
.cbem-sp-shape.ist-kreis { border-radius: 50%; }
.cbem-sp-standing { display: flex; flex-direction: column; align-items: center; justify-content: center; background: color-mix(in srgb, var(--k) 18%, #fff); border: 2px dashed var(--k); border-radius: 8px; color: #1E293B; font-weight: 500; }
.cbem-sp-standing small { font-size: 11px; color: var(--cbem-text-leise); }
.cbem-sp-reihe { position: absolute; left: 0; top: 4px; width: 18px; height: 22px; line-height: 22px; text-align: right; font-size: 12px; font-weight: 700; color: var(--cbem-text-leise); }
.cbem-sp-reihe.ist-rechts { left: auto; right: 0; text-align: left; }
.cbem-app .cbem-sp-sitz { position: absolute; display: grid; place-items: center; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 6px 6px 4px 4px; background: color-mix(in srgb, var(--k) 26%, #fff); box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--k) 70%, #fff); color: #1E293B; font: 600 9.5px/1 var(--cbem-schrift); cursor: pointer; }
.cbem-app .cbem-sp:not(.ist-belegen) .cbem-sp-sitz { cursor: inherit; }
.cbem-app .cbem-sp-sitz:hover { outline: 2px solid var(--cbem-primaer); outline-offset: 1px; z-index: 3; }
.cbem-app .cbem-sp-sitz.ist-sonder { box-shadow: inset 0 -3px 0 var(--k), 0 0 0 1.5px var(--k); }
.cbem-app .cbem-sp-sitz.ist-gesperrt { background: repeating-linear-gradient(45deg, #E2E8F0 0 3px, #F8FAFC 3px 6px); box-shadow: none; color: #94A3B8; }
.cbem-app .cbem-sp-sitz.ist-belegt { background: var(--k); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); cursor: grab; }
.cbem-app .cbem-sp-sitz.ist-da { outline: 2px solid #22C55E; outline-offset: 1px; }
.cbem-app .cbem-sp-sitz.ist-person, .cbem-app .cbem-sp-sitz.ist-gewaehlt { outline: 3px solid #F59E0B; outline-offset: 1px; z-index: 4; }
.cbem-app .cbem-sp-sitz.ist-ziel { outline: 3px solid var(--cbem-gruen); outline-offset: 2px; transform: scale(1.25); z-index: 6; }
.cbem-sp-tischplatte { position: absolute; display: grid; place-items: center; box-sizing: border-box; border-radius: 50%; background: #F1F5F9; border: 2px solid #CBD5E1; color: var(--cbem-text-2); font-weight: 700; font-size: 12.5px; }
.cbem-sp-tischplatte.ist-eckig { border-radius: 6px; }

/* Griffe */
.cbem-sp-griff { position: absolute; z-index: 8; display: grid; place-items: center; box-sizing: border-box; background: #fff; border: 2px solid var(--cbem-primaer); color: var(--cbem-primaer); }
.cbem-sp-griff.ist-drehen { left: 50%; top: -34px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; cursor: grab !important; }
.cbem-sp-griff.ist-drehen::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 8px; margin-left: -1px; background: var(--cbem-primaer); }
.cbem-sp-griff.ist-drehen .cbem-i { width: 13px; height: 13px; }
.cbem-sp-griff.ist-groesse { right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 3px; background: var(--cbem-primaer); cursor: nwse-resize !important; }

/* Übersichtskarte, Schwebehinweis, Hilfe */
.cbem-sp-karte { position: absolute; right: 12px; bottom: 12px; z-index: 6; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); box-shadow: var(--cbem-schatten-pop); cursor: crosshair; }
.cbem-sp-schwebend { position: absolute; z-index: 9; padding: 3px 8px; border-radius: 4px; background: #1E293B; color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; white-space: nowrap; }
.cbem-sp-hilfe-ebene { position: absolute; top: 12px; right: 12px; z-index: 8; width: min(380px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; padding: 14px 16px; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); box-shadow: var(--cbem-schatten-pop); font-size: 13px; }
.cbem-sp-hilfe-kopf { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cbem-sp-hilfe-kopf .cbem-i { color: var(--cbem-primaer); }
.cbem-sp-hilfe-kopf .button { margin-left: auto; }
.cbem-sp-hilfe-ebene ol { margin: 0 0 12px 18px; padding: 0; }
.cbem-sp-hilfe-ebene li { margin: 0 0 6px; color: var(--cbem-text-2); }
.cbem-sp-hilfe-ebene table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cbem-sp-hilfe-ebene td { padding: 4px 0; border-top: 1px solid var(--cbem-linie-hell); vertical-align: top; }
.cbem-sp-hilfe-ebene td:first-child { width: 48%; padding-right: 8px; white-space: nowrap; }
.cbem-sp kbd, .cbem-sp-dialog kbd { display: inline-block; padding: 1px 5px; border: 1px solid var(--cbem-linie); border-bottom-width: 2px; border-radius: 4px; background: var(--cbem-flaeche-2); font: 500 11px/1.4 var(--cbem-schrift); color: var(--cbem-text-2); }

/* Statuszeile */
.cbem-sp-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 8px 14px; background: #fff; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius); font-size: 12.5px; color: var(--cbem-text-2); }
.cbem-sp-status > span { display: inline-flex; align-items: center; gap: 6px; }
.cbem-sp-warnung { color: var(--cbem-orange); font-weight: 500; }
.cbem-sp-position { margin-left: auto; color: var(--cbem-text-leise); font-variant-numeric: tabular-nums; }

/* Seitenleiste */
.cbem-sp-block { border-bottom: 1px solid var(--cbem-linie-hell); }
.cbem-sp-block:last-child { border-bottom: 0; }
.cbem-sp-block.ist-hervorgehoben { background: #FFFBEB; box-shadow: inset 3px 0 0 #F59E0B; }
.cbem-sp-block-titel { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-size: 13.5px; font-weight: 700; color: var(--cbem-text); cursor: pointer; list-style: none; user-select: none; }
.cbem-sp-block-titel::-webkit-details-marker { display: none; }
.cbem-sp-block-titel::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid var(--cbem-text-blass); border-bottom: 2px solid var(--cbem-text-blass); transform: rotate(-45deg); transition: transform .15s ease; }
.cbem-sp-block[open] > .cbem-sp-block-titel::after { transform: rotate(45deg); }
.cbem-sp-block-titel > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbem-sp-block-titel .cbem-i { color: var(--cbem-primaer); flex: 0 0 auto; }
.cbem-sp-block-inhalt { padding: 0 14px 14px; }
.cbem-sp-block-inhalt .cbem-aktionen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cbem-sp-palette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cbem-app .cbem-sp-werkzeug { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 64px; margin: 0; padding: 8px 4px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); background: #fff; color: var(--cbem-text-2); font: 500 11.5px/1.2 var(--cbem-schrift); text-align: center; cursor: grab; }
.cbem-app .cbem-sp-werkzeug .cbem-i { width: 20px; height: 20px; color: var(--cbem-primaer); }
.cbem-app .cbem-sp-werkzeug:hover { border-color: var(--cbem-primaer); background: var(--cbem-primaer-hell); color: var(--cbem-primaer); }
.cbem-app .cbem-sp-werkzeug:active { cursor: grabbing; }
.cbem-sp-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cbem-sp-felder .cbem-feld > span:first-child { font-size: 11.5px; }
.cbem-sp-felder .cbem-hilfe-text { font-size: 11.5px; line-height: 1.35; margin: 0; }
.cbem-sp-felder input[type="text"], .cbem-sp-felder input[type="number"], .cbem-sp-felder select { min-height: 32px; height: 32px; font-size: 13px; }
.cbem-sp-felder input[type="color"] { width: 100%; height: 32px; padding: 2px; }
.cbem-sp-zahl { display: flex; align-items: stretch; min-width: 0; }
.cbem-sp-zahl input { flex: 1 1 auto; min-width: 0; width: 100%; }
.cbem-sp-zahl input:not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.cbem-sp-einheit { display: flex; align-items: center; padding: 0 8px; border: 1px solid var(--cbem-feldrand, #CBD5E1); border-left: 0; border-radius: 0 var(--cbem-radius-klein) var(--cbem-radius-klein) 0; background: var(--cbem-flaeche-2); color: var(--cbem-text-leise); font-size: 12px; white-space: nowrap; }
.cbem-sp-ausrichten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 10px; }
.cbem-app .cbem-sp-ausrichten .button { height: 32px; min-height: 32px; padding: 0; justify-content: center; }
.cbem-sp-spiegeln .cbem-i { transform: scaleX(-1); }
.cbem-sp-kategorien { display: flex; flex-direction: column; gap: 6px; }
.cbem-sp-kategorie { display: flex; align-items: center; gap: 6px; }
.cbem-sp-kategorie input[type="text"] { flex: 1 1 auto; min-width: 0; min-height: 32px; height: 32px; }
.cbem-sp-kategorie input[type="color"] { flex: 0 0 34px; width: 34px; height: 32px; padding: 2px; }
.cbem-sp-block-inhalt > input[type="search"] { width: 100%; min-height: 32px; margin-bottom: 6px; }
.cbem-sp-elementliste { max-height: 280px; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.cbem-sp-elementliste li { margin: 0; }
.cbem-app .cbem-sp-elementliste button { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; padding: 6px 8px; border: 0; border-radius: var(--cbem-radius-klein); background: transparent; color: var(--cbem-text-2); font: 400 13px/1.3 var(--cbem-schrift); text-align: left; cursor: pointer; }
.cbem-sp-elementliste button > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbem-sp-elementliste .cbem-i { width: 15px; height: 15px; color: var(--cbem-text-leise); }
.cbem-sp-elementliste small { padding: 1px 6px; border-radius: 10px; background: var(--cbem-flaeche); color: var(--cbem-text-leise); font-size: 11px; }
.cbem-app .cbem-sp-elementliste button:hover { background: var(--cbem-flaeche-2); }
.cbem-sp-elementliste li.ist-gewaehlt button { background: var(--cbem-primaer-hell); color: var(--cbem-primaer); }

/* Belegen */
.cbem-sp-personen-kopf { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--cbem-linie-hell); }
.cbem-sp-personen-kopf input[type="search"] { width: 100%; }
.cbem-sp-auswahl { padding: 10px 14px; border-bottom: 1px solid var(--cbem-linie-hell); background: var(--cbem-flaeche-2); font-size: 13px; }
.cbem-sp-auswahl p { margin: 0 0 8px !important; }
.cbem-sp-auswahl .cbem-aktionen { display: flex; flex-wrap: wrap; gap: 6px; }
.cbem-sp-personen { padding: 4px 8px 8px; }
.cbem-sp-gruppe-titel { display: flex; align-items: center; gap: 6px; margin: 10px 6px 4px !important; padding: 2px 0; font-size: 12px !important; font-weight: 700; color: var(--cbem-text-2); }
.cbem-sp-gruppe-titel[draggable="true"] { cursor: grab; }
.cbem-sp-gruppe-titel[draggable="true"]:hover { color: var(--cbem-primaer); }
.cbem-sp-gruppe-titel small { margin-left: auto; font-weight: 400; color: var(--cbem-text-leise); }
.cbem-app .cbem-sp-person { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin: 0 0 2px; padding: 6px 8px; border: 1px solid transparent; border-radius: var(--cbem-radius-klein); background: transparent; text-align: left; cursor: pointer; font-family: var(--cbem-schrift); }
.cbem-app .cbem-sp-person[draggable="true"] { cursor: grab; }
.cbem-sp-person span:first-child { display: flex; flex-direction: column; min-width: 0; }
.cbem-sp-person strong { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cbem-text); }
.cbem-sp-person small { font-size: 11.5px; color: var(--cbem-text-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbem-app .cbem-sp-person:hover { background: var(--cbem-flaeche-2); border-color: var(--cbem-linie); }
.cbem-app .cbem-sp-person.ist-gewaehlt { border-color: var(--cbem-primaer); background: var(--cbem-primaer-hell); }
.cbem-sp-block-inhalt > select { width: 100%; margin-bottom: 6px; }

/* Dialog (Sitzblock-Assistent) */
.cbem-dialog.cbem-sp-dialog { width: min(620px, calc(100vw - 32px)); }
.cbem-sp-dialog form { margin: 0; }
.cbem-sp-dialog .cbem-felder { grid-template-columns: 1fr 1fr; }
.cbem-sp-vorschau { display: flex; align-items: center; gap: 8px; margin: 14px 0 0 !important; padding: 10px 12px; border-radius: var(--cbem-radius-klein); background: var(--cbem-primaer-hell); color: var(--cbem-text-2); font-size: 13px; }
.cbem-sp-vorschau .cbem-i { color: var(--cbem-primaer); flex: 0 0 auto; }

/* Vollbild (Fullscreen-API oder Ersatz über feste Ebene) */
html.cbem-sp-vollbild-offen { overflow: hidden; }
.cbem-sp.ist-vollbild { position: fixed; inset: 0; z-index: 100050; padding: 10px; background: var(--cbem-flaeche); }
.cbem-sp.ist-vollbild .cbem-sp-leiste { position: static; }
.cbem-sp.ist-vollbild .cbem-sp-raster { flex: 1 1 auto; height: auto; min-height: 0; }
.cbem-sp:fullscreen { width: 100%; height: 100%; }
.cbem-sp::backdrop { background: var(--cbem-flaeche, #F4F6F9); }
.cbem-sp.ist-laedt .cbem-sp-flaeche { opacity: .75; }
.cbem-sp-druckliste { display: none; }
@media (max-width: 1100px) {
	.cbem-sp-raster { grid-template-columns: 1fr; grid-template-rows: auto minmax(420px, 70vh); height: auto; }
	.cbem-sp-seite { max-height: 42vh; }
	.cbem-sp.ist-vollbild .cbem-sp-raster { grid-template-rows: minmax(0, 32vh) minmax(0, 1fr); }
	.cbem-scanner-raster { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.cbem-scanner-zaehler { gap: 8px; margin-bottom: 10px; }
	.cbem-scanner-zaehler .cbem-kachel { padding: 10px; }
	.cbem-scanner-zaehler .cbem-kachel-icon, .cbem-scanner-zaehler .cbem-kachel-text { display: none; }
	.cbem-scanner-zaehler .cbem-kachel-titel { font-size: 11.5px !important; }
	.cbem-scanner-raster { display: flex; flex-direction: column; }
	.cbem-scanner-rechts { display: contents; }
	.cbem-scanner-rechts > .cbem-ergebnis { order: -1; }
	.cbem-scanner-rechts > .cbem-karte { order: 2; margin-top: 0; }
	.cbem-ergebnis { flex-wrap: wrap; min-height: 0; }
	.cbem-ergebnis-titel { font-size: 20px !important; }
	.cbem-sp-leiste { position: static; }
}
@media print {
	.cbem-sp-raster { display: block; height: auto; }
	.cbem-sp-flaeche { overflow: visible; border: 0; background: none; }
	.cbem-sp-buehne { position: relative; inset: auto; overflow: visible; }
	.cbem-sp-leinwand { box-shadow: none; background-image: none !important; outline: 1px solid #94A3B8; }
	.cbem-sp-griff { display: none; }
	.cbem-sp-druckliste { display: block; break-before: page; }
	.cbem-sp-status { border: 0; }
}

/* ---------- Einladungen & Versand ---------- */
.cbem-raster-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.cbem-raster-2 > .cbem-karte, .cbem-raster-2 > div > .cbem-karte:last-child { margin-bottom: 0; }
.cbem-versand-raster { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.cbem-schritt { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px !important; font-weight: 700; font-size: 13.5px !important; }
.cbem-schritt:first-of-type { margin-top: 0 !important; }
.cbem-schritt span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cbem-primaer); color: #fff; font-size: 12px; }
.cbem-versand-gruppen { display: grid; gap: 6px; }
.cbem-versand-gruppe { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); background: #fff; cursor: pointer; }
.cbem-versand-gruppe:hover { border-color: var(--cbem-feldrand); }
.cbem-versand-gruppe:has(input:checked) { border-color: var(--cbem-primaer); background: var(--cbem-primaer-hell); }
.cbem-versand-gruppe span { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.cbem-versand-gruppe strong { font-weight: 500; }
.cbem-versand-gruppe small { color: var(--cbem-text-leise); font-size: 12px; }
.cbem-versand-gruppe em { min-width: 32px; padding: 2px 8px; border-radius: 10px; background: var(--cbem-flaeche); font-style: normal; font-weight: 700; font-size: 12.5px; text-align: center; }
.cbem-versand-gruppe.ist-leer { opacity: .55; cursor: not-allowed; }
.cbem-versand-formular .cbem-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.cbem-versand-formular select { width: 100%; }
.cbem-schritte-liste { margin: 0 0 12px 18px; padding: 0; }
.cbem-schritte-liste li { margin: 0 0 8px; color: var(--cbem-text-2); font-size: 13.5px; }
.cbem-tabelle-wrap { overflow-x: auto; }
.cbem-tabelle-aktionen { display: flex; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.cbem-fortschritt { width: 160px; max-width: 100%; height: 8px; margin: 2px 0 4px; border-radius: 4px; background: var(--cbem-flaeche); overflow: hidden; }
.cbem-fortschritt span { display: block; height: 100%; background: var(--cbem-primaer); border-radius: 4px; transition: width .3s ease; }
.cbem-zeile-details td { padding-top: 0 !important; }
.cbem-zeile-details summary { display: inline-flex; align-items: center; gap: 6px; color: var(--cbem-orange); font-size: 12.5px; cursor: pointer; }
.cbem-fehlerliste { margin: 8px 0 4px 18px; font-size: 12.5px; color: var(--cbem-text-2); }
.cbem-namensliste { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.cbem-dialog.cbem-dialog-breit { width: min(760px, calc(100vw - 32px)); }
.cbem-mail-vorschau { display: block; width: 100%; height: 560px; border: 1px solid var(--cbem-linie); border-radius: var(--cbem-radius-klein); background: #F1F5F9; }
.cbem-link-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cbem-link-zeile code { max-width: 100%; overflow-wrap: anywhere; }
.cbem-gast-nachricht { display: flex; gap: 8px; margin: 8px 0 0 !important; padding: 8px 10px; border-radius: var(--cbem-radius-klein); background: #FFFBEB; border: 1px solid #FDE68A; font-size: 13px !important; }
.cbem-gast-nachricht .cbem-i { flex: 0 0 auto; margin-top: 2px; color: var(--cbem-orange); }

/* ---------- Vorlagen ---------- */
.cbem-vorlagen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.cbem-vorlagen-raster > .cbem-karte { margin: 0; }
.cbem-vorlagen-liste { margin: 0; padding: 0; list-style: none; }
.cbem-vorlagen-liste li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--cbem-linie-hell); }
.cbem-vorlagen-liste li:last-child { border-bottom: 0; }
.cbem-vorlage-link { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.cbem-vorlage-link strong { color: var(--cbem-text); font-weight: 500; }
.cbem-vorlage-link small { color: var(--cbem-text-leise); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbem-vorlage-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cbem-editor-leiste { display: flex; gap: 4px; margin: 0 0 6px; }
.cbem-editor-leiste .button { min-width: 32px; justify-content: center; font-weight: 700; }
.cbem-app textarea.cbem-code-feld { width: 100%; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; line-height: 1.55; }
.cbem-platzhalter { display: flex; flex-wrap: wrap; gap: 6px; }
.cbem-app .cbem-platzhalter .cbem-chip { height: 28px; padding: 0 8px; cursor: pointer; }
.cbem-platzhalter code { background: none; padding: 0; font-size: 12px; color: var(--cbem-primaer); }
.cbem-vorschau-karte { position: sticky; top: calc(var(--cbem-adminbar, 0px) + 72px); }
.cbem-vorschau-karte .cbem-mail-vorschau { height: 640px; }
@media (max-width: 1100px) {
	.cbem-raster-2, .cbem-versand-raster, .cbem-vorlage-raster { grid-template-columns: 1fr; }
	.cbem-vorschau-karte { position: static; }
}

/* ---------- Öffentliche Einladungsseite ---------- */
.cbem-app.cbem-oeffentlich { display: block; min-height: 100vh; padding: 0 12px 32px; }
.cbem-oeff-kopf { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; padding: 22px 4px 18px; }
.cbem-oeff-logo { max-height: 48px; width: auto; }
.cbem-oeff-org { font-weight: 700; font-size: 15px; color: var(--cbem-text); }
.cbem-oeff-inhalt { max-width: 720px; margin: 0 auto; }
.cbem-oeff-karte { margin: 0 0 16px; padding: 24px 28px; background: #fff; border: 1px solid var(--cbem-linie); border-radius: 12px; }
.cbem-oeff-karte h1 { margin: 0 0 14px; font-size: 26px; line-height: 1.25; }
.cbem-oeff-karte h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 18px; }
.cbem-oeff-mitte { text-align: center; }
.cbem-oeff-mitte > .cbem-i { color: var(--cbem-text-blass); margin-bottom: 8px; }
.cbem-oeff-einladung { border-top: 4px solid var(--cbem-primaer); }
.cbem-oeff-vorzeile { margin: 0 0 4px !important; color: var(--cbem-primaer); font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cbem-oeff-eckdaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px; margin: 0 0 16px; padding: 0; list-style: none; }
.cbem-oeff-eckdaten li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cbem-oeff-eckdaten .cbem-i { color: var(--cbem-primaer); flex: 0 0 auto; }
.cbem-oeff-gruss { margin: 0 0 6px !important; font-size: 15px !important; }
.cbem-oeff-stand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 !important; }
.cbem-oeffentlich .cbem-hinweis { margin: 0 0 16px; }
.cbem-oeff-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.cbem-oeff-option { position: relative; display: block; cursor: pointer; }
.cbem-oeff-option input { position: absolute; opacity: 0; inset: 0; }
.cbem-oeff-option span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; border: 2px solid var(--cbem-linie); border-radius: 10px; text-align: center; transition: border-color .15s, background .15s; }
.cbem-oeff-option strong { font-size: 16px; }
.cbem-oeff-option small { color: var(--cbem-text-leise); font-size: 12.5px; }
.cbem-oeff-option .cbem-i { color: var(--cbem-text-blass); }
.cbem-oeff-option:hover span { border-color: var(--cbem-feldrand); }
.cbem-oeff-option input:focus-visible + span { outline: 2px solid var(--cbem-primaer); outline-offset: 2px; }
.cbem-oeff-option.ist-ja input:checked + span { border-color: var(--cbem-gruen); background: var(--cbem-gruen-hell); }
.cbem-oeff-option.ist-ja input:checked + span .cbem-i { color: var(--cbem-gruen); }
.cbem-oeff-option.ist-nein input:checked + span { border-color: var(--cbem-rot); background: var(--cbem-rot-hell); }
.cbem-oeff-option.ist-nein input:checked + span .cbem-i { color: var(--cbem-rot); }
.cbem-oeff-begleitung { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--cbem-linie); border-radius: 10px; }
.cbem-oeff-begleitung legend { padding: 0 6px; font-weight: 700; }
.cbem-oeff-begl-zeile { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.cbem-oeffentlich .cbem-feld { display: flex; flex-direction: column; gap: 4px; }
.cbem-oeffentlich .cbem-feld > span { font-size: 13px; font-weight: 500; color: var(--cbem-text-2); }
.cbem-oeffentlich input[type="text"], .cbem-oeffentlich textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--cbem-feldrand); border-radius: var(--cbem-radius-klein); background: #fff; font: inherit; color: var(--cbem-text); }
.cbem-oeffentlich input[type="text"]:focus, .cbem-oeffentlich textarea:focus { border-color: var(--cbem-primaer); outline: 2px solid var(--cbem-primaer-ring); outline-offset: 0; }
.cbem-oeff-nachricht { margin: 0 0 12px; }
.cbem-oeff-datenschutz { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 16px !important; }
.cbem-oeff-datenschutz .cbem-i { flex: 0 0 auto; margin-top: 2px; }
.cbem-oeffentlich .button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid var(--cbem-feldrand); border-radius: var(--cbem-radius-klein); background: #fff; color: var(--cbem-text) !important; font: 500 14px/1 var(--cbem-schrift); cursor: pointer; text-decoration: none; }
.cbem-oeffentlich .button:hover { border-color: var(--cbem-primaer); color: var(--cbem-primaer) !important; }
.cbem-oeffentlich .button-primary { border-color: var(--cbem-primaer); background: var(--cbem-primaer); color: #fff !important; }
.cbem-oeffentlich .button-primary:hover { background: var(--cbem-primaer-dunkel); color: #fff !important; }
.cbem-oeffentlich .button:disabled { opacity: .6; cursor: progress; }
.cbem-oeffentlich .cbem-knopf-icon { width: 40px; padding: 0; justify-content: center; }
.cbem-oeff-senden { min-height: 46px !important; padding: 0 22px !important; font-size: 15px !important; }
.cbem-oeff-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cbem-oeff-tickets-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cbem-oeff-tickets-kopf h2 { margin: 0 !important; }
.cbem-oeff-tickets-kopf .cbem-aktionen { display: flex; gap: 8px; margin: 0; }
.cbem-oeff-tickets .cbem-tickets { grid-template-columns: 1fr; }
.cbem-oeff-kontakt { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0 !important; }
.cbem-oeff-fuss { max-width: 720px; margin: 8px auto 0; color: var(--cbem-text-leise); font-size: 12.5px; text-align: center; }
.cbem-oeffentlich .cbem-versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) {
	.cbem-oeff-karte { padding: 18px 16px; border-radius: 10px; }
	.cbem-oeff-karte h1 { font-size: 22px; }
	.cbem-oeff-wahl { grid-template-columns: 1fr; }
	.cbem-oeff-begl-zeile { grid-template-columns: 1fr 1fr auto; gap: 6px; }
}
@media print {
	.cbem-oeffentlich .cbem-oeff-formular, .cbem-oeffentlich .cbem-hinweis, .cbem-oeff-tickets-kopf .cbem-aktionen, .cbem-oeff-fuss { display: none !important; }
	.cbem-app.cbem-oeffentlich { background: #fff; }
	.cbem-oeff-karte { border: 0; padding: 0; }
}
.cbem-gast-hinweis { display: inline-flex; vertical-align: middle; margin-left: 4px; color: var(--cbem-orange); }
