/* Plain CSS (no Tailwind build needed) for custom VereinCRM views */
.vc-muted { color: var(--gray-500); font-size: .875rem; margin-bottom: .75rem; }
.vc-dues { overflow-x: auto; }
.vc-dues-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.vc-dues-table th { text-align: center; font-weight: 600; color: var(--gray-500); padding: .4rem .3rem; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.vc-dues-table td { text-align: center; padding: .45rem .3rem; border-bottom: 1px solid var(--gray-100); }
.dark .vc-dues-table th { border-color: rgba(255,255,255,.1); }
.dark .vc-dues-table td { border-color: rgba(255,255,255,.05); }
.vc-dues-table .vc-year { font-weight: 600; text-align: left; }
.vc-dues-table .vc-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vc-cell { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; height: 1.75rem; border-radius: .375rem; font-weight: 600; font-size: .8rem; }
.vc-cell.vc-wide { padding: 0 .75rem; }
.vc-paid { background: var(--success-50); color: var(--success-700); }
.vc-open { background: var(--danger-50); color: var(--danger-700); }
.vc-none { color: var(--gray-400); }
.dark .vc-paid { background: color-mix(in oklab, var(--success-500) 20%, transparent); color: var(--success-400); }
.dark .vc-open { background: color-mix(in oklab, var(--danger-500) 20%, transparent); color: var(--danger-400); }
.vc-danger { color: var(--danger-600); font-weight: 600; }
.vc-ok { color: var(--success-600); }

/* ---------- Event calendar ---------- */
.vc-cal-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1280px) { .vc-cal-layout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } }
.vc-cal-toolbar { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.vc-cal-nav { display: flex; align-items: center; gap: .5rem; }
.vc-cal-title { font-size: 1.125rem; font-weight: 600; min-width: 10rem; text-align: center; }
.vc-cal-filter { display: flex; flex-wrap: wrap; gap: .375rem; }
.vc-chip { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 500; padding: .25rem .625rem; border-radius: 999px; border: 1px solid var(--gray-200); color: var(--gray-600); background: transparent; cursor: pointer; }
.vc-chip:hover { background: var(--gray-50); }
.vc-chip-active { background: var(--primary-50); border-color: var(--primary-300); color: var(--primary-700); }
.dark .vc-chip { border-color: rgba(255,255,255,.1); color: var(--gray-300); }
.dark .vc-chip:hover { background: rgba(255,255,255,.05); }
.dark .vc-chip-active { background: color-mix(in oklab, var(--primary-500) 20%, transparent); color: var(--primary-300); }
.vc-dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--vc-c); }

