/*!
 * ROSE CRM App – Aussehen aus dem Plugin ROSE CRM (Menüband, Suche, „+ Neu“, Dashboard).
 * Quelle: legacy/rose-crm-plugin/assets/basis.css, admin.css, oberflaeche.css (Stand 0.62.1).
 * (c) 2026 ROSE IT Management UG (haftungsbeschränkt). Alle Rechte vorbehalten.
 */
:root {
	--rc-navy: #10273a; --rc-navy-2: #18384f; --rc-blau: #165f85; --rc-blau-hell: #e3eff6;
	--rc-bernstein: #1e8fd5; --rc-bernstein-hell: #e7f2fb; --rc-rot: #c2412d; --rc-rot-hell: #fbe9e6;
	--rc-gruen: #2f8a5b; --rc-gruen-hell: #e2f3ea; --rc-flaeche: #f2f5f8; --rc-weiss: #ffffff;
	--rc-linie: #d9e2ea; --rc-text: #1b2b38; --rc-leise: #5d6f7e;
	--rc-titel: "K Montserrat", "Montserrat", "Segoe UI", sans-serif;
	--rc-text-font: "K Poppins", "Poppins", "Segoe UI", sans-serif;
	--rc-radius: 14px; --rc-radius-klein: 8px;
	/* Suite-Variablen (k-…) auf die ROSE-Farben setzen – Seiten aus der Basis sehen damit aus wie das Plugin. */
	--k-bg: #f2f5f8; --k-ink: #10273a; --k-text: #1b2b38; --k-muted: #5d6f7e; --k-line: #d9e2ea; --k-line-2: #eef2f5;
	--k-ok: #2f8a5b; --k-ok-bg: #e2f3ea; --k-bad: #c2412d; --k-bad-bg: #fbe9e6; --k-warn: #a8650a; --k-warn-bg: #fdf3e2;
	--k-r: 14px; --k-r-sm: 8px; --k-r-xs: 5px; --k-shadow: none;
}
body.rcrm-body { background: var(--rc-flaeche); color: var(--rc-text); font-family: var(--rc-text-font); font-size: 14px; }
.rcrm-body .k-card { box-shadow: none; }
.rcrm-body .k-title { display: flex; align-items: center; gap: 12px; font-size: 24px; color: var(--rc-navy); }
.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-body .k-main { max-width: 1680px; padding: 26px 28px 40px; }
.rcrm-body .k-footer { max-width: 1680px; padding: 16px 28px 28px; }
/* Fußzeile fest unten mit Version, „Was ist neu?“ und Statuspunkten (wie KARL ImmoSuite 1.33, ab 0.33.5). */
.rcrm-body { padding-bottom: 52px; }
.rcrm-body .k-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-width: none; margin: 0; padding: 9px 28px; display: flex; align-items: center; flex-wrap: nowrap; gap: 12px 28px; background: #fff; border-top: 1px solid var(--rc-linie); box-shadow: 0 -4px 18px rgba(16, 39, 58, .06); font-size: 13px; color: var(--rc-leise, #6a7a8b); }
.rcrm-body .k-footer a { color: inherit; text-decoration: none; }
.rcrm-body .k-footer a:hover { color: var(--rc-navy); }
.k-footer__ver { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--rc-navy); }
.k-footer__ver b { letter-spacing: .02em; }
.rcrm-body .k-footer .k-footer__neu { padding: 2px 8px; border-radius: 5px; background: #eef3f7; color: var(--rc-blau, #165f85); font-weight: 600; font-size: 12px; }
.rcrm-body .k-footer .k-footer__neu:hover { background: #e2ecf3; color: var(--rc-navy); }
.k-footer__status { flex: 0 1 auto; min-width: 0; margin: 0 auto; display: flex; gap: 6px 22px; flex-wrap: nowrap; overflow: hidden; }
.k-footer__status:has(+ .k-fb__sys) { margin-right: 0; } /* Status und „System“ zusammen in der Mitte (wie ImmoSuite) */
.k-footer__s { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.k-footer__s i { width: 8px; height: 8px; border-radius: 50%; background: #16955a; }
.k-footer__s.is-warn i { background: #d48612; }
.k-footer__s.is-bad i { background: #c2412d; }
.k-footer__s.is-bad { color: #c2412d; }
.k-footer__cred { white-space: nowrap; }
@media (max-width: 1100px) { .k-footer__cred { display: none; } }
@media (max-width: 760px) { .k-footer__status { display: none; } .rcrm-body .k-footer { padding: 8px 16px; justify-content: space-between; } }

/* ---------- Kopf (Marke, Mehr-Menü) ---------- */
.rcrm-kopf { position: sticky; top: 0; z-index: 60; }
.rcrm-kopf__marke { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; font-family: var(--rc-titel); font-weight: 700; font-size: 16px; letter-spacing: .02em; white-space: nowrap; }
.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__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__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, .rcrm-kopf__mehr-liste button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--rc-text) !important; text-decoration: none !important; font: inherit; font-size: 13.5px; white-space: nowrap; cursor: pointer; }
.rcrm-kopf__mehr-liste a:hover, .rcrm-kopf__mehr-liste button: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__mehr-liste small { display: block; padding: 6px 12px 4px; color: var(--rc-leise); font-size: 12px; }
.rcrm-kopf__mehr-liste form { margin: 0; }
.rcrm-kopf__mehr-liste [hidden] { display: none; }
.rcrm-band__p.ist-bald, .rcrm-band__p.ist-gesperrt { cursor: default; opacity: .5; }
.rcrm-band__p.ist-bald:hover, .rcrm-band__p.ist-gesperrt:hover { background: transparent; }
.rcrm-band__p.ist-bald i { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--rc-leise); }
.rcrm-neu__leer { padding: 10px 12px; font-size: 13px; color: var(--rc-leise); }
a.rcrm-band__p:hover, .rcrm-neu__liste a:hover, .rcrm-db a:hover { text-decoration: none; }

/* ---------- Symbolfeld ---------- */
.rcrm-ic { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: color-mix(in srgb, var(--f) 12%, #fff); }
.rcrm-ic svg { display: block; }

/* ---------- Kopf: dunkle Zeile ---------- */
.rcrm-kopf.rcrm-kopf--band { display: block; height: auto; padding: 0; gap: 0; background: transparent; color: inherit; overflow: visible; }
.rcrm-kb__zeile { display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 32px; background: var(--rc-navy); color: #fff; }
.rcrm-kopf--band .rcrm-kopf__marke { flex: none; gap: 12px; }
.rcrm-kb__name { display: grid; line-height: 1.15; white-space: nowrap; }
.rcrm-kb__name small { font-family: var(--rc-text-font); font-weight: 400; font-size: 11px; color: #9fb6c8; letter-spacing: 0; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.rcrm-kb__rechts { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.rcrm-kb__uhr { display: grid; justify-items: end; line-height: 1.15; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rcrm-kb__uhr b { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.rcrm-kb__uhr small { font-size: 11.5px; color: #9fb6c8; }
.rcrm-kb__ich { display: flex; align-items: center; gap: 9px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.rcrm-kb__ich span { width: 32px; height: 32px; border-radius: 50%; background: #1e8fd5; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* ---------- Suche ---------- */
.rcrm-such { position: relative; flex: 1 1 auto; max-width: 480px; min-width: 160px; }
.rcrm-such__feld { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; background: rgba(255, 255, 255, .06); transition: background .12s, border-color .12s; cursor: text; }
.rcrm-such__feld:focus-within { background: #fff; border-color: #fff; }
.rcrm-such__feld input[type=search] { flex: 1; min-width: 0; height: 36px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff; font: inherit; font-size: 13.5px; outline: 0; }
.rcrm-such__feld:focus-within input[type=search] { color: var(--rc-text); }
.rcrm-such__feld input::placeholder { color: #9fb6c8; }
.rcrm-such__feld input::-webkit-search-cancel-button { display: none; }
.rcrm-such__feld kbd { flex: none; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); color: #cfe0ec; font: 600 11px var(--rc-text-font); box-shadow: none; }
.rcrm-such__feld:focus-within kbd { background: #eef3f7; color: var(--rc-leise); }
.rcrm-such__liste { position: absolute; left: 0; right: 0; top: 46px; z-index: 200; max-height: min(70vh, 560px); overflow: auto; padding: 6px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 39, 58, .25); color: var(--rc-text); }
.rcrm-such__liste[hidden] { display: none; }
.rcrm-such__gruppe { padding: 8px 10px 4px; font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; color: #8a97a3; }
.rcrm-such__t { display: block; padding: 8px 10px; border-radius: 8px; color: var(--rc-text) !important; text-decoration: none; }
.rcrm-such__t strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--rc-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-such__t span { display: block; font-size: 12px; color: var(--rc-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-such__t:hover, .rcrm-such__t.ist-aktiv { background: #eef5fb; }
.rcrm-such__t mark { background: #fff1b8; color: inherit; border-radius: 2px; }
.rcrm-such__leer { padding: 14px 12px; font-size: 13px; color: var(--rc-leise); }

/* ---------- „+ Neu“ ---------- */
.rcrm-neu { position: relative; }
.rcrm-neu > summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px; border-radius: 8px; background: #1e8fd5; color: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.rcrm-neu > summary::-webkit-details-marker { display: none; }
.rcrm-neu > summary::after { content: ''; width: 6px; height: 6px; margin-left: 2px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translateY(-2px); }
.rcrm-neu > summary:hover, .rcrm-neu[open] > summary { background: #1a7fbf; }
.rcrm-neu__liste { position: absolute; right: 0; top: 46px; z-index: 200; min-width: 230px; padding: 6px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 39, 58, .25); display: grid; }
.rcrm-neu__liste a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--rc-text) !important; text-decoration: none; font-weight: 500; font-size: 13.5px; }
.rcrm-neu__liste a:hover { background: #eef5fb; }
.rcrm-neu__liste .rcrm-ic { width: 28px; height: 28px; border-radius: 7px; }

/* ---------- Menüband ---------- */
.rcrm-band { display: flex; align-items: stretch; margin: 0; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--rc-linie); overflow: hidden; }
/* Zu wenig Platz (band.js prüft beim Laden und bei Größenänderung, ab 0.36.3): erst enger, dann nur Symbole, zuletzt wischen ohne Leiste. */
.rcrm-band.ist-eng { padding: 0 10px; }
.rcrm-band.ist-eng .rcrm-band__gruppe { padding-left: 5px; padding-right: 5px; }
.rcrm-band.ist-eng .rcrm-band__punkte { gap: 0; }
.rcrm-band.ist-eng .rcrm-band__p { min-width: 54px; padding-left: 6px; padding-right: 6px; font-size: 12px; }
.rcrm-band.ist-klein { padding: 0 4px; }
.rcrm-band.ist-klein .rcrm-band__gruppe { padding-left: 2px; padding-right: 2px; }
.rcrm-band.ist-klein .rcrm-band__p { min-width: 0; padding-left: 4px; padding-right: 4px; font-size: 11px; gap: 3px; }
.rcrm-band.ist-klein .rcrm-band__p .rcrm-ic { width: 28px; height: 28px; }
.rcrm-band.ist-klein .rcrm-band__gruppe > small { font-size: 9px; letter-spacing: 1px; }
.rcrm-band.ist-kompakt .rcrm-band__p { min-width: 44px; padding-left: 6px; padding-right: 6px; }
.rcrm-band.ist-kompakt .rcrm-band__p > span:not(.rcrm-ic) { display: none; }
.rcrm-band.ist-kompakt .rcrm-band__p em { right: 2px; }
.rcrm-band.ist-wisch { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rcrm-band.ist-wisch::-webkit-scrollbar { display: none; }
.rcrm-band__gruppe { flex: none; padding: 8px 10px 7px; border-right: 1px solid var(--rc-linie); }
.rcrm-band__gruppe:last-child { border-right: 0; }
.rcrm-band__gruppe.ist-rechts { margin-left: auto; border-left: 1px solid var(--rc-linie); }
.rcrm-band__gruppe > small { display: block; margin: 0 0 4px 4px; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: #8a97a3; }
.rcrm-band__punkte { display: flex; gap: 2px; }
.rcrm-band__p { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 66px; padding: 6px 9px 5px; border-radius: 8px; color: #2b3c4a !important; text-decoration: none; font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: background .12s; }
.rcrm-band__p .rcrm-ic { width: 32px; height: 32px; transition: transform .12s; }
.rcrm-band__p:hover { background: #f4f7fa; }
.rcrm-band__p:hover .rcrm-ic { transform: translateY(-1px); }
.rcrm-band__p.ist-aktiv { background: #e7f2fb; color: var(--rc-navy) !important; font-weight: 600; }
.rcrm-band__p.ist-aktiv::after { content: ''; position: absolute; left: 26%; right: 26%; bottom: -7px; height: 3px; border-radius: 2px; background: #1e8fd5; }
.rcrm-band__p em { position: absolute; top: 1px; right: 8px; min-width: 16px; padding: 0 4px; border-radius: 5px; background: var(--rc-rot); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.rcrm-band__p:focus-visible { outline: 2px solid #1e8fd5; outline-offset: -2px; }

@media (max-width: 1280px) {
	.rcrm-kb__ich b { display: none; }
	.rcrm-such__feld kbd { display: none; }
}
@media (max-width: 960px) {
	.rcrm-kb__name small { display: none; }
	.rcrm-neu > summary span { display: none; }
	.rcrm-neu > summary { padding: 0 12px; }
	.rcrm-kb__uhr { display: none; }
	.rcrm-band__p { min-width: 58px; font-size: 12px; }
	.rcrm-band__gruppe.ist-rechts { margin-left: 0; }
}
@media (max-width: 782px) {
	.rcrm-kopf.rcrm-kopf--band { margin: 0 -14px; padding: 0; overflow: visible; }
	.rcrm-kb__zeile { padding: 0 14px; gap: 10px; }
	.rcrm-band { padding: 0 8px; }
	.rcrm-such { min-width: 0; }
	.rcrm-such__liste { position: fixed; left: 10px; right: 10px; top: 112px; }
}

/* =====================================================================
 * Dashboard
 * ===================================================================== */
.rcrm-db { display: grid; gap: 18px; margin: 24px 0 0; }
.rcrm-db a { text-decoration: none; }
.rcrm-db__hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 24px 28px; border-radius: 16px; color: #fff; background: linear-gradient(110deg, var(--rc-navy) 0%, #14476a 58%, #1679b8 100%); }
.rcrm-db__hero::after { content: ''; position: absolute; right: -80px; top: -140px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 143, 213, .45), transparent 70%); pointer-events: none; }
.rcrm-db__hero-text { position: relative; z-index: 1; flex: 1; min-width: 0; }
.rcrm-db__hero h1 { margin: 0; padding: 0; color: #fff; font-size: 26px; line-height: 1.2; }
.rcrm-db__hero p { margin: 5px 0 14px; color: #c8dbe9; font-size: 14px; }
.rcrm-db__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rcrm-db__chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; background: rgba(255, 255, 255, .05); color: #fff !important; font-size: 13px; font-weight: 500; transition: background .12s; }
.rcrm-db__chip b { font-weight: 700; }
.rcrm-db__chip:hover { background: rgba(255, 255, 255, .14); }
.rcrm-db__chip.ist-rot { border-color: rgba(255, 150, 130, .75); background: rgba(194, 65, 45, .25); }
.rcrm-db__hero-zahlen { position: relative; z-index: 1; display: flex; gap: 12px; flex: none; }
.rcrm-db__hero-zahlen a { min-width: 116px; padding: 12px 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff !important; transition: background .12s; }
.rcrm-db__hero-zahlen a:hover { background: rgba(255, 255, 255, .15); }
.rcrm-db__hero-zahlen b { display: block; font: 700 25px/1.15 var(--rc-titel); }
.rcrm-db__hero-zahlen span { font-size: 12px; color: #c8dbe9; white-space: nowrap; }

/* Kennzahlen */
.rcrm-db__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rcrm-db__kpi { display: block; padding: 16px 20px; background: #fff; border: 1px solid var(--rc-linie); border-radius: 14px; color: var(--rc-text) !important; transition: border-color .12s, box-shadow .12s; }
.rcrm-db__kpi:hover { border-color: #c9dbe8; box-shadow: 0 4px 14px rgba(16, 39, 58, .06); }
.rcrm-db__kpi-kopf { display: flex; align-items: center; gap: 10px; color: var(--rc-leise); font-size: 13.5px; }
.rcrm-db__kpi-rumpf { display: flex; align-items: flex-end; gap: 16px; margin-top: 10px; }
.rcrm-db__kpi-rumpf > div { flex: none; max-width: 100%; }
.rcrm-db__kpi-rumpf b { display: block; font: 700 27px/1.15 var(--rc-titel); color: var(--rc-navy); }
.rcrm-db__kpi-rumpf small { display: block; font-size: 12px; color: var(--rc-leise); margin-top: 2px; }
.rcrm-db__kpi-rumpf .ist-gut { color: var(--rc-gruen); font-weight: 600; }
.rcrm-db__kpi-rumpf .ist-schlecht { color: var(--rc-rot); font-weight: 600; }
.rcrm-db__spark { flex: 1; min-width: 60px; height: 36px; }

/* Reihen und Karten */
.rcrm-db__reihe { display: grid; gap: 18px; align-items: start; }
.rcrm-db__reihe--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); }
.rcrm-db__reihe--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rcrm-db__reihe--3b { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.rcrm-db__karte { margin: 0; padding: 20px 22px; height: 100%; box-sizing: border-box; }
.rcrm-db__kk { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.rcrm-db__kk h3 { margin: 0; font-size: 16px; color: var(--rc-navy); }
.rcrm-db__mehr { margin-left: auto; font-size: 13px; font-weight: 500; white-space: nowrap; }
.rcrm-db__mehr.ist-leise { color: var(--rc-leise); }
.rcrm-db__leer { margin: 6px 0 0; color: var(--rc-leise); font-size: 13.5px; }
.rcrm-db__fuss { margin: 10px 0 0; font-size: 12.5px; }
.rcrm-db__marke { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 600; color: var(--f); background: color-mix(in srgb, var(--f) 11%, #fff); white-space: nowrap; }
.rcrm-db__marke::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Mein Tag */
.rcrm-db__tag { list-style: none; margin: 0; padding: 0; }
.rcrm-db__tag li { position: relative; display: grid; grid-template-columns: 46px 22px minmax(0, 1fr); gap: 8px; padding: 0 0 16px; margin: 0; }
.rcrm-db__tag li time { font: 700 13.5px/1.4 var(--rc-titel); color: var(--rc-navy); padding-top: 1px; }
.rcrm-db__tag li > i { position: relative; }
.rcrm-db__tag li > i::before { content: ''; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--f); box-shadow: 0 0 0 4px color-mix(in srgb, var(--f) 16%, #fff); }
.rcrm-db__tag li:not(:last-child) > i::after { content: ''; position: absolute; left: 9px; top: 22px; bottom: -14px; width: 2px; background: var(--rc-linie); }
.rcrm-db__tag li > a { display: block; min-width: 0; color: var(--rc-text) !important; }
.rcrm-db__tag li strong { display: block; font-size: 14px; font-weight: 600; color: var(--rc-navy); line-height: 1.35; }
.rcrm-db__tag li span { display: block; font-size: 12.5px; color: var(--rc-leise); }
.rcrm-db__tag li.ist-vorbei { opacity: .55; }
.rcrm-db__tag li.ist-rot > a { margin-top: -6px; padding: 7px 11px; border: 1px solid #f5cdc6; border-radius: 9px; background: #fdf2f0; }
.rcrm-db__tag li.ist-rot strong { color: var(--rc-rot); }
.rcrm-db__tag li.rcrm-db__jetzt { grid-template-columns: 46px minmax(0, 1fr); align-items: center; padding: 0 0 12px; margin-top: -4px; }
.rcrm-db__jetzt b { font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; color: #1e8fd5; }
.rcrm-db__jetzt span { position: relative; height: 2px; background: #1e8fd5; }
.rcrm-db__jetzt span::before { content: ''; position: absolute; left: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #1e8fd5; }

/* Tickets */
.rcrm-db__ampel { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 6px; }
.rcrm-db__liste { list-style: none; margin: 0; padding: 0; }
.rcrm-db__liste li { margin: 0; border-bottom: 1px solid #eef2f5; }
.rcrm-db__liste li:last-child { border-bottom: 0; }
.rcrm-db__liste a { display: flex; align-items: center; gap: 11px; padding: 10px 0; color: var(--rc-text) !important; }
.rcrm-db__liste a:hover strong { color: var(--rc-blau); }
.rcrm-db__punkt { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--f); }
.rcrm-db__av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--f); color: #fff; font-size: 11.5px; font-weight: 700; }
.rcrm-db__txt { flex: 1; min-width: 0; }
.rcrm-db__txt strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--rc-navy); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rcrm-db__txt > span { display: block; font-size: 12px; color: var(--rc-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-db__st { flex: none; padding: 3px 8px; border-radius: 5px; background: #eef1f4; color: var(--rc-leise); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.rcrm-db__st.ist-fertig { background: #e3f4ea; color: #1c7a45; }
.rcrm-db__st.ist-teil { background: #e4f1fb; color: #165f85; }
.rcrm-db__liste a:not([href]) { cursor: default; }
.rcrm-db__liste a:not([href]):hover strong { color: inherit; }

/* Finanzen */
.rcrm-db__fin { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.rcrm-db__fbox { display: block; padding: 11px 13px; border-radius: 10px; color: var(--rc-text) !important; }
.rcrm-db__fbox span { display: block; font-size: 12px; font-weight: 600; }
.rcrm-db__fbox b { display: block; font: 700 21px/1.25 var(--rc-titel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-db__fbox small { display: block; font-size: 12px; color: var(--rc-leise); }
.rcrm-db__fbox.ist-rot { background: #fbe9e6; } .rcrm-db__fbox.ist-rot span, .rcrm-db__fbox.ist-rot b { color: var(--rc-rot); }
.rcrm-db__fbox.ist-gelb { background: #fdf3e2; } .rcrm-db__fbox.ist-gelb span, .rcrm-db__fbox.ist-gelb b { color: #a8650a; }
.rcrm-db__fbox.ist-gruen { background: #e2f3ea; } .rcrm-db__fbox.ist-gruen span, .rcrm-db__fbox.ist-gruen b { color: var(--rc-gruen); }
.rcrm-db__fin > .rcrm-db__fbox:only-child { grid-column: 1 / -1; }
.rcrm-db__balken { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rcrm-db__balken li { display: grid; grid-template-columns: minmax(0, 150px) 1fr auto; gap: 10px; align-items: center; margin: 0; font-size: 13px; }
.rcrm-db__balken li > span { font-weight: 600; color: var(--rc-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-db__balken i { display: block; height: 9px; border-radius: 5px; background: #e6edf2; overflow: hidden; }
.rcrm-db__balken i b { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #165f85, #1e8fd5); }
.rcrm-db__balken strong { color: var(--rc-navy); font-weight: 600; white-space: nowrap; }

/* Stunden je Monat */
.rcrm-db__saeulen { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 0 2px; border-bottom: 1px solid var(--rc-linie); }
.rcrm-db__saeulen a { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; color: var(--rc-leise) !important; position: relative; padding-bottom: 0; }
.rcrm-db__saeulen a span { font-size: 11.5px; font-weight: 600; }
.rcrm-db__saeulen a i { display: block; width: 100%; max-width: 38px; max-height: calc(100% - 22px); border-radius: 6px 6px 0 0; background: #cfe0ec; transition: background .12s; }
.rcrm-db__saeulen a:hover i { background: #a9c8de; }
.rcrm-db__saeulen a.ist-aktuell i { background: linear-gradient(180deg, #1e8fd5, #165f85); }
.rcrm-db__saeulen a small { position: absolute; bottom: -22px; font-size: 12px; }
.rcrm-db__saeulen a.ist-aktuell small { color: var(--rc-navy); font-weight: 700; }
.rcrm-db__stapel { display: flex; gap: 2px; height: 11px; margin: 34px 0 0; border-radius: 6px; overflow: hidden; }
.rcrm-db__stapel i { display: block; }
.rcrm-db__legende { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Kontingente */
.rcrm-db__ringe { list-style: none; margin: 0; padding: 0; }
.rcrm-db__ringe li { margin: 0; border-bottom: 1px solid #eef2f5; }
.rcrm-db__ringe li:last-child { border-bottom: 0; }
.rcrm-db__ringe a { display: flex; align-items: center; gap: 13px; padding: 8px 0; color: var(--rc-text) !important; }
.rcrm-db__ringe svg { flex: none; font-family: var(--rc-titel); }
.rcrm-db__ringe strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--rc-navy); }
.rcrm-db__ringe small { display: block; font-size: 12px; color: var(--rc-leise); }

/* Demnächst fällig */
.rcrm-db__kal { list-style: none; margin: 0; padding: 0; }
.rcrm-db__kal li { margin: 0; border-bottom: 1px solid #eef2f5; }
.rcrm-db__kal li:last-child { border-bottom: 0; }
.rcrm-db__kal a { display: flex; align-items: center; gap: 13px; padding: 9px 0; color: var(--rc-text) !important; }
.rcrm-db__blatt { flex: none; width: 44px; text-align: center; border: 1px solid var(--rc-linie); border-top: 3px solid var(--f); border-radius: 7px; padding: 2px 0 3px; }
.rcrm-db__blatt b { display: block; font: 700 16px/1.15 var(--rc-titel); color: var(--rc-navy); }
.rcrm-db__blatt small { display: block; font-size: 10px; text-transform: uppercase; color: var(--rc-leise); }
.rcrm-db__kal a > span:nth-child(2) { flex: 1; min-width: 0; }
.rcrm-db__kal strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--rc-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-db__kal small { display: block; font-size: 12px; color: var(--rc-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcrm-db__kal em { flex: none; font-style: normal; font-size: 12px; color: var(--rc-leise); white-space: nowrap; }
.rcrm-db__weitere { padding: 8px 0 0; font-size: 12.5px; color: var(--rc-leise); }

/* Bisherige Übersicht eingeklappt */
.rcrm-db__alt { margin: 22px 0 0; background: #fff; border: 1px solid var(--rc-linie); border-radius: 14px; padding: 0 22px; }
.rcrm-db__alt > summary { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; font: 700 15px var(--rc-titel); color: var(--rc-navy); }
.rcrm-db__alt > summary::-webkit-details-marker { display: none; }
.rcrm-db__alt > summary::before { content: '▸'; color: var(--rc-leise); transition: transform .12s; }
.rcrm-db__alt[open] > summary::before { transform: rotate(90deg); }
.rcrm-db__alt > summary small { font: 400 13px var(--rc-text-font); color: var(--rc-leise); }
.rcrm-db__alt[open] { padding-bottom: 22px; }
.rcrm-db__alt-aktion { display: flex; justify-content: flex-end; margin: -4px 0 14px; }

@media (max-width: 1360px) {
	.rcrm-db__reihe--3, .rcrm-db__reihe--3b { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rcrm-db__reihe--3 > :last-child, .rcrm-db__reihe--3b > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
	.rcrm-db__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rcrm-db__hero { flex-direction: column; align-items: stretch; }
	.rcrm-db__hero-zahlen a { flex: 1; min-width: 0; }
}
@media (max-width: 782px) {
	.rcrm-db__reihe--2, .rcrm-db__reihe--3, .rcrm-db__reihe--3b, .rcrm-db__kpis { grid-template-columns: minmax(0, 1fr); }
	.rcrm-db__hero { padding: 20px; }
	.rcrm-db__hero h1 { font-size: 22px; }
	.rcrm-db__hero-zahlen { gap: 8px; }
	.rcrm-db__hero-zahlen a { padding: 10px 12px; }
	.rcrm-db__hero-zahlen b { font-size: 20px; }
}


/* ---------- Anmeldeseite (ab 0.23.0, Entwurf „Leitstand“): links Netzplan mit Begrüßung, rechts das Formular ---------- */
.rcrm-auth { background: #fff; font-family: var(--rc-text-font); color: var(--rc-text); }
.rcrm-auth__wrap { grid-template-columns: minmax(0, 1.15fr) minmax(440px, 1fr); }
.rcrm-auth__seite { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 44px 56px; color: #fff; background: radial-gradient(1200px 700px at 85% 0%, #1b5a82 0%, transparent 60%), radial-gradient(900px 600px at 0% 100%, #0f3a58 0%, transparent 65%), var(--rc-navy); }
.rcrm-auth__netz { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; pointer-events: none; }
.rcrm-auth__seite > :not(.rcrm-auth__netz) { position: relative; }
.rcrm-auth__marke { display: flex; align-items: center; gap: 12px; font: 700 17px var(--rc-titel); letter-spacing: .03em; }
.rcrm-auth__zeichen { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.rcrm-auth__zeichen img { display: block; width: 30px; height: 30px; }
.rcrm-auth__mitte { margin: auto 0; max-width: 560px; padding: 32px 0; }
.rcrm-auth__fuer { display: inline-block; padding: 5px 10px; border-radius: 5px; background: rgba(30, 143, 213, .18); color: #9fd2f3; font: 600 11.5px var(--rc-text-font); letter-spacing: .08em; text-transform: uppercase; }
.rcrm-auth__mitte h2 { font: 700 44px/1.12 var(--rc-titel); color: #fff; margin: 18px 0 16px; letter-spacing: -.01em; }
.rcrm-auth__mitte h2 em { font-style: normal; color: #5cb6ee; }
.rcrm-auth__mitte > p { font-size: 16px; line-height: 1.65; color: #b9cfdf; margin: 0 0 34px; }
.rcrm-auth__kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 540px; }
.rcrm-auth__kacheln > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .09); }
.rcrm-auth__kacheln i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: rgba(30, 143, 213, .2); }
.rcrm-auth__kacheln svg { width: 18px; height: 18px; stroke: #7cc4f1; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcrm-auth__kacheln p { margin: 0; }
.rcrm-auth__kacheln b { display: block; font: 600 13.5px var(--rc-text-font); }
.rcrm-auth__kacheln span { display: block; font-size: 12px; color: #9fb8ca; margin-top: 2px; }
.rcrm-auth__datum { color: #7f9cb2; font-size: 12px; }
.rcrm-auth__main { justify-content: flex-start; align-items: stretch; padding: 44px 64px; background: #fff; }
.rcrm-auth__oben { display: flex; justify-content: flex-end; min-height: 38px; }
.rcrm-auth__oben .k-auth__logo { max-height: 42px; max-width: 220px; }
.k-auth__card.rcrm-auth__form { width: 100%; max-width: 400px; margin: auto; padding: 30px 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
.rcrm-auth .k-auth__title { font: 700 30px/1.2 var(--rc-titel); color: var(--rc-navy); margin: 0 0 8px; }
.rcrm-auth .k-auth__sub { color: var(--rc-leise); margin: 0 0 30px; font-size: 14.5px; }
.rcrm-auth .k-form { display: block; }
.rcrm-auth__feld.k-field { display: grid; gap: 7px; margin: 0 0 16px; }
.rcrm-auth .k-field > .rcrm-auth__kopf { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; color: var(--rc-navy); }
.rcrm-auth__kopf a { font-weight: 500; font-size: 12.5px; color: var(--rc-blau); text-decoration: none; }
.rcrm-auth__kopf a:hover { text-decoration: underline; }
.rcrm-auth__eingabe { position: relative; display: flex; align-items: center; }
.rcrm-auth__eingabe svg.ic { position: absolute; left: 14px; width: 18px; height: 18px; stroke: #8aa0b2; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.rcrm-auth .k-field .rcrm-auth__eingabe input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]) { width: 100%; height: 48px; min-height: 48px; padding: 0 44px; border: 1px solid #cfdbe5; border-radius: 8px; background: #fff; font: 500 14.5px var(--rc-text-font); color: var(--rc-text); box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.rcrm-auth .k-field .rcrm-auth__eingabe input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):focus { outline: 0; border-color: #1e8fd5; box-shadow: 0 0 0 4px rgba(30, 143, 213, .15); }
.rcrm-auth .rcrm-auth__eingabe input::placeholder { color: #9fb0bf; font-weight: 400; }
.rcrm-auth .rcrm-auth__eingabe input.k-code-input { letter-spacing: .2em; font-size: 18px; }
.rcrm-auth__auge { position: absolute; right: 6px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; background: none; border-radius: 6px; cursor: pointer; }
.rcrm-auth__auge svg { width: 19px; height: 19px; stroke: #6f8597; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcrm-auth__auge:hover, .rcrm-auth__auge[aria-pressed="true"] { background: #eef3f7; }
.rcrm-auth .rcrm-auth__los { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; margin-top: 6px; border: 0; border-radius: 8px; background: var(--rc-blau); color: #fff; font: 600 15px var(--rc-text-font); cursor: pointer; box-shadow: 0 8px 20px rgba(22, 95, 133, .28); transition: background .15s; }
.rcrm-auth .rcrm-auth__los:hover { background: #124f6f; }
.rcrm-auth__los svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.rcrm-auth__los:hover svg { transform: translateX(3px); }
.rcrm-auth__trenner { display: flex; align-items: center; gap: 12px; margin: 26px 0 16px; color: #8aa0b2; font-size: 12px; }
.rcrm-auth__trenner::before, .rcrm-auth__trenner::after { content: ""; flex: 1; height: 1px; background: var(--rc-linie); }
.rcrm-auth__kunde { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--rc-linie); border-radius: 10px; color: var(--rc-text); text-decoration: none; transition: border-color .15s, background .15s; }
.rcrm-auth__kunde:hover { border-color: #b9cfe0; background: #f7fafc; }
.rcrm-auth__kunde-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--rc-blau-hell); }
.rcrm-auth__kunde-ic svg { width: 19px; height: 19px; stroke: var(--rc-blau); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcrm-auth__kunde b { display: block; font-size: 13.5px; color: var(--rc-navy); font-weight: 600; }
.rcrm-auth__kunde small { display: block; color: var(--rc-leise); font-size: 12.5px; }
.rcrm-auth__chev { margin-left: auto; flex: none; width: 18px; height: 18px; stroke: #8aa0b2; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rcrm-auth .k-auth__link { text-align: center; margin: 18px 0 0; font-size: 13px; }
.rcrm-auth .k-auth__link a { color: var(--rc-blau); }
.rcrm-auth .k-auth__card .k-flash, .rcrm-auth .k-auth__card .k-notice { margin-bottom: 18px; }
.rcrm-auth__fuss { display: grid; gap: 6px; }
.rcrm-auth__sicher { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--rc-leise); font-size: 12px; }
.rcrm-auth__sicher svg { width: 14px; height: 14px; stroke: #2f8a5b; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rcrm-auth .k-auth__foot { margin: 0; color: #8aa0b2; font-size: 11.5px; gap: 1px; }
.rcrm-auth .k-auth__foot b { color: var(--rc-leise); }
@media (prefers-reduced-motion: reduce) { .rcrm-auth__los svg, .rcrm-auth__los:hover svg { transition: none; transform: none; } }
@media (max-width: 1100px) { .rcrm-auth__seite { padding: 36px 36px; } .rcrm-auth__mitte h2 { font-size: 36px; } .rcrm-auth__main { padding: 36px 40px; } }
@media (max-width: 900px) {
	.rcrm-auth__wrap { grid-template-columns: minmax(0, 1fr); }
	.rcrm-auth__seite { padding: 22px 20px 24px; }
	.rcrm-auth__mitte { margin: 22px 0 0; padding: 0; }
	.rcrm-auth__mitte h2 { font-size: 26px; margin: 0; }
	.rcrm-auth__mitte > p, .rcrm-auth__kacheln, .rcrm-auth__datum, .rcrm-auth__fuer { display: none; }
	.rcrm-auth__main { padding: 26px 20px 24px; }
	.rcrm-auth__oben { display: none; }
	.k-auth__card.rcrm-auth__form { padding: 0 0 28px; margin: 0 auto; }
	.rcrm-auth .k-auth__title { font-size: 24px; }
}

/* ---------- Übersicht: Abstände, Erste Schritte als Liste ---------- */
.rcrm-body .rcrm-db { margin-top: 0; }
.rcrm-db .k-steps__list { grid-template-columns: minmax(0, 1fr) !important; gap: 8px; }
.rcrm-db .k-steps__list a { padding: 10px 12px; border-radius: 10px; align-items: center; }
.rcrm-db .k-steps__list b { font-size: 13.5px; font-weight: 600; color: var(--rc-navy); }
.rcrm-db .k-steps__list small { font-size: 12px; }
.rcrm-db .k-steps__list a:hover { border-color: #c9dbe8; background: #f4f9fd; }
.rcrm-db .k-sys { margin: 0; }

/* Kopf: Randausgleich aus crm.css (WordPress-Rahmen) aufheben */
.rcrm-kopf.rcrm-kopf--band { margin: 0; }

/* Breite Bildschirme: Kopfzeile und Menüband bündig mit dem Inhalt (max. 1680 px wie KARL ImmoSuite, mittig) – wie im Plugin
   im Vollbild (oberflaeche.css, .rcrm-fokus). Prozent bezieht sich auf die Seitenbreite ohne Scrollleiste. */
.rcrm-body .rcrm-kb__zeile { padding-left: max(28px, calc((100% - 1680px) / 2 + 28px)); padding-right: max(28px, calc((100% - 1680px) / 2 + 28px)); }
.rcrm-body .rcrm-band { padding-left: max(18px, calc((100% - 1680px) / 2 + 18px)); padding-right: max(18px, calc((100% - 1680px) / 2 + 18px)); }
@media (max-width: 782px) {
	.rcrm-body .rcrm-kb__zeile { padding-left: 14px; padding-right: 14px; }
	.rcrm-body .rcrm-band { padding-left: 8px; padding-right: 8px; }
	.rcrm-body .k-main { padding: 18px 14px 32px; }
}

/* Einstellungen → Kundenbereich → App (0.21.0) */
.k-pruefliste { list-style: none; margin: 6px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.k-pruefliste li { font-size: 13px; line-height: 1.4; padding: 4px 10px; border-radius: 5px; background: #eef2f6; color: #2b3c4a; }
.k-pruefliste li.ok { background: #e6f4ea; color: #1d6b3a; }
.k-pruefliste li.nein { background: #fdecea; color: #a1271b; }

/* ---------- Kalender (ab 0.23.0): Liste „Nächste Termine“ ohne Einzug, Pfeile in der Kopfzeile lesbar ---------- */
.rcrm-app .rcrm-termine__liste { list-style: none; padding: 0; }
.rcrm-app .rcrm-zkopf__nav .button { min-width: 38px; justify-content: center; font-size: 18px; line-height: 1; }
.rcrm-app .rcrm-termin__ab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.k-card .rcrm-ki-test { margin: 4px 0 18px; }
.rcrm-auth__merken.k-check { margin: -2px 0 18px; font-size: 13.5px; }
.rcrm-auth__merken.k-check small { display: block; margin-top: 2px; font-size: 12px; color: var(--rc-leise, #6b7c8c); }

/* Erste Schritte zum Abhaken (ab 0.36.0): Kreis = Knopf, Text = Link. */
.rcrm-db .k-steps__list li { display: flex; align-items: center; gap: 12px; padding-left: 12px; border: 1px solid var(--k-line, #e3e9ef); border-radius: 10px; }
.rcrm-db .k-steps__list li:hover { border-color: #c9dbe8; background: #f4f9fd; }
.rcrm-db .k-steps__list li > a { flex: 1; min-width: 0; border: 0 !important; background: none !important; padding: 10px 12px 10px 0; display: flex; align-items: center; gap: 10px; }
.rcrm-db .k-steps__list li > a > span { flex: 1; min-width: 0; }
.rcrm-db .k-steps__list li > a em { font-style: normal; font-size: 11.5px; color: #8a9aa8; white-space: nowrap; }
.rcrm-db .k-steps__list button.k-steps__check { width: 26px; height: 26px; padding: 0; background: #fff; cursor: pointer; font: inherit; font-size: 13px; line-height: 1; transition: border-color .15s, background .15s; }
.rcrm-db .k-steps__list button.k-steps__check:hover { border-color: #2f8a5b; background: #e8f3ec; }
.rcrm-db .k-steps__list span.k-steps__check { width: 26px; height: 26px; }
.rcrm-db .k-steps__list .is-hand .k-steps__check { background: #9aa8b5 !important; border-color: #9aa8b5 !important; color: #fff; }
.rcrm-db .k-steps__list .is-hand button.k-steps__check:hover { background: #7d8b98 !important; }
.rcrm-db .k-steps form { margin: 0; }
.rcrm-db__schritt-balken { height: 6px; margin: -4px 0 14px; background: #e9eef3; border-radius: 3px; overflow: hidden; }
.rcrm-db__schritt-balken i { display: block; height: 100%; background: #2f8a5b; transition: width .4s; }

/* Leitstand: Radar · Halbjahr · Konsole (ab 0.36.0). */
/* Karten des Leitstands (ab 0.36.2 je Karte ein-/ausblendbar). */
.rcrm-ls { container-type: inline-size; }
.rcrm-ls .rcrm-db__kk h3 { flex: 1; }
.rcrm-ls__aus { margin: 0; }
.rcrm-ls__aus button { width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #9aa8b5; font-size: 18px; line-height: 1; cursor: pointer; }
.rcrm-ls__aus button:hover { background: #eef3f7; color: var(--rc-navy, #10273a); }
.rcrm-ls__ein { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: -6px 0 0; font-size: 12.5px; color: #8a9aa8; }
.rcrm-ls__ein button { border: 1px dashed #c9d5df; background: #fff; border-radius: 8px; padding: 4px 10px; font: inherit; color: var(--rc-blau, #165f85); cursor: pointer; }
.rcrm-ls__ein button:hover { border-style: solid; background: #f4f9fd; }
.rcrm-ls__ein a { color: #8a9aa8; margin-left: 6px; }
.rcrm-db__reihe--3g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1280px) { .rcrm-db__reihe--3g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rcrm-db__reihe--3g > :last-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .rcrm-db__reihe--3g { grid-template-columns: minmax(0, 1fr); } }

.rcrm-ls__fuss { margin: 12px 0 0; font-size: 12px; text-align: right; }
.rcrm-ls__fuss a { color: #8a9aa8; }
.rcrm-ls__unter { margin: 0 0 8px; font-size: 12px; color: #6a7a8b; }
/* Radar */
.rcrm-ls__radar { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: 20px; align-items: center; }
.rcrm-ls__schirm { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #0f2c40 0, #0a1f2e 72%); box-shadow: inset 0 0 0 1px #1d4a66, 0 0 0 6px #e9f1f6; overflow: hidden; }
.rcrm-ls__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(110, 200, 255, .17); }
.rcrm-ls__achse { position: absolute; background: rgba(110, 200, 255, .14); }
.rcrm-ls__achse--v { left: 50%; top: 4%; bottom: 4%; width: 1px; }
.rcrm-ls__achse--h { top: 50%; left: 4%; right: 4%; height: 1px; }
.rcrm-ls__strahl { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(53, 214, 160, .5), rgba(53, 214, 160, 0) 65deg, transparent 360deg); animation: rcrm-ls-dreh 5s linear infinite; }
@keyframes rcrm-ls-dreh { to { transform: rotate(360deg); } }
.rcrm-ls__blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .07), 0 0 10px var(--c); z-index: 2; }
.rcrm-ls__blip:hover { width: 13px; height: 13px; }
.rcrm-ls__blip.ist-heiss::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--c); animation: rcrm-ls-puls 1.8s ease-out infinite; }
@keyframes rcrm-ls-puls { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(1.6); } }
.rcrm-ls__lab { position: absolute; transform: translate(9px, -50%); font-size: 10px; color: #cfe6f5; white-space: nowrap; pointer-events: none; z-index: 1; text-shadow: 0 1px 2px #0a1f2e; }
.rcrm-ls__legende { display: grid; gap: 9px; min-width: 0; }
.rcrm-ls__gross { margin: 0 0 2px; display: flex; align-items: baseline; gap: 8px; }
.rcrm-ls__gross b { font-size: 30px; font-weight: 700; line-height: 1; color: var(--rc-navy, #10273a); }
.rcrm-ls__gross.ist-ruhig b { color: #2f8a5b; font-size: 24px; }
.rcrm-ls__gross span { font-size: 13px; color: #6a7a8b; }
.rcrm-ls__zeile { display: flex; gap: 10px; align-items: flex-start; margin: 0; text-decoration: none !important; color: inherit; }
.rcrm-ls__zeile i { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; background: var(--c); }
.rcrm-ls__zeile span { min-width: 0; overflow: hidden; }
.rcrm-ls__legende { overflow: hidden; }
.rcrm-ls__zeile b { display: block; font-size: 13px; font-weight: 600; color: var(--rc-navy, #10273a); }
.rcrm-ls__zeile small { display: block; font-size: 12px; color: #6a7a8b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.rcrm-ls__zeile:hover b { color: var(--rc-blau, #165f85); }
.rcrm-ls__mehr { margin: 0; font-size: 12px; color: #8a9aa8; }
/* Halbjahr */
.rcrm-ls__hm { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; margin-bottom: 12px; }
.rcrm-ls__hm i { display: block; aspect-ratio: 1; border-radius: 3px; background: #ebeff3; }
.rcrm-ls__hm i.l1 { background: #cfe6da; } .rcrm-ls__hm i.l2 { background: #8fcfae; } .rcrm-ls__hm i.l3 { background: #3fae78; } .rcrm-ls__hm i.l4 { background: #1f7a4d; }
.rcrm-ls__hm i.ist-zukunft { background: transparent; }
.rcrm-ls__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rcrm-ls__stats div { background: #f7f9fb; border-radius: 10px; padding: 9px 11px; min-width: 0; }
.rcrm-ls__stats b { display: block; font-size: 17px; font-weight: 700; color: var(--rc-navy, #10273a); white-space: nowrap; }
.rcrm-ls__stats small { display: block; font-size: 11.5px; line-height: 1.35; color: #6a7a8b; }
.rcrm-ls__abz { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rcrm-ls__badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--k-line, #e3e9ef); border-radius: 8px; padding: 4px 9px; font-size: 12px; color: var(--rc-navy, #10273a); }
.rcrm-ls__badge span { font-size: 15px; }
.rcrm-ls__badge.ist-zu { opacity: .45; filter: grayscale(1); }
/* Konsole */
.rcrm-ls__term { background: #0b1620; border-radius: 10px; padding: 12px 14px; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #9fe3c2; min-height: 230px; max-height: 300px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; }
.rcrm-ls__t { color: #5d7b8f; }
.rcrm-ls__k { color: #7cc4ff; }
.rcrm-ls__k.ist-w { color: #f0b35a; } .rcrm-ls__k.ist-r { color: #ff7b6b; }
.rcrm-ls__prompt { display: flex; align-items: center; gap: 8px; margin-top: 2px; cursor: text; }
.rcrm-ls__prompt span { color: #9fe3c2; white-space: nowrap; }
.rcrm-ls__prompt input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; padding: 0 !important; font: inherit; color: #e9fbf2; caret-color: #9fe3c2; }
.rcrm-ls__prompt input::placeholder { color: #3e5a6c; }
.rcrm-ls__status { margin-top: 8px; font: 11.5px ui-monospace, Menlo, Consolas, monospace; color: #5d7b8f; white-space: pre-wrap; }
@media (prefers-reduced-motion: reduce) { .rcrm-ls__strahl, .rcrm-ls__blip.ist-heiss::after { animation: none; } }
@media (max-width: 1280px) { .rcrm-ls__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rcrm-ls__radar { grid-template-columns: 1fr; } .rcrm-ls__schirm { max-width: 280px; margin: 0 auto; width: 100%; } }

/* Sicherheit & System in der Fußzeile (ab 0.36.1, wie KARL ImmoSuite 1.36; nur Administrator). */
.k-fb__sys { position: relative; flex: none; margin-right: auto; }
.k-fb__sysbtn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: var(--rc-leise, #6a7a8b); font: inherit; cursor: pointer; white-space: nowrap; }
.k-fb__sysbtn .k-ico { width: 14px; height: 14px; color: var(--k-c-ok); }
.k-fb__sysbtn:hover, .k-fb__sysbtn[aria-expanded=true] { background: #eef3f7; color: var(--rc-navy); }
.k-fb__sysbtn.is-warn, .k-fb__sysbtn.is-bad { font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent); }
.k-fb__sysbtn.is-warn { --c: var(--k-c-warn); } .k-fb__sysbtn.is-bad { --c: var(--k-c-bad); }
.k-fb__sysbtn.is-warn .k-ico, .k-fb__sysbtn.is-bad .k-ico { color: var(--c); }
.k-fb__sysbtn.is-warn:hover, .k-fb__sysbtn.is-bad:hover, .k-fb__sysbtn.is-warn[aria-expanded=true], .k-fb__sysbtn.is-bad[aria-expanded=true] { color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.k-fb__pop { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 60; width: 390px; max-height: calc(100vh - 140px); overflow: auto; background: #fff; border: 1px solid var(--rc-linie, #e3e9ef); border-radius: 14px; box-shadow: 0 18px 50px rgba(16, 24, 40, .18); padding: 16px 18px 12px; color: var(--rc-navy); font-size: 13px; text-align: left; white-space: normal; }
.k-fb__pop[hidden] { display: none; }
.k-fb__pop h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; color: var(--rc-navy); }
.k-fb__pop h3 .k-ico { width: 17px; height: 17px; color: var(--k-c-warn); }
.k-fb__popn { margin-left: auto; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 5px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.k-fb__popn.is-ok { --c: var(--k-c-ok); } .k-fb__popn.is-warn { --c: var(--k-c-warn); } .k-fb__popn.is-bad { --c: var(--k-c-bad); }
.k-fb__pop .k-sys li { padding: 7px 0; font-size: 13.5px; }
.rcrm-body .k-footer .k-fb__pop .k-sys a { color: var(--rc-navy); }
.rcrm-body .k-footer .k-fb__pop .k-sys a:hover { color: var(--rc-blau, #165f85); }
.k-fb__popf { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--rc-linie, #e3e9ef); font-size: 12.5px; }
.rcrm-body .k-footer .k-fb__popf a { color: var(--rc-blau, #165f85); }
@media (max-width: 760px) {
	.k-fb__sys { position: static; }
	.k-fb__syst { display: none; }
	.k-fb__pop { left: 10px; right: 10px; width: auto; transform: none; bottom: calc(100% + 8px); }
}
/* Schmale Karte (z. B. drei nebeneinander bei 1440 px): Radar über der Liste, Kennzahlen 2 × 2. Steht am Ende, damit es vorgeht. */
@container (max-width: 600px) {
	.rcrm-ls .rcrm-ls__radar { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.rcrm-ls .rcrm-ls__schirm { width: 100%; max-width: 250px; margin: 0 auto; }
	.rcrm-ls .rcrm-ls__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rcrm-ls__term > div { white-space: pre; overflow: hidden; text-overflow: ellipsis; }

/* Hinweis „ROSE CRM wurde aktualisiert“ auf dem Handy: Knöpfe unter den Text statt daneben (ab 0.38.0). */
@media (max-width: 700px) {
	.k-news-bar { flex-wrap: wrap; }
	.k-news-bar__main { flex: 1 1 calc(100% - 60px); }
	.k-news-bar__act { width: 100%; }
}
