/*! ROSE CRM App – Gestaltung der Fachseiten, übernommen aus dem Plugin ROSE CRM 0.62.1 (assets/admin.css, unverändert).
 * Gilt nur innerhalb von <div class="rcrm-app"> (Fachseiten der Module). WordPress-Klassen ersetzt crm-wp.css. */
/* ROSE CRM – Backend */
body.rcrm-body { background: var(--rc-flaeche); }
body.rcrm-body #wpcontent { padding-left: 0; }
body.rcrm-body #wpbody-content { padding-bottom: 40px; }
/* Fußzeile immer am unteren Rand: #wpwrap ist mindestens fensterhoch, die Fußzeile sitzt unten, der Inhalt hält Abstand. */
body.rcrm-body #wpbody-content { padding-bottom: 210px; }
body.rcrm-body #wpfooter { position: absolute; bottom: 0; left: 0; right: 0; margin-top: 0; margin-bottom: 0; padding: 8px 32px 28px; max-width: 1480px; box-sizing: border-box; color: var(--rc-leise); font-family: var(--rc-text-font); font-size: 13px; }
body.rcrm-body #wpfooter p { margin: 0; }
.rcrm-fuss-block { margin: 0 0 22px; padding-top: 20px; border-top: 1px solid var(--rc-linie); line-height: 1.7; font-size: 13.5px; }
.rcrm-fuss-block strong { color: var(--rc-navy); }
.rcrm-fuss-lizenz--ok { color: var(--rc-gruen); font-weight: 600; }
.rcrm-fuss-lizenz--test { color: #0f5f94; font-weight: 600; }
.rcrm-fuss-lizenz--fehlt { color: var(--rc-rot); font-weight: 600; }
@media (max-width: 782px) { body.rcrm-body #wpfooter { padding: 8px 14px 24px; } body.rcrm-body #wpbody-content { padding-bottom: 40px; } }

.rcrm-app {
	margin: 0;
	padding: 0 32px 24px;
	max-width: 1480px;
	font-family: var(--rc-text-font);
	font-size: 14px;
	line-height: 1.6;
	color: var(--rc-text);
}
.rcrm-app h1, .rcrm-app h2, .rcrm-app h3 { font-family: var(--rc-titel); color: var(--rc-navy); letter-spacing: -.01em; }
.rcrm-app h2 { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.rcrm-app h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.rcrm-app a { color: var(--rc-blau); }
.rcrm-app .description, .rcrm-leise { color: var(--rc-leise); font-size: 13px; }
.rcrm-app :focus-visible { outline: 2px solid var(--rc-blau); outline-offset: 2px; box-shadow: none; }

/* ---------- Kopf ---------- */
.rcrm-kopf {
	display: flex;
	align-items: center;
	gap: 36px;
	margin: 0 -32px;
	padding: 0 32px;
	height: 64px;
	background: var(--rc-navy);
	color: #fff;
}
.rcrm-kopf__marke { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; font-family: var(--rc-titel); font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.rcrm-kopf__logo {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--rc-blau);
	font-size: 18px;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.rcrm-kopf__nav { display: flex; gap: 4px; height: 100%; }
.rcrm-kopf__nav a {
	display: flex;
	align-items: center;
	padding: 0 16px;
	color: #b9cad8 !important;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 3px solid transparent;
	border-top: 3px solid transparent;
}
.rcrm-kopf__nav a:hover { color: #fff !important; }
.rcrm-kopf__nav a.ist-aktiv { color: #fff !important; border-bottom-color: #1e8fd5; }

.rcrm-titel { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 0 22px; }
.rcrm-titel h1 { font-size: 30px; font-weight: 700; line-height: 1.15; margin: 0; padding: 0; }
.rcrm-titel__zurueck { display: inline-block; margin-bottom: 6px; font-size: 13px; text-decoration: none; font-weight: 500; }
.rcrm-titel__zurueck::before { content: '‹ '; }
.rcrm-titel__unter { margin: 6px 0 0; color: var(--rc-leise); font-size: 14px; }
.rcrm-titel__unter .rcrm-badge { margin-left: 8px; }
.rcrm-titel__aktionen { display: flex; gap: 10px; flex: none; }
.rcrm-titel__aktionen form { margin: 0; }

/* ---------- Knöpfe ---------- */
.rcrm-knopf, .rcrm-app .button-primary, .rcrm-app .button, .rcrm-app .button-secondary {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 10px;
	border: 1px solid var(--rc-blau);
	background: var(--rc-blau);
	color: #fff !important;
	font-family: var(--rc-text-font);
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	text-shadow: none;
}
.rcrm-knopf:hover, .rcrm-app .button-primary:hover { background: #124f6f; border-color: #124f6f; color: #fff; }
.rcrm-knopf--zweit, .rcrm-app .button, .rcrm-app .button-secondary { background: #fff; color: var(--rc-blau) !important; border-color: #b7cbd8; }
.rcrm-knopf--zweit:hover, .rcrm-app .button:hover, .rcrm-app .button-secondary:hover { background: var(--rc-blau-hell); border-color: var(--rc-blau); color: var(--rc-blau); }
.rcrm-app .button.button-primary, .rcrm-app input.button-primary { background: var(--rc-blau); color: #fff !important; border-color: var(--rc-blau); }
.rcrm-app .button.button-primary:hover { background: #124f6f; border-color: #124f6f; }
.rcrm-app .button.delete, .rcrm-app input.delete { background: #fff; color: var(--rc-rot) !important; border-color: #e8b5ac; }
.rcrm-app p.submit { margin: 8px 0 0; padding: 0; }

/* ---------- Formularfelder ---------- */
.rcrm-app input[type=text], .rcrm-app input[type=password], .rcrm-app input[type=email], .rcrm-app input[type=number], .rcrm-app input[type=date], .rcrm-app input[type=search], .rcrm-app input:not([type]), .rcrm-app select, .rcrm-app textarea {
	font-family: var(--rc-text-font);
	font-size: 14px;
	min-height: 40px;
	padding: 6px 12px;
	border: 1px solid #c3d1dc;
	border-radius: 9px;
	background-color: #fff;
	color: var(--rc-text);
	box-shadow: none;
}
.rcrm-app select { padding-right: 30px; }
.rcrm-app textarea { min-height: 80px; }
.rcrm-app input:focus, .rcrm-app select:focus, .rcrm-app textarea:focus { border-color: var(--rc-blau); box-shadow: 0 0 0 3px rgba(22, 95, 133, .15); outline: none; }
.rcrm-app input[type=checkbox], .rcrm-app input[type=radio] { border-color: #9fb3c2; }
.rcrm-app input[type=checkbox]:checked::before { content: none; }
.rcrm-app input[type=checkbox]:checked { background: var(--rc-blau); border-color: var(--rc-blau); }
.rcrm-app input[type=checkbox]:checked::after { content: ''; display: block; width: 5px; height: 9px; margin: 1px auto 0; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rcrm-app .form-table { margin: 0; }
.rcrm-app .form-table th { width: 200px; padding: 16px 20px 16px 0; font-weight: 600; color: var(--rc-navy); }
.rcrm-app .form-table td { padding: 12px 0; }
.rcrm-app .form-table tr + tr th, .rcrm-app .form-table tr + tr td { border-top: 1px solid #edf1f5; }
.rcrm-app .form-table h2 { margin: 18px 0 0; font-size: 15px; color: var(--rc-blau); }
.rcrm-app input.small-text { width: 76px; }
.rcrm-app input.rcrm-betrag { width: 130px; text-align: right; }

/* ---------- Karten und Layout ---------- */
.rcrm-karte { background: var(--rc-weiss); border: 1px solid var(--rc-linie); border-radius: var(--rc-radius); padding: 22px 26px; margin: 0 0 20px; }
.rcrm-karte__kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.rcrm-karte__kopf h2 { margin: 0; }
.rcrm-spalten { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
@media (max-width: 1180px) { .rcrm-spalten { grid-template-columns: 1fr; } }
.rcrm-gefahr { border-color: #efcdc6; background: #fffaf9; }

/* ---------- Zeitstrahl (Übersicht) ---------- */
.rcrm-strahl {
	position: relative;
	background: var(--rc-navy);
	color: #fff;
	border-radius: 18px;
	padding: 34px 34px 24px;
	margin: 0 0 30px;
	overflow: hidden;
}
.rcrm-strahl::after { content: ''; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(22, 95, 133, .55), transparent 70%); pointer-events: none; }
.rcrm-strahl__achse { position: relative; height: 64px; margin: 18px 6px 0; border-bottom: 2px solid #33536b; }
.rcrm-strahl__monat { position: absolute; bottom: -26px; transform: translateX(-1px); font-size: 12px; color: #9fb6c8; padding-left: 8px; border-left: 1px solid #33536b; height: 82px; display: flex; align-items: flex-end; }
.rcrm-strahl__heute { position: absolute; left: 0; bottom: -26px; font-size: 12px; font-weight: 600; color: #fff; }
.rcrm-strahl__heute::before { content: ''; position: absolute; left: -6px; bottom: 19px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.rcrm-strahl__punkt {
	position: absolute;
	bottom: -10px;
	width: 18px;
	height: 18px;
	margin-left: -9px;
	border-radius: 50%;
	background: var(--rc-navy);
	border: 4px solid #7fb4d4;
	z-index: 2;
	transition: transform .15s;
}
.rcrm-strahl__punkt:hover, .rcrm-strahl__punkt:focus-visible { transform: scale(1.35); }
.rcrm-strahl__punkt.ist-frist { border-color: var(--rc-bernstein); width: 22px; height: 22px; margin-left: -11px; bottom: -12px; }
.rcrm-strahl__punkt.ist-ende { border-color: #f08a76; border-radius: 5px; }
.rcrm-strahl__punkt.ist-akut { border-color: #ff7a63; box-shadow: 0 0 0 6px rgba(255, 122, 99, .22); }
.rcrm-strahl__punkt:has(b) + .rcrm-strahl__datum { bottom: 44px; }
.rcrm-strahl__punkt b { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); min-width: 20px; padding: 2px 6px; border-radius: 999px; background: #fff; color: var(--rc-navy); font-size: 11px; line-height: 1.2; text-align: center; }
.rcrm-strahl__datum { position: absolute; bottom: 22px; transform: translateX(-50%); font-family: var(--rc-titel); font-weight: 700; font-size: 13px; color: var(--rc-bernstein); white-space: nowrap; }
.rcrm-strahl__datum.ist-akut { color: #ff8b76; }
.rcrm-strahl__zahlen { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 52px; padding-top: 20px; border-top: 1px solid #284a62; }
.rcrm-strahl__zahlen div { display: flex; flex-direction: column; }
.rcrm-strahl__zahlen strong { font-family: var(--rc-titel); font-size: 26px; font-weight: 700; line-height: 1.2; }
.rcrm-strahl__zahlen span { color: #9fb6c8; font-size: 13px; }
.rcrm-strahl__legende { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 12px; color: #c5d4e0; }
.rcrm-strahl__legende span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; border: 3px solid #7fb4d4; vertical-align: -2px; box-sizing: border-box; }
.rcrm-strahl__legende .ist-frist::before { border-color: var(--rc-bernstein); }
.rcrm-strahl__legende .ist-ende::before { border-color: #f08a76; border-radius: 3px; }

/* ---------- Agenda ---------- */
.rcrm-agenda h2 { margin: 26px 0 10px; font-size: 15px; color: var(--rc-leise); font-weight: 600; }
.rcrm-agenda__liste { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--rc-linie); border-radius: var(--rc-radius); overflow: hidden; }
.rcrm-agenda__eintrag { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(140px, 260px) 110px; gap: 18px; align-items: center; padding: 14px 22px 14px 0; margin: 0; border-left: 5px solid #7fb4d4; }
.rcrm-agenda__eintrag + .rcrm-agenda__eintrag { border-top: 1px solid #edf1f5; }
.rcrm-agenda__eintrag.ist-frist { border-left-color: var(--rc-bernstein); }
.rcrm-agenda__eintrag.ist-ende { border-left-color: #f08a76; }
.rcrm-agenda__eintrag.ist-akut { background: #fff8f6; border-left-color: var(--rc-rot); }
.rcrm-agenda__datum { text-align: center; line-height: 1.1; }
.rcrm-agenda__datum strong { display: block; font-family: var(--rc-titel); font-size: 24px; font-weight: 700; color: var(--rc-navy); }
.rcrm-agenda__datum span { font-size: 12px; color: var(--rc-leise); }
.rcrm-agenda__was { display: block; font-weight: 600; color: var(--rc-navy); }
.rcrm-agenda__vertrag { text-decoration: none; }
.rcrm-agenda__nr { color: var(--rc-leise); font-size: 12px; }
.rcrm-agenda__kunde { font-weight: 500; text-decoration: none; }
.rcrm-agenda__in { text-align: right; font-size: 13px; color: var(--rc-leise); white-space: nowrap; }
.rcrm-agenda__eintrag.ist-akut .rcrm-agenda__in { color: var(--rc-rot); font-weight: 600; }
@media (max-width: 900px) {
	.rcrm-agenda__eintrag { grid-template-columns: 56px 1fr; }
	.rcrm-agenda__kunde, .rcrm-agenda__in { grid-column: 2; text-align: left; }
}
.rcrm-leer { background: #fff; border: 1px dashed #b9c9d6; border-radius: var(--rc-radius); padding: 30px; text-align: center; }
.rcrm-leer p { color: var(--rc-leise); }
.rcrm-fuss { color: var(--rc-leise); font-size: 12.5px; margin-top: 22px; }

/* ---------- Tabellen ---------- */
.rcrm-app .widefat { border: 1px solid var(--rc-linie); border-radius: var(--rc-radius); overflow: hidden; border-collapse: separate; border-spacing: 0; box-shadow: none; background: #fff; }
.rcrm-app .widefat thead th, .rcrm-app .widefat thead td { font-family: var(--rc-text-font); font-size: 12px; font-weight: 600; color: var(--rc-leise); background: #f7f9fb; border-bottom: 1px solid var(--rc-linie); padding: 12px 16px; }
.rcrm-app .widefat td { padding: 14px 16px; font-size: 14px; vertical-align: middle; border-top: 1px solid #edf1f5; color: var(--rc-text); }
.rcrm-app .widefat tbody tr:first-child td { border-top: 0; }
.rcrm-app .striped > tbody > :nth-child(odd) { background: #fff; }
.rcrm-app .widefat tbody tr:hover td { background: #f8fbfd; }
.rcrm-app .row-title { font-weight: 600; color: var(--rc-navy); text-decoration: none; font-size: 14px; }
.rcrm-app .row-title:hover { color: var(--rc-blau); }
.rcrm-einzug { color: #9fb3c2; padding: 0 6px 0 4px; }
.rcrm-suche { display: flex; gap: 8px; margin: 0 0 16px; }
.rcrm-suche input[type=search] { min-width: 280px; }

/* ---------- Status ---------- */
.rcrm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--rc-gruen-hell); color: var(--rc-gruen); white-space: nowrap; vertical-align: middle; }
.rcrm-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rcrm-badge--entwurf, .rcrm-badge--beendet { background: #eef1f4; color: #5d6f7e; }
.rcrm-badge--zur_unterschrift { background: var(--rc-bernstein-hell); color: #0f5f94; }
.rcrm-badge--gekuendigt { background: var(--rc-rot-hell); color: var(--rc-rot); }

/* ---------- Vertragskarten beim Kunden ---------- */
.rcrm-vkarte { padding: 16px 0 18px; border-top: 1px solid #edf1f5; }
.rcrm-vkarte.ist-anhang { margin-left: 26px; padding-left: 18px; border-left: 3px solid var(--rc-blau-hell); }
.rcrm-vkarte header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.rcrm-vkarte__titel { display: block; font-family: var(--rc-titel); font-weight: 700; font-size: 15px; color: var(--rc-navy) !important; text-decoration: none; }
.rcrm-vkarte__titel:hover { color: var(--rc-blau) !important; }
.rcrm-vkarte__meta { font-size: 12.5px; color: var(--rc-leise); }

/* ---------- Fristen-Box ---------- */
.rcrm-fristen .rcrm-leiste { margin-bottom: 14px; }
.rcrm-fristen dl:not(.rcrm-leiste__legende) { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #edf1f5; }
.rcrm-fristen dl:not(.rcrm-leiste__legende) dt { color: var(--rc-leise); }
.rcrm-fristen dl:not(.rcrm-leiste__legende) dd { margin: 0; text-align: right; }
.rcrm-seite .rcrm-karte { padding: 20px 22px; }
.rcrm-seite .rcrm-leiste__legende { flex-direction: column; gap: 8px; }

/* ---------- Kontakte ---------- */
.rcrm-unterform { margin-top: 20px; padding: 18px 20px; background: #f7f9fb; border-radius: 12px; }
.rcrm-unterform h3 { margin-bottom: 12px; }
.rcrm-reihe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.rcrm-inline { display: inline; }
.rcrm-inline .button-link { color: var(--rc-blau); text-decoration: none; font-weight: 500; font-size: 13px; }
.rcrm-inline .button-link:hover { text-decoration: underline; }
.rcrm-inline .button-link.rcrm-rot { color: var(--rc-rot); }
.rcrm-aktionen { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; font-size: 13px; }
.rcrm-karte .widefat { width: 100%; }
.rcrm-kontakte td:first-child { line-height: 1.55; }
.rcrm-aktionen > a { text-decoration: none; font-weight: 500; }

/* ---------- Vertragsformular ---------- */
.rcrm-laufzeit { background: #f7f9fb; border-radius: 12px; padding: 14px 16px; }
.rcrm-laufzeit p { margin: 0 0 10px; }
.rcrm-laufzeit p:last-child { margin: 0; }
.rcrm-laufzeit.ist-aus { opacity: .4; pointer-events: none; }
.rcrm-block { display: block; margin-bottom: 12px; }

/* ---------- Verlauf ---------- */
.rcrm-verlauf { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow: auto; }
.rcrm-verlauf li { position: relative; margin: 0; padding: 0 0 14px 20px; font-size: 13px; overflow-wrap: anywhere; }
.rcrm-verlauf li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--rc-blau); }
.rcrm-verlauf li::after { content: ''; position: absolute; left: 6px; top: 18px; bottom: 2px; width: 2px; background: #e6edf2; }
.rcrm-verlauf li:last-child::after { display: none; }
.rcrm-verlauf .description { font-size: 12px; }

/* ---------- WordPress-Hinweise ---------- */
.rcrm-app .notice { border-radius: 10px; border-left-width: 5px; box-shadow: none; margin: 0 0 18px; }

@media (max-width: 782px) {
	.rcrm-app { padding: 0 14px 20px; }
	.rcrm-kopf { margin: 0 -14px; padding: 0 14px; gap: 14px; overflow-x: auto; }
	.rcrm-kopf__marke span:last-child { display: none; }
	.rcrm-titel { flex-direction: column; align-items: flex-start; }
	.rcrm-titel h1 { font-size: 24px; }
	.rcrm-strahl { padding: 24px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) { .rcrm-strahl__punkt { transition: none; } }

/* ---------- Online-Unterschrift im Vertrag ---------- */
.rcrm-badge--gegenzeichnung { background: var(--rc-blau-hell); color: var(--rc-blau); }
.rcrm-ablauf { border-top: 4px solid var(--rc-bernstein); }
.rcrm-ablauf h3 { margin-top: 0; }
.rcrm-ablauf h4 { margin: 16px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--rc-leise); }
.rcrm-schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; list-style: none; margin: 0 0 16px; padding: 0; counter-reset: s; }
.rcrm-schritte li { counter-increment: s; position: relative; margin: 0; padding: 30px 0 0; text-align: center; font-size: 11.5px; font-weight: 600; color: #8a9aa8; }
.rcrm-schritte li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: #eef1f4; color: #8a9aa8; font-size: 11px; z-index: 1; }
.rcrm-schritte li::after { content: ''; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: #e3e9ee; }
.rcrm-schritte li:first-child::after { display: none; }
.rcrm-schritte li.ist-fertig { color: var(--rc-gruen); }
.rcrm-schritte li.ist-fertig::before { content: '✓'; background: var(--rc-gruen); color: #fff; }
.rcrm-schritte li.ist-fertig::after, .rcrm-schritte li.ist-jetzt::after { background: var(--rc-gruen); }
.rcrm-schritte li.ist-jetzt { color: var(--rc-navy); }
.rcrm-schritte li.ist-jetzt::before { background: var(--rc-bernstein); color: #fff; box-shadow: 0 0 0 4px var(--rc-bernstein-hell); }
.rcrm-ablauf__info { background: var(--rc-flaeche); border-radius: 10px; padding: 11px 13px; margin: 0 0 12px; line-height: 1.5; }
.rcrm-ablauf__info.ist-gut { background: var(--rc-gruen-hell); color: #1f5f3e; }
.rcrm-ablauf__warn { background: var(--rc-bernstein-hell); color: #0f5f94; border-radius: 10px; padding: 10px 13px; margin: 8px 0 12px; line-height: 1.5; }
.rcrm-ablauf__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.rcrm-ablauf__klein { margin: 12px 0 0; font-size: 12.5px; }
.rcrm-ablauf__vorlage { margin: 0 0 6px; }
.rcrm-ablauf__vorlage span { color: var(--rc-leise); font-size: 12px; }
.rcrm-ablauf__daten { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12px; margin: 12px 0 0; }
.rcrm-ablauf__daten dt { color: var(--rc-leise); }
.rcrm-ablauf__daten dd { margin: 0; overflow-wrap: anywhere; }
.rcrm-ablauf__daten code { font-size: 11px; background: none; padding: 0; }
.rcrm-knopf--breit { width: 100%; justify-content: center; }
.rcrm-stapel { display: flex; flex-direction: column; gap: 6px; }
.rcrm-stapel label { font-weight: 600; font-size: 13px; color: var(--rc-navy); margin-top: 6px; }
.rcrm-stapel input:not([type=checkbox]):not([type=radio]), .rcrm-stapel select, .rcrm-stapel textarea { width: 100%; max-width: none; }
.rcrm-stapel button { margin-top: 10px; align-self: flex-start; }
.rcrm-stapel .rcrm-knopf--breit { align-self: stretch; }
.rcrm-werte .description { margin: 6px 0 0; }
td .rcrm-werte { max-width: 560px; }
.rcrm-mit { margin: 6px 0; padding: 8px 12px; border-left: 3px solid var(--rc-blau); background: var(--rc-blau-hell); border-radius: 0 8px 8px 0; font-size: 13px; }
.rcrm-paketliste { margin: 0 0 12px; padding: 0; list-style: none; }
.rcrm-paketliste li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--rc-linie); }
.rcrm-paketliste span { color: var(--rc-leise); font-size: 12px; }
.rcrm-empfaenger { margin: 0 0 12px; padding: 0; list-style: none; }
.rcrm-empfaenger li { display: grid; gap: 1px; padding: 8px 0; border-bottom: 1px solid var(--rc-linie); }
.rcrm-empfaenger span { color: var(--rc-leise); font-size: 12.5px; overflow-wrap: anywhere; }
.rcrm-empfaenger em { font-style: normal; font-size: 11.5px; font-weight: 600; }
.rcrm-empfaenger .ist-gut { color: var(--rc-gruen); }
.rcrm-empfaenger .ist-offen { color: #0f5f94; }
.rcrm-hinterlegt { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.rcrm-hinterlegt img { max-width: 160px; max-height: 60px; border: 1px solid var(--rc-linie); border-radius: 8px; background: #fff; padding: 4px; }
.rcrm-hinterlegt span { font-size: 12.5px; color: var(--rc-leise); }
.rcrm-app .rcrm-sigpad canvas { min-height: 150px; }
.rcrm-absenden { display: flex; gap: 10px; flex-wrap: wrap; }
.rcrm-absenden [hidden], .rcrm-app tr[hidden] { display: none !important; }

/* ---------- Übersicht: offene Unterschriften ---------- */
.rcrm-offen { margin: 0 0 22px; }
.rcrm-offen h2 { font-family: var(--rc-titel); font-size: 16px; margin: 0 0 10px; }
.rcrm-offen ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.rcrm-offen li { margin: 0; background: #fff; border: 1px solid var(--rc-linie); border-left: 4px solid var(--rc-blau); border-radius: 12px; padding: 12px 14px; }
.rcrm-offen li.ist-dran { border-left-color: var(--rc-bernstein); }
.rcrm-offen a { text-decoration: none; display: grid; gap: 2px; }
.rcrm-offen strong { color: var(--rc-navy); font-family: var(--rc-titel); }
.rcrm-offen span { color: var(--rc-leise); font-size: 12.5px; }
.rcrm-offen em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--rc-blau); }
.rcrm-offen li.ist-dran em { color: #0f5f94; }

/* ---------- Vorlagen ---------- */
.rcrm-vorlagen { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.rcrm-vorlage { display: flex; flex-direction: column; margin: 0; }
.rcrm-vorlage.ist-inaktiv { opacity: .7; }
.rcrm-vorlage header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rcrm-vorlage__art { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--rc-blau); }
.rcrm-vorlage h2 { font-family: var(--rc-titel); font-size: 17px; line-height: 1.35; margin: 8px 0 6px; }
.rcrm-vorlage h2 a { color: var(--rc-navy); text-decoration: none; }
.rcrm-vorlage__text { color: var(--rc-leise); margin: 0 0 12px; }
.rcrm-vorlage__fakten { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.rcrm-vorlage__fakten li { margin: 0; font-size: 12px; background: var(--rc-flaeche); border-radius: 999px; padding: 3px 10px; }
.rcrm-vorlage__fakten li.ist-mit { background: var(--rc-blau-hell); color: var(--rc-blau); font-weight: 600; }
.rcrm-vorlage footer { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.rcrm-editor label { display: block; font-weight: 600; margin: 0 0 6px; color: var(--rc-navy); }
.rcrm-editor p { margin: 0 0 16px; }
.rcrm-editor input:not([type=checkbox]), .rcrm-editor select { width: 100%; max-width: none; }
.rcrm-editor__kopf { display: grid; grid-template-columns: 1fr 260px; gap: 16px; }
.rcrm-app textarea.rcrm-code { width: 100%; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; background: #fbfcfd; tab-size: 4; }
.rcrm-editor__fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rcrm-editor__fuss label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; }
.rcrm-begleit { border: 1px solid var(--rc-linie); border-radius: 12px; padding: 12px 16px 6px; margin: 0 0 16px; }
.rcrm-begleit legend { font-weight: 600; color: var(--rc-navy); padding: 0 6px; }
.rcrm-editor .rcrm-begleit label { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 8px 0; }
.rcrm-hilfe dl { margin: 0; }
.rcrm-hilfe dl div { padding: 6px 0; border-bottom: 1px solid var(--rc-linie); }
.rcrm-hilfe dt code, .rcrm-platzhalter code { font-size: 12px; background: var(--rc-blau-hell); color: var(--rc-navy); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.rcrm-hilfe dd { margin: 3px 0 0; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-hilfe h4 { margin: 18px 0 8px; }
.rcrm-platzhalter { margin: 0; padding: 0; list-style: none; max-height: 320px; overflow: auto; }
.rcrm-platzhalter li { display: grid; gap: 1px; padding: 5px 0; margin: 0; font-size: 12.5px; }
.rcrm-platzhalter span { color: var(--rc-leise); }
.rcrm-anlagenliste { margin: 10px 0; padding: 0; list-style: none; }
.rcrm-anlagenliste li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 7px 0; border-bottom: 1px solid var(--rc-linie); margin: 0; }
.rcrm-anlagenliste span { color: var(--rc-leise); font-size: 12px; margin-right: auto; }
@media (max-width: 782px) { .rcrm-editor__kopf { grid-template-columns: 1fr; } }

/* ---------- Einstellungskarten ---------- */
.rcrm-briefpapier { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0 0 10px; }
.rcrm-briefpapier h3 { margin: 0 0 8px; font-size: 14px; }
.rcrm-briefpapier__bild { width: 140px; aspect-ratio: 210 / 297; border: 1px solid var(--rc-linie); border-radius: 6px; background: #fbfcfd; display: grid; place-items: center; overflow: hidden; margin: 0 0 10px; box-shadow: 0 6px 16px rgba(16, 39, 58, .08); }
.rcrm-briefpapier__bild img { width: 100%; height: 100%; object-fit: cover; }
.rcrm-briefpapier__bild span { font-size: 12px; color: var(--rc-leise); text-align: center; padding: 8px; }
.rcrm-raender table td, .rcrm-raender table th { padding: 3px 6px 3px 0; font-weight: 500; font-size: 12.5px; text-align: left; }
.rcrm-dreier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rcrm-dreier p { margin: 0; }
.rcrm-dreier label { display: grid; gap: 4px; }
.rcrm-unterschrift-form { max-width: 620px; }
.rcrm-zeile { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.rcrm-inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.rcrm-lizenz { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 14px; }
.rcrm-lizenz div { background: var(--rc-flaeche); border-radius: 10px; padding: 10px 12px; }
.rcrm-lizenz dt { font-size: 11.5px; color: var(--rc-leise); text-transform: uppercase; letter-spacing: .05em; }
.rcrm-lizenz dd { margin: 3px 0 0; font-weight: 600; color: var(--rc-navy); }
@media (max-width: 782px) { .rcrm-dreier { grid-template-columns: 1fr; } }
.rcrm-extras { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #fbfcfd; }
.rcrm-extras__titel { font-weight: 700; color: var(--rc-navy); margin: 0 0 2px; font-family: var(--rc-titel); }
.rcrm-extra { border-top: 1px solid var(--rc-linie); padding: 10px 0 4px; margin-top: 10px; }
.rcrm-extra__wahl { display: flex !important; gap: 8px; align-items: center; margin: 0 !important; font-size: 14px !important; }
.rcrm-extra__felder { margin: 8px 0 6px 26px; }
.rcrm-extra__felder[hidden] { display: none; }
.rcrm-sammel { display: flex; gap: 14px; align-items: center; margin: 12px 0 0; }
.rcrm-tabelle .check-column { width: 2.2em; padding-left: 10px; vertical-align: middle; }

/* ---------- Import/Export ---------- */
.rcrm-daten__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.rcrm-daten__liste > div { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #fbfcfd; }
.rcrm-daten__liste h3 { margin: 0; font-family: var(--rc-titel); font-size: 15px; color: var(--rc-navy); }
.rcrm-daten__liste .description { margin: 0 0 4px; }
.rcrm-daten__liste form { margin: auto 0 0; }
.rcrm-daten__liste select { width: 100%; max-width: none; }

/* ---------- Einstellungen in Reitern ---------- */
.rcrm-einst { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.rcrm-einst__nav { position: sticky; top: 46px; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--rc-linie); border-radius: var(--rc-radius); padding: 8px; }
.rcrm-einst__nav a { position: relative; display: grid; gap: 1px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--rc-navy); }
.rcrm-einst__nav a span { font-family: var(--rc-titel); font-weight: 600; font-size: 14px; }
.rcrm-einst__nav a small { font-size: 11.5px; color: var(--rc-leise); line-height: 1.35; }
.rcrm-einst__nav a:hover { background: var(--rc-flaeche); }
.rcrm-einst__nav a.ist-aktiv { background: var(--rc-blau-hell); box-shadow: inset 3px 0 0 var(--rc-blau); }
.rcrm-einst__nav a.ist-aktiv span { color: var(--rc-blau); }
.rcrm-einst__nav a:focus-visible { outline: 2px solid var(--rc-blau); outline-offset: 1px; }
.rcrm-punkt { position: absolute; top: 13px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--rc-bernstein); box-shadow: 0 0 0 3px var(--rc-bernstein-hell); }
.rcrm-einst__inhalt > .rcrm-karte > h2:first-of-type, .rcrm-einst__inhalt form.rcrm-karte > h2 { margin-top: 0; font-family: var(--rc-titel); }
.rcrm-einst__inhalt .form-table th { width: 190px; }
.rcrm-einst__inhalt .notice.inline { margin: 0 0 18px; }
@media (max-width: 960px) {
	.rcrm-einst { grid-template-columns: 1fr; }
	.rcrm-einst__nav { position: static; flex-direction: row; overflow-x: auto; padding: 6px; }
	.rcrm-einst__nav a { flex: none; padding: 8px 12px; }
	.rcrm-einst__nav a small { display: none; }
	.rcrm-punkt { top: 6px; right: 4px; }
}

/* ---------- E-Mail-Designer ---------- */
.rcrm-md { display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: 20px; align-items: start; }
.rcrm-md .rcrm-karte { margin: 0; }
.rcrm-md__wahl, .rcrm-md__geraet, .rcrm-md__segment { display: inline-flex; gap: 4px; padding: 4px; background: var(--rc-flaeche); border-radius: 12px; }
.rcrm-md__wahl { display: flex; margin: 0 0 18px; }
.rcrm-md__wahl button, .rcrm-md__geraet button { flex: 1; border: 0; background: none; padding: 8px 14px; border-radius: 9px; font: 600 13px var(--rc-titel); color: var(--rc-leise); cursor: pointer; }
.rcrm-md__wahl button.ist-aktiv, .rcrm-md__geraet button.ist-aktiv { background: #fff; color: var(--rc-navy); box-shadow: 0 1px 3px rgba(16, 39, 58, .12); }
.rcrm-md__segment label { margin: 0; }
.rcrm-md__segment input { position: absolute; opacity: 0; pointer-events: none; }
.rcrm-md__segment span { display: block; padding: 7px 14px; border-radius: 9px; font: 600 13px var(--rc-titel); color: var(--rc-leise); cursor: pointer; }
.rcrm-md__segment input:checked + span { background: #fff; color: var(--rc-navy); box-shadow: 0 1px 3px rgba(16, 39, 58, .12); }
.rcrm-md__segment input:focus-visible + span { outline: 2px solid var(--rc-blau); }
.rcrm-md fieldset { border: 0; border-top: 1px solid var(--rc-linie); margin: 0; padding: 16px 0 10px; display: grid; gap: 12px; }
.rcrm-md fieldset:first-of-type { border-top: 0; padding-top: 0; }
.rcrm-md legend { font: 700 13px var(--rc-titel); color: var(--rc-navy); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 4px; float: left; width: 100%; }
.rcrm-md__feld { display: grid; gap: 5px; margin: 0; }
.rcrm-md__feld > span { font-weight: 600; font-size: 13px; color: var(--rc-navy); }
.rcrm-md__feld small { color: var(--rc-leise); font-size: 12px; }
.rcrm-md__feld input:not([type=checkbox]), .rcrm-md__feld select, .rcrm-md__feld textarea { width: 100%; max-width: none; }
.rcrm-md__textfeld { font-family: var(--rc-text-font); font-size: 13.5px; line-height: 1.55; }
.rcrm-md__zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rcrm-md__farben { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.rcrm-md__farbe { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--rc-linie); border-radius: 10px; background: #fff; margin: 0; cursor: pointer; font-size: 12.5px; }
.rcrm-md__farbe input[type=color] { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.rcrm-md__regler { display: grid; gap: 4px; margin: 0; font-size: 13px; }
.rcrm-md__regler output { font-weight: 700; color: var(--rc-blau); }
.rcrm-md__regler input { width: 100%; accent-color: var(--rc-blau); }
.rcrm-md__haken { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; }
.rcrm-md__logo { display: flex; gap: 8px; }
.rcrm-md__logo input { flex: 1; }
.rcrm-md__text { display: grid; gap: 12px; margin-top: 14px; }
.rcrm-md__text[hidden], .rcrm-md__panel[hidden] { display: none; }
.rcrm-md__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.rcrm-md__chips button { border: 1px solid #c9dbe7; background: var(--rc-blau-hell); color: var(--rc-navy); border-radius: 999px; padding: 3px 10px; font: 12px ui-monospace, Menlo, Consolas, monospace; cursor: pointer; }
.rcrm-md__chips button:hover { border-color: var(--rc-blau); }
.rcrm-md__reset { color: var(--rc-leise); }
.rcrm-md__speichern { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--rc-linie); margin-top: 16px; padding-top: 16px; }
.rcrm-md__vorschau { position: sticky; top: 46px; display: grid; gap: 12px; }
.rcrm-md__leiste { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.rcrm-md__leiste select { min-width: 220px; }
.rcrm-md__betreff { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; background: var(--rc-flaeche); border-radius: 10px; font-size: 13px; }
.rcrm-md__betreff span { color: var(--rc-leise); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.rcrm-md__rahmen { border: 1px solid var(--rc-linie); border-radius: 12px; overflow: hidden; background: #eef2f5; transition: opacity .15s; }
.rcrm-md__rahmen.ist-laedt { opacity: .6; }
.rcrm-md__rahmen iframe { display: block; width: 100%; height: 68vh; min-height: 520px; border: 0; background: #fff; margin: 0 auto; transition: width .2s; }
.rcrm-md__rahmen.ist-mobil iframe { width: 390px; max-width: 100%; }
.rcrm-md__test { display: flex; gap: 8px; }
.rcrm-md__test input { flex: 1; }
@media (max-width: 1280px) { .rcrm-md { grid-template-columns: 1fr; } .rcrm-md__vorschau { position: static; } }
.rcrm-einst__zwischen { margin: 6px 0 0; font-family: var(--rc-titel); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--rc-leise); }

/* ---------- 0.6: Benachrichtigungen, App, Sicherung ---------- */
.rcrm-haken { display: grid; gap: 8px; }
.rcrm-haken label { line-height: 1.45; }
.rcrm-appicon { display: flex; gap: 16px; align-items: flex-start; }
.rcrm-appicon img { flex: none; border-radius: 16px; box-shadow: 0 2px 10px rgba(16, 39, 58, .15); background: #fff; }
.rcrm-pruefliste { margin: 10px 0 0; padding: 0; list-style: none; display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; }
.rcrm-pruefliste li.ok::before { content: '✓ '; color: var(--rc-gruen); font-weight: 700; }
.rcrm-pruefliste li.nein::before { content: '✕ '; color: var(--rc-rot); font-weight: 700; }
.rcrm-sich__jetzt { margin: 4px 0 18px; }
.rcrm-sich__liste td { vertical-align: middle; }
.rcrm-sich__aktionen { white-space: nowrap; text-align: right; }
.rcrm-sich__aktionen > * { margin-left: 6px; }
.rcrm-knopf--klein { min-height: 32px !important; padding: 0 12px !important; font-size: 13px !important; }
.rcrm-badge--rot { background: var(--rc-rot-hell); color: var(--rc-rot); }
.rcrm-sich__einst { grid-template-columns: 1fr 1fr; gap: 28px; }
.rcrm-sich__einst label.rcrm-sich__bereich { display: block; margin: 0 0 10px; }
.rcrm-sich__einst h3 { margin-top: 4px; }
.rcrm-sich__hoch { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 782px) { .rcrm-sich__einst { grid-template-columns: 1fr; } .rcrm-appicon { flex-direction: column; } }

/* ---------- Rechnungen ---------- */
.rcrm-rechnungen td { vertical-align: middle; }
.rcrm-rechnungen .rcrm-zahl, .rcrm-zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rcrm-rechnungen .rcrm-aktionen { justify-content: flex-end; }
.rcrm-badge--re-offen { background: var(--rc-blau-hell); color: var(--rc-blau); }
.rcrm-badge--re-ueberfaellig { background: var(--rc-rot-hell); color: var(--rc-rot); }
.rcrm-badge--re-bezahlt { background: var(--rc-gruen-hell); color: var(--rc-gruen); }
.rcrm-badge--re-storniert { background: #eef1f4; color: #5d6f7e; }
.rcrm-re-upload { margin-top: 16px; }
.rcrm-re-upload > summary { list-style: none; cursor: pointer; }
.rcrm-re-upload > summary::-webkit-details-marker { display: none; }
.rcrm-re-upload[open] > summary { display: none; }
.rcrm-re-form .form-table th { width: 170px; }
.rcrm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.rcrm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-right: auto; }
.rcrm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rc-linie); background: #fff; color: var(--rc-text) !important; text-decoration: none; font-weight: 500; font-size: 13px; }
.rcrm-chip span { color: var(--rc-leise); font-size: 12px; }
.rcrm-chip.ist-aktiv { background: var(--rc-navy); border-color: var(--rc-navy); color: #fff !important; }
.rcrm-chip.ist-aktiv span { color: rgba(255, 255, 255, .7); }

/* Vertragsangaben in Gruppen („Leistung: …“, „Preisblatt: …“) */
.rcrm-werte .rcrm-feldgruppe { grid-column: 1 / -1; margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--rc-linie); font-family: var(--rc-titel); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rc-leise); }
.rcrm-werte .rcrm-feldgruppe:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Handy: nichts breiter als der Bildschirm ---------- */
@media (max-width: 1180px) { .rcrm-spalten { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .rcrm-einst { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 782px) {
	.rcrm-spalten > *, .rcrm-einst > *, .rcrm-haupt, .rcrm-seite, .rcrm-einst__inhalt { min-width: 0; }
	.rcrm-app table.widefat td, .rcrm-karte p, .rcrm-karte dd { overflow-wrap: anywhere; }
	.rcrm-haupt, .rcrm-seite, .rcrm-einst__inhalt, .rcrm-karte { max-width: 100%; }
	.rcrm-suche { flex-wrap: wrap; }
	.rcrm-suche input[type=search] { min-width: 0; flex: 1 1 180px; }
	.rcrm-app input[type=text], .rcrm-app input[type=email], .rcrm-app input[type=url], .rcrm-app input[type=search], .rcrm-app input[type=password], .rcrm-app select, .rcrm-app textarea, .rcrm-app .regular-text, .rcrm-app .large-text { max-width: 100%; }
	.rcrm-app pre, .rcrm-app code { white-space: pre-wrap; word-break: break-all; }
	/* Tabellen als Karten: je Zeile ein Block, Spaltenname links (data-label per admin.js). */
	.rcrm-app table.widefat:not(.form-table), .rcrm-app table.widefat:not(.form-table) > tbody, .rcrm-app table.widefat:not(.form-table) > tbody > tr, .rcrm-app table.widefat:not(.form-table) > tbody > tr > td, .rcrm-app table.widefat:not(.form-table) > tbody > tr > th { display: block; width: auto; }
	.rcrm-app table.widefat:not(.form-table) > thead { display: none; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr { padding: 10px 14px; border-top: 1px solid var(--rc-linie); position: relative; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr:first-child { border-top: 0; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > td, .rcrm-app table.widefat:not(.form-table) > tbody > tr > th { padding: 3px 0; border: 0; text-align: left; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > td[data-label]:not([data-label=""]) { display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr); gap: 10px; align-items: baseline; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > td[data-label]:not([data-label=""])::before { content: attr(data-label); color: var(--rc-leise); font-size: 12px; font-weight: 600; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > td:first-child:not(.check-column), .rcrm-app table.widefat:not(.form-table) > tbody > tr > .check-column + td { font-size: 15px; padding: 0 34px 6px 0; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > td:first-child:not(.check-column)::before, .rcrm-app table.widefat:not(.form-table) > tbody > tr > .check-column + td::before { display: none; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > td:first-child:not(.check-column)[data-label], .rcrm-app table.widefat:not(.form-table) > tbody > tr > .check-column + td[data-label] { display: block; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > .check-column { position: absolute; right: 10px; top: 10px; width: auto; padding: 0; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr:hover td { background: transparent; }
	.rcrm-app table.widefat:not(.form-table) .row-actions { position: static; left: auto; }
	.rcrm-app table.widefat:not(.form-table) > tbody > tr > td[data-label=""]:not(:first-child):not(.check-column), .rcrm-app table.widefat:not(.form-table) > tbody > tr > td.rcrm-sich__aktionen { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 12px; white-space: normal; padding-top: 8px; }
	.rcrm-app table.widefat:not(.form-table) .rcrm-aktionen { justify-content: flex-start; }
}

/* Einsätze */
.rcrm-einsatz-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 6px; padding: 12px 14px; border-radius: 10px; background: var(--rc-blau-hell); }
.rcrm-aktionen--spalte { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rcrm-aktionen--spalte details { width: 100%; }
.rcrm-aktionen--spalte details form { margin-top: 8px; }
.rcrm-einsatz-hilfe summary { cursor: pointer; }
.rcrm-einsatz-hilfe ol { margin: 12px 0 0 18px; line-height: 1.55; }
.rcrm-einsatz-hilfe li { margin-bottom: 6px; }
.rcrm-zeit-form .rcrm-reihe input[type=time] { width: 110px; }
.rcrm-einsaetze .check-column { width: 2.2em; }

/* Reiter der Kundenseite */
.rcrm-ktabs__nav { position: sticky; top: 32px; z-index: 5; display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 18px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--rc-linie); box-shadow: 0 2px 10px rgba(16, 39, 58, .05); }
.rcrm-ktabs__nav a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 8px; color: var(--rc-text); text-decoration: none; font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.rcrm-ktabs__nav a:hover { background: var(--rc-flaeche); color: var(--rc-navy); }
.rcrm-ktabs__nav a.ist-aktiv { background: var(--rc-navy); color: #fff; }
.rcrm-ktabs__zahl { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--rc-flaeche); color: var(--rc-leise); font-size: 11px; font-weight: 600; text-align: center; }
.rcrm-ktabs__zahl.ist-warn { background: var(--rc-bernstein-hell); color: #0f5f94; }
.rcrm-ktabs__nav a.ist-aktiv .rcrm-ktabs__zahl { background: rgba(255, 255, 255, .18); color: #fff; }
.rcrm-ktabs.ist-js .rcrm-ktab { display: none; }
.rcrm-ktabs.ist-js .rcrm-ktab.ist-aktiv { display: block; }
.rcrm-ktab > .rcrm-karte:first-child { margin-top: 0; }
.rcrm-blick { margin: 0; }
.rcrm-blick > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rc-linie); }
.rcrm-blick > div:last-child { border-bottom: 0; }
.rcrm-blick dt { color: var(--rc-leise); }
.rcrm-blick dd { margin: 0; font-weight: 600; text-align: right; }
.rcrm-blick dd a { text-decoration: none; }
@media (max-width: 782px) { .rcrm-ktabs__nav { top: 46px; overflow-x: auto; flex-wrap: nowrap; } .rcrm-ktabs__nav a { white-space: nowrap; } }
.rcrm-ktabs__nav a { transition: background-color .12s, color .12s; } .rcrm-ktabs__nav a:focus { box-shadow: 0 0 0 2px var(--rc-blau); outline: 0; }

/* Kopf: echtes Logo auf weißem Grund, Versionsnummer */
.rcrm-kopf__logo.ist-bild { background: #fff; padding: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); overflow: hidden; }
.rcrm-kopf__logo.ist-bild img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rcrm-kopf__version { font-family: var(--rc-text-font, inherit); font-weight: 500; font-size: 11px; color: #8fb3cc; letter-spacing: 0; margin-left: 4px; }

/* Datenschutz (DSGVO) */
.rcrm-dsgvo h2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rcrm-dsgvo__art { font-size: 12px; font-weight: 600; color: var(--rc-leise); background: var(--rc-flaeche); padding: 2px 9px; border-radius: 999px; }
.rcrm-dsgvo__knoepfe { margin: 14px 0 6px; }
.rcrm-dsgvo__knoepfe button[disabled] { opacity: .45; cursor: not-allowed; }
.rcrm-dsgvo__warn { border-left: 4px solid #1e8fd5; background: var(--rc-bernstein-hell, #e7f2fb); padding: 10px 14px; border-radius: 8px; margin: 12px 0 16px; }
.rcrm-dsgvo__warn ul { margin: 6px 0 0 18px; list-style: disc; }
.rcrm-dsgvo__spalten { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 24px; margin: 10px 0 14px; }
@media (max-width: 960px) { .rcrm-dsgvo__spalten { grid-template-columns: 1fr; } }
.rcrm-dsgvo__liste { margin: 0; }
.rcrm-dsgvo__liste li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rc-linie); }
.rcrm-dsgvo__tab td.description { font-size: 12px; }
.rcrm-app .rcrm-dsgvo__los.button-primary { background: #b32d2e !important; border-color: #b32d2e !important; color: #fff !important; }
.rcrm-app .rcrm-dsgvo__los.button-primary:hover { background: #8a2424 !important; border-color: #8a2424 !important; }
.rcrm-dsgvo__sofort summary, .rcrm-dsgvo-prot summary { cursor: pointer; font-weight: 600; }
.rcrm-dsgvo__sofort form { margin-top: 10px; }
.rcrm-dsgvo-prot { margin-top: 18px; }
.rcrm-dsgvo-marke { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #eef1f4; color: #5a6b7a; font-size: 11px; font-weight: 600; vertical-align: middle; }

/* ===== 0.11: Termine, Kontingente, Bewertungen, Abläufe ===== */
.rcrm-termin__wann { font-size: 16px; font-weight: 700; color: var(--rc-navy); margin: 4px 0 2px; }
.rcrm-termin details { margin: 8px 0; }
.rcrm-termin-felder .rcrm-reihe { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.rcrm-termin-felder input[type="date"], .rcrm-termin-felder input[type="time"] { min-width: 0; }
.rcrm-termin__ab { margin-top: 6px; font-size: 13px; }
.rcrm-termin__rapport { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--rc-linie); }
.rcrm-termine__liste { margin: 0; }
.rcrm-termine__liste li { display: grid; grid-template-columns: 210px 1fr auto auto; gap: 4px 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rc-linie); margin: 0; }
.rcrm-termine__liste li:last-child { border-bottom: 0; }
.rcrm-termine__liste li.ist-heute .rcrm-termine__wann { color: #1e8fd5; }
.rcrm-termine__wann { font-weight: 600; color: var(--rc-navy); }
@media (max-width: 900px) { .rcrm-termine__liste li { grid-template-columns: 1fr; } }
.rcrm-kbalken { height: 10px; border-radius: 999px; background: #e6edf2; overflow: hidden; margin: 6px 0 14px; }
.rcrm-kbalken span { display: block; height: 100%; background: linear-gradient(90deg, #2e86b8, #165f85); border-radius: 999px; }
.rcrm-kbalken.ist-warn span { background: linear-gradient(90deg, #1e8fd5, #1e8fd5); }
.rcrm-kontingent__ueber { color: #b32d2e; margin: 10px 0 0; }
.rcrm-kontingent__neu, .rcrm-ablauf-neu { margin-top: 12px; }
.rcrm-kontingent__neu > summary, .rcrm-ablauf-neu > summary { list-style: none; cursor: pointer; display: inline-block; }
.rcrm-kontingent__neu > summary::-webkit-details-marker, .rcrm-ablauf-neu > summary::-webkit-details-marker { display: none; }
.rcrm-unterform .rcrm-reihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.rcrm-monatsnachweis { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rc-linie); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rcrm-anleitung { margin: 0 0 0 18px; list-style: decimal; }
.rcrm-anleitung li { margin: 0 0 6px; }
.rcrm-bew-sterne { color: #f5a623; font-size: 16px; letter-spacing: 2px; white-space: nowrap; }
.rcrm-bew-sterne.ist-warn { color: #1e8fd5; }
.rcrm-bew-stat { max-width: 520px; }
.rcrm-bew-stat__z { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; margin: 4px 0; }
.rcrm-bew-stat__z span { color: #f5a623; letter-spacing: 1px; }
.rcrm-bew-stat__z i { height: 8px; border-radius: 99px; background: #e6edf2; overflow: hidden; }
.rcrm-bew-stat__z b { display: block; height: 100%; background: #f5a623; }
.rcrm-bew-stat__z em { font-style: normal; color: var(--rc-leise); text-align: right; }

/* ===== 0.12: Tickets ===== */
.rcrm-ticket-leiste { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; padding: 14px 18px !important; }
.rcrm-ticket-leiste label { display: grid; gap: 4px; font-size: 12px; color: var(--rc-leise); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rcrm-ticket-leiste select { min-width: 150px; }
.rcrm-person { display: inline-block; margin-top: 2px; padding: 0 8px; border-radius: 99px; background: #e7f2f9; color: #165f85; font-size: 12px; font-weight: 600; }
.rcrm-artikel__liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.rcrm-artikel__e { margin: 0; padding: 12px 14px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #fff; }
.rcrm-artikel__e--notiz, .rcrm-artikel__e--telefon { background: #f2f8fd; border-color: #9cc8ea; }
.rcrm-artikel__e--mail_ein { border-left: 4px solid #165f85; }
.rcrm-artikel__e--mail_aus { border-left: 4px solid #1d9a54; }
.rcrm-artikel__kopf { font-size: 12.5px; color: var(--rc-leise); margin-bottom: 6px; }
.rcrm-artikel__betreff { font-weight: 600; margin: 0 0 4px; }
.rcrm-artikel__text p { margin: 0 0 6px; }
.rcrm-projekte__neu { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== 0.13: Zeiterfassung, Kalender ===== */
.rcrm-unterreiter { display: flex; gap: 4px; margin: 0 0 16px; }
.rcrm-unterreiter a { padding: 8px 16px; border-radius: 10px; text-decoration: none; color: var(--rc-text); font-weight: 500; background: #fff; border: 1px solid var(--rc-linie); }
.rcrm-unterreiter a.ist-aktiv { background: var(--rc-navy); color: #fff; border-color: var(--rc-navy); }
.rcrm-zform__grid { display: grid; grid-template-columns: 150px 105px 105px 110px 1fr 1fr; gap: 10px 14px; }
.rcrm-zform__zwei { grid-column: span 2; }
.rcrm-zform__grid label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--rc-leise); }
.rcrm-zform__grid input, .rcrm-zform__grid select { width: 100%; }
.rcrm-zform__breit { grid-column: span 2; }
.rcrm-zform__voll { grid-column: 1 / -1; }
.rcrm-zform__grid [hidden] { display: none !important; }
.rcrm-zform__fuss { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
@media (max-width: 1100px) { .rcrm-zform__grid { grid-template-columns: 1fr 1fr; } .rcrm-zform__breit, .rcrm-zform__zwei { grid-column: 1 / -1; } }
.rcrm-zkopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rcrm-zkopf__nav { display: flex; align-items: center; gap: 10px; }
.rcrm-zkopf__nav strong { font-size: 16px; color: var(--rc-navy); min-width: 200px; text-align: center; }
.rcrm-zsum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.rcrm-zsum div { background: var(--rc-flaeche); border-radius: 12px; padding: 10px 14px; }
.rcrm-zsum span { display: block; font-size: 12px; color: var(--rc-leise); }
.rcrm-zsum strong { font-size: 22px; color: var(--rc-navy); font-variant-numeric: tabular-nums; }
.rcrm-zwoche { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 120px; margin: 4px 0 18px; }
.rcrm-zwoche__tag { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; background: #f6f9fb; border-radius: 10px; padding: 6px 4px 22px; overflow: hidden; }
.rcrm-zwoche__tag i { width: 70%; background: linear-gradient(180deg, #2e86b8, #165f85); border-radius: 6px 6px 2px 2px; min-height: 2px; }
.rcrm-zwoche__tag b { position: absolute; top: 6px; font-size: 12px; color: var(--rc-navy); }
.rcrm-zwoche__tag span { position: absolute; bottom: 4px; font-size: 11px; color: var(--rc-leise); }
.rcrm-zwoche__tag.ist-heute { outline: 2px solid #1e8fd5; }
.rcrm-zliste__tag th { background: var(--rc-flaeche); font-weight: 700; color: var(--rc-navy); padding: 8px 10px !important; }
.rcrm-zliste__tag th.rcrm-zliste__summe { text-align: right; white-space: nowrap; padding-right: 16px !important; }
.rcrm-zliste td { vertical-align: top; }
.rcrm-zliste tr.ist-intern td { color: var(--rc-leise); }
.rcrm-zuhr { text-align: center; }
.rcrm-zuhr__zeit { font-size: 38px; font-weight: 700; color: var(--rc-navy); margin: 0; font-variant-numeric: tabular-nums; }
.rcrm-zuhr form { text-align: left; }
.rcrm-zuhr__start { width: 100%; justify-content: center; background: #1d9a54 !important; border-color: #1d9a54 !important; }
.rcrm-zkunden { width: 100%; border-collapse: collapse; }
.rcrm-zkunden td { padding: 5px 0; border-bottom: 1px solid var(--rc-linie); }
.rcrm-zab { margin: 0; }
.rcrm-zab li { padding: 8px 0; border-bottom: 1px solid var(--rc-linie); margin: 0; }
.rcrm-budget { display: flex; gap: 4px; align-items: center; margin-top: 4px; }
.rcrm-kopf__uhr { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; padding: 4px 10px; border-radius: 99px; background: #1d9a54; color: #fff !important; text-decoration: none; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rcrm-kopf__uhr i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: rcrm-puls 1.4s infinite; }
@keyframes rcrm-puls { 50% { opacity: .3; } }
.rcrm-kal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--rc-linie); border-left: 1px solid var(--rc-linie); }
.rcrm-kal__wt { padding: 6px 8px; font-size: 12px; font-weight: 700; color: var(--rc-leise); text-transform: uppercase; border-right: 1px solid var(--rc-linie); border-bottom: 1px solid var(--rc-linie); background: var(--rc-flaeche); }
.rcrm-kal__tag { min-height: 110px; padding: 4px 5px 6px; border-right: 1px solid var(--rc-linie); border-bottom: 1px solid var(--rc-linie); display: flex; flex-direction: column; gap: 3px; }
.rcrm-kal__grid--woche .rcrm-kal__tag { min-height: 360px; }
.rcrm-kal__tag.ist-fremd { background: #fafbfc; }
.rcrm-kal__tag.ist-fremd .rcrm-kal__kopf span { color: #b5c1cb; }
.rcrm-kal__tag.ist-we { background: #f8fafc; }
.rcrm-kal__tag.ist-heute { background: #eef6fc; }
.rcrm-kal__tag.ist-heute .rcrm-kal__kopf span { background: #1e8fd5; color: #fff; }
.rcrm-kal__kopf { display: flex; justify-content: space-between; align-items: center; }
.rcrm-kal__kopf span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 50%; font-weight: 700; font-size: 13px; color: var(--rc-navy); }
.rcrm-kal__plus { opacity: 0; text-decoration: none; font-weight: 700; color: var(--rc-blau); padding: 0 4px; }
.rcrm-kal__tag:hover .rcrm-kal__plus { opacity: 1; }
.rcrm-kal__e { display: block; padding: 3px 6px; border-radius: 6px; font-size: 12px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.rcrm-kal__grid--woche .rcrm-kal__e { white-space: normal; }
.rcrm-kal__e small { display: block; opacity: .8; font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.rcrm-kal__e.ist-crm { background: #165f85; color: #fff !important; }
.rcrm-kal__e.ist-outlook { background: #e9eef2; color: #3f5567; }
.rcrm-kal__legende { margin-top: 10px; display: flex; gap: 8px; align-items: center; }
.rcrm-kal__legende span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 8px; }
.rcrm-kal__legende .ist-crm { background: #165f85; } .rcrm-kal__legende .ist-outlook { background: #e9eef2; }
/* Kopf mit vielen Bereichen: kompakter, Marke nicht umbrechen, Navigation scrollt bei Bedarf */
.rcrm-kopf { gap: 18px; }
.rcrm-kopf__marke { flex: none; white-space: nowrap; }
.rcrm-kopf__marke > span:last-child { white-space: nowrap; }
.rcrm-kopf__nav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.rcrm-kopf__nav::-webkit-scrollbar { display: none; }
.rcrm-kopf__nav a { padding: 0 11px; font-size: 13.5px; white-space: nowrap; }
.rcrm-kopf__uhr { flex: none; margin-left: 0; }
@media (max-width: 1500px) { .rcrm-kopf__version { display: none; } }

/* Ticket: E-Mail-Antwort, Anhänge */
.rcrm-artikel__e--portal { border-left: 4px solid #1e8fd5; }
.rcrm-artikel__text.ist-lang { max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.rcrm-anhaenge { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.rcrm-anhaenge a { text-decoration: none; }
.rcrm-antwort { margin: 16px 0 10px; padding: 14px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #f8fbfd; }
.rcrm-antwort__kopf { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rcrm-antwort__an { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 8px; }
.rcrm-antwort__an label { display: grid; gap: 3px; font-size: 12px; font-weight: 600; color: var(--rc-leise); }
.rcrm-antwort__an input { width: 100%; }
.rcrm-antwort__bs { margin: 0 0 6px; }
.rcrm-antwort__fuss { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.rcrm-ticket-leiste__haken { align-self: end; padding-bottom: 6px; font-size: 12px; }
@media (max-width: 782px) { .rcrm-antwort__an { grid-template-columns: 1fr; } }

/* Menü sortieren */
.rcrm-menue { list-style: none; margin: 12px 0; padding: 0; max-width: 640px; display: grid; gap: 6px; }
.rcrm-menue li { display: grid; grid-template-columns: 22px 1fr 150px 110px 50px; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--rc-linie); border-radius: 10px; cursor: grab; }
.rcrm-menue li.ist-zug { opacity: .5; border-style: dashed; }
.rcrm-menue__griff { color: var(--rc-leise); letter-spacing: -2px; }
.rcrm-menue__name { font-weight: 600; }
.rcrm-menue__pfeile button { font-size: 16px; padding: 0 4px; text-decoration: none; }
@media (max-width: 782px) { .rcrm-menue li { grid-template-columns: 22px 1fr 90px 50px; } .rcrm-menue li > .rcrm-leise { display: none; } }

/* Kennzahlen Übersicht und Kundenliste */
.rcrm-kzs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.rcrm-kz { display: grid; gap: 2px; padding: 16px 18px; background: #fff; border: 1px solid var(--rc-linie); border-radius: var(--rc-radius); text-decoration: none; color: var(--rc-text); transition: border-color .15s, transform .15s; }
.rcrm-kz:hover { border-color: var(--rc-navy); transform: translateY(-1px); }
.rcrm-kz strong { font-size: 26px; line-height: 1.1; color: var(--rc-navy); }
.rcrm-kz span { font-weight: 600; }
.rcrm-kz small { color: var(--rc-leise); font-size: 12px; }
.rcrm-kz.ist-achtung { border-color: #1e8fd5; box-shadow: inset 4px 0 0 #1e8fd5; }
.rcrm-kz-raster { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-bottom: 24px; }
.rcrm-kz-raster .rcrm-karte { margin: 0; }
.rcrm-kz-liste { list-style: none; margin: 0; padding: 0; }
.rcrm-kz-liste li { padding: 9px 0; border-top: 1px solid var(--rc-linie); }
.rcrm-kz-liste li:first-child { border-top: 0; }
.rcrm-kz-liste a { text-decoration: none; }
.rcrm-kz-balken { width: 100%; border-collapse: collapse; }
.rcrm-kz-balken th { text-align: left; font-size: 12px; color: var(--rc-leise); font-weight: 600; padding: 0 0 6px; }
.rcrm-kz-balken td { padding: 7px 0; border-top: 1px solid var(--rc-linie); vertical-align: middle; }
.rcrm-kz-balken td:nth-child(2) { width: 45%; padding: 7px 12px; white-space: nowrap; }
.rcrm-kz-balken__b { display: inline-block; height: 10px; min-width: 3px; border-radius: 5px; background: linear-gradient(90deg, #165f85, #1e8fd5); box-shadow: 0 1px 2px rgba(22, 95, 133, .25); vertical-align: middle; margin-right: 8px; max-width: calc(100% - 50px); }
.rcrm-kz-balken__z { font-weight: 600; font-size: 13px; }
.rcrm-kz-balken a { text-decoration: none; font-weight: 600; }
.rcrm-zwischentitel { margin: 8px 0 12px; font-size: 16px; }
.rcrm-leer--klein { padding: 14px 18px; text-align: left; }
.rcrm-leer--klein p { margin: 0; }
.rcrm-filterzeile { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.rcrm-filterzeile a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--rc-linie); background: #fff; text-decoration: none; color: var(--rc-text); font-size: 13px; }
.rcrm-filterzeile a.ist-aktiv { background: var(--rc-navy); border-color: var(--rc-navy); color: #fff; }
.rcrm-filterzeile .rcrm-leise { margin-left: auto; font-size: 12px; }
[data-rcrm-sortierbar] th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }
[data-rcrm-sortierbar] th[data-sort]::after { content: " ↕"; opacity: .3; font-size: 11px; }
[data-rcrm-sortierbar] th.ist-auf::after { content: " ↑"; opacity: 1; }
[data-rcrm-sortierbar] th.ist-ab::after { content: " ↓"; opacity: 1; }
.rcrm-kliste td { vertical-align: top; }
@media (max-width: 1300px) { .rcrm-kzs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rcrm-kz-raster { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .rcrm-kzs { grid-template-columns: 1fr 1fr; } }

/* Zeit am Ticket */
.rcrm-tz { display: inline-flex; align-items: center; gap: 8px; }
.rcrm-tz__laeuft { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #135c35; font-variant-numeric: tabular-nums; }
.rcrm-tz__laeuft i { width: 8px; height: 8px; border-radius: 50%; background: #1d9a54; animation: rcrm-puls 1.4s infinite; }
.rcrm .rcrm-tz__start, a.rcrm-tz__start { color: #135c35; border-color: #a8dcbd; }
@keyframes rcrm-puls { 50% { opacity: .3; } }
.rcrm-ticket-leiste__zeit { margin-left: auto; align-self: center; }

/* Tickets */
.rcrm-tliste td { vertical-align: top; }
.rcrm-tliste tr.ist-neu td:first-child { box-shadow: inset 4px 0 0 #1e8fd5; }
.rcrm-tliste tr.ist-neu .row-title { font-weight: 700; }
.rcrm-tliste tr.ist-antwort td:first-child { box-shadow: inset 4px 0 0 #b32d2e; }
.rcrm-tliste tbody tr:hover { background: #f6f9fb; }
.rcrm-tk-zeiten { list-style: none; margin: 0 0 12px; padding: 0; }
.rcrm-tk-zeiten li { display: grid; grid-template-columns: 44px 1fr 18px; gap: 8px; padding: 7px 0; border-top: 1px solid var(--rc-linie); font-size: 13px; }
.rcrm-tk-zeiten li > span:first-child { font-weight: 700; color: var(--rc-navy); }
.rcrm-tk-zeiten small { display: block; color: var(--rc-leise); font-size: 11.5px; }
.rcrm-tk-zeiten a { text-decoration: none; }
.rcrm-tk-zform { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--rc-linie); }
.rcrm-tk-zform__reihe { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 6px; }
.rcrm-tk-zform input, .rcrm-tk-zform textarea { width: 100%; min-width: 0; }
.rcrm-tk-zform__fuss { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 0; font-size: 12.5px; }
.rcrm-tk-weitere { margin: 4px 0 0 16px; font-size: 13px; }
.rcrm-tk .rcrm-karte h3 { margin-top: 0; }
.rcrm-tk-zform input[type=checkbox] { width: auto; }

/* Kopf: Mehr-Menü und Vollbild */
.rcrm-kopf__mehr { position: relative; flex: none; }
.rcrm-kopf__mehr > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #b9cad8; font-size: 18px; }
.rcrm-kopf__mehr > summary::-webkit-details-marker { display: none; }
.rcrm-kopf__mehr > summary:hover, .rcrm-kopf__mehr[open] > summary { background: rgba(255, 255, 255, .1); color: #fff; }
.rcrm-kopf__mehr-liste { position: absolute; right: 0; top: 44px; z-index: 100; min-width: 260px; padding: 6px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(16, 39, 58, .22); display: grid; }
.rcrm-kopf__mehr-liste a { padding: 9px 12px; border-radius: 8px; color: var(--rc-text) !important; text-decoration: none; font-size: 13.5px; white-space: nowrap; }
.rcrm-kopf__mehr-liste a:hover, .rcrm-kopf__mehr-liste a.ist-aktiv { background: #eef3f7; }
.rcrm-kopf__mehr-liste hr { border: 0; border-top: 1px solid var(--rc-linie); margin: 4px 6px; }
.rcrm-kopf__fokus { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #b9cad8 !important; text-decoration: none; font-size: 18px; }
.rcrm-kopf__fokus:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.rcrm-fokus .rcrm-kopf { margin-top: 0; }
.rcrm-fokus #wpbody-content > .wrap.rcrm-app { margin-top: 0; }
.rcrm-tliste .check-column { width: 32px; padding: 14px 0 0 10px !important; } .rcrm-tk-massen { margin: 12px 0 0; }
.rcrm-zvoll > .rcrm-karte { margin-bottom: 18px; }
.rcrm-zkunden-karte .rcrm-zkunden { width: 100%; max-width: 640px; }
.rcrm-zliste td.rcrm-zliste__text { font-size: 13px; line-height: 1.45; color: #3c4a57; width: 46%; }
.rcrm-zliste td:first-child { min-width: 170px; }

/* Berichte */
.rcrm-bericht-form__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; margin-bottom: 6px; }
.rcrm-bericht-form__grid label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--rc-leise); }
.rcrm-bericht-form__grid input, .rcrm-bericht-form__grid select { width: 100%; }
.rcrm-bericht-form__grid [hidden] { display: none !important; }
.rcrm-bericht-form__breit { grid-column: span 2; }
.rcrm-bericht-aktionen { display: flex; gap: 8px; flex-wrap: wrap; }
.rcrm-bericht-gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 32px; margin: 8px 0 18px; }
.rcrm-bericht-gruppen h3 { margin: 0 0 6px; font-size: 14px; }
.rcrm-bericht-gruppen table { width: 100%; }
.rcrm-bericht-senden { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rc-linie); }
@media (max-width: 1100px) { .rcrm-bericht-form__grid { grid-template-columns: 1fr 1fr; } }
/* Aktionen-Zelle bleibt Tabellenzelle (sonst endet der Hover-Hintergrund vorzeitig). */
td.rcrm-aktionen { display: table-cell; text-align: right; white-space: nowrap; }
td.rcrm-aktionen > a, td.rcrm-aktionen > form { display: inline-block; margin-left: 14px; vertical-align: middle; }
td.rcrm-aktionen > :first-child { margin-left: 0; }
@media (max-width: 782px) { .rcrm-app table.widefat:not(.form-table) td.rcrm-aktionen { text-align: left; white-space: normal; } }
/* Zeiten-Liste: Status, Stunden und Aktionen schmal und ganz rechts, Beschreibung bekommt den Platz. */
@media (min-width: 783px) {
	.rcrm-zliste--tage td.rcrm-zliste__text { width: auto; }
	.rcrm-zliste--tage td.rcrm-zliste__status, .rcrm-zliste--tage td.rcrm-zliste__std, .rcrm-zliste--tage td.rcrm-aktionen { width: 1%; white-space: nowrap; }
	.rcrm-zliste--tage td.rcrm-aktionen > a, .rcrm-zliste--tage td.rcrm-aktionen > form { display: block; margin: 0 0 3px; text-align: right; }
}
/* Einsatzbericht-Marke unter der Beschreibung. */
.rcrm-app .rcrm-zliste__einsatz { display: table; margin-top: 6px; padding: 2px 10px 2px 8px; border-radius: 999px; background: var(--rc-bernstein-hell); color: var(--rc-blau); font-size: 11.5px; font-weight: 600; line-height: 1.6; text-decoration: none; white-space: nowrap; }
.rcrm-app .rcrm-zliste__einsatz svg { margin-right: 5px; vertical-align: -1px; }
.rcrm-app .rcrm-zliste__einsatz:hover { background: #d6e9f8; color: var(--rc-navy); }
.rcrm-projekt-edit > summary { cursor: pointer; color: var(--rc-blau); font-weight: 500; font-size: 13px; }
.rcrm-projekt-edit[open] { min-width: 320px; padding: 6px 0; }
.rcrm-projekt-weg { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rc-linie); }
.rcrm-empf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; max-width: 980px; margin: 6px 0; }
.rcrm-empf label { display: grid; gap: 3px; font-size: 12px; font-weight: 600; color: var(--rc-leise); }
.rcrm-empf input { width: 100%; }
@media (max-width: 900px) { .rcrm-empf { grid-template-columns: 1fr; } }
.rcrm-person { display: inline-block; margin-top: 2px; padding: 4px 10px; border-radius: 6px; background: #e7f2f9; color: #165f85; font-size: 12.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; text-decoration: none; } .rcrm-person:hover { background: #d6e9f6; }
.rcrm-kbudget { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 12px 16px; margin: 0 0 14px; background: #f4f8fb; border: 1px solid var(--rc-linie); border-radius: 12px; }
.rcrm-kbudget > div:first-child { display: grid; gap: 2px; }
.rcrm-kbudget__stand { display: grid; gap: 4px; min-width: 220px; font-size: 13px; }
.rcrm-kbudget__stand .rcrm-kbalken { max-width: 260px; }
.rcrm-kbudget .rcrm-budget { margin-left: auto; }
/* Budget-Formulare: Feld, Auswahl und Knopf gleich hoch und kompakt */
.rcrm-budget input[name=budget], .rcrm-budget select { height: 32px !important; min-height: 32px !important; line-height: 30px !important; padding: 0 8px !important; font-size: 13px !important; border-radius: 8px !important; box-sizing: border-box; }
.rcrm-budget input[name=budget] { width: 72px; }
.rcrm-budget select { width: 120px; padding-right: 24px !important; background-position: right 6px center !important; }
.rcrm-budget .button { height: 32px; min-height: 32px; line-height: 30px; padding: 0 12px; }
.rcrm-projekt-loeschen > summary { color: #b32d2e; } .rcrm-projekte td:last-child { white-space: nowrap; vertical-align: top; } .rcrm-projekte td:last-child details { display: inline-block; margin-left: 14px; vertical-align: top; white-space: normal; text-align: left; } .rcrm-projekte td:last-child details:first-child { margin-left: 0; }
.rcrm-kal__e.ist-zeit { background: #e3f4ea; color: #1d6b3f !important; border-left: 3px solid #2e9e5b; }
.rcrm-kal__legende .ist-zeit { background: #e3f4ea; border-left: 3px solid #2e9e5b; }
.rcrm-kal__summe { margin-left: auto; margin-right: 6px; font-size: 11px; font-weight: 600; color: #1d6b3f; text-decoration: none; background: #e3f4ea; padding: 1px 6px; border-radius: 4px; }
.rcrm-chip--zeit:not(.ist-aktiv) { opacity: .7; }
.rcrm-kal__mehr { display: block; font-size: 11px; padding: 2px 6px; color: #1d6b3f; text-decoration: none; font-weight: 600; }
.rcrm-zform__grid textarea { width: 100%; min-height: 72px; resize: vertical; font: inherit; font-size: 14px; font-weight: 400; color: var(--rc-navy); line-height: 1.5; padding: 10px 14px; }
.rcrm-zform__hinweis { margin: -4px 0 12px; padding: 8px 12px; background: #e7f2fb; border-radius: 8px; font-size: 13px; color: #0f5f94; }
.rcrm-zform__mehr { margin-top: 12px; }
.rcrm-zform__mehr-liste { display: grid; gap: 8px; margin-bottom: 8px; }
.rcrm-zform__mehr-zeile { display: grid; grid-template-columns: 150px 105px 105px 110px 32px; gap: 10px 14px; align-items: center; }
.rcrm-zform__mehr-zeile input { width: 100%; }
.rcrm-zform__weg { color: #b32d2e !important; font-size: 16px; text-decoration: none; }
@media (max-width: 700px) { .rcrm-zform__mehr-zeile { grid-template-columns: 1fr 1fr; } }
.rcrm-live { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: #10273a; color: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.25); font-size: 14px; }
.rcrm-regeln__liste { display: grid; gap: 10px; margin: 10px 0 4px; }
.rcrm-regel { display: grid; grid-template-columns: 32px minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr) auto; gap: 12px; align-items: end; padding: 12px 14px; border: 1px solid var(--rc-linie, #dbe4ec); border-radius: 12px; background: #f7fafc; }
.rcrm-regel label { display: grid; gap: 4px; margin: 0; min-width: 0; }
.rcrm-regel label > span { font-size: 12px; font-weight: 600; color: #5b6e7f; }
.rcrm-regel select, .rcrm-regel input { width: 100% !important; max-width: none !important; margin: 0 !important; box-sizing: border-box; }
.rcrm-regel [hidden] { display: none !important; }
.rcrm-regel__nr { align-self: center; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1e8fd5; color: #fff; font-weight: 700; font-size: 13px; }
.rcrm-regel__knoepfe { display: flex; gap: 6px; align-items: center; }
.rcrm-regel__knoepfe .button { min-width: 0; padding: 0 10px; }
.rcrm-regel__weg { color: #b32d2e !important; border-color: #e3b9b9 !important; }
.rcrm-regeln__leer { margin: 10px 0; padding: 12px 14px; border: 1px dashed var(--rc-linie, #dbe4ec); border-radius: 12px; color: #5b6e7f; }
@media (max-width: 1200px) { .rcrm-regel { grid-template-columns: 32px 1fr 1fr; } .rcrm-regel__knoepfe { grid-column: 2 / -1; } }
.rcrm-artikel__text { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.rcrm-artikel__e { min-width: 0; overflow: hidden; }
.rcrm-regel__wertbox { min-width: 0; }
.rcrm-regel__weg { color: #b32d2e !important; }

/* ---------- Einstellungen: Unterreiter und ruhigeres Layout ---------- */
.rcrm-unterreiter { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 18px; padding: 4px; background: #f1f5f9; border-radius: 12px; position: sticky; top: 40px; z-index: 5; }
.rcrm-unterreiter button { appearance: none; border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600; color: #4b5d6e; cursor: pointer; text-transform: none; letter-spacing: 0; }
.rcrm-unterreiter button:hover { color: #10273a; background: rgba(255,255,255,.6); }
.rcrm-unterreiter button.ist-aktiv { background: #fff; color: #0f5f94; box-shadow: 0 1px 3px rgba(16,39,58,.12); }
form.hat-unterreiter .form-table th { width: 220px; padding-top: 18px; }
form.hat-unterreiter .form-table td { padding-top: 14px; padding-bottom: 14px; }
form.hat-unterreiter .form-table tr { border-bottom: 1px solid #edf2f6; }
form.hat-unterreiter .form-table tr:last-child { border-bottom: 0; }
.rcrm-schalter { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.45; }
.rcrm-schalter input[type=checkbox] { margin-top: 3px; flex: none; }
.rcrm-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 0; padding: 12px 14px; border: 1px solid #dbe4ec; border-radius: 10px; background: #f8fafc; }
.rcrm-status > div:first-child { display: grid; gap: 2px; }
.rcrm-status > div:first-child span { font-size: 12.5px; color: #5b6e7f; }
.rcrm-status--ok { border-color: #b7e0c6; background: #f1faf4; }
.rcrm-status--ok strong::before { content: "● "; color: #1d9a54; }
.rcrm-status--warn { border-color: #f0d9a8; background: #fdf8ec; display: block; }
.rcrm-status__knoepfe { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rcrm-aufklapp { margin-top: 8px; }
.rcrm-aufklapp > summary { cursor: pointer; color: #0f5f94; font-weight: 600; font-size: 13px; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.rcrm-aufklapp > summary::-webkit-details-marker { display: none; }
.rcrm-aufklapp > summary::before { content: "›"; display: inline-block; transition: transform .15s; font-size: 16px; line-height: 1; }
.rcrm-aufklapp[open] > summary::before { transform: rotate(90deg); }
.rcrm-aufklapp[open] > summary { margin-bottom: 8px; }
.rcrm-zahlzeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rcrm-zahlzeile input.small-text { width: 76px; }
.rcrm-zahlzeile em { font-style: normal; color: #6b7c8c; }
.rcrm-info { margin: 0; padding: 10px 12px; background: #f1f7fc; border-radius: 8px; color: #3c4f60; font-size: 13.5px; }
.rcrm-liste { margin: 4px 0 0 18px; list-style: disc; font-size: 13px; color: #3c4f60; }
.rcrm-liste li { margin: 3px 0; }
.rcrm-chipliste { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; padding: 0; list-style: none; }
.rcrm-chipliste li { padding: 5px 10px; border: 1px solid #dbe4ec; border-radius: 8px; background: #fff; font-size: 13px; }
.rcrm-chipliste li span { color: #6b7c8c; margin-left: 4px; }
.rcrm-zahlzeile { flex-wrap: nowrap; } .rcrm-zahlzeile > span { flex: 1; min-width: 0; }
form.hat-unterreiter .rcrm-haken { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2px 18px; }

.rcrm-voll { padding-left: 0 !important; padding-right: 0 !important; }
.rcrm-voll__titel { display: block; font-size: 14px; color: #10273a; }
.rcrm-einst .rcrm-regel__weg, .rcrm-regel .button.rcrm-regel__weg { color: #b32d2e !important; border-color: #e8c4c4 !important; }

/* Ticket-Kopfleiste: kompakt */
.rcrm-ticket-leiste { gap: 8px 12px !important; padding: 12px 16px !important; align-items: flex-end; }
.rcrm-ticket-leiste label { gap: 3px; font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; color: #6b7c8c; }
.rcrm-ticket-leiste select { min-width: 0; width: auto; height: 34px; min-height: 34px; padding: 0 30px 0 10px; font-size: 13px; line-height: 32px; border-radius: 8px; }
.rcrm-ticket-leiste .rcrm-ticket-leiste__kunde select { min-width: 200px; }
.rcrm-ticket-leiste > .button, .rcrm-ticket-leiste__zeit .button, .rcrm-ticket-leiste__zeit a { height: 34px; min-height: 34px; line-height: 32px; padding: 0 14px; font-size: 13px; }
.rcrm-ticket-leiste__extras { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 2px; padding: 8px 12px; background: #f1f7fc; border-radius: 8px; font-size: 12.5px; color: #3c4f60; }
.rcrm-ticket-leiste__extras > span { font-weight: 600; }
.rcrm-ticket-leiste__extras label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: #3c4f60; }
.rcrm-ticket-leiste__extras[hidden] { display: none !important; }
.rcrm-ticket-leiste__extras .button { margin-left: auto; height: 32px; min-height: 32px; line-height: 30px; font-size: 13px; }
.rcrm-ticket-leiste > .button[hidden] { display: none !important; }
.rcrm-fmt { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; padding: 4px; border: 1px solid #c9d6e2; border-bottom: 0; border-radius: 8px 8px 0 0; background: #f6f9fb; }
.rcrm-fmt button { appearance: none; border: 0; background: transparent; min-width: 30px; height: 28px; padding: 0 8px; border-radius: 6px; font: inherit; font-size: 13px; color: #33475a; cursor: pointer; }
.rcrm-fmt button:hover { background: #e3edf5; }
.rcrm-fmt .rcrm-fmt__vorschau { margin-left: auto; font-weight: 600; color: #0f5f94; }
.rcrm-fmt .rcrm-fmt__vorschau.ist-aktiv { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
textarea.rcrm-fmt__feld { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
.rcrm-fmt__box { min-height: 120px; padding: 12px 14px; border: 1px solid #c9d6e2; border-radius: 0 0 8px 8px; background: #fff; font-size: 14px; line-height: 1.5; }
.rcrm-fmt__box p { margin: 0 0 10px; } .rcrm-fmt__box ul, .rcrm-fmt__box ol { margin: 0 0 10px 22px; } .rcrm-fmt__box ul { list-style: disc; } .rcrm-fmt__box ol { list-style: decimal; }
.rcrm-fmt__box img { max-width: 100%; height: auto; }
.rcrm-artikel__text ul { list-style: disc; margin: 0 0 10px 22px; } .rcrm-artikel__text ol { list-style: decimal; margin: 0 0 10px 22px; }
.rcrm-artikel__text img { max-width: 100%; height: auto; }
.rcrm-fmt__box[hidden], textarea.rcrm-fmt__feld[hidden] { display: none !important; }
.rcrm-artikel__text img, .rcrm-fmt__box img { max-height: 260px; width: auto; }
/* Ticketliste: Filter kompakt, sortierbare Spalten */
.rcrm-filter select, .rcrm-filter input[type=search], .rcrm-filter input[type=text] { height: 38px !important; min-height: 38px !important; font-size: 14px !important; padding-top: 0 !important; padding-bottom: 0 !important; border-radius: 9px !important; }
.rcrm-filter .button { height: 38px; min-height: 38px; line-height: 36px; }
.rcrm-sortier a { color: inherit; text-decoration: none; white-space: nowrap; }
.rcrm-sortier a span { font-size: 10px; opacity: .45; margin-left: 2px; }
.rcrm-sortier.ist-aktiv a { color: #0f5f94; } .rcrm-sortier.ist-aktiv a span { opacity: 1; }
.rcrm-tliste__eingang { white-space: nowrap; }
.rcrm-betreffzeilen { display: grid; gap: 8px; }
.rcrm-betreffzeile { display: grid; grid-template-columns: 220px 1fr; gap: 12px; align-items: center; }
.rcrm-betreffzeile span { font-size: 13px; font-weight: 600; color: #3c4f60; }
.rcrm-betreffzeile input { width: 100%; }
@media (max-width: 900px) { .rcrm-betreffzeile { grid-template-columns: 1fr; gap: 4px; } }
.rcrm-betreffzeile { grid-template-columns: 200px minmax(0, 1fr); } .rcrm-betreffzeile input { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
.rcrm-fmt .rcrm-fmt__groesse { height: 28px; min-height: 28px; padding: 0 24px 0 8px; font-size: 12.5px; border: 0; background-color: transparent; border-radius: 6px; width: auto; }

/* ---------- Ticketliste auf dem Handy: kompakte Karten ---------- */
@media (max-width: 782px) {
	.rcrm-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.rcrm-filter .rcrm-chips { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; margin: 0 -4px; padding: 0 4px 4px; scrollbar-width: none; }
	.rcrm-filter .rcrm-chips::-webkit-scrollbar { display: none; }
	.rcrm-filter .rcrm-chip { white-space: nowrap; flex: none; }
	.rcrm-filter select, .rcrm-filter input[type=search] { width: 100% !important; min-width: 0 !important; }
	.rcrm-filter > label { align-self: center; font-size: 14px; }
	.rcrm-filter > .button { justify-self: end; }
	.rcrm-app table.rcrm-tliste > tbody > tr { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ticket ticket" "kunde eingang" "akt status" "wer zeit"; gap: 4px 12px; padding: 12px 14px !important; }
	.rcrm-app table.rcrm-tliste > tbody > tr > td { display: block !important; padding: 0 !important; }
	.rcrm-app table.rcrm-tliste > tbody > tr > td::before { display: none !important; }
	.rcrm-app table.rcrm-tliste > tbody > tr > .check-column { display: none !important; }
	.rcrm-tl__ticket { grid-area: ticket; font-size: 15px !important; padding-bottom: 2px !important; }
	.rcrm-tl__ticket .row-title { font-size: 15.5px; line-height: 1.3; }
	.rcrm-tl__kunde { grid-area: kunde; font-size: 13.5px; }
	.rcrm-tl__kunde br, .rcrm-tliste__eingang br, .rcrm-tl__akt br { display: none; }
	.rcrm-tl__kunde .description::before { content: " · "; }
	.rcrm-app table.rcrm-tliste .rcrm-tliste__eingang { grid-area: eingang; text-align: right; font-size: 12.5px; }
	.rcrm-tliste__eingang strong { font-weight: 600; } .rcrm-tliste__eingang .description::before { content: " "; }
	.rcrm-tl__akt { grid-area: akt; font-size: 12.5px; color: #5b6e7f; }
	.rcrm-tl__akt .description::before { content: " · "; }
	.rcrm-tl__status { grid-area: status; text-align: right; }
	.rcrm-tl__status br { display: none; }
	.rcrm-tl__wer { grid-area: wer; font-size: 12.5px; color: #5b6e7f; }
	.rcrm-tl__wer::after { content: " zuständig"; }
	.rcrm-tl__zeit { grid-area: zeit; font-size: 12.5px; color: #5b6e7f; text-align: right !important; }
	.rcrm-app table.rcrm-tliste > tbody > tr > td.ist-leer { display: none !important; }
	.rcrm-tliste tr.ist-neu { box-shadow: inset 3px 0 0 #1e8fd5; }
	.rcrm-tk-massen { display: none; }
}
@media (max-width: 782px) {
	.rcrm-app table.rcrm-tliste td.rcrm-tl__kunde { font-size: 13.5px !important; }
	.rcrm-app table.rcrm-tliste td.rcrm-tl__akt, .rcrm-app table.rcrm-tliste td.rcrm-tl__wer, .rcrm-app table.rcrm-tliste td.rcrm-tl__zeit, .rcrm-app table.rcrm-tliste td.rcrm-tliste__eingang { font-size: 12.5px !important; color: #5b6e7f; }
	.rcrm-app table.rcrm-tliste td .description { font-size: inherit; }
	.rcrm-tl__wer::after { content: none; } .rcrm-tl__wer::before { content: "Zuständig: " !important; display: inline !important; font-weight: 600; }
	.rcrm-tl__zeit::before { content: "Zeit: " !important; display: inline !important; }
	/* Ticket öffnen: Kopfleiste zweispaltig */
	.rcrm-ticket-leiste { display: grid !important; grid-template-columns: 1fr 1fr; }
	.rcrm-ticket-leiste select, .rcrm-ticket-leiste .rcrm-ticket-leiste__kunde select { width: 100% !important; min-width: 0 !important; }
	.rcrm-ticket-leiste__zeit { grid-column: 1 / -1; margin: 0 !important; }
	.rcrm-ticket-leiste__zeit .button, .rcrm-ticket-leiste__zeit a { width: 100%; text-align: center; justify-content: center; }
	.rcrm-ticket-leiste__extras { grid-column: 1 / -1; }
}
.rcrm-tl__lbl { display: none; }
@media (max-width: 782px) { .rcrm-tl__lbl { display: inline; font-weight: 600; } .rcrm-tl__wer::before, .rcrm-tl__zeit::before { content: none !important; } }
.rcrm-plan { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.rcrm-plan label { display: inline-flex; align-items: center; gap: 6px; }
.rcrm-plan label[hidden] { display: none !important; }
.rcrm-plan input[type=time] { width: 110px; }
.rcrm-sich__liste td.rcrm-sich__aktionen { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.rcrm-sich__liste td.rcrm-sich__aktionen form { margin: 0; }
.rcrm-sich__liste th:nth-child(3), .rcrm-sich__liste td:nth-child(3) { width: 34%; }
.rcrm-sich__liste td { vertical-align: middle; }
.rcrm-wv__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.rcrm-wv__chips .rcrm-chip { font-size: 12px; padding: 3px 9px; cursor: pointer; }
/* Schnellwahl: gleich große Kacheln mit Zeit darunter (0.60.3). */
.rcrm-wv__wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0 10px; }
.rcrm-wv__k { display: grid; gap: 1px; padding: 8px 10px; border: 1px solid var(--rc-linie); border-radius: 8px; background: #fff; text-align: left; cursor: pointer; font: inherit; transition: border-color .12s, background-color .12s, box-shadow .12s; min-width: 0; }
.rcrm-wv__k strong { font-size: 12.5px; font-weight: 600; color: var(--rc-navy); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-wv__k span { font-size: 11.5px; color: var(--rc-leise); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-wv__k:hover { border-color: #b9cfdf; background: #f7fafc; }
.rcrm-wv__k:focus-visible { outline: 2px solid var(--rc-blau); outline-offset: 1px; }
.rcrm-wv__k.ist-aktiv { border-color: var(--rc-navy); background: var(--rc-navy); box-shadow: 0 2px 6px rgba(16, 39, 58, .18); }
.rcrm-wv__k.ist-aktiv strong { color: #fff; }
.rcrm-wv__k.ist-aktiv span { color: rgba(255, 255, 255, .72); }
.rcrm-wv__k--eigen { border-style: dashed; }
.rcrm-wv__k--eigen.ist-aktiv { border-style: solid; }
@media (max-width: 420px) { .rcrm-wv__wahl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rcrm-wv__form { display: grid; gap: 8px; }
.rcrm-wv__form[hidden] { display: none !important; }
.rcrm-wv__form label { display: grid; gap: 3px; font-size: 12px; font-weight: 600; color: #5b6e7f; }
.rcrm-wv__form input, .rcrm-wv__form select { width: 100%; }
.rcrm-wv__aktiv { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: #f1f7fc; margin-bottom: 8px; }
.rcrm-wv__aktiv span { font-size: 12.5px; color: #5b6e7f; }
.rcrm-wv__aktiv p { margin: 4px 0 0; }
.rcrm-wv__aktiv.ist-faellig { background: #fdf0ef; }
.rcrm-wv__knoepfe { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.rcrm-wv__knoepfe form { margin: 0; }

/* ---------- Auswertung je Kunde ---------- */
.rcrm-aw__kopf { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.rcrm-aw__zeitraum { color: #5b6e7f; font-size: 13px; margin: 8px 0 14px; }
.rcrm-aw__kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rcrm-aw__kachel { padding: 14px 16px; border: 1px solid #dbe4ec; border-radius: 12px; background: #fff; display: grid; gap: 4px; }
.rcrm-aw__kachel strong { font-size: 22px; color: #10273a; line-height: 1.2; }
.rcrm-aw__kachel span { font-size: 12.5px; color: #5b6e7f; }
.rcrm-aw__budget { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; padding: 12px 14px; background: #f6f9fb; border-radius: 12px; }
.rcrm-aw__budget > div { display: grid; gap: 4px; } .rcrm-aw__budget span { font-weight: 600; font-size: 13px; } .rcrm-aw__budget small { color: #5b6e7f; }
.rcrm-aw__karte { border: 1px solid #dbe4ec; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #fff; min-width: 0; }
.rcrm-aw__karte h3 { margin: 0 0 10px; font-size: 14px; }
.rcrm-aw__balken { display: flex; align-items: flex-end; gap: 6px; height: 190px; overflow-x: auto; padding-bottom: 2px; }
.rcrm-aw__spalte { flex: 1 0 34px; display: grid; grid-template-rows: auto 1fr auto auto; height: 100%; text-align: center; }
.rcrm-aw__spalte em { font-style: normal; font-size: 10.5px; color: #5b6e7f; min-height: 14px; }
.rcrm-aw__saeule { display: flex; flex-direction: column-reverse; justify-content: flex-start; background: #f1f5f9; border-radius: 6px 6px 0 0; overflow: hidden; }
.rcrm-aw__saeule i { display: block; background: #1e8fd5; } .rcrm-aw__saeule i.ist-frei { background: #b9d9ef; }
.rcrm-aw__spalte span { font-size: 11px; color: #3c4f60; margin-top: 4px; white-space: nowrap; } .rcrm-aw__spalte small { font-size: 10.5px; color: #8a9aa8; min-height: 13px; }
.rcrm-aw__legende { font-size: 12px; color: #5b6e7f; margin: 8px 0 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rcrm-aw__legende span { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: #1e8fd5; } .rcrm-aw__legende span.ist-frei { background: #b9d9ef; }
.rcrm-aw__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 14px; }
.rcrm-aw__liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.rcrm-aw__liste li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; font-size: 13px; border-radius: 6px; overflow: hidden; }
.rcrm-aw__liste li span, .rcrm-aw__liste li b { position: relative; z-index: 1; } .rcrm-aw__liste li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcrm-aw__liste li i { position: absolute; left: 0; top: 0; bottom: 0; background: #e7f2fb; z-index: 0; }
.rcrm-aw__raster { align-items: start; }

/* Art einer Zeit (Remote, Vor Ort …) */
.rcrm-zform__lbl { display: block; font-size: 12.5px; font-weight: 600; color: #50575e; margin: 0 0 5px; }
.rcrm-artwahl { display: flex; flex-wrap: wrap; gap: 6px; }
.rcrm-artwahl label { position: relative; cursor: pointer; margin: 0 !important; }
.rcrm-artwahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rcrm-artwahl span { display: inline-flex !important; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--art) 35%, #fff); color: color-mix(in srgb, var(--art) 80%, #000) !important; font-size: 13px !important; font-weight: 600 !important; background: #fff; white-space: nowrap; margin: 0 !important; }
.rcrm-artwahl label:hover span { background: color-mix(in srgb, var(--art) 9%, #fff); }
.rcrm-artwahl input:checked + span { background: var(--art); border-color: var(--art); color: #fff !important; }
.rcrm-artwahl input:focus-visible + span { outline: 2px solid var(--art); outline-offset: 2px; }
.rcrm-art { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--art) 13%, #fff); color: color-mix(in srgb, var(--art) 78%, #000); white-space: nowrap; }
.rcrm-zform__grid .rcrm-artwahl label { display: block; }

/* „Leistung für“ (Mitarbeiter / Infrastruktur) */
.rcrm-fuer__lbl { display: block; font-size: 12px; font-weight: 600; color: var(--rc-leise, #50575e); margin: 0 0 4px; }
.rcrm-fuer__zeile { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rcrm-fuer__zeile input[name="person"] { flex: 1; min-width: 160px; }
.rcrm-fuer__wahl { display: inline-flex; background: #eef2f6; border-radius: 8px; padding: 3px; }
.rcrm-zform__grid .rcrm-fuer__wahl label, .rcrm-fuer__wahl label { display: block !important; position: relative; cursor: pointer; margin: 0 !important; }
.rcrm-fuer__wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rcrm-fuer__wahl span { display: inline-block !important; padding: 4px 10px; border-radius: 6px; font-size: 12.5px !important; font-weight: 600 !important; color: #5d6d7d !important; white-space: nowrap; margin: 0 !important; }
.rcrm-fuer__wahl input:checked + span { background: #fff; color: #10273a !important; box-shadow: 0 1px 3px rgba(16, 39, 58, .16); }

/* Erweiterungen */
.rcrm-erw__leer { padding: 18px; border: 1.5px dashed #cfd8e1; border-radius: 12px; color: #50575e; margin: 14px 0; text-align: center; }
.rcrm-erw__mod { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #dfe5eb; border-radius: 14px; margin: 12px 0; background: #fff; }
.rcrm-erw__mod.ist-an { border-color: #a8dcbd; background: linear-gradient(120deg, #f3fbf6, #fff 55%); }
.rcrm-erw__icon { width: 48px; height: 48px; border-radius: 12px; background: #eef2f6; display: grid; place-items: center; font-size: 24px; }
.rcrm-erw__mod.ist-an .rcrm-erw__icon { background: #dff3e7; }
.rcrm-erw__info strong { font-size: 15px; }
.rcrm-erw__info p { margin: 4px 0 0; color: #50575e; }
.rcrm-erw__ver { font-size: 12px; color: #8a96a3; margin-left: 4px; }
.rcrm-erw__status { display: block; font-size: 12px; font-weight: 600; color: #8a96a3; margin-top: 2px; }
.rcrm-erw__mod.ist-an .rcrm-erw__status { color: #146c3c; }
.rcrm-erw__aktionen { display: grid; justify-items: end; gap: 6px; }
.rcrm-erw__aktionen form { margin: 0; }
.rcrm-erw__schalter { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 4px; font: inherit; font-weight: 600; color: #50575e; }
.rcrm-erw__schalter i { width: 44px; height: 24px; border-radius: 99px; background: #c7d0d9; position: relative; transition: background .15s; }
.rcrm-erw__schalter i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s; }
.rcrm-erw__schalter.ist-an i { background: #1d9a54; }
.rcrm-erw__schalter.ist-an i::after { left: 23px; }
.rcrm-erw__schalter.ist-an { color: #146c3c; }
.rcrm-erw__hoch { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e6ebf1; }
.rcrm-erw__hoch h3 { margin: 0 0 4px; }
.rcrm-erw__technik { margin-top: 16px; font-size: 13px; }
.rcrm-erw__technik summary { cursor: pointer; color: #50575e; }
.rcrm-erw__technik code { font-size: 12px; }

/* Hinweis: Zeit überschneidet sich */
.rcrm-ueber { display: grid; gap: 2px; margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: #fff6e0; border: 1px solid #f0d48a; color: #6d5210; font-size: 13px; grid-column: 1 / -1; }
.rcrm-ueber strong { font-weight: 600; }
.rcrm-ueber span { font-variant-numeric: tabular-nums; }
.rcrm-ueber small { font-size: 12px; color: #8a6d24; }
.rcrm-ueber[hidden] { display: none !important; }

/* Pflichtangaben */
.rcrm-pflicht { margin: -4px 0 10px; padding: 7px 11px; border-radius: 9px; background: #fdecea; border: 1px solid #f3b9b2; color: #8f2a1a; font-size: 13px; font-weight: 500; grid-column: 1 / -1; }
select.ist-fehler, input.ist-fehler { border-color: #d64545 !important; box-shadow: 0 0 0 3px rgba(214, 69, 69, .15) !important; }

/* Auswertung: Monat / Quartal / Jahr wählen */
.rcrm-aw__wahlen { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 4px; }
.rcrm-aw__wahl { min-height: 34px; padding: 4px 28px 4px 12px; border: 1px solid #d5dee7; border-radius: 999px; background-color: #fff; font: inherit; font-size: 13.5px; color: #1d2b39; cursor: pointer; max-width: 190px; }
.rcrm-aw__wahl.ist-aktiv { background-color: #10273a; color: #fff; border-color: #10273a; }

/* Zeitlisten und Berichte: kompaktere Schrift */
.rcrm-zliste td, .rcrm-zliste th { font-size: 12.5px !important; line-height: 1.45; padding-top: 7px !important; padding-bottom: 7px !important; }
.rcrm-zliste td.rcrm-zliste__text { font-size: 12.5px; }
.rcrm-bericht-form ~ .rcrm-karte .rcrm-zliste td:first-child { min-width: 0; white-space: nowrap; }
.rcrm-zliste td strong { font-size: 12.5px; }
.rcrm-zliste .rcrm-art { font-size: 11px; }
.rcrm-bericht-gruppen td, .rcrm-zkunden td { font-size: 12.5px; }

/* Bericht: Seite 1 ergänzen */
.rcrm-bericht-s1 { grid-column: 1 / -1; border: 1px solid #e3e9ef; border-radius: 10px; padding: 8px 12px; background: #f8fafc; }
.rcrm-bericht-s1 summary { cursor: pointer; font-weight: 600; color: #10273a; font-size: 13px; }
.rcrm-bericht-s1__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px 14px; margin-top: 10px; }
.rcrm-bericht-s1__grid label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--rc-leise, #50575e); }
.rcrm-bericht-s1__grid textarea { width: 100%; font-size: 13px; }
@media (max-width: 1100px) { .rcrm-bericht-s1__grid { grid-template-columns: 1fr; } }

/* Sammelaktion: als abgerechnet markieren */
.rcrm-zab-leiste { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 10px; padding: 8px 12px; border: 1px dashed #cfd8e1; border-radius: 10px; font-size: 12.5px; color: #50575e; }
.rcrm-zab-leiste.ist-aktiv { border-style: solid; border-color: #1e8fd5; background: #f0f7fd; color: #10273a; }
.rcrm-zab-leiste__alle { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.rcrm-zab-leiste__aktion { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.rcrm-zab-leiste__aktion[hidden] { display: none; }
.rcrm-zab-wahl { margin: 0 4px 0 0 !important; vertical-align: -2px; }
/* Haken links, Kundenname und Projekt bündig untereinander (auch bei Umbruch). */
.rcrm-zab-kunde { display: flex; align-items: flex-start; gap: 8px; }
.rcrm-zab-kunde > .rcrm-zab-wahl { flex: none; margin: 4px 0 0 !important; }
.rcrm-zab-kunde > span { min-width: 0; }

/* Abrechnung: volle Breite, kompakte Schrift */
.rcrm-spalten.rcrm-zab-seite { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.rcrm-zab-seite .rcrm-seite { width: auto; max-width: none; position: static; }
.rcrm-zab-seite .rcrm-tabelle td, .rcrm-zab-seite .rcrm-tabelle th { font-size: 12.5px !important; line-height: 1.45; padding-top: 7px !important; padding-bottom: 7px !important; }
.rcrm-zab-seite .rcrm-tabelle td:nth-child(2) { white-space: nowrap; }
.rcrm-zab-seite .rcrm-zab { columns: 3 260px; }
.rcrm-zab-seite .rcrm-zab li { break-inside: avoid; }
.rcrm-zab-empf { margin: 6px 0 4px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #e3e9ef; } .rcrm-zab-empf[hidden] { display: none; }

/* Auswertung: Zeitraum-Leiste (0.35.6) */
.rcrm-aw__kopf { display: block; margin: 4px 0 0; }
.rcrm-aw__leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 5px; background: #eef3f7; border: 1px solid #e1e8ef; border-radius: 14px; }
.rcrm-aw__seg { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; min-width: 0; }
.rcrm-aw__segk { padding: 7px 12px; border-radius: 10px; color: #3c4f60; text-decoration: none !important; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s; }
.rcrm-aw__segk:hover { background: #fff; color: #10273a; }
.rcrm-aw__segk.ist-aktiv { background: #10273a; color: #fff; box-shadow: 0 1px 3px rgba(16,39,58,.25); }
.rcrm-aw__wahlen { display: block; margin: 0 0 0 auto; flex: 0 0 auto; }
.rcrm-aw select.rcrm-aw__wahl { appearance: none; -webkit-appearance: none; min-height: 34px; height: 34px; margin: 0; padding: 0 32px 0 12px; border: 1px solid #d5dee7; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b6e7f' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center; font: inherit; font-size: 13px; line-height: 32px; color: #1d2b39; cursor: pointer; width: auto; max-width: 220px; box-shadow: none; }
.rcrm-aw select.rcrm-aw__wahl.ist-aktiv { background-color: #10273a; color: #fff; border-color: #10273a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.rcrm-aw__zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 14px 0 12px; }
.rcrm-aw__zeile .rcrm-aw__zeitraum { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #5b6e7f; }
.rcrm-aw__zeitraum strong { font-size: 17px; color: #10273a; font-weight: 600; }
.rcrm-aw__pdf { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid #d5dee7; border-radius: 10px; background: #fff; color: #10273a !important; font-size: 13px; font-weight: 600; text-decoration: none !important; line-height: 1.2; }
.rcrm-aw__pdf:hover { border-color: #10273a; }
.rcrm-aw__kachel { padding: 12px 14px; }
.rcrm-aw__kachel strong { font-size: 20px; }
.rcrm-aw__kachel span { font-size: 12px; line-height: 1.4; }
@media (max-width: 760px) {
	.rcrm-aw__seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex-basis: 100%; }
	.rcrm-aw__seg::-webkit-scrollbar { display: none; }
	.rcrm-aw__wahlen, .rcrm-aw select.rcrm-aw__wahl { width: 100%; max-width: none; margin: 0; }
	.rcrm-aw__wahlen { flex-basis: 100%; }
}
.rcrm-aw select.rcrm-aw__wahl option, .rcrm-aw select.rcrm-aw__wahl optgroup, select.rcrm-aw__wahl option, select.rcrm-aw__wahl optgroup { background: #fff; color: #1d2b39; } select.rcrm-aw__wahl optgroup { font-weight: 600; color: #5b6e7f; }
.rcrm-aw a.rcrm-aw__segk { color: #3c4f60; } .rcrm-aw a.rcrm-aw__segk.ist-aktiv { color: #fff; } .rcrm-re__neu { width: auto; justify-self: start; }

/* Kontingent-Karte (0.35.7) */
.rcrm-kk { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: center; padding: 14px 16px; margin: 0 0 14px; border: 1px solid #dbe4ec; border-radius: 14px; background: linear-gradient(180deg, #fbfcfe, #f4f8fb); }
.rcrm-kk__ring { --p: 0; --f: #1a5d85; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--f) calc(var(--p) * 1%), #e3eaf1 0); position: relative; }
.rcrm-kk__ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.rcrm-kk__ring b { position: relative; z-index: 1; font-size: 14px; color: #10273a; }
.rcrm-kk__haupt { min-width: 0; }
.rcrm-kk__kopf { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: #10273a; }
.rcrm-kk__kopf span { color: #5b6e7f; font-size: 13px; }
.rcrm-kk__balken { position: relative; height: 10px; margin: 14px 0 8px; border-radius: 99px; background: #e5edf3; }
.rcrm-kk__balken i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 99px; background: linear-gradient(90deg, #1a5d85, #2f6fd6); }
.rcrm-kk.ist-warn .rcrm-kk__balken i { background: #d48612; }
.rcrm-kk__balken i.ist-ueber { border-radius: 0 99px 99px 0; background: repeating-linear-gradient(45deg, #d48612 0 4px, #e8a64a 4px 8px); }
.rcrm-kk.ist-ueber .rcrm-kk__balken i:not(.ist-ueber) { border-radius: 99px 0 0 99px; background: #1a5d85; }
.rcrm-kk__balken u { position: absolute; top: 0; bottom: 0; border-radius: 0 99px 99px 0; background: repeating-linear-gradient(90deg, rgba(26,93,133,.3) 0 3px, transparent 3px 6px); text-decoration: none; }
.rcrm-kk__balken u.ist-warn { background: repeating-linear-gradient(90deg, rgba(212,134,18,.5) 0 3px, transparent 3px 6px); }
.rcrm-kk__balken s { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #10273a; text-decoration: none; }
.rcrm-kk__balken em { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: #10273a; font-style: normal; }
.rcrm-kk__balken em span { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #5b6e7f; white-space: nowrap; }
.rcrm-kk__zahlen { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #5b6e7f; }
.rcrm-kk__zahlen b { color: #10273a; } .rcrm-kk__zahlen .ist-frei b { color: #16955a; } .rcrm-kk__zahlen .ist-ueber b { color: #d48612; }
.rcrm-kk__hinweis { margin: 9px 0 0; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.45; }
.rcrm-kk__hinweis.ist-blau { background: #eef4fa; color: #1a5d85; } .rcrm-kk__hinweis.ist-gruen { background: #e9f7ef; color: #11663f; } .rcrm-kk__hinweis.ist-orange { background: #fdf3e4; color: #8a5208; }
.rcrm-aw__saeule { position: relative; overflow: visible; }
.rcrm-aw__bl { position: absolute; left: -3px; right: -3px; height: 0; border-top: 1.5px dashed #d48612; z-index: 2; }
.rcrm-aw__legende span.ist-bl { width: 14px; height: 0; border-radius: 0; background: none; border-top: 2px dashed #d48612; }
@media (max-width: 560px) { .rcrm-kk { grid-template-columns: 1fr; } .rcrm-kk__ring { width: 60px; height: 60px; } }
.rcrm-kk__balken { margin-top: 24px; } .rcrm-kk__balken em span { top: -17px; } .rcrm-kk__kopf strong { font-weight: 700; }
/* Aktive Auswahl hell statt dunkel (Theme überschreibt sonst die Schriftfarbe) */
.rcrm-aw select.rcrm-aw__wahl.ist-aktiv, select.rcrm-aw__wahl.ist-aktiv { background-color: #fff !important; color: #10273a !important; -webkit-text-fill-color: #10273a; border: 2px solid #10273a !important; font-weight: 600; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2310273a' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 11px center !important; }
.rcrm-aw select.rcrm-aw__wahl, select.rcrm-aw__wahl { color: #1d2b39 !important; -webkit-text-fill-color: #1d2b39; background-color: #fff !important; }
/* Dialog (z. B. Rechnung ablegen) */
.rcrm-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 60px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(13, 34, 51, .35); }
.rcrm-dialog::backdrop { background: rgba(13, 34, 51, .45); backdrop-filter: blur(2px); }
.rcrm-dialog__kopf { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: linear-gradient(110deg, #0d2233, #1a5d85); color: #fff; position: sticky; top: 0; z-index: 1; }
.rcrm-dialog__kopf h2 { margin: 0; color: #fff; font-size: 18px; }
.rcrm-dialog__x { background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; font-size: 20px; line-height: 1; cursor: pointer; }
.rcrm-dialog__x:hover { background: rgba(255, 255, 255, .22); }
.rcrm-dialog form { padding: 8px 24px 22px; }
.rcrm-dialog .form-table th { width: 150px; }
/* Einzeilige Felder und Auswahllisten immer gleich hoch (0.36.3) */
.rcrm-app input[type=text], .rcrm-app input[type=password], .rcrm-app input[type=email], .rcrm-app input[type=number], .rcrm-app input[type=date], .rcrm-app input[type=time], .rcrm-app input[type=search], .rcrm-app input[type=tel], .rcrm-app input[type=url], .rcrm-app input:not([type]), .rcrm-app select:not([multiple]):not([size]) {
	box-sizing: border-box !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px;
	line-height: 1.4 !important;
	vertical-align: middle;
	font-size: 14px !important;
}
.rcrm-app select:not([multiple]):not([size]) { padding-top: 0 !important; padding-bottom: 0 !important; line-height: 38px !important; }
.rcrm-app .rcrm-aw__wahl, .rcrm-app .rcrm-aw select.rcrm-aw__wahl { height: 34px !important; min-height: 34px !important; line-height: 32px !important; }
.rcrm-badge--ok { background: #e7f6ee !important; color: #11663f !important; }
.rcrm-badge--warn { background: #fdf3e4 !important; color: #9a5d08 !important; }
.rcrm-avv .rcrm-reihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 0; }
.rcrm-app [data-rcrm-nur-firma][hidden], .rcrm-app [data-rcrm-nur-privat][hidden] { display: none !important; }
.rcrm-laufzeit[hidden] { display: none !important; } .rcrm-laufzeit-wahl { margin: 0 0 10px; }

/* Auswertung farbiger (0.37) */
.rcrm-aw__karte--liste h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rcrm-aw__karte--liste h3 small { font-size: 12px; font-weight: 600; color: #6b7c8c; }
.rcrm-aw__stapel { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: #edf2f6; margin: 0 0 14px; gap: 2px; }
.rcrm-aw__stapel i { display: block; height: 100%; }
.rcrm-aw .rcrm-aw__liste { gap: 10px; }
.rcrm-aw .rcrm-aw__liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 0; border-radius: 0; overflow: visible; background: none; }
.rcrm-aw .rcrm-aw__liste li span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #10273a; }
.rcrm-aw .rcrm-aw__liste li span em { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--f); }
.rcrm-aw .rcrm-aw__liste li b { font-size: 13px; color: #10273a; white-space: nowrap; }
.rcrm-aw .rcrm-aw__liste li b small { margin-left: 8px; font-weight: 500; color: #8a9aa8; font-size: 11.5px; display: inline-block; min-width: 34px; text-align: right; }
.rcrm-aw .rcrm-aw__liste li i { position: static; grid-column: 1 / -1; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--f), color-mix(in srgb, var(--f) 55%, #fff)); z-index: auto; }
.rcrm-aw__balken { justify-content: center; }
.rcrm-aw__spalte { max-width: 84px; }
.rcrm-aw__saeule i { background: linear-gradient(180deg, #2f6fd6, #1a5d85); border-radius: 6px 6px 0 0; }
.rcrm-aw__saeule i.ist-frei { background: #b9d9ef; border-radius: 0; }
.rcrm-aw__legende span.ist-abr { background: #1a5d85; }
.rcrm-aw__kacheln .rcrm-aw__kachel { position: relative; overflow: hidden; border-color: #e3e9ef; }
.rcrm-aw__kacheln .rcrm-aw__kachel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--k, #2f6fd6); }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(1) { background: linear-gradient(135deg, #0d2233, #1a5d85); border: 0; }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(1)::before { display: none; }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(1) strong { color: #fff; }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(1) span { color: #a9c3d6; }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(2) { --k: #2f6fd6; }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(3) { --k: #16955a; }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(4) { --k: #8b46c9; }
.rcrm-aw__kacheln .rcrm-aw__kachel:nth-child(5) { --k: #d48612; }

/* Abrechnung: Art · Für ordentlich untereinander */
.rcrm-zab-seite .rcrm-zab__proj { white-space: nowrap; }
.rcrm-zab-seite td.rcrm-zab__art { white-space: nowrap; }
.rcrm-zab__art .rcrm-art { display: inline-flex; }
.rcrm-zab__fuer { display: block; margin-top: 4px; font-size: 12px; color: #5b6e7f; padding-left: 2px; }
.rcrm-zab__fuer::before { content: '↳ '; color: #a7b5c2; }
.rcrm-rechte { margin: 10px 0 6px; border: 1px solid #e3e9ef; border-radius: 10px; padding: 8px 12px; background: #fbfcfe; }
.rcrm-rechte summary { cursor: pointer; font-weight: 600; font-size: 13px; color: #10273a; }
.rcrm-rechte__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 14px; margin: 10px 0 6px; }
.rcrm-rechte__grid label { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid #e3e9ef; border-radius: 8px; background: #fff; cursor: pointer; }
.rcrm-rechte__grid label b { display: block; font-size: 13px; color: #10273a; }
.rcrm-rechte__grid label small { display: block; font-size: 11.5px; color: #6b7c8c; line-height: 1.35; }
.rcrm-rechte__grid input { margin-top: 2px; }
.rcrm-aw__kacheln .rcrm-aw__kachel.ist-warn { --k: #d48612; background: #fdf6ec; border-color: #f1d9b5; } .rcrm-aw__kacheln .rcrm-aw__kachel.ist-warn strong { color: #a85f07; }

.rcrm-aw a.rcrm-aw__spalte { text-decoration: none; color: inherit; border-radius: 8px; padding: 4px 2px 2px; transition: background .15s, opacity .15s; }
.rcrm-aw a.rcrm-aw__spalte:hover { background: #f2f6fa; opacity: 1; }
.rcrm-aw__balken.ist-teil .rcrm-aw__spalte.ist-aus { opacity: .38; }
.rcrm-aw__balken.ist-teil .rcrm-aw__spalte.ist-an { background: #eaf2fb; }
.rcrm-aw__balken.ist-teil .rcrm-aw__spalte.ist-an span { font-weight: 700; color: #0d2233; }
.rcrm-aw__balken .rcrm-aw__spalte { max-width: none; }
.rcrm-aw__balken { justify-content: stretch; }
.rcrm-aw__legende span.ist-hl { width: 14px; height: 11px; border-radius: 3px; background: #eaf2fb; border: 1px solid #c9dcef; }

/* Einstellungen durchsuchen */
.rcrm-esuche { position: relative; margin: 0 0 6px; }
.rcrm-app .rcrm-esuche input[type=search] { width: 100%; padding-left: 34px !important; background: #f6f9fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='%236b7c8c' stroke-width='2'/%3E%3Cpath d='M20 20l-4-4' stroke='%236b7c8c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 11px center !important; }
.rcrm-esuche__treffer { position: absolute; z-index: 50; left: 0; top: calc(100% + 6px); width: min(460px, 80vw); max-height: 60vh; overflow: auto; background: #fff; border: 1px solid #dbe4ec; border-radius: 12px; box-shadow: 0 14px 40px rgba(13, 34, 51, .18); padding: 6px; }
.rcrm-esuche__treffer a { display: block; padding: 9px 11px; border-radius: 8px; text-decoration: none; color: #10273a; }
.rcrm-esuche__treffer a:hover, .rcrm-esuche__treffer a:focus { background: #eef4fa; }
.rcrm-esuche__treffer b { display: block; font-size: 13.5px; }
.rcrm-esuche__treffer small { display: block; font-size: 12px; color: #6b7c8c; line-height: 1.4; }
.rcrm-esuche__treffer mark { background: #fff1c2; color: inherit; padding: 0 1px; border-radius: 2px; }
.rcrm-esuche__leer { margin: 8px 10px; color: #6b7c8c; font-size: 13px; }
.rcrm-esuche-ziel, .rcrm-esuche-ziel > th, .rcrm-esuche-ziel > td { background: #fff8e0 !important; transition: background 2s; }
.rcrm-einst__nav { z-index: 30; } .rcrm-esuche__treffer { z-index: 1000; }

/* ---------- Übersicht: Heute zu tun ---------- */
.rcrm-heute { margin: 0 0 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--rc-linie); border-radius: var(--rc-radius); }
.rcrm-heute__kopf { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.rcrm-heute__kopf h2 { margin: 0; font-size: 17px; color: var(--rc-navy); }
.rcrm-heute__kopf span { color: var(--rc-leise); font-size: 13px; }
.rcrm-heute__leer { margin: 0; color: #1d7a45; font-weight: 600; }
.rcrm-heute__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.rcrm-heute__p { --f: #6a7a8b; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 12px; border: 1px solid #e3e9ef; border-left: 4px solid var(--f); background: #fbfcfd; text-decoration: none; color: var(--rc-text); transition: background .15s, transform .15s; }
.rcrm-heute__p:hover { background: #f2f6f9; transform: translateY(-1px); color: var(--rc-text); }
.rcrm-heute__p strong { min-width: 34px; font-size: 20px; line-height: 1.1; color: var(--f); font-variant-numeric: tabular-nums; text-align: center; }
.rcrm-heute__p b { display: block; font-size: 13.5px; }
.rcrm-heute__p small { display: block; color: var(--rc-leise); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-heute__p i { font-style: normal; color: var(--rc-leise); font-size: 18px; }
.rcrm-heute__p.ist-achtung { background: #fff; }
.rcrm-heute__p.ist-uhr { --f: #1d9a54; }
.rcrm-heute__p.ist-ticket, .rcrm-heute__p.ist-antwort, .rcrm-heute__p.ist-nachricht { --f: #1e8fd5; }
.rcrm-heute__p.ist-anfrage, .rcrm-heute__p.ist-beanstandet, .rcrm-heute__p.ist-vertrag { --f: #7c3aed; }
.rcrm-heute__p.ist-ohne, .rcrm-heute__p.ist-luecke, .rcrm-heute__p.ist-frist, .rcrm-heute__p.ist-ablauf { --f: #d48612; }
.rcrm-heute__p.ist-rechnung { --f: #c2412d; }
.rcrm-heute__p.ist-abrechnen, .rcrm-heute__p.ist-termin, .rcrm-heute__p.ist-aufgabe { --f: #165f85; }

/* ---------- Kunde → IT ---------- */
.rcrm-it__sprung { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.rcrm-it__sprung a { padding: 6px 12px; border-radius: 999px; background: #eef3f7; color: var(--rc-navy); text-decoration: none; font-weight: 600; font-size: 13px; }
.rcrm-it__sprung a:hover { background: #e1eaf1; }
.rcrm-it__sprung b { margin-left: 3px; padding: 0 7px; border-radius: 999px; background: #fff; font-size: 12px; }
.rcrm-it .rcrm-karte__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rcrm-it__typ { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: #eef3f7; color: #3d5466; font-size: 11.5px; font-weight: 600; }
.rcrm-it__tab tr.ist-aus td { opacity: .55; }
.rcrm-it__tab tr.rcrm-it__notiz td { padding-top: 0; color: var(--rc-leise); font-size: 12.5px; border-top: 0; }
.rcrm-it__form { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #f8fafc; }
.rcrm-it__form h3 { margin: 0 0 10px; font-size: 15px; }
.rcrm-it__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 12px; }
.rcrm-it__f { display: grid; gap: 4px; margin: 0; }
.rcrm-it__f > span { font-size: 12px; font-weight: 600; color: var(--rc-leise); }
.rcrm-it__f input, .rcrm-it__f select, .rcrm-it__f textarea { width: 100%; max-width: none; }
.rcrm-it__f--breit { grid-column: span 2; }
.rcrm-it__f--voll { margin-top: 10px; }
.rcrm-it__check { display: block; margin: 10px 0 2px; }
.rcrm-it__mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; }
.rcrm-it__pw { display: flex; gap: 4px; }
.rcrm-it__pw input { flex: 1; min-width: 0; }
.rcrm-it__neu { position: relative; }
.rcrm-it__neu > summary { list-style: none; }
.rcrm-it__neu > summary::-webkit-details-marker { display: none; }
.rcrm-it__neu > div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; min-width: 240px; padding: 6px; background: #fff; border: 1px solid var(--rc-linie); border-radius: 10px; box-shadow: 0 10px 30px rgba(16, 39, 58, .15); }
.rcrm-it__neu > div a { padding: 7px 10px; border-radius: 7px; text-decoration: none; color: var(--rc-text); }
.rcrm-it__neu > div a:hover { background: #eef3f7; }
.rcrm-it__doku { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.rcrm-it__abschnitt { border: 1px solid var(--rc-linie); border-radius: 12px; padding: 12px 14px; background: #fff; display: grid; gap: 6px; align-content: start; }
.rcrm-it__abschnitt header { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; }
.rcrm-it__abschnitt header span { grid-column: 1; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--rc-leise); font-weight: 600; }
.rcrm-it__abschnitt header h3 { grid-column: 1; margin: 0; font-size: 15px; }
.rcrm-it__abschnitt header a { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 12.5px; }
.rcrm-it__text { font-size: 13px; line-height: 1.55; white-space: normal; overflow-wrap: anywhere; }
.rcrm-it__abschnitt footer { font-size: 11.5px; color: var(--rc-leise); }
.rcrm-tresor__wert { font-size: 13px; }
.rcrm-tresor.ist-offen .rcrm-tresor__wert { background: #fff6e0; }
.rcrm-tresor__notiz { margin-top: 4px; font-size: 12px; white-space: pre-wrap; color: #6d5210; }
.rcrm-it__schluessel { margin-top: 12px; }
.rcrm-it__schluessel summary { cursor: pointer; color: var(--rc-leise); font-size: 12.5px; }
.rcrm-tresor__key { white-space: pre-wrap; word-break: break-all; background: #f3f5f8; padding: 8px 10px; border-radius: 8px; }
.rcrm-it__hoch { margin: 0 0 12px; }
.rcrm-it__hoch > summary { list-style: none; display: inline-block; }
.rcrm-it__hoch > summary::-webkit-details-marker { display: none; }
.rcrm-it__hoch[open] > summary { margin-bottom: 8px; }
.rcrm-it__dateien { margin-bottom: 14px; }

/* ---------- Checklisten ---------- */
.rcrm-cl-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.rcrm-cl-raster .rcrm-karte { margin: 0; }
.rcrm-cl-v .rcrm-karte__kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rcrm-cl-v .rcrm-karte__kopf h2 { margin: 0; font-size: 16px; }
.rcrm-cl-v__schritte { margin: 8px 0 8px 18px; font-size: 13px; line-height: 1.6; }
.rcrm-cl-form { margin-bottom: 16px; }
.rcrm-cl__liste { margin: 0 0 12px; }
.rcrm-cl__kopf { display: flex; justify-content: space-between; font-size: 13px; }
.rcrm-cl__kopf span { color: var(--rc-leise); font-variant-numeric: tabular-nums; }
.rcrm-cl__balken { height: 6px; border-radius: 99px; background: #e8eef3; margin: 6px 0 8px; overflow: hidden; }
.rcrm-cl__balken i { display: block; height: 100%; background: #1d9a54; border-radius: 99px; }
.rcrm-cl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rcrm-cl li form { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; line-height: 1.4; }
.rcrm-cl__haken { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 0; border: 2px solid #b8c6d3; border-radius: 6px; background: #fff; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; }
.rcrm-cl__haken:hover { border-color: #1d9a54; }
.rcrm-cl li.ist-an .rcrm-cl__haken { background: #1d9a54; border-color: #1d9a54; }
.rcrm-cl li.ist-an span { color: var(--rc-leise); text-decoration: line-through; }
.rcrm-cl__neu { display: flex; gap: 4px; margin: 8px 0 4px; }
.rcrm-cl__neu input { flex: 1; min-width: 0; }
.rcrm-cl__add { display: flex; gap: 6px; margin-top: 6px; }
.rcrm-cl__add select { flex: 1; min-width: 0; }

/* ---------- Hinweis-Banner ---------- */
.rcrm-banner-mini { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #e8f2f9; color: #165f85; }
.rcrm-banner-mini--wartung { background: #fff3dd; color: #8a5a0c; }
.rcrm-banner-mini--stoerung { background: #fde5e1; color: #a3301f; }
.rcrm-banner-mini-z { padding: 8px 0; border-bottom: 1px solid #edf1f5; font-size: 13px; }
.rcrm-banner-mini-z .rcrm-inline { display: inline; }
.rcrm-banner-karte details { margin-top: 10px; }
.rcrm-banner-karte details > summary { list-style: none; display: inline-block; }
.rcrm-banner-karte details > summary::-webkit-details-marker { display: none; }
.rcrm-banner-karte .rcrm-banner-form { margin-top: 10px; }
.rcrm-banner-karte .rcrm-banner-form__reihe { display: grid; gap: 6px; }
.rcrm-banner-form__reihe label { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; }
.rcrm-cl-v__sicht { margin: 4px 0 6px; }
.rcrm-cl-v__seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #eef2f6; }
.rcrm-cl-v__seg button { border: 0; background: none; padding: 5px 12px; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--rc-leise); cursor: pointer; }
.rcrm-cl-v__seg button.ist-an { background: #fff; color: var(--rc-navy); box-shadow: 0 1px 3px rgba(16, 39, 58, .15); }
.rcrm-cl-v__seg button:first-child.ist-an { color: #1d7a45; }
.rcrm-banner-tab td { vertical-align: middle; }
.rcrm-banner-tab__zeit, .rcrm-banner-tab td:nth-last-child(-n+2), .rcrm-banner-tab th:nth-last-child(-n+3) { white-space: nowrap; }
.rcrm-banner-tab td:nth-child(2) { white-space: nowrap; }
.rcrm-banner-tab .rcrm-aktionen { text-align: right; }
.rcrm-banner-tab .rcrm-aktionen form { display: inline; }
.rcrm-banner-tab td:first-child .rcrm-banner-mini { margin-right: 4px; }

/* ---------- Angebote ---------- */
.rcrm-an-reiter { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 12px; background: #e8eef3; }
.rcrm-an-reiter a { padding: 7px 16px; border-radius: 9px; text-decoration: none; color: var(--rc-leise); font-weight: 600; }
.rcrm-an-reiter a.ist-aktiv { background: #fff; color: var(--rc-navy); box-shadow: 0 1px 3px rgba(16, 39, 58, .12); }
.rcrm-an-st { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef2f6; color: #4f6174; white-space: nowrap; }
.rcrm-an-st--gesendet { background: #e6f1fa; color: #165f85; }
.rcrm-an-st--angenommen { background: #e3f4ea; color: #146c3c; }
.rcrm-an-st--abgelehnt, .rcrm-an-st--abgelaufen { background: #fde8e4; color: #a3301f; }
.rcrm-an__raster { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.rcrm-an__raster .rcrm-karte { margin: 0 0 16px; }
.rcrm-an__kopf { display: grid; grid-template-columns: 1.2fr 1.5fr .8fr; gap: 10px 12px; }
.rcrm-an__voll { grid-column: 1 / -1; }
.rcrm-an__summe { position: sticky; top: 46px; }
.rcrm-an__summe h3 { margin: 0 0 8px; }
.rcrm-an__s { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 0; border-bottom: 1px solid #edf1f5; }
.rcrm-an__s span { color: var(--rc-leise); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.rcrm-an__s strong { font-size: 18px; color: var(--rc-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rcrm-an__s small { grid-column: 2; text-align: right; color: var(--rc-leise); font-size: 12px; white-space: nowrap; }
.rcrm-an__s--klein strong { font-size: 14px; }
.rcrm-an .rcrm-karte__kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rcrm-an__katalog { display: flex; gap: 6px; align-items: center; }
.rcrm-an__katalog select { min-width: 320px; }
.rcrm-an__pos { border: 0; }
.rcrm-an__pos th { white-space: nowrap; }
.rcrm-an__pos td { vertical-align: top; padding: 8px 6px; }
.rcrm-an__pos input, .rcrm-an__pos select { width: 100%; min-width: 0; }
.rcrm-an__pos td:first-child { width: 40%; }
.rcrm-an__pos td:first-child input + input { margin-top: 4px; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-an__pos .rcrm-an__n { text-align: right; max-width: 110px; }
.rcrm-an__pos .rcrm-an__e { max-width: 100px; }
.rcrm-an__pos [data-rcrm-an-s] { font-weight: 700; white-space: nowrap; padding-top: 14px; font-variant-numeric: tabular-nums; }
.rcrm-an__st .rcrm-inline { display: inline; margin-right: 12px; }
.rcrm-an__lform .rcrm-it__raster { grid-template-columns: 1fr 2fr 2fr .8fr .9fr .9fr; }
@media (max-width: 1200px) { .rcrm-an__raster { grid-template-columns: 1fr; } .rcrm-an__summe { position: static; } .rcrm-an__kopf { grid-template-columns: 1fr; } .rcrm-an__lform .rcrm-it__raster { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.rcrm-an__s { align-items: baseline; }
.rcrm-an__check { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #f5f8fb; border: 1px solid #e3eaf0; font-size: 13px; line-height: 1.45; }
.rcrm-an__check input { margin-top: 2px; }
.rcrm-an__ok { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rcrm-an__sig { max-height: 70px; background: #fff; border: 1px solid #dfe7ee; border-radius: 8px; padding: 4px; }

/* ---------- SLA-Ampel ---------- */
.rcrm-sla-leiste { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 10px; padding: 10px 14px; border-radius: 12px; background: #f7f9fb; border: 1px solid #e3eaf0; font-size: 13px; }
.rcrm-sla-leiste strong { color: var(--rc-navy); }
.rcrm-sla-p { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.rcrm-sla-p i { width: 11px; height: 11px; border-radius: 50%; }
.rcrm-sla-p.ist-rot i { background: #d6352a; box-shadow: 0 0 0 3px rgba(214, 53, 42, .18); }
.rcrm-sla-p.ist-gelb i { background: #e8a200; box-shadow: 0 0 0 3px rgba(232, 162, 0, .18); }
.rcrm-sla-p.ist-gruen i { background: #1d9a54; box-shadow: 0 0 0 3px rgba(29, 154, 84, .16); }
.rcrm-sla-leiste .rcrm-chip { margin-left: auto; }
.rcrm-tliste tr.ist-sla-rot > :first-child { box-shadow: inset 4px 0 0 #d6352a; }
.rcrm-tliste tr.ist-sla-gelb > :first-child { box-shadow: inset 4px 0 0 #e8a200; }
.rcrm-tliste tr.ist-sla-gruen > :first-child { box-shadow: inset 4px 0 0 #1d9a54; }
.rcrm-tliste tr.ist-sla-rot { background: #fff6f5 !important; }
.rcrm-chip--serie { border-style: dashed !important; }
.rcrm-serien tr.ist-aus td { opacity: .55; }

/* ---------- Laufende Leistungen ---------- */
.rcrm-abos .rcrm-karte__kopf { display: flex; justify-content: space-between; align-items: baseline; }
.rcrm-abos__summe { font-weight: 700; color: var(--rc-navy); font-size: 15px; white-space: nowrap; }
.rcrm-abos__summe small { font-weight: 500; color: var(--rc-leise); }
.rcrm-abos tr.ist-aus td { opacity: .55; }
.rcrm-abos td:not(:first-child), .rcrm-abos th { white-space: nowrap; }
.rcrm-abos td:first-child { min-width: 240px; }
.rcrm-abos .rcrm-inline { display: inline-flex; gap: 4px; align-items: center; }
.rcrm-abos .rcrm-inline input[type=date] { padding: 2px 6px; min-height: 0; font-size: 12px; }
.rcrm-abos__neu { margin-top: 12px; }
.rcrm-abos__neu > summary { list-style: none; display: inline-block; }
.rcrm-abos__neu > summary::-webkit-details-marker { display: none; }
.rcrm-abos-monat .rcrm-karte__kopf { display: flex; justify-content: space-between; align-items: center; }
.rcrm-abos-monat__nav { display: flex; align-items: center; gap: 10px; }
.rcrm-abos-monat__nav h2 { margin: 0; min-width: 160px; text-align: center; }
.rcrm-abos-k { margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--rc-linie); border-left: 4px solid #1e8fd5; border-radius: 12px; }
.rcrm-abos-k.ist-ok { border-left-color: #1d9a54; background: #f6fbf8; }
.rcrm-abos-k__kopf { display: flex; align-items: center; gap: 14px; }
.rcrm-abos-k__kopf a { text-decoration: none; }
.rcrm-abos-k__kopf span { margin-left: auto; font-weight: 700; color: var(--rc-navy); white-space: nowrap; }
.rcrm-abos-k__kopf .rcrm-inline { display: inline; }
.rcrm-abos-k.ist-ok .rcrm-abos-k__kopf .button-link { color: #1d7a45; font-weight: 600; }
.rcrm-abos-k ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; }
.rcrm-abos-k li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-top: 1px dashed #edf1f5; }
.rcrm-abos-k li em { color: var(--rc-leise); font-style: normal; }
.rcrm-abos-monat__summe { text-align: right; font-size: 15px; margin: 12px 0 0; }
.rcrm-heute__p.ist-abo { --f: #165f85; }

/* IT-Quartalsbericht (Kunde → Auswertung) */
.rcrm-qb { margin-top: 16px; }
.rcrm-qb__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rcrm-qb__kopf h2 { margin: 0 0 4px; }
.rcrm-qb__kopf p { margin: 0; }
.rcrm-qb__kopf .rcrm-badge { white-space: nowrap; flex-shrink: 0; }
.rcrm-qb__form { display: grid; grid-template-columns: 220px 1fr; gap: 12px 16px; margin-top: 14px; align-items: start; }
.rcrm-qb__form label > span { display: block; font-size: 12px; font-weight: 600; color: var(--rc-leise); margin-bottom: 4px; }
.rcrm-qb__form label > span em { font-style: normal; font-weight: 400; }
.rcrm-qb__q select { width: 100%; }
.rcrm-qb__links { display: flex; flex-direction: column; gap: 10px; }
.rcrm-qb__form .rcrm-qb__aus { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--rc-leise); white-space: nowrap; }
.rcrm-qb__notiz textarea { width: 100%; min-height: 64px; }
.rcrm-qb__knoepfe { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rcrm-qb__an { color: var(--rc-leise); font-size: 12px; }
@media (max-width: 782px) { .rcrm-qb__form { grid-template-columns: 1fr; } }

/* KI-Assistent im Ticket */
.rcrm-ki { border-top: 3px solid #7c5cd6; }
.rcrm-ki h3 { display: flex; align-items: center; gap: 6px; }
.rcrm-ki h3 svg { color: #7c5cd6; }
.rcrm-ki__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.rcrm-ki__knoepfe .button { justify-content: center; text-align: center; }
.rcrm-ki__antwort > summary { list-style: none; display: block; text-align: center; cursor: pointer; }
.rcrm-ki__antwort > summary::-webkit-details-marker { display: none; }
.rcrm-ki__antwort[open] > summary { margin-bottom: 8px; }
.rcrm-ki__antwort textarea { width: 100%; font-size: 13px; margin-bottom: 6px; }
.rcrm-ki__antwort > .button { width: 100%; justify-content: center; text-align: center; }
.rcrm-ki__ergebnis { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f6f3fd; font-size: 13px; line-height: 1.5; }
.rcrm-ki__ergebnis ul { margin: 0 0 6px 16px; list-style: disc; }
.rcrm-ki__ergebnis p { margin: 0 0 6px; }
.rcrm-ki__text > :last-child { margin-bottom: 0; }
.rcrm-ki__aktionen { display: flex; gap: 14px; margin: 8px 0 0 !important; }
.rcrm-ki__laden { display: flex; align-items: center; gap: 8px; color: #5b4a99; }
.rcrm-ki__punkt { width: 9px; height: 9px; border-radius: 50%; background: #7c5cd6; animation: rcrm-ki-puls 1s ease-in-out infinite; }
@keyframes rcrm-ki-puls { 50% { opacity: .25; transform: scale(.7); } }
.rcrm-ki__fehler { color: #b42318; }
.rcrm-ki__ok { color: #1d7a45; }
.rcrm-ki__vorschlag { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.rcrm-ki__vorschlag dt { color: var(--rc-leise); font-size: 12px; }
.rcrm-ki__vorschlag dd { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rcrm-ki__vorschlag dd span { font-weight: 600; color: var(--rc-navy); }
.rcrm-ki__vorschlag .button-small { flex-shrink: 0; }
.rcrm-ki__grund { margin: 8px 0 0 !important; color: var(--rc-leise); font-size: 12px; }
.rcrm-ki__hinweis { margin: 10px 0 0; font-size: 11.5px; color: var(--rc-leise); }
.rcrm-ki-ok { color: #1d7a45; font-weight: 600; }
.rcrm-ki-fehler { color: #b42318; font-weight: 600; }
.rcrm-ki-test { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; }
.rcrm-ki-modell { min-width: 440px; max-width: 100%; }

/* Ticket anlegen: neuer Kunde */
.rcrm-tk-neu__treffer { margin-left: 10px; color: #1d7a45; font-size: 13px; font-weight: 600; }
.rcrm-tk-nk { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--rc-linie); border-left: 4px solid #1e8fd5; border-radius: 12px; background: #f6fafd; max-width: 760px; }
.rcrm-tk-nk__typ { display: flex; gap: 18px; margin-bottom: 10px; font-weight: 600; }
.rcrm-tk-nk__typ label { display: inline-flex; align-items: center; gap: 6px; }
.rcrm-tk-nk__raster { display: grid; grid-template-columns: 1.4fr 1.2fr 90px 1fr; gap: 10px; }
.rcrm-tk-nk__raster label > span { display: block; font-size: 12px; font-weight: 600; color: var(--rc-leise); margin-bottom: 3px; }
.rcrm-tk-nk__raster input { width: 100%; }
.rcrm-tk-nk__firma[hidden] { display: none; }
.rcrm-tk-nk__haken { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.rcrm-tk-nk__haken[hidden] { display: none; }
.rcrm-tk-nk .description { margin: 10px 0 0; }
@media (max-width: 900px) { .rcrm-tk-nk__raster { grid-template-columns: 1fr 1fr; } }

/* Rechtschreibung in der Werkzeugleiste */
.rcrm-fmt { position: relative; }
.rcrm-fmt .rcrm-fmt__rs { margin-left: auto; color: #6a4fc4; font-weight: 600; white-space: nowrap; }
.rcrm-fmt .rcrm-fmt__rs ~ .rcrm-fmt__vorschau { margin-left: 4px; }
.rcrm-fmt__rs-hinweis { position: absolute; right: 8px; top: calc(100% + 6px); z-index: 5; padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--rc-linie); box-shadow: 0 4px 14px rgba(16, 39, 58, .12); font-size: 12px; color: var(--rc-leise); white-space: nowrap; }
.rcrm-fmt__rs-hinweis:empty { display: none; }
.rcrm-fmt__rs-hinweis.ist-ok { color: #1d7a45; }
.rcrm-fmt__rs-hinweis.ist-fehler { color: #b42318; }

.rcrm-ki__laenge { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 8px; padding: 3px; border-radius: 10px; background: #eef1f6; }
.rcrm-ki__laenge label { position: relative; text-align: center; cursor: pointer; }
.rcrm-ki__laenge input { position: absolute; opacity: 0; pointer-events: none; }
.rcrm-ki__laenge span { display: block; padding: 6px 8px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--rc-leise); }
.rcrm-ki__laenge input:checked + span { background: #fff; color: #5b3fc4; box-shadow: 0 1px 3px rgba(16, 39, 58, .15); }
.rcrm-ki__laenge input:focus-visible + span { outline: 2px solid #7c5cd6; }

/* ---------- Ticketliste: ruhiger, kompakter, Status farbig ---------- */
.rcrm-ts--neu { background: #e5efff !important; color: #1f5fd1 !important; }
.rcrm-ts--offen { background: #eeebff !important; color: #5a3fd0 !important; }
.rcrm-ts--wartet { background: #fff1d9 !important; color: #a35b00 !important; }
.rcrm-ts--geloest { background: #e3f5ea !important; color: #17804a !important; }
.rcrm-ts--geschlossen { background: #eef1f4 !important; color: #66788a !important; }
.rcrm-tl__nr { display: inline-block; padding: 1px 6px; margin-right: 4px; border-radius: 5px; background: #eef2f6; color: #4c6072; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .2px; }
.rcrm-tl__av { display: none; }
@media (min-width: 783px) {
	.rcrm-app table.rcrm-tliste thead th, .rcrm-app table.rcrm-tliste thead td { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; padding: 10px 14px; }
	.rcrm-app table.rcrm-tliste thead th a { color: inherit; text-decoration: none; }
	.rcrm-app table.rcrm-tliste thead th.ist-aktiv a { color: var(--rc-blau); }
	.rcrm-app table.rcrm-tliste > tbody > tr > td { font-size: 13px; padding: 11px 14px; vertical-align: middle; line-height: 1.45; }
	.rcrm-app table.rcrm-tliste td .description { font-size: 12px; color: #6a7d8e; }
	.rcrm-app table.rcrm-tliste .row-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
	.rcrm-app table.rcrm-tliste tr.ist-neu .row-title { font-weight: 700; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__ticket { min-width: 240px; max-width: 520px; }
	.rcrm-app table.rcrm-tliste .rcrm-tliste__eingang { white-space: nowrap; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__meta { display: inline-block; margin-top: 3px; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__kunde { color: var(--rc-navy); font-weight: 500; }
	.rcrm-app table.rcrm-tliste .rcrm-tliste__eingang strong { font-weight: 600; color: var(--rc-navy); }
	.rcrm-app table.rcrm-tliste .rcrm-tl__wer { white-space: nowrap; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__av { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: #e3edf6; color: #1b5a86; font-size: 10.5px; font-weight: 700; vertical-align: middle; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__name { vertical-align: middle; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__zeit.ist-leer { color: #b3c0cc; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__status { white-space: nowrap; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__status .rcrm-badge { margin: 1px 0; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__status .rcrm-badge { font-size: 11.5px; padding: 3px 10px 3px 8px; }
	.rcrm-app table.rcrm-tliste > tbody > tr { transition: background .12s; }
	.rcrm-app table.rcrm-tliste > tbody > tr:nth-child(even) { background: #fbfcfd; }
	.rcrm-app table.rcrm-tliste > tbody > tr:hover { background: #f2f7fb; }
	.rcrm-app table.rcrm-tliste .check-column { padding: 12px 0 0 12px !important; vertical-align: middle; }
}
@media (max-width: 782px) {
	.rcrm-app table.rcrm-tliste > tbody > tr { grid-template-areas: "ticket ticket" "kunde eingang" "akt akt" "status status" "wer zeit" !important; }
	.rcrm-app table.rcrm-tliste td.rcrm-tl__status { display: flex !important; flex-wrap: wrap; justify-content: flex-start; gap: 4px; text-align: left; margin: 2px 0; }
	.rcrm-app table.rcrm-tliste td.rcrm-tl__status .rcrm-badge { white-space: normal; }
	.rcrm-app table.rcrm-tliste td.rcrm-tl__status .description { width: 100%; }
	.rcrm-app table.rcrm-tliste td.rcrm-tl__kunde, .rcrm-app table.rcrm-tliste td.rcrm-tl__akt { min-width: 0; overflow-wrap: anywhere; }
	.rcrm-app table.rcrm-tliste td .rcrm-tl__meta { font-size: 12.5px !important; }
}

/* Geschwindigkeit messen (System) */
.rcrm-mess__kopf { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.rcrm-mess__kopf h2 { margin: 0 0 4px; }
.rcrm-mess__kopf p { margin: 0; max-width: 640px; }
.rcrm-mess__knoepfe { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.rcrm-mess__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.rcrm-mess__chip { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.rcrm-mess__chip.ist-gut { background: #e3f5ea; color: #17804a; }
.rcrm-mess__chip.ist-warn { background: #fff1d9; color: #a35b00; }
.rcrm-mess__plugins { margin: 4px 0 14px; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-mess__plugins summary { cursor: pointer; }
.rcrm-mess__tab td, .rcrm-mess__tab th { white-space: nowrap; padding-left: 10px !important; padding-right: 10px !important; }
.rcrm-mess__balken { display: inline-block; width: 56px; height: 7px; border-radius: 4px; background: #e8eef4; vertical-align: middle; overflow: hidden; }
.rcrm-mess__balken i { display: block; height: 100%; background: #165f85; border-radius: 4px; }
.rcrm-mess__hinweise { margin: 14px 0 0 18px; list-style: disc; }
.rcrm-mess__hinweise li { margin: 0 0 6px; }

/* ---------- Übersicht: Schriftgrößen wie Ticketliste ---------- */
.rcrm-kz { padding: 13px 16px; gap: 1px; }
.rcrm-kz strong { font-size: 21px; }
.rcrm-kz span { font-size: 13px; }
.rcrm-kz small { font-size: 11.5px; }
.rcrm-heute { padding: 14px 16px; }
.rcrm-heute__kopf h2 { font-size: 16px; }
.rcrm-heute__kopf span { font-size: 12px; }
.rcrm-heute__p { padding: 8px 12px 8px 14px; }
.rcrm-heute__p strong { font-size: 17px; }
.rcrm-heute__p b { font-size: 13px; }
.rcrm-heute__p small { font-size: 11.5px; }
.rcrm-kz-tickets .rcrm-karte__kopf h2, .rcrm-kz-kunden .rcrm-karte__kopf h2 { font-size: 16px; }
.rcrm-kz-tickets .rcrm-karte__kopf a, .rcrm-kz-kunden .rcrm-karte__kopf a { font-size: 12.5px; }
.rcrm-kz-liste li { padding: 8px 0; font-size: 12.5px; }
.rcrm-kz-liste li strong { font-size: 13.5px; font-weight: 600; }
.rcrm-kz-liste .rcrm-badge { font-size: 11px; padding: 2px 9px 2px 7px; }
.rcrm-kz-liste .description { font-size: 12px; }
.rcrm-kz-balken th { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.rcrm-kz-balken td { font-size: 13px; padding: 6px 0; }
.rcrm-kz-balken td:nth-child(2) { padding: 6px 12px; }
.rcrm-kz-balken a { font-size: 13px; }
.rcrm-kz-balken__b { height: 8px; }
.rcrm-kz-balken__z { font-size: 12.5px; }
.rcrm-heute__liste { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rcrm-heute__p b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Einheitliche Schriftgrößen (alle CRM-Seiten, ab Tablet) ----------
   Seitentitel bleibt · Kartentitel 16 · Tabellenkopf 11 (Großbuchstaben) · Tabellenzelle 13 · Zeilentitel 13,5 ·
   Unterzeilen 12 · Hinweise 12,5 · Marken 11,5 */
@media (min-width: 783px) {
	.rcrm-app .rcrm-karte > h2, .rcrm-app .rcrm-karte__kopf h2, .rcrm-app .rcrm-karte > form > h2 { font-size: 16px; }
	.rcrm-app .rcrm-karte > h3, .rcrm-app .rcrm-seite .rcrm-karte h3 { font-size: 14px; }
	.rcrm-app .widefat thead th, .rcrm-app .widefat thead td { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; padding: 10px 14px; white-space: nowrap; }
	.rcrm-app .widefat thead th a { color: inherit; text-decoration: none; }
	.rcrm-app .widefat thead th.ist-aktiv a { color: var(--rc-blau); }
	.rcrm-app .widefat td, .rcrm-app .widefat tbody th { font-size: 13px; padding: 11px 14px; line-height: 1.45; }
	.rcrm-app .widefat td .description, .rcrm-app .widefat td .rcrm-leise { font-size: 12px; }
	.rcrm-app .widefat .row-title { font-size: 13.5px; }
	.rcrm-app .widefat .check-column { padding-left: 12px !important; }
	.rcrm-app .description, .rcrm-app .rcrm-leise { font-size: 12.5px; }
	.rcrm-app .rcrm-badge { font-size: 11.5px; }
}
@media (min-width: 783px) {
	.rcrm-app .rcrm-kliste td:first-child .description { white-space: nowrap; }
	.rcrm-app .rcrm-kliste td, .rcrm-app .rcrm-kliste th { padding-left: 10px; padding-right: 10px; }
	.rcrm-app .rcrm-kliste thead th { letter-spacing: .3px; }
	.rcrm-app .rcrm-vliste td:nth-child(3), .rcrm-app .rcrm-vliste td:nth-child(5), .rcrm-app .rcrm-vliste td:nth-child(6) { white-space: nowrap; }
	.rcrm-app .rcrm-vliste thead th { white-space: normal; }
}
@media (min-width: 783px) and (max-width: 1500px) {
	.rcrm-app .widefat thead th, .rcrm-app .widefat thead td { white-space: normal; letter-spacing: .3px; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__ticket { min-width: 200px; }
	.rcrm-app table.rcrm-tliste > tbody > tr > td { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 783px) and (max-width: 1500px) {
	.rcrm-app table.rcrm-tliste .rcrm-tl__kunde, .rcrm-app table.rcrm-tliste .rcrm-tl__akt { overflow-wrap: anywhere; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__wer { white-space: normal; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__status { white-space: normal; min-width: 130px; max-width: 200px; }
	.rcrm-app table.rcrm-tliste .rcrm-tl__status .rcrm-badge { white-space: normal; text-align: left; }
}

/* CRM-Schnellmodus (System) */
.rcrm-schnell__kopf { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.rcrm-schnell__kopf h2 { margin: 0 0 4px; }
.rcrm-schnell__kopf p { margin: 0; max-width: 720px; }
.rcrm-schnell__kopf .rcrm-badge { flex-shrink: 0; }
.rcrm-schnell__an { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-size: 13.5px; }
.rcrm-schnell__titel { margin: 12px 0 8px; font-weight: 600; color: var(--rc-navy); font-size: 13px; }
.rcrm-schnell__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 16px; padding: 12px 14px; border: 1px solid var(--rc-linie); border-radius: 10px; background: #fbfcfd; }
.rcrm-schnell__liste label { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-schnell__tipp { padding: 1px 7px; border-radius: 999px; background: #e3f5ea; color: #17804a; font-size: 11px; font-weight: 600; }
.rcrm-schnell__hinweise { margin: 12px 0 4px 18px; list-style: disc; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-schnell__hinweise li { margin: 0 0 4px; }
.rcrm-mess__h3 { font-size: 14px; margin: 22px 0 2px; }
.rcrm-mess__unter { margin: 0 0 10px; font-size: 12.5px; }
.rcrm-mess__quellen tr.ist-crm td:first-child strong { color: #165f85; }
.rcrm-mess__quellen td:first-child { white-space: normal; }
.rcrm-schnell__theme { display: flex; margin: 4px 0 2px; }
.rcrm-schnell__unter { margin: 0 0 8px 26px; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-schnell__warn { margin: 4px 0 8px 26px; padding: 8px 12px; border-radius: 8px; background: #fff1d9; color: #7a4500; font-size: 12.5px; }
/* Ticket: zwischen Tickets blättern */
.rcrm-blaettern { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rcrm-blaettern__pos { font-size: 12.5px; color: var(--rc-leise); min-width: 56px; text-align: center; }
.rcrm-blaettern__k.is-aus { opacity: .4; pointer-events: none; }
@media (max-width: 782px) { .rcrm-blaettern { width: 100%; justify-content: space-between; } }

/* ---------- Aufgaben ---------- */
.rcrm-auf-neu { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #f7fafc; margin-bottom: 16px; }
.rcrm-auf-neu__z1, .rcrm-auf-neu__z2 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rcrm-auf-neu__z2 { gap: 14px; }
.rcrm-app .rcrm-auf-neu input[type=text] { flex: 1 1 320px; min-width: 0; max-width: none; height: 38px; min-height: 38px; border-radius: 9px; border: 1px solid #cfdbe5; padding: 0 12px; font-size: 13.5px; }
.rcrm-app .rcrm-auf-neu select { width: 210px; max-width: 100%; height: 38px; min-height: 38px; padding: 0 28px 0 10px; border-radius: 9px; font-size: 13px; }
.rcrm-auf-schnell { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.rcrm-auf-schnell label { position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.rcrm-auf-schnell input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.rcrm-auf-schnell span { display: inline-flex; box-sizing: border-box; align-items: center; height: 40px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--rc-linie); background: #fff; font-size: 13px; color: var(--rc-text); cursor: pointer; white-space: nowrap; }
.rcrm-auf-schnell input[type=radio]:checked + span { background: var(--rc-navy); color: #fff; border-color: var(--rc-navy); }
.rcrm-auf-schnell input[type=radio]:focus-visible + span { outline: 2px solid var(--rc-blau); outline-offset: 2px; }
.rcrm-app .rcrm-auf-schnell__datum input[type=date] { width: 140px; height: 38px; min-height: 38px; padding: 0 8px 0 10px; border-radius: 9px; font-size: 12px; border: 1px solid var(--rc-linie); background: #fff; }
.rcrm-app .rcrm-auf-schnell__datum input[type=radio]:checked + input[type=date] { border-color: var(--rc-navy); box-shadow: 0 0 0 1px var(--rc-navy); }
.rcrm-auf-kal { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--rc-text); white-space: nowrap; margin: 0; }
.rcrm-auf-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.rcrm-auf-leer { margin: 18px 0 4px; }
.rcrm-auf-gruppe { margin-top: 18px; }
.rcrm-auf-gruppe h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--rc-leise); font-weight: 700; }
.rcrm-auf-gruppe h3 span { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: #eef2f6; color: var(--rc-leise); }
.rcrm-auf-gruppe.ist-rot h3 { color: var(--rc-rot); }
.rcrm-auf-gruppe.ist-rot h3 span { background: var(--rc-rot-hell); color: var(--rc-rot); }
.rcrm-auf-liste { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rc-linie); border-radius: 12px; overflow: hidden; }
.rcrm-auf { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 112px 28px; gap: 14px; align-items: center; padding: 11px 14px; margin: 0; background: #fff; }
.rcrm-auf + .rcrm-auf { border-top: 1px solid #edf1f5; }
.rcrm-auf:hover { background: #f8fbfd; }
.rcrm-auf form { margin: 0; line-height: 0; }
.rcrm-auf__haken { width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 2px solid #b7cbd8; background: #fff; cursor: pointer; position: relative; }
.rcrm-auf__haken:hover { border-color: var(--rc-gruen); background: #eaf7f0; }
.rcrm-auf__haken:hover::after, .rcrm-auf.ist-erledigt .rcrm-auf__haken::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--rc-gruen); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rcrm-auf.ist-hoch .rcrm-auf__haken { border-color: var(--rc-rot); }
.rcrm-auf.ist-erledigt .rcrm-auf__haken { background: var(--rc-gruen); border-color: var(--rc-gruen); }
.rcrm-auf.ist-erledigt .rcrm-auf__haken::after { border-color: #fff; }
.rcrm-auf__text { min-width: 0; }
.rcrm-auf__titel { font-size: 13.5px; font-weight: 600; color: var(--rc-navy); text-decoration: none; }
.rcrm-auf__titel:hover { color: var(--rc-blau); }
.rcrm-auf__unter { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-top: 2px; font-size: 12px; color: var(--rc-leise); }
.rcrm-auf__unter i { font-style: normal; color: #b4c0ca; }
.rcrm-auf__unter a { color: var(--rc-blau); text-decoration: none; }
.rcrm-auf__marken { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.rcrm-auf__marke { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #eef2f6; color: #4d6273; }
.rcrm-auf__marke--kal { background: #e6f0fb; color: #1d5fa8; }
.rcrm-auf__marke--hoch { background: var(--rc-rot-hell); color: var(--rc-rot); }
.rcrm-auf__marke--wdh { background: #f1ecfb; color: #6a43b5; }
.rcrm-auf__wann { text-align: right; font-size: 13px; white-space: nowrap; }
.rcrm-auf__wann strong { font-weight: 600; color: var(--rc-navy); }
.rcrm-auf__wann small { display: block; font-size: 12px; color: var(--rc-leise); }
.rcrm-auf__wann.ist-rot strong { color: var(--rc-rot); }
.rcrm-auf__av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--rc-navy); color: #fff; font-size: 11px; font-weight: 700; }
.rcrm-auf__av.ist-leer { background: #eef2f6; color: var(--rc-leise); }
.rcrm-auf.ist-erledigt .rcrm-auf__titel { color: var(--rc-leise); text-decoration: line-through; font-weight: 500; }
.rcrm-auf-karte h3 { margin: 0 0 8px; font-size: 14px; }
.rcrm-auf-karte .rcrm-karte__kopf { margin-bottom: 8px; }
.rcrm-auf-karte .rcrm-karte__kopf h3 { margin: 0; }
.rcrm-auf-klein { font-size: 12.5px; color: var(--rc-leise); margin: 0; }
.rcrm-auf-klein + .rcrm-auf-klein { margin-top: 8px; }
.rcrm-auf-plus { font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.rcrm-vorschlag { list-style: none; margin: 0; padding: 0; }
.rcrm-vorschlag li { padding: 10px 0; margin: 0; border-top: 1px solid #edf1f5; }
.rcrm-vorschlag li:first-child { border-top: 0; padding-top: 2px; }
.rcrm-vorschlag strong { display: block; font-size: 13px; color: var(--rc-navy); }
.rcrm-vorschlag strong a { color: var(--rc-navy); text-decoration: none; }
.rcrm-vorschlag strong a:hover { color: var(--rc-blau); }
.rcrm-vorschlag span { display: block; font-size: 12px; color: var(--rc-leise); margin-top: 1px; }
.rcrm-vorschlag li.ist-erledigt strong a { color: var(--rc-leise); text-decoration: line-through; font-weight: 500; }
.rcrm-vorschlag__k { display: flex; gap: 14px; margin: 6px 0 0; }
.rcrm-vorschlag__k form { margin: 0; }
.rcrm-app .rcrm-vorschlag__k .button-link { font-size: 12.5px; font-weight: 600; color: var(--rc-blau); text-decoration: none; padding: 0; min-height: 0; }
.rcrm-app .rcrm-vorschlag__k form + form .button-link { color: var(--rc-leise); font-weight: 500; }
.rcrm-app .rcrm-vorschlag__k .button-link:hover { text-decoration: underline; }
.rcrm-woche { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 4px 0 10px; }
.rcrm-woche div { text-align: center; padding: 8px 0; border-radius: 10px; background: #f4f7fa; font-size: 11.5px; color: var(--rc-leise); }
.rcrm-woche div strong { display: block; font-size: 16px; color: var(--rc-navy); margin-top: 2px; }
.rcrm-woche div.ist-heute { background: var(--rc-navy); color: rgba(255, 255, 255, .75); }
.rcrm-woche div.ist-heute strong { color: #fff; }
/* Formular */
.rcrm-auf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.rcrm-auf-form .voll { grid-column: 1 / -1; }
.rcrm-auf-form label { margin: 0; }
.rcrm-auf-form label > span, .rcrm-auf-form__lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--rc-leise); margin-bottom: 5px; }
.rcrm-app .rcrm-auf-form input[type=text], .rcrm-app .rcrm-auf-form input[type=date], .rcrm-app .rcrm-auf-form input[type=time], .rcrm-app .rcrm-auf-form select, .rcrm-app .rcrm-auf-form textarea, .rcrm-app .rcrm-auf-mail__zeit input[type=time] { width: 100%; max-width: none; min-height: 38px; border-radius: 9px; border: 1px solid #cfdbe5; font-size: 13.5px; padding: 6px 10px; }
.rcrm-app .rcrm-auf-form select { padding-right: 28px; }
.rcrm-auf-zeit { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 106px; gap: 8px; }
.rcrm-app .rcrm-auf-zeit select { padding-left: 8px; padding-right: 24px; }
.rcrm-auf-form__tipp { margin: 5px 0 0; font-size: 12px; color: var(--rc-leise); }
.rcrm-auf-bezug { margin: 0; min-height: 38px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.rcrm-auf-bezug label { display: inline-flex; gap: 5px; align-items: center; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-kal-schalter { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #eef5fc; border: 1px solid #cfe1f3; cursor: pointer; position: relative; }
.rcrm-kal-schalter > input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.rcrm-kal-schalter__knopf { flex: none; width: 38px; height: 22px; border-radius: 999px; background: #b7cbd8; position: relative; margin-top: 1px; transition: background .15s; }
.rcrm-kal-schalter__knopf::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.rcrm-kal-schalter > input:checked + .rcrm-kal-schalter__knopf { background: var(--rc-blau); }
.rcrm-kal-schalter > input:checked + .rcrm-kal-schalter__knopf::after { left: 19px; }
.rcrm-kal-schalter > input:focus-visible + .rcrm-kal-schalter__knopf { outline: 2px solid var(--rc-blau); outline-offset: 2px; }
.rcrm-auf-form .rcrm-kal-schalter__text, .rcrm-kal-schalter__text { display: block; margin: 0; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--rc-text); font-size: 13px; }
.rcrm-kal-schalter__text strong { display: block; font-size: 13.5px; color: var(--rc-navy); }
.rcrm-kal-schalter__text small { display: block; font-size: 12.5px; color: var(--rc-leise); margin-top: 2px; }
.rcrm-auf-schritte { list-style: none; margin: 0; padding: 0; }
.rcrm-auf-schritte li { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; }
.rcrm-auf-schritte li input[type=checkbox] { margin: 0; }
.rcrm-app .rcrm-auf-schritte li input[type=text] { flex: 1; min-height: 34px; }
.rcrm-auf-fuss { display: flex; gap: 8px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.rcrm-auf-fuss__weg { margin-left: auto !important; font-size: 13px; }
/* Morgenmail */
.rcrm-auf-mail__an { margin-bottom: 16px; }
.rcrm-auf-mail__zeit { display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; }
.rcrm-auf-mail__zeit > label:first-child { width: 140px; }
.rcrm-auf-mail__empf { display: block; margin: 16px 0 4px; }
.rcrm-app .rcrm-auf-mail__empf input { width: 100%; max-width: 520px; min-height: 38px; border-radius: 9px; border: 1px solid #cfdbe5; font-size: 13.5px; padding: 6px 10px; display: block; }
.rcrm-auf-mail__empf small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-auf-mail__haken { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; margin: 0 0 9px; }
.rcrm-app .rcrm-auf-mail__h { margin: 26px 0 10px; font-size: 14px; }
.rcrm-auf-mail__teile { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.rcrm-auf-mail__teile label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--rc-linie); border-radius: 10px; margin: 0; cursor: pointer; }
.rcrm-auf-mail__teile label:has(input:checked) { border-color: #a9c7dc; background: #f4f9fc; }
.rcrm-auf-mail__teile input { margin-top: 2px; }
.rcrm-auf-mail__teile strong { display: block; font-size: 13px; color: var(--rc-navy); }
.rcrm-auf-mail__teile small { display: block; font-size: 12px; color: var(--rc-leise); margin-top: 1px; }
@media (max-width: 782px) {
	.rcrm-auf { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
	.rcrm-auf__marken { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; }
	.rcrm-auf__marken:empty { display: none; }
	.rcrm-auf__av { display: none; }
	.rcrm-auf-form { grid-template-columns: 1fr; }
}
.rcrm-app .rcrm-auf-filter select { width: 210px; height: 34px; min-height: 34px; border-radius: 9px; font-size: 13px; }
@media (max-width: 782px) {
	.rcrm-app .rcrm-auf-neu input[type=text] { flex: 1 1 100%; }
	.rcrm-app .rcrm-auf-neu select, .rcrm-app .rcrm-auf-filter select { width: 100%; }
}
.rcrm-einst__einzug { display: inline-block; margin-top: 6px; }
.rcrm-app .rcrm-re-erinnern { color: #b45309 !important; font-weight: 600; }
.rcrm-re-erinnert { color: #b45309 !important; }
/* Rechnung: Mail-Vorschau vor dem Versand */
.rcrm-re-vs__mail { padding: 0; overflow: hidden; background: #eef2f6; }
.rcrm-re-vs__mail iframe { display: block; width: 100%; height: 760px; border: 0; }
.rcrm-re-vs__daten { margin: 0 0 14px; display: grid; gap: 10px; }
.rcrm-re-vs__daten dt { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--rc-leise); }
.rcrm-re-vs__daten dd { margin: 2px 0 0; font-size: 13px; overflow-wrap: break-word; line-height: 1.5; }
.rcrm-re-vs__knoepfe { display: grid; gap: 8px; }
.rcrm-re-vs__knoepfe form { margin: 0; }
.rcrm-re-vs__knoepfe button { width: 100%; justify-content: center; }
.rcrm-re-vs__klein { font-size: 12.5px; margin: 12px 0 0; }
.rcrm-re-vs__warn { padding: 8px 12px; border-radius: 8px; background: #fff1d9; color: #7a4500; font-size: 12.5px; }
.rcrm-app .rcrm-aktionen a.rcrm-re-link, .rcrm-app .rcrm-aktionen a.rcrm-re-erinnern { text-decoration: none; font-weight: 500; }
.rcrm-app .rcrm-aktionen a.rcrm-re-link:hover, .rcrm-app .rcrm-aktionen a.rcrm-re-erinnern:hover { text-decoration: underline; }
.rcrm-mahn__ablauf { margin: 0 0 8px; font-size: 13px; }
.rcrm-rechnungen td:not(.rcrm-aktionen) { white-space: nowrap; }

.rcrm-app .rcrm-auf-neu .rcrm-knopf { box-sizing: border-box; height: 40px; min-height: 40px; display: inline-flex; align-items: center; }

/* ---------- IT-Dokumentation: Netzwerk & Geräte (Tabelle) ----------
   Schriftgrößen wie im übrigen CRM: Kartentitel 16 · Tabellenkopf 11 (Großbuchstaben, ohne Umbruch) · Zellen 13 ·
   Unterzeilen 12 · Hinweise 12,5 · Marken 11,5 */
.rcrm-nd__neulink { display: flex !important; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rc-linie); margin-top: 4px; padding-top: 9px !important; }
.rcrm-nd__neulink span { font-size: 11.5px; color: var(--rc-leise); }
.rcrm-nd { margin: 0 0 16px; padding: 16px 18px 12px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #fff; scroll-margin-top: 50px; }
.rcrm-nd__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rcrm-nd__titel { min-width: 0; }
.rcrm-nd__art { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--rc-leise); font-weight: 700; }
.rcrm-app .rcrm-nd__titel h3 { margin: 1px 0 2px; font-size: 16px; }
.rcrm-nd__info { margin: 0; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-nd__aktionen { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rcrm-nd__aktionen .button.ist-offen { border-color: var(--rc-blau); color: var(--rc-blau); }
.rcrm-nd__schalter { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-size: 12.5px; font-weight: 600; color: var(--rc-text); cursor: pointer; white-space: nowrap; }
.rcrm-nd__schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rcrm-nd__schalter span { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #cfd9e2; transition: background .15s; flex: none; }
.rcrm-nd__schalter span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.rcrm-nd__schalter input:checked + span { background: var(--rc-gruen); }
.rcrm-nd__schalter input:checked + span::after { transform: translateX(14px); }
.rcrm-nd__schalter input:focus-visible + span { outline: 2px solid var(--rc-blau); outline-offset: 2px; }
.rcrm-nd__panel { margin: 12px 0 0; padding: 14px 16px; border: 1px solid var(--rc-linie); border-radius: 12px; background: #f8fafc; }
.rcrm-nd__panelfuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.rcrm-nd__importwahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.rcrm-nd__importwahl label { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border: 1px solid var(--rc-linie); border-radius: 9px; background: #fff; font-size: 13px; cursor: pointer; }
.rcrm-nd__importwahl label span { font-size: 12px; color: var(--rc-leise); }
.rcrm-nd__importwahl label:has(input:checked) { border-color: var(--rc-blau); box-shadow: inset 0 0 0 1px var(--rc-blau); }

/* Kennzahlen */
.rcrm-nd__kpis { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)) minmax(220px, 1.6fr); gap: 10px; margin: 14px 0 12px; }
.rcrm-nd__kz { display: grid; gap: 1px; padding: 11px 14px; text-align: left; background: #fff; border: 1px solid var(--rc-linie); border-top: 3px solid var(--rc-blau); border-radius: 10px; font: inherit; color: var(--rc-text); cursor: pointer; }
.rcrm-nd__kz.ist-still { cursor: default; }
.rcrm-nd__kz:not(.ist-still):hover { border-color: var(--rc-blau); }
.rcrm-nd__kz strong { font-size: 21px; line-height: 1.15; color: var(--rc-blau); font-family: var(--rc-titel); }
.rcrm-nd__kz span { font-size: 13px; font-weight: 600; white-space: nowrap; }
.rcrm-nd__kz small { font-size: 11.5px; color: var(--rc-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-nd__chips { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; }
.rcrm-nd__chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; border: 0; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.rcrm-nd__chip.ist-rot { background: var(--rc-rot-hell); color: var(--rc-rot); }
.rcrm-nd__chip.ist-orange { background: #fff1d9; color: #a35b00; }
.rcrm-nd__chip.ist-gruen { background: var(--rc-gruen-hell); color: var(--rc-gruen); cursor: default; }

/* Reiter + Werkzeugleiste */
.rcrm-nd__reiter { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--rc-linie); margin: 0 0 10px; }
.rcrm-nd__reiter button { padding: 8px 14px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--rc-leise); cursor: pointer; white-space: nowrap; }
.rcrm-nd__reiter button.ist-aktiv { color: var(--rc-navy); border-bottom-color: var(--rc-blau); }
.rcrm-nd__reiter b { margin-left: 4px; padding: 0 7px; border-radius: 999px; background: #eef3f7; font-size: 11.5px; }
.rcrm-nd__status { margin-left: auto; font-size: 12px; color: var(--rc-leise); white-space: nowrap; }
.rcrm-nd__status.ist-ok { color: var(--rc-gruen); }
.rcrm-nd__status.ist-fehler { color: var(--rc-rot); font-weight: 600; }
.rcrm-nd__werkzeug { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.rcrm-nd__werkzeug input[type="search"] { flex: 1 1 220px; min-width: 180px; max-width: 340px; }
.rcrm-nd__werkzeug select { max-width: 210px; }
.rcrm-nd__werkzeug .button-primary { margin-left: auto; }
.rcrm-nd__treffer { font-size: 12px; color: var(--rc-leise); white-space: nowrap; }

/* Tabelle */
.rcrm-nd__scroll { overflow-x: auto; border: 1px solid var(--rc-linie); border-radius: 10px; }
.rcrm-app table.rcrm-nd__tab { width: max-content; min-width: 100%; table-layout: fixed; border: 0; border-collapse: separate; border-spacing: 0; margin: 0; }
.rcrm-app table.rcrm-nd__tab thead th { position: sticky; top: 0; z-index: 1; background: var(--rc-blau); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; padding: 9px 10px; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; border: 0; font-weight: 700; }
.rcrm-app table.rcrm-nd__tab thead th[data-nd-sort] { cursor: pointer; user-select: none; }
.rcrm-app table.rcrm-nd__tab thead th[data-nd-sort]:hover { background: #124f6f; }
.rcrm-app table.rcrm-nd__tab thead th.ist-aktiv span::after { content: ' ▲'; font-size: 9px; }
.rcrm-app table.rcrm-nd__tab thead th.ist-aktiv.ist-ab span::after { content: ' ▼'; }
.rcrm-app table.rcrm-nd__tab thead th.ist-zahl, .rcrm-app table.rcrm-nd__tab td.ist-zahl { text-align: right; }
.rcrm-app table.rcrm-nd__tab td { padding: 3px 4px; font-size: 13px; line-height: 1.4; vertical-align: top; border-top: 1px solid #edf1f5; background: #fff; }
.rcrm-app table.rcrm-nd__tab tbody tr:nth-child(even) td { background: #f7f9fb; }
.rcrm-app table.rcrm-nd__tab tbody tr:first-child td { border-top: 0; }
.rcrm-app table.rcrm-nd__tab td.rcrm-nd__nr { padding: 9px 10px 0; color: var(--rc-leise); font-size: 12px; font-variant-numeric: tabular-nums; }
.rcrm-app table.rcrm-nd__tab tr.ist-auff td.rcrm-nd__nr { box-shadow: inset 3px 0 0 #e08a00; }
.rcrm-app table.rcrm-nd__tab td.ist-zahl { padding: 9px 12px 0; font-weight: 600; color: var(--rc-navy); }
.rcrm-app .rcrm-nd__tab input, .rcrm-app .rcrm-nd__tab select, .rcrm-app .rcrm-nd__tab textarea { display: block; width: 100%; max-width: none; min-height: 30px; margin: 0; padding: 5px 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; box-shadow: none; font: inherit; font-size: 13px; line-height: 1.4; color: var(--rc-text); }
.rcrm-app .rcrm-nd__tab select { padding-right: 22px; background-position: right 4px center; cursor: pointer; }
.rcrm-app .rcrm-nd__tab textarea { resize: none; overflow: hidden; white-space: pre-wrap; }
.rcrm-app .rcrm-nd__tab input:hover, .rcrm-app .rcrm-nd__tab select:hover, .rcrm-app .rcrm-nd__tab textarea:hover { border-color: var(--rc-linie); background: #fff; }
.rcrm-app .rcrm-nd__tab input:focus, .rcrm-app .rcrm-nd__tab select:focus, .rcrm-app .rcrm-nd__tab textarea:focus { border-color: var(--rc-blau); background: #fff; outline: 0; box-shadow: 0 0 0 2px rgba(22, 95, 133, .15); }
.rcrm-app .rcrm-nd__tab .ist-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.rcrm-app .rcrm-nd__tab td.ist-rot input { color: var(--rc-rot); font-weight: 700; background: var(--rc-rot-hell); }
.rcrm-app .rcrm-nd__tab td.ist-orange input, .rcrm-app .rcrm-nd__tab td.ist-orange textarea { background: #fff1d9; }
.rcrm-app .rcrm-nd__tab td.ist-fix select { color: var(--rc-blau); font-weight: 600; }
.rcrm-app .rcrm-nd__tab td.ist-fehlt select { color: var(--rc-rot); border: 1px dashed var(--rc-rot); background: var(--rc-rot-hell); }
.rcrm-app .rcrm-nd__tab tr.ist-neu td { animation: rcrm-nd-neu 1.6s ease-out; }
@keyframes rcrm-nd-neu { from { background: var(--rc-blau-hell); } }
.rcrm-app .rcrm-nd__tab td.rcrm-nd__akt { text-align: center; padding-top: 5px; }
.rcrm-nd__weg { width: 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: #9aa9b6; font-size: 17px; line-height: 1; cursor: pointer; }
.rcrm-nd__weg:hover { background: var(--rc-rot-hell); color: var(--rc-rot); }
.rcrm-app .rcrm-nd__tab tr.rcrm-nd__leer td { padding: 18px 14px; color: var(--rc-leise); font-size: 12.5px; background: #fff; }
.rcrm-nd__tab--stamm { min-width: 0 !important; }
.rcrm-nd__legende { margin: 8px 2px 0; font-size: 12px; color: var(--rc-leise); }
.rcrm-nd__legende .ist-ip { color: var(--rc-rot); font-weight: 700; }
.rcrm-nd__legende .ist-ort { padding: 0 4px; border-radius: 3px; background: #fff1d9; color: #a35b00; font-weight: 600; }
.rcrm-nd__legende .ist-fix { padding: 0 4px; border: 1px dashed var(--rc-rot); border-radius: 3px; color: var(--rc-rot); }

/* Import-Vorschau */
.rcrm-nd__vorschau { margin: 12px 0 0; padding: 14px 16px; border: 1px solid var(--rc-blau); border-radius: 12px; background: #f6fafd; scroll-margin-top: 60px; }
.rcrm-nd__vkopf { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.rcrm-app .rcrm-nd__vkopf h4 { margin: 0 0 2px; font-family: var(--rc-titel); font-size: 15px; color: var(--rc-navy); }
.rcrm-nd__vchips { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.rcrm-nd__vchips span { padding: 3px 10px; border-radius: 999px; background: #eef3f7; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.rcrm-nd__vchips .ist-neu { background: var(--rc-gruen-hell); color: var(--rc-gruen); }
.rcrm-nd__vchips .ist-aendern { background: var(--rc-blau-hell); color: var(--rc-blau); }
.rcrm-nd__vchips .ist-konflikt { background: var(--rc-rot-hell); color: var(--rc-rot); }
.rcrm-nd__vhinweis { margin: 0 0 8px; padding: 7px 11px; border-radius: 8px; background: #fff1d9; color: #7a4a00; font-size: 12.5px; }
.rcrm-nd__vstamm { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px 16px; margin: 0 0 10px; font-size: 13px; }
.rcrm-nd__vgruppe { margin: 0 0 8px; border: 1px solid var(--rc-linie); border-radius: 10px; background: #fff; }
.rcrm-nd__vgruppe > summary { padding: 9px 12px; cursor: pointer; font-weight: 600; font-size: 13px; }
.rcrm-nd__vgruppe > summary b { margin-left: 4px; padding: 0 7px; border-radius: 999px; background: #eef3f7; font-size: 11.5px; }
.rcrm-nd__vgruppe > summary .button-link { margin-left: 10px; font-size: 12px; font-weight: 400; }
.rcrm-nd__vgruppe--konflikt > summary { color: var(--rc-rot); }
.rcrm-app table.rcrm-nd__vtab { border: 0; border-top: 1px solid var(--rc-linie); border-radius: 0 0 10px 10px; }
.rcrm-app table.rcrm-nd__vtab td { padding: 7px 10px; font-size: 13px; vertical-align: top; }
.rcrm-app table.rcrm-nd__vtab td.rcrm-nd__vcheck { width: 28px; }
.rcrm-app table.rcrm-nd__vtab td.rcrm-nd__vgeraet { width: 34%; }
.rcrm-nd__vfeld { display: inline-block; margin: 0 10px 2px 0; }
.rcrm-nd__vfeld em { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--rc-leise); margin-right: 3px; }
.rcrm-nd__vorschau ins { text-decoration: none; background: var(--rc-gruen-hell); color: #1e6b45; padding: 0 3px; border-radius: 3px; }
.rcrm-nd__vorschau del { color: #8a96a3; }
.rcrm-nd__vhin { display: block; font-size: 12px; color: #a35b00; }
.rcrm-nd__vfuss { margin: 10px 0 0; }
@media (max-width: 1300px) { .rcrm-nd__kpis { grid-template-columns: repeat(4, minmax(120px, 1fr)); } .rcrm-nd__chips { grid-column: 1 / -1; } }
@media (max-width: 782px) { .rcrm-nd__kpis { grid-template-columns: repeat(2, 1fr); } .rcrm-nd__werkzeug select { max-width: none; flex: 1 1 45%; } }

.rcrm-app table.rcrm-nd__tab th.ist-fest, .rcrm-app table.rcrm-nd__tab td.ist-fest { position: sticky; z-index: 2; }
.rcrm-app table.rcrm-nd__tab thead th.ist-fest { z-index: 3; }
.rcrm-app table.rcrm-nd__tab td[data-k="ip"].ist-fest { box-shadow: 6px 0 8px -6px rgba(16, 39, 58, .18); }
.rcrm-app table.rcrm-nd__tab tr.ist-auff td.rcrm-nd__nr { box-shadow: inset 3px 0 0 #e08a00; }
.rcrm-app .rcrm-nd__tab input[type="text"] { height: 30px; min-height: 30px; line-height: 18px; }
.rcrm-app .rcrm-nd__tab select { height: 30px; min-height: 30px; line-height: 18px; }
.rcrm-app .rcrm-nd__tab textarea { min-height: 30px; line-height: 18px; }
.rcrm-nd__werkzeug .rcrm-nd__spalten { position: relative; margin-left: auto; }
.rcrm-nd__werkzeug .rcrm-nd__spalten + .button-primary { margin-left: 0; }
.rcrm-nd__spalten > summary { list-style: none; }
.rcrm-nd__spalten > summary::-webkit-details-marker { display: none; }
.rcrm-nd__spalten > div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 2px; min-width: 220px; padding: 8px 10px; background: #fff; border: 1px solid var(--rc-linie); border-radius: 10px; box-shadow: 0 10px 30px rgba(16, 39, 58, .15); font-size: 13px; }
.rcrm-nd__spalten label { display: flex; align-items: center; gap: 6px; padding: 3px 2px; white-space: nowrap; cursor: pointer; }
/* Zellen-Eingaben einheitlich 30 px (überschreibt die 40-px-Formularfelder des CRM nur in dieser Tabelle) */
.rcrm-app table.rcrm-nd__tab input[type="text"], .rcrm-app table.rcrm-nd__tab select, .rcrm-app table.rcrm-nd__tab textarea { height: 30px !important; min-height: 30px !important; padding: 5px 6px !important; line-height: 18px !important; font-size: 13px !important; }
.rcrm-app table.rcrm-nd__tab select { padding-right: 22px !important; }
.rcrm-app table.rcrm-nd__tab textarea { height: auto !important; }
.rcrm-app table.rcrm-nd__tab .ist-mono { font-size: 12.5px !important; }
.rcrm-app table.rcrm-nd__tab select:not([multiple]):not([size]) { height: 30px !important; min-height: 30px !important; max-height: 30px; padding: 5px 22px 5px 6px !important; line-height: 18px !important; font-size: 13px !important; }
.rcrm-nd__scroll:has(> .rcrm-nd__tab--stamm) { display: inline-block; max-width: 100%; vertical-align: top; }
.rcrm-app table.rcrm-nd__tab td.rcrm-nd__nr { padding-top: 11px; }

/* PDF-Fenster: Spaltenauswahl */
.rcrm-nd__pdfwahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.rcrm-nd__pdfwahl label { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border: 1px solid var(--rc-linie); border-radius: 9px; background: #fff; font-size: 13px; cursor: pointer; }
.rcrm-nd__pdfwahl label span { font-size: 12px; color: var(--rc-leise); }
.rcrm-nd__pdfwahl label:has(input:checked) { border-color: var(--rc-blau); box-shadow: inset 0 0 0 1px var(--rc-blau); }
.rcrm-nd__pdfspalten { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 14px; margin: 0; padding: 10px 12px; border: 1px solid var(--rc-linie); border-radius: 10px; background: #fff; }
.rcrm-nd__pdfspalten legend { padding: 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--rc-leise); }
.rcrm-nd__pdfspalten legend span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.rcrm-nd__pdfspalten label { display: flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.rcrm-nd__pdfspalten:disabled { opacity: .5; }
.rcrm-nd__pdfspalten:disabled label { cursor: default; }
.rcrm-nd__pdfknoepfe { grid-column: 1 / -1; font-size: 12px; color: var(--rc-leise); }
.rcrm-nd__pdf a.disabled { pointer-events: none; opacity: .5; }

/* E-Mail-Designer: Fußzeile in drei Spalten */
.rcrm-md__fuss { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 12px; }
.rcrm-md__fussspalte { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: start; }
.rcrm-md__fussspalte textarea { min-height: 70px; }
@media (max-width: 782px) { .rcrm-md__fussspalte { grid-template-columns: 1fr; } }


/* ---------- Einheitliche Ecken (0.60.2): keine Pillenform mehr bei Filtern, Reitern und Marken ----------
 * Klickbare Filter/Reiter/Auswahl: 8 px (wie die Kundenreiter). Kleine Marken und Zähler: 5 px.
 * Rund bleiben bewusst nur Schalter, Fortschrittsbalken und Punkte. */
:root { --rc-r-filter: 8px; --rc-r-marke: 5px; }
.rcrm-chip, .rcrm-filterzeile a, .rcrm-it__sprung a, .rcrm-artwahl span, .rcrm-aw__wahl, .rcrm-app select.rcrm-aw__wahl,
.rcrm-md__chips button, .rcrm-nd__chip, .rcrm-mess__chip, .rcrm-unterreiter a, .rcrm-unterreiter button, .rcrm-aw__segk, .rcrm-ktabs__nav a { border-radius: var(--rc-r-filter) !important; }
.rcrm-badge, .rcrm-art, .rcrm-person, .rcrm-ktabs__zahl, .rcrm-dsgvo__art, .rcrm-dsgvo-marke, .rcrm-vorlage__fakten li,
.rcrm-app .rcrm-zliste__einsatz, .rcrm-it__sprung b, .rcrm-it__typ, .rcrm-banner-mini, .rcrm-an-st, .rcrm-schnell__tipp,
.rcrm-auf-gruppe h3 span, .rcrm-auf__marke, .rcrm-nd__reiter b, .rcrm-nd__vchips span, .rcrm-nd__vgruppe > summary b,
.rcrm-kopf__uhr, .rcrm-strahl__punkt b, .rcrm-chip b, .rcrm-chip span, .rcrm-filterzeile a b, .rcrm-filterzeile a span { border-radius: var(--rc-r-marke) !important; }