.vc-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); transition: opacity .15s; }
.vc-cal-grid.vc-loading { opacity: .6; }
.dark .vc-cal-grid, .dark .vc-cal-head, .dark .vc-cal-day { border-color: rgba(255,255,255,.08) !important; }
.vc-cal-head { font-size: .75rem; font-weight: 600; color: var(--gray-500); text-align: center; padding: .5rem 0; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.vc-cal-day { min-height: 7rem; padding: .25rem; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.vc-cal-day.vc-weekend { background: color-mix(in oklab, var(--gray-100) 40%, transparent); }
.dark .vc-cal-day.vc-weekend { background: rgba(255,255,255,.02); }
.vc-cal-day.vc-out { opacity: .45; }
.vc-cal-num { align-self: flex-end; font-size: .75rem; font-weight: 600; color: var(--gray-500); width: 1.6rem; height: 1.6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
.vc-cal-num:hover { background: var(--gray-100); color: var(--gray-900); }
.dark .vc-cal-num:hover { background: rgba(255,255,255,.1); color: #fff; }
.vc-today .vc-cal-num { background: var(--primary-600); color: #fff; }
.vc-cal-events { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.vc-cal-event { display: flex; gap: .25rem; align-items: baseline; font-size: .72rem; line-height: 1.2; padding: .2rem .35rem; border-radius: .3rem; background: color-mix(in oklab, var(--vc-c) 14%, transparent); border-left: 3px solid var(--vc-c); color: var(--gray-800); overflow: hidden; }
.vc-cal-event:hover { background: color-mix(in oklab, var(--vc-c) 26%, transparent); }
.dark .vc-cal-event { color: var(--gray-100); }
.vc-cal-time { font-weight: 600; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.vc-cal-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .vc-cal-day { min-height: 4.5rem; }
  .vc-cal-label, .vc-cal-time { display: none; }
  .vc-cal-event { height: .4rem; padding: 0; border-left-width: 0; background: var(--vc-c); }
}

.vc-up { display: flex; gap: .75rem; padding: .6rem .25rem; border-bottom: 1px solid var(--gray-100); align-items: center; }
.vc-up:last-child { border-bottom: 0; }
.dark .vc-up { border-color: rgba(255,255,255,.05); }
.vc-up:hover .vc-up-title { color: var(--primary-600); }
.vc-up-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .5rem; background: color-mix(in oklab, var(--vc-c) 15%, transparent); color: var(--vc-c); flex-shrink: 0; }
.vc-up-day { font-weight: 700; font-size: 1rem; line-height: 1; }
.vc-up-mon { font-size: .65rem; text-transform: uppercase; font-weight: 600; }
.vc-up-title { font-weight: 600; font-size: .875rem; }
.vc-up-meta { font-size: .75rem; color: var(--gray-500); }

/* ---------- Year-over-year comparison ---------- */
.vc-compare th small { font-weight: 400; color: var(--gray-400); }
.vc-compare th.vc-current { color: var(--primary-600); }
.vc-compare .vc-subhead { text-align: left; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); padding-top: 1rem; }
.vc-note { margin-top: .75rem; padding: .6rem .8rem; border-radius: .5rem; background: var(--gray-50); font-size: .85rem; color: var(--gray-700); border-left: 3px solid var(--primary-500); }
.dark .vc-note { background: rgba(255,255,255,.04); color: var(--gray-300); }

/* ---------- Registration link / QR ---------- */
.vc-link { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; }
.vc-qr { align-self: center; background: #fff; padding: .75rem; border-radius: .75rem; line-height: 0; }
.vc-qr svg { width: 200px; height: 200px; }
.vc-url { display: flex; gap: .5rem; }
.vc-url input { flex: 1; min-width: 0; font-size: .8rem; padding: .4rem .6rem; border-radius: .5rem; border: 1px solid var(--gray-300); background: transparent; color: inherit; }
.dark .vc-url input { border-color: rgba(255,255,255,.15); }
.vc-warn { padding: .6rem .8rem; border-radius: .5rem; background: var(--warning-50); color: var(--warning-700); font-size: .85rem; }
.dark .vc-warn { background: color-mix(in oklab, var(--warning-500) 15%, transparent); color: var(--warning-400); }

/* =====================================================================
   Kombi design (approved 05.11.2026, design/variant-11-kombi.html)
   Themes via <html data-ui="bruecke|original">, set per user.
   ===================================================================== */
:root {
  --vc-side-bg: #111827; --vc-side-text: #cbd5e1; --vc-side-muted: #8b95a7;
  --vc-side-line: rgba(255,255,255,.08); --vc-gold: #f5c400; --vc-red: #dd0000;
  --vc-hero: linear-gradient(120deg, var(--primary-600), var(--primary-800));
}
html[data-ui=bruecke] { --vc-side-bg: #121212; --vc-hero: linear-gradient(120deg, #0057b7 0%, #0a4a9c 60%, #123a73 100%); }
html.dark { --vc-side-bg: #0a0c10; }
html.dark[data-ui=bruecke] { --vc-gold: #ffd500; --vc-hero: linear-gradient(120deg, #0b3d80, #14284a); }
.fi-body { background: #f5f6f8; }
html.dark .fi-body { background: #0f1115; }

/* --- dark sidebar --- */
.fi-sidebar, .fi-sidebar-header { background: var(--vc-side-bg) !important; box-shadow: none !important; }
.fi-sidebar { border-inline-end: 1px solid var(--vc-side-line); }
html[data-ui=bruecke] .fi-sidebar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, #000 0 20%, #dd0000 0 40%, #ffce00 0 60%, #0057b7 0 80%, #ffd500 0);
}
.fi-sidebar .fi-sidebar-group-label { color: var(--vc-side-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.fi-sidebar .fi-sidebar-group-btn .fi-icon, .fi-sidebar .fi-sidebar-group-collapse-btn { color: var(--vc-side-muted) !important; }
.fi-sidebar .fi-sidebar-item-label { color: var(--vc-side-text); }
.fi-sidebar .fi-sidebar-item-icon, .fi-sidebar .fi-sidebar-item-btn > .fi-icon { color: var(--vc-side-muted) !important; }
.fi-sidebar .fi-sidebar-item-btn:hover, .fi-sidebar .fi-sidebar-item-btn:focus-visible { background: var(--vc-side-line) !important; }
.fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn { background: var(--primary-600) !important; }
.fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-sidebar-item-label,
.fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-icon { color: #fff !important; }
html[data-ui=bruecke] .fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn { box-shadow: inset 3px 0 0 var(--vc-gold); }
.fi-sidebar .fi-sidebar-item-grouped-border-part, .fi-sidebar .fi-sidebar-item-grouped-border > div { background: var(--vc-side-line) !important; }
.fi-sidebar .fi-sidebar-footer, .fi-sidebar .fi-sidebar-nav { scrollbar-color: #333 transparent; }
.fi-sidebar .fi-sidebar-header .fi-icon-btn { color: var(--vc-side-muted); }

/* --- brand --- */
.vc-brand { display: flex; align-items: center; gap: 10px; height: 100%; }
.vc-brand-logo { width: 42px; height: 42px; border-radius: 12px; background: #fff; padding: 3px; object-fit: contain; box-shadow: 0 1px 3px rgba(0,0,0,.2); flex-shrink: 0; }
.vc-brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary-500), var(--primary-700)); flex-shrink: 0; }
.vc-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.vc-brand-text b { font-size: 16px; }
.vc-brand-text small { font-size: 11.5px; opacity: .65; font-weight: 500; }
.fi-sidebar .vc-brand { color: #fff; }

/* --- topbar theme switch --- */
.vc-quick { display: flex; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 999px; padding: 3px; margin-inline-end: .5rem; }
html.dark .vc-quick { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.vc-quick button { border: 0; background: transparent; color: var(--gray-500); font-weight: 600; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.vc-quick button.vc-on { background: var(--primary-600); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); cursor: default; }
@media (max-width: 640px) { .vc-quick button:not(.vc-on) { display: none; } }

/* --- gold accents (Brücke) --- */
html[data-ui=bruecke] .fi-btn.fi-color-primary:not(.fi-outlined) { box-shadow: inset 0 -3px 0 var(--vc-gold); }
html[data-ui=bruecke] .fi-tabs-item.fi-active { box-shadow: inset 0 -2px 0 var(--vc-gold); }

/* --- cards a bit rounder, like the mockup --- */
.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat { border-radius: 12px; }
.fi-header-heading { letter-spacing: -.01em; }

/* --- dashboard hero --- */
.vc-hero { background: var(--vc-hero); color: #fff; border-radius: 12px; padding: 24px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
html[data-ui=bruecke] .vc-hero { border-bottom: 6px solid var(--vc-gold); }
.vc-hero h2 { margin: 2px 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.vc-hero p { margin: 0; color: rgba(255,255,255,.82); }
.vc-hero-date { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.vc-hero-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vc-hbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; font-weight: 600; font-size: 13px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.vc-hbtn:hover { background: rgba(255,255,255,.26); }
.vc-hbtn-gold { background: var(--vc-gold); color: #1a1a1a; border-color: var(--vc-gold); }
.vc-hbtn-gold:hover { background: #ffdd33; }
.vc-hi { width: 16px; height: 16px; }
.vc-hero-spark { text-align: right; flex-shrink: 0; }
.vc-hero-spark small { color: rgba(255,255,255,.7); font-size: 11.5px; }
.vc-spark { display: flex; align-items: flex-end; gap: 4px; height: 64px; width: 200px; margin-bottom: 4px; }
.vc-spark i { flex: 1; background: rgba(255,255,255,.4); border-radius: 4px 4px 1px 1px; }
.vc-spark i:last-child { background: #fff; }
@media (max-width: 768px) { .vc-hero { flex-direction: column; align-items: flex-start; } .vc-hero-spark { display: none; } }

/* --- donuts (pure CSS conic-gradient) --- */
.vc-donuts { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.vc-donut-row { display: flex; align-items: center; gap: 1.25rem; }
.vc-donut { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.vc-donut > span { width: 76px; height: 76px; border-radius: 50%; background: var(--color-white, #fff); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
html.dark .vc-donut > span { background: var(--gray-900); }
.vc-donut b { font-size: 18px; font-weight: 750; }
.vc-donut small { font-size: 11px; color: var(--gray-500); }
.vc-legend { list-style: none; margin: 0; padding: 0; font-size: 13px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vc-legend li { display: flex; align-items: center; gap: 8px; }
.vc-legend li b { white-space: nowrap; margin-left: auto; padding-left: 8px; font-variant-numeric: tabular-nums; }
.vc-legend i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.vc-legend-muted { color: var(--gray-500); font-size: 12px; }

/* --- member ID card --- */
.vc-idc { border-radius: 12px; padding: 22px; color: #fff; height: 100%; background: linear-gradient(135deg, color-mix(in oklab, var(--primary-600) 85%, #000), color-mix(in oklab, var(--primary-600) 50%, #0f172a)); position: relative; overflow: hidden; }
html[data-ui=bruecke] .vc-idc { border-bottom: 5px solid var(--vc-gold); }
.vc-idc::after { content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.vc-idc-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.vc-idc-logo { width: 34px; height: 34px; border-radius: 8px; background: #fff; padding: 2px; object-fit: contain; position: relative; z-index: 1; }
.vc-idc-who { display: flex; gap: 16px; align-items: center; margin: 18px 0; }
.vc-idc-photo { width: 64px; height: 76px; border-radius: 8px; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 24px; font-weight: 600; flex-shrink: 0; }
.vc-idc-name { font-size: 21px; font-weight: 650; line-height: 1.2; }
.vc-idc-status { font-size: 12.5px; opacity: .8; margin-top: 2px; }
.vc-idc-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 13px; }
.vc-idc-meta span { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* --- member KPIs --- */
.vc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.vc-kpi { background: var(--color-white, #fff); border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(0,0,0,.05); outline: 1px solid rgba(3,7,18,.05); display: flex; flex-direction: column; }
html.dark .vc-kpi { background: var(--gray-900); outline-color: rgba(255,255,255,.1); }
.vc-kpi span { font-size: 12.5px; color: var(--gray-500); }
.vc-kpi b { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.vc-kpi small { font-size: 12px; color: var(--gray-500); }

/* --- dues: stamps, ring, year bars --- */
.vc-dues2-top { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.vc-dues2-stamps { flex: 1; min-width: 280px; }
.vc-dues2-label { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.vc-stamps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.vc-stamps-year { grid-template-columns: minmax(0, 260px); }
@media (max-width: 900px) { .vc-stamps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.vc-stp { border-radius: 8px; padding: 10px 0; text-align: center; font-size: 12px; border: 1px solid var(--gray-200); color: var(--gray-400); }
html.dark .vc-stp { border-color: rgba(255,255,255,.1); }
.vc-stp b { display: block; font-size: 11px; color: var(--gray-500); font-weight: 600; }
.vc-stp-p { background: color-mix(in oklab, #16a34a 12%, transparent); border-color: color-mix(in oklab, #16a34a 35%, transparent); color: #16a34a; font-weight: 700; }
.vc-stp-o { background: color-mix(in oklab, var(--danger-600) 12%, transparent); border-color: color-mix(in oklab, var(--danger-600) 40%, transparent); color: var(--danger-600); font-weight: 700; }
.vc-dues2-ring { display: flex; align-items: center; gap: 1rem; }
.vc-donut-sm { width: 96px; height: 96px; }
.vc-donut-sm > span { width: 62px; height: 62px; }
.vc-donut-sm b { font-size: 15px; }
.vc-dues2-sum { font-size: 13px; display: flex; flex-direction: column; gap: 3px; color: var(--gray-500); }
.vc-dues2-sum b { color: var(--gray-950); margin-left: 4px; font-variant-numeric: tabular-nums; }
html.dark .vc-dues2-sum b { color: #fff; }
.vc-yb { display: flex; gap: 12px; align-items: center; padding: 6px 0; font-size: 13px; }
.vc-yb-y { width: 40px; font-weight: 600; }
.vc-yb-bar { flex: 1; height: 8px; border-radius: 8px; background: color-mix(in oklab, var(--primary-600) 12%, transparent); overflow: hidden; }
.vc-yb-bar i { display: block; height: 100%; background: var(--primary-600); border-radius: 8px; }
.vc-yb-bar i.vc-yb-bad { background: var(--danger-600); }
.vc-yb-v { color: var(--gray-500); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Offene Beiträge / Mahnwesen ---------- */
.vc-dues { display: flex; flex-direction: column; gap: 1rem; }
.vc-dues-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.vc-seg { display: inline-flex; background: var(--gray-100); border-radius: 10px; padding: 3px; gap: 2px; }
html.dark .vc-seg { background: var(--gray-800); }
.vc-seg button { padding: 6px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--gray-600); }
.vc-seg button.on { background: var(--color-white, #fff); color: var(--gray-950); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
html.dark .vc-seg button.on { background: var(--gray-900); color: #fff; }
.vc-seg em { font-style: normal; font-size: 11.5px; background: var(--danger-100, #fee2e2); color: var(--danger-700, #b91c1c); border-radius: 99px; padding: 1px 7px; margin-left: 4px; }
.vc-year { font-size: 13px; color: var(--gray-500); display: inline-flex; gap: 8px; align-items: center; }
.vc-year select { border-radius: 8px; border: 1px solid var(--gray-300); padding: 4px 28px 4px 10px; font-size: 13.5px; background-color: transparent; }
.vc-kpis-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.vc-bad { color: var(--danger-600, #dc2626); }
.vc-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.vc-stage { display: flex; flex-direction: column; align-items: center; font-size: 10.5px; color: var(--gray-500); border-radius: 8px; padding: 4px 2px; border: 1px solid transparent; line-height: 1.2; }
.vc-stage b { font-size: 17px; color: var(--gray-900); }
html.dark .vc-stage b { color: #fff; }
.vc-stage-1 b { color: var(--info-600, #2563eb); } .vc-stage-2 b { color: var(--warning-600, #d97706); } .vc-stage-3 b { color: var(--danger-600, #dc2626); }
.vc-stage.on, .vc-stage:hover { border-color: var(--gray-300); background: var(--gray-50); }
html.dark .vc-stage.on, html.dark .vc-stage:hover { background: var(--gray-800); border-color: var(--gray-700); }
.vc-card { background: var(--color-white, #fff); border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); outline: 1px solid rgba(3,7,18,.05); overflow: hidden; }
html.dark .vc-card { background: var(--gray-900); outline-color: rgba(255,255,255,.1); }
.vc-scroll { overflow-x: auto; }
.vc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vc-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--gray-500); padding: 10px 12px; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.vc-table td { padding: 9px 12px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
html.dark .vc-table th { border-color: var(--gray-700); } html.dark .vc-table td { border-color: var(--gray-800); }
.vc-table tr:last-child td { border-bottom: 0; }
.vc-table .r { text-align: right; white-space: nowrap; } .vc-table .c { text-align: center; }
.vc-table td small { display: block; font-size: 11.5px; }
.vc-muted { color: var(--gray-400); }
.vc-link { font-weight: 600; color: var(--gray-950); } html.dark .vc-link { color: #fff; }
.vc-link:hover { color: var(--primary-600); text-decoration: underline; }
.vc-empty { text-align: center; padding: 2rem !important; color: var(--gray-500); }
.vc-matrix td, .vc-matrix th { padding: 6px 6px; }
.vc-matrix td:first-child, .vc-matrix th:first-child { padding-left: 14px; min-width: 190px; }
.vc-cell { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-size: 13px; font-weight: 700; }
.vc-cell-paid { background: var(--success-100, #dcfce7); color: var(--success-700, #15803d); }
.vc-cell-open { background: var(--danger-100, #fee2e2); color: var(--danger-600, #dc2626); }
.vc-cell-none { color: var(--gray-300); }
html.dark .vc-cell-paid { background: rgba(34,197,94,.15); } html.dark .vc-cell-open { background: rgba(239,68,68,.15); }
.vc-legend { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--gray-500); padding: 10px 14px; border-top: 1px solid var(--gray-100); }
.vc-legend .vc-cell { width: 20px; height: 20px; font-size: 11px; margin-left: 8px; }
.vc-debtors { min-width: 860px; }
.vc-matrix { min-width: 720px; }
.vc-table .fi-badge { white-space: nowrap; }
.vc-table td:first-child { white-space: nowrap; }
.vc-table .fi-badge { flex-shrink: 0; max-width: none; }
.vc-table .fi-badge > span { overflow: visible; text-overflow: clip; }
.vc-table .fi-badge, .vc-table .fi-badge-label { overflow: visible; }
.vc-table .fi-badge-label-ctn { min-width: max-content; }

/* ---------- Telegram preview ---------- */
.vc-tg-bg { background: #cfe3c5 linear-gradient(135deg, #d5e8c4, #a9cf9f); border-radius: 12px; padding: 14px 12px; min-height: 140px; }
html.dark .vc-tg-bg { background: #0e1621; }
.vc-tg-pin { font-size: 11.5px; background: rgba(255,255,255,.75); border-radius: 8px; padding: 4px 10px; margin-bottom: 10px; color: #3a7bd5; }
html.dark .vc-tg-pin { background: #17212b; }
.vc-tg-bubble { background: #fff; border-radius: 12px 12px 12px 4px; padding: 6px 10px 4px; max-width: 92%; box-shadow: 0 1px 1px rgba(0,0,0,.1); font-size: 14px; line-height: 1.38; color: #000; overflow-wrap: anywhere; }
html.dark .vc-tg-bubble { background: #182533; color: #fff; }
.vc-tg-from { font-weight: 600; font-size: 13px; color: #3a7bd5; margin-bottom: 2px; }
.vc-tg-img { width: calc(100% + 20px); margin: 2px -10px 6px; max-height: 260px; object-fit: cover; display: block; }
.vc-tg-img-ph { background: #e5e7eb; display: grid; place-items: center; height: 120px; color: #6b7280; }
.vc-tg-text b { font-weight: 700; } .vc-tg-text i { font-style: italic; } .vc-tg-text s { text-decoration: line-through; }
.vc-tg-text a { color: #168acd; text-decoration: none; }
.vc-tg-text code { font-family: ui-monospace, monospace; font-size: 13px; background: rgba(0,0,0,.05); padding: 0 3px; border-radius: 3px; }
.vc-tg-text blockquote { border-left: 3px solid #3a7bd5; background: rgba(58,123,213,.08); padding: 2px 8px; margin: 4px 0; border-radius: 0 6px 6px 0; }
.vc-tg-meta { text-align: right; font-size: 11px; color: #8aa18a; margin-top: 2px; }

/* ---------- Geburtstage ---------- */
.vc-bday { padding: 14px 16px; }
.vc-bday-today { outline: 2px solid var(--gold, #f5c400) !important; }
.vc-bday-head { display: flex; align-items: center; gap: 14px; }
.vc-bday-date { width: 48px; text-align: center; border-radius: 10px; background: var(--primary-50); color: var(--primary-700); padding: 4px 0; line-height: 1.1; }
html.dark .vc-bday-date { background: rgba(255,255,255,.06); color: var(--primary-300); }
.vc-bday-date b { display: block; font-size: 20px; } .vc-bday-date span { font-size: 11px; text-transform: uppercase; }
.vc-bday-today .vc-bday-date { background: var(--gold, #f5c400); color: #111; }
.vc-bday-when { flex: 1; display: flex; flex-direction: column; }
.vc-bday-when small { font-size: 12px; }
.vc-bday-list { margin: 10px 0 0 62px; display: flex; flex-direction: column; gap: 6px; }
.vc-bday-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.vc-bday-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--gray-100); color: var(--gray-600); }
html.dark .vc-bday-avatar { background: var(--gray-800); color: var(--gray-300); }
.vc-bday-age { font-size: 12.5px; color: var(--gray-500); }
.vc-bday-round { color: var(--warning-700, #b45309); font-weight: 700; }
.vc-bday-private { font-size: 12px; }
@media (max-width: 640px) { .vc-bday-list { margin-left: 0; } .vc-bday-head { flex-wrap: wrap; } }

/* ---------- Kalender (Kombi) ---------- */
.vc-cal-side-col { display: flex; flex-direction: column; gap: 1rem; }
.vc-chip-on { background: color-mix(in oklab, var(--vc-c) 12%, transparent); border-color: color-mix(in oklab, var(--vc-c) 45%, transparent); color: var(--gray-800); }
.dark .vc-chip-on { color: var(--gray-100); }
.vc-chip:not(.vc-chip-on):not(.vc-chip-static) { opacity: .55; text-decoration: line-through; }
.vc-chip-static { cursor: default; }
.vc-cal-dayhead { display: flex; align-items: flex-start; justify-content: flex-end; gap: 4px; min-width: 0; }
.vc-cal-hol { flex: 1; min-width: 0; font-size: 10.5px; line-height: 1.2; color: var(--danger-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 4px; }
.vc-cal-day.vc-holiday { background: color-mix(in oklab, var(--danger-500) 6%, transparent); }
.vc-cal-day.vc-holiday .vc-cal-num { color: var(--danger-600); }
.vc-cal-day.vc-picked { box-shadow: inset 0 0 0 2px var(--primary-400); }
.vc-cal-event { width: 100%; text-align: left; cursor: pointer; }
.vc-cal-event.vc-sel { background: var(--vc-c); color: #fff; }
.vc-cal-event.vc-sel .vc-cal-time { color: #fff; }
.vc-cal-event.vc-allday { border-left-style: dashed; }
.vc-cal-rep { margin-left: auto; opacity: .6; flex-shrink: 0; }
.vc-cal-more { font-size: 11px; font-weight: 600; color: var(--primary-600); text-align: left; padding: 0 .35rem; }
.vc-cal-more:hover { text-decoration: underline; }
/* year */
.vc-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1.1rem 1.25rem; }
.vc-ym-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; display: flex; gap: 6px; align-items: baseline; }
.vc-ym-title small { font-weight: 500; font-size: 11px; color: var(--gray-400); }
.vc-ym-title:hover { color: var(--primary-600); }
.vc-ym-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.vc-ym-dow { font-size: 10px; text-align: center; color: var(--gray-400); font-weight: 600; }
.vc-ym-d { position: relative; aspect-ratio: 1; border-radius: 6px; font-size: 11.5px; color: var(--gray-700); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.dark .vc-ym-d { color: var(--gray-300); }
.vc-ym-d:hover { background: var(--gray-100); } .dark .vc-ym-d:hover { background: rgba(255,255,255,.08); }
.vc-ym-we { color: var(--gray-400); }
.vc-ym-has { font-weight: 700; color: var(--gray-950); } .dark .vc-ym-has { color: #fff; }
.vc-ym-hol { color: var(--danger-600) !important; background: color-mix(in oklab, var(--danger-500) 9%, transparent); }
.vc-ym-today { background: var(--primary-600) !important; color: #fff !important; }
.vc-ym-dots { display: flex; gap: 2px; margin-top: 2px; }
.vc-ym-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--vc-c); }
.vc-ym-today .vc-ym-dots i { background: #fff; }
/* side card */
.vc-evcard { border-top: 4px solid var(--vc-c) !important; }
.vc-evcard-top { display: flex; justify-content: space-between; align-items: center; }
.vc-evcard-title { font-size: 17px; font-weight: 700; margin: 8px 0 10px; line-height: 1.3; }
.vc-evcard-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.vc-evcard-kv dt { color: var(--gray-500); } .vc-evcard-kv dd { margin: 0; }
.vc-evcard-desc { font-size: 13px; color: var(--gray-600); margin: 10px 0 0; } .dark .vc-evcard-desc { color: var(--gray-400); }
.vc-evcard-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.vc-ok { color: var(--success-600); font-weight: 600; }
.vc-cal-holline { font-size: 13px; color: var(--danger-600); margin: 0 0 8px; }
button.vc-up { width: 100%; text-align: left; }
.vc-cal-day .vc-cal-rep { display: none; }
.vc-cal-event { flex-wrap: wrap; column-gap: .25rem; row-gap: 0; }
.vc-cal-label { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; hyphens: auto; overflow-wrap: anywhere; }
.vc-cal-time { font-size: .68rem; opacity: .85; }
@media (min-width: 1280px) { .vc-cal-layout { grid-template-columns: minmax(0, 1fr) 18rem; } }
.vc-upw .vc-up { padding: .55rem .25rem; }
.vc-upw-side { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.vc-upw-side small { font-size: 11.5px; }

/* Briefvorlagen */
.vc-letter-preview { position: relative; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 4px 14px rgb(0 0 0 / .1); border-radius: 3px; }
.vc-letter-preview iframe { position: absolute; top: 0; left: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; pointer-events: none; }
.vc-placeholders { display: grid; gap: .25rem; font-size: .8rem; }
.vc-placeholders div { display: flex; justify-content: space-between; gap: .75rem; }
.vc-placeholders code { font-size: .75rem; color: var(--primary-600); }
.vc-placeholders dd { color: var(--gray-500); text-align: right; }

/* Einstellungen: Schritt-Anleitung */
.vc-steps { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .35rem; font-size: .875rem; }
.vc-steps a { color: var(--primary-600); text-decoration: underline; }
.vc-steps code { font-size: .78rem; background: rgb(0 0 0 / .05); padding: .05rem .3rem; border-radius: .25rem; }

/* Postfach */
.vc-mail-body { width: 100%; border-radius: .75rem; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .06); border: 1px solid rgb(0 0 0 / .06); }
.vc-mail-body iframe { width: 100%; min-height: 240px; border: 0; display: block; }
.fi-ta-row.vc-mail-unread { background: color-mix(in srgb, var(--primary-500) 5%, transparent); }
.fi-ta-row.vc-mail-unread td:first-child { box-shadow: inset 3px 0 0 var(--primary-500); }

/* Rollen & Rechte */
.vc-role-summary { display: grid; gap: .4rem; font-size: .85rem; }
.vc-role-summary li { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.vc-role-chips { display: flex; flex-wrap: wrap; gap: .3rem; padding: .25rem 0; }
.vc-lvl { display: inline-block; font-size: .72rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; white-space: nowrap; }
.vc-lvl-0 { background: rgb(0 0 0 / .05); color: var(--gray-500); }
.vc-lvl-1 { background: color-mix(in srgb, var(--info-500, #0ea5e9) 14%, transparent); color: var(--info-700, #0369a1); }
.vc-lvl-2 { background: color-mix(in srgb, var(--success-500, #22c55e) 16%, transparent); color: var(--success-700, #15803d); }
.vc-muted { color: var(--gray-500); font-size: .85rem; }

/* ---------- Anwesenheit ---------- */
.vc-dim { color: var(--gray-400); }
.vc-att { display: flex; flex-direction: column; gap: 1rem; }
.vc-att-bar { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.vc-att-pick { flex: 1; min-width: 260px; max-width: 560px; }
.vc-att-pick select, .vc-att-field select, .vc-att-field input { width: 100%; border-radius: 10px; border: 1px solid var(--gray-300); background-color: var(--color-white, #fff); padding: .5rem .75rem; font-size: .9rem; }
.vc-att-pick select { font-weight: 600; padding-right: 2.25rem; }
html.dark .vc-att-pick select, html.dark .vc-att-field select, html.dark .vc-att-field input { background-color: var(--gray-900); border-color: rgba(255,255,255,.15); color: var(--gray-100); }
.vc-att-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.vc-att-card { text-align: left; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; transition: box-shadow .15s, transform .15s; border-top: 3px solid var(--primary-500); }
.vc-att-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.vc-att-card-kind { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); font-weight: 600; }
.vc-att-card-title { font-weight: 700; font-size: 1.05rem; }
.vc-att-card-sub { font-size: .85rem; color: var(--gray-500); }
.vc-att-card-kv { display: flex; justify-content: space-between; gap: .5rem; font-size: .875rem; margin-top: .4rem; }
.vc-att-card-foot { font-size: .8rem; color: var(--gray-500); border-top: 1px solid var(--gray-100); padding-top: .5rem; margin-top: .3rem; }
html.dark .vc-att-card-foot { border-color: rgba(255,255,255,.06); }
.vc-att-hint { font-size: .85rem; color: var(--gray-500); }
.vc-att-dates { position: relative; display: flex; gap: .4rem; overflow-x: auto; padding-bottom: 2px; }
.vc-att-date { flex: 0 0 auto; min-width: 64px; display: flex; flex-direction: column; align-items: center; padding: .4rem .6rem; border-radius: 10px; border: 1px solid var(--gray-200); background: var(--color-white, #fff); font-size: .8rem; line-height: 1.2; position: relative; cursor: pointer; }
.vc-att-date small { color: var(--gray-500); }
.vc-att-date b { font-size: .95rem; }
.vc-att-date em { font-style: normal; font-size: 10px; color: var(--primary-600); font-weight: 700; }
.vc-att-date.future { opacity: .65; border-style: dashed; }
.vc-att-date.on { background: var(--primary-600); border-color: var(--primary-600); color: #fff; opacity: 1; }
.vc-att-date.on small, .vc-att-date.on em { color: rgba(255,255,255,.85); }
html.dark .vc-att-date { background: var(--gray-900); border-color: rgba(255,255,255,.1); }
.vc-att-date-other { justify-content: center; color: var(--gray-500); }
.vc-att-date-other input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vc-att-date-other input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.vc-att-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-100); }
html.dark .vc-att-head { border-color: rgba(255,255,255,.06); }
.vc-att-title { font-weight: 700; font-size: 1.05rem; }
.vc-att-counts { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .35rem; }
.vc-att-c { font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--gray-100); color: var(--gray-600); }
html.dark .vc-att-c { background: rgba(255,255,255,.06); color: var(--gray-300); }
.vc-att-c.present { background: color-mix(in oklab, var(--success-500) 15%, transparent); color: var(--success-700); }
.vc-att-c.excused { background: color-mix(in oklab, var(--warning-500) 18%, transparent); color: var(--warning-700); }
.vc-att-c.absent { background: color-mix(in oklab, var(--danger-500) 14%, transparent); color: var(--danger-700); }
.vc-att-head-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.vc-att-list { list-style: none; margin: 0; padding: 0; }
.vc-att-row { display: flex; align-items: center; gap: .75rem; padding: .55rem 1.25rem; border-bottom: 1px solid var(--gray-100); }
html.dark .vc-att-row { border-color: rgba(255,255,255,.05); }
.vc-att-row.is-present { background: color-mix(in oklab, var(--success-500) 5%, transparent); }
.vc-att-avatar { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--gray-100); color: var(--gray-600); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
html.dark .vc-att-avatar { background: rgba(255,255,255,.08); color: var(--gray-300); }
.vc-att-row.is-present .vc-att-avatar { background: var(--success-500); color: #fff; }
.vc-att-row.is-excused .vc-att-avatar { background: var(--warning-400); color: #fff; }
.vc-att-row.is-absent .vc-att-avatar { background: var(--danger-500); color: #fff; }
.vc-att-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vc-att-name a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-att-name a:hover { text-decoration: underline; }
.vc-att-name small { font-size: .75rem; color: var(--gray-500); }
.vc-att-btns { display: inline-flex; gap: 4px; flex-shrink: 0; }
.vc-att-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--gray-200); border-radius: 8px; padding: 6px 10px; font-size: .8rem; font-weight: 600; color: var(--gray-500); background: transparent; }
html.dark .vc-att-btn { border-color: rgba(255,255,255,.1); color: var(--gray-400); }
.vc-att-btn:hover:not(:disabled) { background: var(--gray-50); }
html.dark .vc-att-btn:hover:not(:disabled) { background: rgba(255,255,255,.05); }
.vc-att-btn:disabled { cursor: default; }
.vc-att-btn.present.on { background: var(--success-600); border-color: var(--success-600); color: #fff; }
.vc-att-btn.excused.on { background: var(--warning-500); border-color: var(--warning-500); color: #fff; }
.vc-att-btn.absent.on { background: var(--danger-600); border-color: var(--danger-600); color: #fff; }
@media (max-width: 720px) {
    .vc-att-btn span { display: none; }
    .vc-att-btn { padding: 9px 11px; }
    .vc-att-row { padding: .55rem .9rem; }
}
.vc-att-foot { display: grid; grid-template-columns: minmax(200px, 1.2fr) 110px minmax(200px, 2fr); gap: .75rem; padding: 1rem 1.25rem; }
@media (max-width: 720px) { .vc-att-foot { grid-template-columns: 1fr; } }
.vc-att-field { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; color: var(--gray-500); font-weight: 600; }
.vc-att-meta { font-size: .75rem; color: var(--gray-400); padding: 0 1.25rem .9rem; }
.vc-att-journal { padding: .25rem 0 0; }
.vc-att-scroll { overflow-x: auto; }
.vc-att-table { border-collapse: separate; border-spacing: 0; font-size: .85rem; min-width: 100%; }
.vc-att-table th, .vc-att-table td { border-bottom: 1px solid var(--gray-100); padding: .45rem .35rem; text-align: center; white-space: nowrap; }
html.dark .vc-att-table th, html.dark .vc-att-table td { border-color: rgba(255,255,255,.05); }
.vc-att-table th { font-weight: 600; color: var(--gray-500); font-size: .75rem; }
.vc-att-table th small { display: block; font-weight: 500; color: var(--gray-400); }
.vc-att-table th a:hover { color: var(--primary-600); }
.vc-att-col.off { text-decoration: line-through; opacity: .6; }
.vc-att-col.future { opacity: .55; }
.vc-att-sticky { position: sticky; left: 0; background: var(--color-white, #fff); text-align: left !important; padding-left: 1rem !important; padding-right: 1rem !important; z-index: 1; font-weight: 500; }
html.dark .vc-att-sticky { background: var(--gray-900); }
.vc-att-sticky a:hover { text-decoration: underline; }
.vc-att-cell { min-width: 42px; font-weight: 700; }
.vc-att-cell.click { cursor: pointer; }
.vc-att-cell.click:hover { background: var(--gray-50); }
html.dark .vc-att-cell.click:hover { background: rgba(255,255,255,.04); }
.vc-att-cell.present, .vc-att-legend i.present { color: var(--success-600); background: color-mix(in oklab, var(--success-500) 9%, transparent); }
.vc-att-cell.excused, .vc-att-legend i.excused { color: var(--warning-600); background: color-mix(in oklab, var(--warning-500) 12%, transparent); }
.vc-att-cell.absent, .vc-att-legend i.absent { color: var(--danger-600); background: color-mix(in oklab, var(--danger-500) 9%, transparent); }
.vc-att-cell.off { color: var(--gray-300); background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(0,0,0,.03) 5px 10px); }
.vc-att-rate { text-align: right !important; padding-right: 1rem !important; }
.vc-att-rate small { display: block; font-size: .72rem; color: var(--gray-500); }
.vc-att-sum { font-weight: 700; color: var(--gray-600); }
.vc-att-sum small { font-weight: 500; color: var(--gray-400); margin-left: 2px; }
.vc-att-table tfoot td { border-bottom: 0; }
.vc-att-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--gray-500); padding: .75rem 1rem; }
.vc-att-legend i { font-style: normal; font-weight: 700; display: inline-block; width: 20px; text-align: center; border-radius: 4px; margin-right: 3px; }
.vc-att-sum-chip { display: inline-flex; gap: .3rem; align-items: center; font-size: .8rem; padding: 3px 10px; border-radius: 99px; background: var(--gray-100); color: var(--gray-600); margin: 2px 4px 2px 0; }
.vc-att-sum-chip:hover { background: var(--gray-200); }
html.dark .vc-att-sum-chip { background: rgba(255,255,255,.06); color: var(--gray-300); }

/* ---------- Änderungsprotokoll ---------- */
.vc-diff { display: flex; flex-direction: column; gap: .75rem; }
.vc-diff-desc { font-size: .875rem; color: var(--gray-500); }
.vc-diff-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.vc-diff-table th { text-align: left; font-size: .75rem; color: var(--gray-500); font-weight: 600; padding: .4rem .5rem; border-bottom: 1px solid var(--gray-200); }
.vc-diff-table td { padding: .5rem; border-bottom: 1px solid var(--gray-100); vertical-align: top; white-space: pre-line; word-break: break-word; }
html.dark .vc-diff-table th, html.dark .vc-diff-table td { border-color: rgba(255,255,255,.06); }
.vc-diff-field { font-weight: 600; width: 28%; }
.vc-diff-old { color: var(--danger-700); background: color-mix(in oklab, var(--danger-500) 6%, transparent); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--danger-500) 40%, transparent); }
.vc-diff-new { color: var(--success-700); background: color-mix(in oklab, var(--success-500) 7%, transparent); }
html.dark .vc-diff-old { color: var(--danger-300); }
html.dark .vc-diff-new { color: var(--success-300); }
.vc-diff-link { font-size: .875rem; font-weight: 600; color: var(--primary-600); }
.vc-hist { display: flex; flex-direction: column; }
.vc-hist-item { display: flex; gap: .75rem; padding: .6rem 0; border-left: 2px solid var(--gray-200); margin-left: 5px; padding-left: 1rem; position: relative; }
html.dark .vc-hist-item { border-color: rgba(255,255,255,.1); }
.vc-hist-dot { position: absolute; left: -7px; top: .9rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gray-400); border: 2px solid var(--color-white, #fff); }
html.dark .vc-hist-dot { border-color: var(--gray-900); }
.vc-hist-success { background: var(--success-500); } .vc-hist-info { background: var(--info-500, #3b82f6); } .vc-hist-danger { background: var(--danger-500); } .vc-hist-warning { background: var(--warning-500); }
.vc-hist-body { flex: 1; min-width: 0; }
.vc-hist-head { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: .875rem; }
.vc-hist-time { color: var(--gray-500); font-size: .8rem; margin-left: auto; }
.vc-hist-sub { font-size: .8rem; color: var(--gray-500); margin-top: .15rem; }
.vc-hist-changes { margin: .35rem 0 0; padding: 0; list-style: none; font-size: .82rem; display: flex; flex-direction: column; gap: .15rem; }
.vc-hist-changes span { color: var(--gray-500); }
.vc-hist-changes s { color: var(--danger-600); text-decoration-color: color-mix(in oklab, var(--danger-500) 50%, transparent); }
.vc-hist-changes em { font-style: normal; color: var(--success-700); font-weight: 600; }
html.dark .vc-hist-changes em { color: var(--success-400); }
.vc-link-inline { color: var(--primary-600); font-weight: 600; }

/* ---------- Sprache ---------- */
.vc-lang { display: flex; gap: 2px; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 999px; padding: 3px; margin-inline-end: .5rem; }
html.dark .vc-lang { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.vc-lang button { border: 0; background: transparent; color: var(--gray-500); font-weight: 700; font-size: 11.5px; letter-spacing: .03em; padding: 4px 8px; border-radius: 999px; cursor: pointer; }
.vc-lang button:hover:not(:disabled) { color: var(--gray-800); }
html.dark .vc-lang button:hover:not(:disabled) { color: #fff; }
.vc-lang button.vc-on { background: var(--gray-800); color: #fff; cursor: default; }
html.dark .vc-lang button.vc-on { background: #fff; color: var(--gray-900); }
.vc-lang-links { display: flex; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; }
.vc-lang-links a { color: var(--gray-500, #6b7280); text-decoration: none; }
.vc-lang-links a:hover { text-decoration: underline; }
.vc-lang-login { display: flex; justify-content: center; margin-bottom: 1rem; }
