/* ==========================================================================
   VereinsFair One · Signature-Design „Varevor Glass“
   Hell, freundlich, hochwertig: mattiertes Glas über weichen Farbflächen,
   Varevor-Blau und Silber als Markenfarben.
   Wird als letztes Stylesheet geladen (nach refinement.css).
   ========================================================================== */

:root {
  /* Marke Varevor */
  --vf-blue: #1a7cff;
  --vf-blue-deep: #0b5be0;
  --vf-blue-ink: #0a4bc2;
  --vf-sky: #5cb4ff;
  --vf-ice: #d9ecff;
  --vf-violet: #7b6cff;
  --vf-peach: #ffb48c;
  --vf-silver: #c7d0dc;
  --vf-ink: #0f1b2d;
  --vf-ink-2: #34445a;
  --vf-muted: #66768c;

  /* Glas */
  --vf-glass: rgba(255, 255, 255, .62);
  --vf-glass-strong: rgba(255, 255, 255, .8);
  --vf-glass-line: rgba(255, 255, 255, .78);
  --vf-glass-edge: rgba(15, 27, 45, .07);
  --vf-glass-blur: blur(26px) saturate(185%);
  --vf-glass-shadow: 0 1px 1px rgba(15, 27, 45, .03), 0 14px 34px -14px rgba(28, 64, 120, .22);
  --vf-glass-shadow-hover: 0 1px 2px rgba(15, 27, 45, .04), 0 22px 46px -18px rgba(26, 92, 200, .32);
  --vf-highlight: inset 0 1px 0 rgba(255, 255, 255, .95);

  --vf-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Bestehende Variablen auf die Marke umstellen */
  --vf-noise-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --brand: #1a6fe8;
  --brand-dark: #0b4fc0;
  --brand-soft: #eaf3ff;
  --ink: #0f1b2d;
  --muted: #5f6f86;
  --line: #dfe6f0;
  --canvas: #f3f6fb;
}
html[data-theme="dark"] {
  --vf-glass: rgba(20, 30, 50, .55);
  --vf-glass-strong: rgba(22, 32, 54, .72);
  --vf-glass-line: rgba(255, 255, 255, .09);
  --vf-glass-edge: rgba(0, 0, 0, .3);
  --vf-glass-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -18px rgba(0, 0, 0, .7);
  --vf-glass-shadow-hover: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 50px -18px rgba(0, 40, 120, .6);
  --vf-highlight: inset 0 1px 0 rgba(255, 255, 255, .06);
  --vf-ink: #eaf1fb;
  --vf-ink-2: #c3cfdf;
  --vf-muted: #93a3ba;
  --brand: #5cb4ff;
  --brand-dark: #a9d4ff;
  --brand-soft: #142640;
  --ink: #eaf1fb;
  --muted: #93a3ba;
  --line: #24324a;
}

/* --------------------------------------------------------------------------
   1 · Bühne des ganzen Programms: weiche Farbflächen hinter dem Glas
   -------------------------------------------------------------------------- */
html[data-theme] body.dashboard-page {
  color: var(--vf-ink);
  background:
    radial-gradient(46rem 34rem at 88% -8%, rgba(92, 180, 255, .42), transparent 62%),
    radial-gradient(40rem 32rem at -8% 28%, rgba(123, 108, 255, .2), transparent 62%),
    radial-gradient(44rem 30rem at 64% 112%, rgba(255, 180, 140, .24), transparent 62%),
    radial-gradient(30rem 24rem at 30% 70%, rgba(92, 220, 230, .14), transparent 62%),
    linear-gradient(180deg, #f6f9fe 0%, #eef3fa 100%);
  background-attachment: fixed;
}
html[data-theme] body.dashboard-page .dashboard-workspace::before,
html[data-theme] body.dashboard-page .dashboard-workspace::after { opacity: .55; filter: blur(30px); }
html[data-theme] body.dashboard-page .dashboard-workspace::before { background: radial-gradient(circle at 40% 40%, rgba(92, 180, 255, .55), rgba(123, 108, 255, .2) 45%, transparent 72%); }
html[data-theme] body.dashboard-page .dashboard-workspace::after { background: radial-gradient(circle at 50% 50%, rgba(255, 180, 140, .45), rgba(255, 140, 190, .14) 45%, transparent 72%); }
html[data-theme="dark"] body.dashboard-page {
  background:
    radial-gradient(46rem 34rem at 88% -8%, rgba(26, 124, 255, .34), transparent 62%),
    radial-gradient(40rem 32rem at -8% 28%, rgba(123, 108, 255, .2), transparent 62%),
    radial-gradient(44rem 30rem at 64% 112%, rgba(40, 200, 220, .12), transparent 62%),
    linear-gradient(180deg, #070b14 0%, #050810 100%);
  background-attachment: fixed;
}
html[data-theme="dark"] body.dashboard-page .dashboard-workspace::before,
html[data-theme="dark"] body.dashboard-page .dashboard-workspace::after { opacity: .32; }

/* Grundflächen der älteren Schichten durchsichtig machen, damit das Glas wirkt */
html[data-theme] body.dashboard-page .dashboard-workspace,
html[data-theme] body.dashboard-page .dashboard-shell { background: transparent; }

/* --------------------------------------------------------------------------
   2 · Seitenleiste aus mattiertem Glas
   -------------------------------------------------------------------------- */
html[data-theme] body.dashboard-page .dashboard-sidebar {
  border-right: 1px solid var(--vf-glass-line);
  color: var(--vf-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .48));
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
  box-shadow: 1px 0 0 var(--vf-glass-edge), 18px 0 50px -30px rgba(28, 64, 120, .25), inset -1px 0 0 rgba(255, 255, 255, .6);
}
html[data-theme] body.dashboard-page .dashboard-sidebar::before,
html[data-theme] body.dashboard-page .dashboard-sidebar::after { display: none; }
html[data-theme] body.dashboard-page .dashboard-sidebar > * { position: relative; }

html[data-theme] body.dashboard-page .dashboard-brand { gap: 12px; color: var(--vf-ink); }
html[data-theme] body.dashboard-page .dashboard-brand strong { color: var(--vf-ink); font-weight: 740; letter-spacing: -.03em; }
html[data-theme] body.dashboard-page .dashboard-brand em {
  background: linear-gradient(90deg, var(--vf-blue), var(--vf-sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
html[data-theme] body.dashboard-page .dashboard-brandmark.vf-brandmark {
  width: 42px;
  height: 42px;
  padding: 0;
  display: block;
  border-radius: 12px;
  background: none;
  box-shadow: 0 10px 22px -8px rgba(11, 91, 224, .55), 0 2px 4px rgba(15, 27, 45, .15);
  animation: none;
}
html[data-theme] body.dashboard-page .dashboard-brandmark.vf-brandmark::after { display: none; }
.vf-brandmark img, .vf-mark-img { display: block; width: 100%; height: 100%; border-radius: inherit; }

/* „by VAREVOR“ – das O blau wie im Firmenlogo */
.vf-by { color: var(--vf-muted); font-size: .64rem; font-weight: 600; letter-spacing: .04em; }
.vf-by b { margin-left: 2px; color: var(--vf-ink-2); font-weight: 800; letter-spacing: .22em; }
.vf-by i { color: var(--vf-blue); font-style: normal; text-shadow: 0 0 10px rgba(26, 124, 255, .45); }

html[data-theme] body.dashboard-page .dashboard-club-card {
  border: 1px solid var(--vf-glass-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  box-shadow: var(--vf-highlight), 0 1px 2px rgba(15, 27, 45, .04);
}
html[data-theme] body.dashboard-page .dashboard-club-card > span {
  color: #fff;
  background: linear-gradient(145deg, var(--vf-sky), var(--vf-blue-deep));
  box-shadow: 0 6px 14px -6px rgba(11, 91, 224, .6);
  font-weight: 800;
}
html[data-theme] body.dashboard-page .dashboard-club-card strong { color: var(--vf-ink); }
html[data-theme] body.dashboard-page .dashboard-club-card small { color: var(--vf-muted); }

html[data-theme] body.dashboard-page .dashboard-nav { scrollbar-color: rgba(15, 27, 45, .14) transparent; }
html[data-theme] body.dashboard-page .dashboard-nav-overline { display: none; }
html[data-theme] body.dashboard-page .dashboard-nav section { border-color: rgba(15, 27, 45, .06); }
html[data-theme] body.dashboard-page .dashboard-nav section > strong { color: #8593a8; font-size: .66rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
html[data-theme] body.dashboard-page .dashboard-nav a {
  color: var(--vf-ink-2);
  font-weight: 540;
  background: transparent;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
html[data-theme] body.dashboard-page .dashboard-nav a > span { color: #7b8ba3; }
html[data-theme] body.dashboard-page .dashboard-nav a:hover { color: var(--vf-ink); background: rgba(255, 255, 255, .6); transform: none; }
html[data-theme] body.dashboard-page .dashboard-nav a:hover > span { color: var(--vf-blue); transform: none; }
html[data-theme] body.dashboard-page .dashboard-nav a.is-active {
  color: var(--vf-blue-ink);
  font-weight: 660;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--vf-highlight), 0 0 0 1px rgba(26, 124, 255, .1), 0 6px 16px -8px rgba(26, 124, 255, .4);
}
html[data-theme] body.dashboard-page .dashboard-nav a.is-active > span { color: var(--vf-blue); }
html[data-theme] body.dashboard-page .dashboard-nav a::after { background: linear-gradient(180deg, var(--vf-sky), var(--vf-blue)); box-shadow: 0 0 10px rgba(26, 124, 255, .5); }
html[data-theme] body.dashboard-page .dashboard-nav a.is-active::after { height: 20px; }
html[data-theme] body.dashboard-page .dashboard-nav a::before { display: none; }
html[data-theme] body.dashboard-page .dashboard-nav-badge { color: #fff; background: linear-gradient(145deg, #ff9f6b, #ff6b6b); box-shadow: 0 4px 10px -3px rgba(255, 107, 107, .6); }

html[data-theme] body.dashboard-page .dashboard-user { border-color: rgba(15, 27, 45, .07); }
html[data-theme] body.dashboard-page .dashboard-user > span { color: #fff; background: linear-gradient(145deg, var(--vf-sky), var(--vf-blue-deep)); font-weight: 800; }
html[data-theme] body.dashboard-page .dashboard-user strong { color: var(--vf-ink); }
html[data-theme] body.dashboard-page .dashboard-user small { color: var(--vf-muted); }
html[data-theme] body.dashboard-page .dashboard-user button,
html[data-theme] body.dashboard-page .dashboard-user > a { color: var(--vf-muted); background: transparent; }
html[data-theme] body.dashboard-page .dashboard-user button:hover,
html[data-theme] body.dashboard-page .dashboard-user > a:hover { color: var(--vf-blue); background: rgba(255, 255, 255, .7); }

/* Dunkel */
html[data-theme="dark"] body.dashboard-page .dashboard-sidebar { background: linear-gradient(180deg, rgba(16, 24, 40, .7), rgba(10, 16, 28, .6)); box-shadow: 1px 0 0 rgba(255, 255, 255, .05), 18px 0 50px -30px rgba(0, 0, 0, .8); }
html[data-theme="dark"] body.dashboard-page .dashboard-club-card { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] body.dashboard-page .dashboard-nav section { border-color: rgba(255, 255, 255, .05); }
html[data-theme="dark"] body.dashboard-page .dashboard-nav section > strong { color: #6f7f97; }
html[data-theme="dark"] body.dashboard-page .dashboard-nav a > span { color: #7f90aa; }
html[data-theme="dark"] body.dashboard-page .dashboard-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] body.dashboard-page .dashboard-nav a.is-active { color: #fff; background: linear-gradient(90deg, rgba(26, 124, 255, .28), rgba(26, 124, 255, .08)); box-shadow: inset 0 0 0 1px rgba(92, 180, 255, .2); }
html[data-theme="dark"] body.dashboard-page .dashboard-nav a.is-active > span { color: var(--vf-sky); }
html[data-theme="dark"] body.dashboard-page .dashboard-user button:hover,
html[data-theme="dark"] body.dashboard-page .dashboard-user > a:hover { background: rgba(255, 255, 255, .06); }

/* --------------------------------------------------------------------------
   3 · Kopfleiste aus Glas
   -------------------------------------------------------------------------- */
html[data-theme] body.dashboard-page .dashboard-topbar {
  border-bottom: 1px solid var(--vf-glass-line);
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
  box-shadow: 0 1px 0 var(--vf-glass-edge);
}
html[data-theme="dark"] body.dashboard-page .dashboard-topbar { background: rgba(8, 13, 24, .55); }
html[data-theme] body.dashboard-page .dashboard-search,
html[data-theme] body.dashboard-page :is(.dashboard-theme-toggle, .dashboard-notification) {
  border: 1px solid var(--vf-glass-line);
  background: rgba(255, 255, 255, .7);
  box-shadow: var(--vf-highlight), 0 1px 2px rgba(15, 27, 45, .05);
}
html[data-theme="dark"] body.dashboard-page .dashboard-search,
html[data-theme="dark"] body.dashboard-page :is(.dashboard-theme-toggle, .dashboard-notification) { background: rgba(255, 255, 255, .05); }
html[data-theme] body.dashboard-page .dashboard-search input { color: var(--vf-ink); }
html[data-theme] body.dashboard-page .dashboard-context small { color: var(--vf-muted); }
html[data-theme] body.dashboard-page .dashboard-context strong { color: var(--vf-ink); }
html[data-theme] body.dashboard-page :is(.dashboard-cora-trigger, .dashboard-cora summary) {
  border: 1px solid rgba(26, 124, 255, .18);
  color: var(--vf-blue-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(234, 243, 255, .9));
  box-shadow: var(--vf-highlight), 0 4px 12px -6px rgba(26, 124, 255, .4);
}
html[data-theme="dark"] body.dashboard-page :is(.dashboard-cora-trigger, .dashboard-cora summary) { border-color: rgba(92, 180, 255, .25); color: #cfe6ff; background: rgba(26, 124, 255, .16); }
.vf-kbd-hint {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid rgba(15, 27, 45, .1);
  border-radius: 6px;
  color: var(--vf-muted);
  background: rgba(255, 255, 255, .85);
  font: 600 .68rem/1.4 var(--vf-font);
  white-space: nowrap;
  cursor: pointer;
}
html[data-theme="dark"] .vf-kbd-hint { border-color: rgba(255, 255, 255, .12); color: #a8b7cc; background: rgba(255, 255, 255, .05); }

/* --------------------------------------------------------------------------
   4 · Bühne: farbiger Glas-Kopfbereich jeder Seite
   -------------------------------------------------------------------------- */
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) {
  position: relative;
  isolation: isolate;
  z-index: 30;
  margin-bottom: 24px;
  padding: clamp(26px, 3.2vw, 42px) clamp(24px, 3.2vw, 44px);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(60% 130% at 100% 0%, rgba(120, 200, 255, .9), transparent 55%),
    radial-gradient(55% 120% at 0% 100%, rgba(110, 90, 255, .7), transparent 60%),
    radial-gradient(30% 60% at 64% 125%, rgba(255, 170, 130, .45), transparent 70%),
    linear-gradient(135deg, #1f84ff 0%, #0f5fe6 48%, #0a45bd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(0, 20, 80, .15),
    0 30px 60px -32px rgba(11, 79, 200, .65),
    0 12px 24px -16px rgba(11, 60, 160, .4);
}
/* Glasglanz oben + feine Körnung */
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .04) 40%, transparent 58%),
    var(--vf-noise-soft);
  background-size: auto, 160px 160px;
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}
/* Schwebende Glaskugeln */
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading)::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--vf-orb-x, 82%) 30%, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, .14) 6%, transparent 13%),
    radial-gradient(circle at 92% 88%, rgba(255, 255, 255, .28) 0, rgba(255, 255, 255, .06) 9%, transparent 17%),
    radial-gradient(circle at 58% -10%, rgba(255, 255, 255, .22) 0, transparent 22%);
  animation: vf-stage-orbs 16s ease-in-out infinite alternate;
  transform: none;
  font-size: 0;
}
@property --vf-orb-x { syntax: "<percentage>"; inherits: false; initial-value: 82%; }
@keyframes vf-stage-orbs { from { --vf-orb-x: 84%; } to { --vf-orb-x: 66%; } }

html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) h1 {
  padding-bottom: .1em;
  margin-bottom: -.1em;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 1px 1px rgba(0, 30, 100, .15), 0 10px 30px rgba(0, 30, 100, .2);
  font-size: clamp(2rem, 2.8vw, 2.9rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.06;
}
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(p, small, .muted, dd, dt) { color: rgba(255, 255, 255, .86); }
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(strong, b) { color: #fff; }
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.eyebrow, .dashboard-eyebrow) {
  width: fit-content;
  padding: 5px 11px 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
}
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .bank-heading, .facility-form-intro) .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 10px rgba(255, 255, 255, .9);
}
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .cora-center-hero, .cora-rules-hero) .dashboard-eyebrow i { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .9); }
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .bank-heading) a:not(.primary-link):not(.secondary-link):not(.action-menu-list a) { color: #fff; }
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .bank-heading) .status-pill { border: 1px solid rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .18); }
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .bank-heading) .status-pill > span { background: #fff; }
html[data-theme] .dashboard-main :is(.page-heading, .member-hero) .record-avatar {
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--vf-blue-ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(225, 238, 255, .88));
  box-shadow: inset 0 1px 0 #fff, 0 16px 30px -12px rgba(0, 30, 110, .45);
}
html[data-theme] .dashboard-main :is(.page-heading, .member-hero) .record-avatar * { color: inherit; }
.dashboard-main .cora-rules-hero > span {
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 30px -10px rgba(0, 30, 110, .4);
}

/* Schaltflächen auf der Bühne: weißes Glas + Weiß als Hauptaktion */
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.secondary-link, .secondary-button, .quiet-button, .action-menu > summary) {
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -10px rgba(0, 30, 110, .5);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.secondary-link, .secondary-button, .quiet-button, .action-menu > summary):hover {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
  background: rgba(255, 255, 255, .26);
}
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.primary-link, .primary-button) {
  border: 0;
  color: var(--vf-blue-ink);
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .6), 0 12px 28px -10px rgba(0, 30, 110, .55);
  font-weight: 700;
}
html[data-theme] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.primary-link, .primary-button):hover {
  color: var(--vf-blue-deep);
  background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #fff, 0 18px 36px -12px rgba(0, 30, 110, .6);
}

/* Zurück-Link über der Bühne */
.dashboard-main > .back-link {
  justify-self: start;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 13px 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--vf-glass-line);
  border-radius: 999px;
  color: var(--vf-ink-2);
  background: var(--vf-glass);
  box-shadow: var(--vf-highlight), 0 1px 2px rgba(15, 27, 45, .05);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.dashboard-main > .back-link:hover { color: var(--vf-blue); background: rgba(255, 255, 255, .9); }

/* Dunkelmodus: Bühne tiefer, gleiche Leuchtkraft */
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) {
  border-color: rgba(140, 200, 255, .2);
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(92, 180, 255, .7), transparent 55%),
    radial-gradient(60% 130% at 0% 100%, rgba(123, 108, 255, .6), transparent 60%),
    linear-gradient(135deg, #1a6fe8 0%, #0d4fc4 50%, #0a3592 100%);
}

/* --------------------------------------------------------------------------
   5 · Inhaltsflächen aus Glas
   -------------------------------------------------------------------------- */
html[data-theme] .dashboard-main :is(.data-panel, .finance-metrics article, .metric-card, .dashboard-access, .dashboard-alerts, .dashboard-kpi, .dashboard-metric, .work-side > *, .detail-stack > *) {
  border: 1px solid var(--vf-glass-line);
  border-radius: 22px;
  background: var(--vf-glass-strong);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
  box-shadow: var(--vf-highlight), 0 0 0 1px var(--vf-glass-edge), var(--vf-glass-shadow);
}
html[data-theme] .dashboard-main .data-panel .data-panel { box-shadow: var(--vf-highlight), 0 0 0 1px var(--vf-glass-edge); }
html[data-theme] .dashboard-main :is(.data-panel, .section-heading, .detail-stack) h2 { color: var(--vf-ink); }
html[data-theme] .dashboard-main .eyebrow { color: var(--vf-blue-ink); }
html[data-theme="dark"] .dashboard-main .eyebrow { color: var(--vf-sky); }

/* Licht folgt der Maus */
.vf-spot { position: relative; isolation: isolate; }
.vf-spot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(92, 180, 255, .16), transparent 45%);
  transition: opacity .35s ease;
}
.vf-spot:hover::before { opacity: 1; }
.dashboard-main .vf-spot { transition: box-shadow .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
html[data-theme] .dashboard-main .data-panel.vf-spot:hover { box-shadow: var(--vf-highlight), 0 0 0 1px rgba(26, 124, 255, .14), var(--vf-glass-shadow-hover); }
html[data-theme] .dashboard-main .finance-metrics article.vf-spot:hover { transform: translateY(-3px); box-shadow: var(--vf-highlight), 0 0 0 1px rgba(26, 124, 255, .14), var(--vf-glass-shadow-hover); }

/* Kennzahlen */
.dashboard-main .finance-metrics article { overflow: hidden; }
html[data-theme] .dashboard-main .finance-metrics strong { color: var(--vf-ink); }
html[data-theme] .dashboard-main .finance-metrics span { color: var(--vf-muted); }
html[data-theme] .dashboard-main .finance-metrics .balance-metric { background: linear-gradient(150deg, rgba(234, 243, 255, .95), rgba(255, 255, 255, .8)) !important; }
html[data-theme] .dashboard-main .finance-metrics .balance-metric strong {
  background: linear-gradient(90deg, var(--vf-blue-deep), var(--vf-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme] .dashboard-main .finance-metrics .balance-metric::after { background: radial-gradient(circle, rgba(92, 180, 255, .35), transparent 68%); }
html[data-theme] .dashboard-main .finance-metrics .metric-warning { background: linear-gradient(150deg, rgba(255, 244, 230, .95), rgba(255, 255, 255, .8)) !important; }
html[data-theme] .dashboard-main .finance-metrics .metric-warning strong { color: #c56a12; }
html[data-theme="dark"] .dashboard-main .finance-metrics .balance-metric { background: linear-gradient(150deg, rgba(26, 124, 255, .2), rgba(22, 32, 54, .7)) !important; }
html[data-theme="dark"] .dashboard-main .finance-metrics .balance-metric strong { background: linear-gradient(90deg, #a9d4ff, #5cb4ff); -webkit-background-clip: text; background-clip: text; }
html[data-theme="dark"] .dashboard-main .finance-metrics .metric-warning { background: linear-gradient(150deg, rgba(255, 160, 60, .14), rgba(22, 32, 54, .7)) !important; border-color: rgba(255, 180, 100, .25); }
html[data-theme="dark"] .dashboard-main .finance-metrics .metric-warning strong { color: #ffc27a; background: transparent; }

/* Tabellen */
html[data-theme] .dashboard-main .member-table thead th { color: #7a8aa1; border-color: rgba(15, 27, 45, .07); }
html[data-theme] .dashboard-main .member-table td { border-color: rgba(15, 27, 45, .06); }
html[data-theme] .dashboard-main .member-table tbody tr:hover { background: rgba(26, 124, 255, .045); }
html[data-theme] .dashboard-main .member-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--vf-blue); }
html[data-theme] .dashboard-main .member-table td:is([data-label="Mitgliedsnummer"], [data-label="Rechnung"]),
html[data-theme] .dashboard-main .member-table td:is([data-label="Mitgliedsnummer"], [data-label="Rechnung"]) a { color: var(--vf-ink-2); }
html[data-theme] .dashboard-main .member-table .record-avatar,
html[data-theme] .dashboard-main .member-table td > span[aria-hidden="true"]:first-child {
  color: var(--vf-blue-ink);
  background: linear-gradient(160deg, #eef5ff, #dbeaff);
}
html[data-theme="dark"] .dashboard-main .member-table thead th { color: #8091a9; border-color: rgba(255, 255, 255, .07); }
html[data-theme="dark"] .dashboard-main .member-table td { border-color: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .dashboard-main .member-table tbody tr:hover { background: rgba(92, 180, 255, .06); }
html[data-theme="dark"] .dashboard-main .member-table td:is([data-label="Mitgliedsnummer"], [data-label="Rechnung"]),
html[data-theme="dark"] .dashboard-main .member-table td:is([data-label="Mitgliedsnummer"], [data-label="Rechnung"]) a { color: #cfdcee; }

/* Formulare und Filter */
html[data-theme] .dashboard-main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  border: 1px solid rgba(15, 27, 45, .1);
  border-radius: 11px;
  color: var(--vf-ink);
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 2px rgba(15, 27, 45, .04);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
html[data-theme] .dashboard-main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea):focus {
  border-color: rgba(26, 124, 255, .55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 124, 255, .14);
  outline: 0;
}
html[data-theme="dark"] .dashboard-main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  color-scheme: dark;
  border-color: rgba(255, 255, 255, .1);
  color: #eaf1fb;
  background: rgba(255, 255, 255, .05);
}
html[data-theme="dark"] .dashboard-main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea):focus { border-color: rgba(92, 180, 255, .6); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(92, 180, 255, .16); }
html[data-theme] .dashboard-main :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--vf-blue); }

/* Schaltflächen im Inhalt */
html[data-theme] .dashboard-main :is(.primary-link, .primary-button) {
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #3b95ff 0%, #1a6fe8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(11, 60, 160, .3), 0 8px 20px -8px rgba(26, 110, 240, .6);
}
html[data-theme] .dashboard-main :is(.primary-link, .primary-button):hover { color: #fff; background: linear-gradient(180deg, #4aa0ff 0%, #1466ec 100%); transform: translateY(-1px); }
html[data-theme] .dashboard-main :is(.secondary-link, .secondary-button) {
  border: 1px solid rgba(15, 27, 45, .1);
  color: var(--vf-ink);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--vf-highlight), 0 1px 2px rgba(15, 27, 45, .05);
}
html[data-theme] .dashboard-main :is(.secondary-link, .secondary-button):hover { border-color: rgba(26, 124, 255, .35); color: var(--vf-blue-ink); background: #fff; }
html[data-theme="dark"] .dashboard-main :is(.secondary-link, .secondary-button) { border-color: rgba(255, 255, 255, .1); color: #e2ebf7; background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .dashboard-main :is(.secondary-link, .secondary-button):hover { border-color: rgba(92, 180, 255, .4); color: #fff; background: rgba(255, 255, 255, .1); }
/* Glanzstreifen über Hauptaktionen */
.dashboard-main :is(.primary-link, .primary-button) { position: relative; overflow: hidden; }
.dashboard-main :is(.primary-link, .primary-button)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.dashboard-main :is(.primary-link, .primary-button):hover::after { transform: translateX(120%); }

/* Aufklappmenüs aus Glas */
html[data-theme] .action-menu-list {
  border: 1px solid var(--vf-glass-line);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
  box-shadow: var(--vf-highlight), 0 0 0 1px var(--vf-glass-edge), 0 24px 50px -16px rgba(28, 64, 120, .35);
}
html[data-theme] .action-menu-list a { color: var(--vf-ink); }
html[data-theme] .action-menu-list a:hover { color: #fff; background: var(--vf-blue); }
html[data-theme="dark"] .action-menu-list { background: rgba(20, 30, 50, .85); }

/* Statusmarken: freundlicher, leicht glasig */
html[data-theme] .dashboard-main .status-pill { box-shadow: inset 0 0 0 1px rgba(15, 27, 45, .05); }

/* --------------------------------------------------------------------------
   6 · Dashboard: Begrüßung auf der Bühne
   -------------------------------------------------------------------------- */
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero.dashboard-hero--command,
html[data-theme] .dashboard-main .dashboard-hero {
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(55% 110% at 92% 0%, rgba(120, 200, 255, .9), transparent 58%),
    radial-gradient(50% 100% at 0% 100%, rgba(110, 90, 255, .72), transparent 60%),
    radial-gradient(30% 55% at 60% 122%, rgba(255, 170, 130, .5), transparent 70%),
    linear-gradient(135deg, #1f84ff 0%, #0f5fe6 48%, #0a45bd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 40px 80px -40px rgba(11, 79, 200, .7), 0 14px 28px -18px rgba(11, 60, 160, .45);
}
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero.dashboard-hero--command {
  border-color: rgba(140, 200, 255, .22);
  background:
    radial-gradient(60% 110% at 92% 0%, rgba(92, 180, 255, .75), transparent 58%),
    radial-gradient(55% 100% at 0% 100%, rgba(123, 108, 255, .65), transparent 60%),
    linear-gradient(135deg, #1a6fe8 0%, #0d4fc4 50%, #0a3592 100%);
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero::before {
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .04) 40%, transparent 58%), var(--vf-noise-soft);
  background-size: auto, 160px 160px;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
  opacity: 1;
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero::after {
  z-index: -1;
  inset: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  opacity: 1;
  background:
    radial-gradient(circle at var(--vf-orb-x, 82%) 26%, rgba(255, 255, 255, .45) 0, rgba(255, 255, 255, .12) 5%, transparent 11%),
    radial-gradient(circle at 46% 108%, rgba(255, 255, 255, .25) 0, transparent 16%);
  animation: vf-stage-orbs 16s ease-in-out infinite alternate;
  transform: none;
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero .dashboard-ambient { opacity: .25; }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero h1 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 2px 2px rgba(0, 30, 100, .12), 0 16px 40px rgba(0, 30, 100, .25);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 760;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero .dashboard-eyebrow {
  width: fit-content;
  padding: 5px 12px 5px 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero .dashboard-eyebrow i { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 10px #fff; }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero-copy > p { color: rgba(255, 255, 255, .88); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-live-grid {
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -18px rgba(0, 30, 110, .55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-live-grid > span { border-color: rgba(255, 255, 255, .2); background: transparent; }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-live-grid small { color: rgba(255, 255, 255, .75); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-live-grid strong { color: #fff; font-size: 1.05rem; }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-live-grid .is-live i { background: #7dffc4; box-shadow: 0 0 0 4px rgba(125, 255, 196, .25), 0 0 12px #7dffc4; }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero-cora {
  border: 1px solid rgba(255, 255, 255, .4);
  background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 24px 50px -24px rgba(0, 30, 110, .6);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero-cora small,
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero-cora > div > .dashboard-cora-signal { color: #fff; }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero-cora strong { color: #fff; }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero-cora > div > span { color: rgba(255, 255, 255, .85); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-cora-orbit { border-color: rgba(255, 255, 255, .35); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero .primary-link {
  color: var(--vf-blue-ink);
  background: linear-gradient(180deg, #fff, #eef5ff);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 32px -10px rgba(0, 30, 110, .6);
  font-weight: 700;
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-hero .primary-link:hover { color: var(--vf-blue-deep); background: #fff; }

/* Cora-Kugel in Markenfarben */
html[data-theme] .cora-orb { --orb-a: #8fd3ff; --orb-b: #3d8bff; --orb-c: #7b6cff; --orb-core: #f2f8ff; }

/* --------------------------------------------------------------------------
   7 · Auftritt, Ladebalken
   -------------------------------------------------------------------------- */
.vf-rise { animation: vf-rise .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes vf-rise { from { opacity: 0; transform: translateY(12px) scale(.995); } to { opacity: 1; transform: none; } }
.vf-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  pointer-events: none;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--vf-violet), var(--vf-blue), var(--vf-sky));
  box-shadow: 0 0 12px rgba(26, 124, 255, .7);
  opacity: 0;
}
html.vf-navigating .vf-progress { opacity: 1; animation: vf-progress 6s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes vf-progress { 0% { width: 0; } 20% { width: 45%; } 100% { width: 92%; } }

/* --------------------------------------------------------------------------
   8 · Schnellzugriff (⌘K / Strg+K) – wie Spotlight
   -------------------------------------------------------------------------- */
.vf-palette[hidden] { display: none; }
.vf-palette {
  position: fixed;
  z-index: 10000;
  inset: 0;
  padding: min(14vh, 120px) 16px 16px;
  display: grid;
  justify-items: center;
  align-items: start;
  background: rgba(15, 27, 45, .18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: vf-fade .16s ease;
}
.vf-palette-box {
  width: min(640px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
  color: var(--vf-ink);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  backdrop-filter: blur(40px) saturate(190%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 27, 45, .08), 0 40px 100px -20px rgba(15, 40, 90, .45);
  animation: vf-pop .2s cubic-bezier(.2, .7, .2, 1);
}
.vf-palette-input { padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(15, 27, 45, .07); }
.vf-palette-input .vf-icon { width: 20px; height: 20px; color: var(--vf-blue); }
html[data-theme] body .vf-palette .vf-palette-input input {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  outline: 0;
  color: var(--vf-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 500 1.08rem/1.4 var(--vf-font);
}
.vf-palette-input input::placeholder { color: #93a1b5; }
.vf-palette-input kbd, .vf-palette-foot kbd {
  padding: 2px 6px;
  border: 1px solid rgba(15, 27, 45, .12);
  border-radius: 6px;
  color: var(--vf-muted);
  background: rgba(255, 255, 255, .8);
  font: 600 .68rem/1.4 var(--vf-font);
}
.vf-palette-list { max-height: min(56vh, 460px); margin: 0; padding: 8px; overflow-y: auto; list-style: none; }
.vf-palette-group { padding: 10px 10px 4px; color: #8593a8; font-size: .66rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.vf-palette-item { padding: 10px; display: flex; align-items: center; gap: 12px; border-radius: 11px; color: var(--vf-ink-2); font-size: .92rem; cursor: pointer; }
.vf-palette-item .vf-icon { width: 18px; height: 18px; color: #7b8ba3; }
.vf-palette-item small { margin-left: auto; color: #8593a8; font-size: .72rem; }
.vf-palette-item[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #3b95ff, #1a6fe8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px -8px rgba(26, 110, 240, .7); }
.vf-palette-item[aria-selected="true"] :is(.vf-icon, small, mark) { color: #fff; }
.vf-palette-item mark { color: var(--vf-blue); background: none; font-weight: 700; }
.vf-palette-empty { padding: 26px; color: var(--vf-muted); text-align: center; font-size: .9rem; }
.vf-palette-foot { padding: 10px 16px; display: flex; gap: 16px; border-top: 1px solid rgba(15, 27, 45, .07); color: #8593a8; font-size: .72rem; }
.vf-palette-foot span { display: inline-flex; align-items: center; gap: 6px; }
html[data-theme="dark"] .vf-palette { background: rgba(0, 0, 0, .35); }
html[data-theme="dark"] .vf-palette-box { border-color: rgba(255, 255, 255, .1); color: #eaf1fb; background: rgba(22, 32, 54, .78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 100px -20px rgba(0, 0, 0, .7); }
html[data-theme="dark"] .vf-palette-input { border-color: rgba(255, 255, 255, .07); }
html[data-theme="dark"] body .vf-palette .vf-palette-input input { color: #fff !important; color-scheme: dark; }
html[data-theme="dark"] .vf-palette-item { color: #c3cfdf; }
html[data-theme="dark"] :is(.vf-palette-input kbd, .vf-palette-foot kbd) { border-color: rgba(255, 255, 255, .14); color: #a8b7cc; background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .vf-palette-foot { border-color: rgba(255, 255, 255, .07); }
@keyframes vf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vf-pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   9 · Anmeldung: hell, freundlich, Glas
   -------------------------------------------------------------------------- */
html[data-theme] body.auth-page {
  color: var(--vf-ink);
  background:
    radial-gradient(50rem 38rem at 12% 10%, rgba(92, 180, 255, .55), transparent 62%),
    radial-gradient(44rem 34rem at 92% 22%, rgba(123, 108, 255, .32), transparent 62%),
    radial-gradient(46rem 32rem at 60% 110%, rgba(255, 180, 140, .4), transparent 62%),
    linear-gradient(180deg, #f6f9fe, #edf2fa);
  background-attachment: fixed;
}
html[data-theme] body.auth-page .auth-shell,
html[data-theme] body.auth-page .auth-shell--glass { background: transparent; }
html[data-theme] body.auth-page .auth-shell--glass::before { display: none; }
html[data-theme] body.auth-page .login-glow-one { background: radial-gradient(circle, rgba(26, 124, 255, .45), transparent 65%); }
html[data-theme] body.auth-page .login-glow-two { background: radial-gradient(circle, rgba(123, 108, 255, .35), transparent 65%); }
html[data-theme] body.auth-page .login-glow-three { background: radial-gradient(circle, rgba(255, 170, 130, .4), transparent 65%); }
html[data-theme] body.auth-page .login-orbit { border-color: rgba(26, 124, 255, .14); }
html[data-theme] body.auth-page .auth-shell--glass .auth-brand { color: var(--vf-ink); background: transparent; box-shadow: none; border: 0; }
html[data-theme] body.auth-page .auth-shell--glass .auth-brand::before,
html[data-theme] body.auth-page .auth-shell--glass .auth-brand::after { display: none; }
html[data-theme] body.auth-page .login-brand-mark { width: 60px; height: 60px; padding: 0; border-radius: 16px; background: none; box-shadow: 0 16px 30px -10px rgba(11, 91, 224, .55), 0 2px 6px rgba(15, 27, 45, .15); }
html[data-theme] body.auth-page .login-brand-mark::before,
html[data-theme] body.auth-page .login-brand-mark::after { border-color: rgba(26, 124, 255, .22); border-radius: 22px; }
html[data-theme] body.auth-page .login-brand-identity > div:last-child { display: grid; gap: 3px; }
html[data-theme] body.auth-page .login-brand-identity strong { color: var(--vf-ink); font-size: 1.18rem; font-weight: 760; }
html[data-theme] body.auth-page .login-brand-identity strong em { background: linear-gradient(90deg, var(--vf-blue), var(--vf-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
html[data-theme] body.auth-page .login-brand-identity .vf-by { text-transform: none; }
html[data-theme] body.auth-page .login-live-status {
  border: 1px solid var(--vf-glass-line);
  color: var(--vf-ink-2);
  background: var(--vf-glass);
  box-shadow: var(--vf-highlight), 0 4px 12px -6px rgba(28, 64, 120, .25);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
}
html[data-theme] body.auth-page .login-live-status i { background: #22c38e; box-shadow: 0 0 0 4px rgba(34, 195, 142, .18); }
html[data-theme] body.auth-page .auth-shell--glass .login-brand-copy .eyebrow { color: var(--vf-blue-ink); }
html[data-theme] body.auth-page .auth-shell--glass .login-brand-copy h1 { color: var(--vf-ink); text-shadow: none; font-weight: 780; }
html[data-theme] body.auth-page .login-brand-copy h1 em {
  background: linear-gradient(90deg, #1a6fe8 0%, #5cb4ff 50%, #7b6cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: .1em;
}
html[data-theme] body.auth-page .auth-shell--glass .login-brand-copy p { color: var(--vf-ink-2); }
html[data-theme] body.auth-page .login-highlights span,
html[data-theme] body.auth-page .auth-shell--glass .login-trust-note {
  border: 1px solid var(--vf-glass-line);
  color: var(--vf-ink-2);
  background: var(--vf-glass);
  box-shadow: var(--vf-highlight), 0 8px 20px -12px rgba(28, 64, 120, .3);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
}
html[data-theme] body.auth-page .login-highlights .vf-icon { color: var(--vf-blue); }
html[data-theme] body.auth-page .auth-shell--glass .login-trust-note > span { color: #fff; background: linear-gradient(145deg, var(--vf-sky), var(--vf-blue-deep)); }
html[data-theme] body.auth-page .login-trust-note strong { color: var(--vf-ink); }
html[data-theme] body.auth-page .login-trust-note small { color: var(--vf-muted); }
html[data-theme] body.auth-page .login-panel { background: transparent; border: 0; box-shadow: none; }
html[data-theme] body.auth-page .auth-card,
html[data-theme] body.auth-page .auth-shell--glass .login-glass-card {
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 30px;
  color: var(--vf-ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .55));
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  backdrop-filter: blur(40px) saturate(190%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 27, 45, .05), 0 40px 90px -30px rgba(28, 64, 140, .45);
}
html[data-theme] body.auth-page .auth-shell--glass .login-glass-card::before,
html[data-theme] body.auth-page .auth-shell--glass .login-glass-card::after { display: none; }
html[data-theme] body.auth-page .auth-card :is(h1, h2) { color: var(--vf-ink); }
html[data-theme] body.auth-page .auth-card :is(.intro, p) { color: var(--vf-ink-2); }
html[data-theme] body.auth-page .auth-card :is(label, form p) { color: var(--vf-ink-2); font-weight: 650; }
html[data-theme] body.auth-page .login-card-kicker > span { color: #fff; background: linear-gradient(145deg, var(--vf-sky), var(--vf-blue-deep)); border: 0; box-shadow: 0 8px 18px -8px rgba(11, 91, 224, .6); }
html[data-theme] body.auth-page .login-card-kicker small { color: var(--vf-blue-ink); }
html[data-theme] body.auth-page .login-card-kicker strong { color: var(--vf-ink); }
html[data-theme] body.auth-page .auth-card input {
  color-scheme: light;
  border: 1px solid rgba(15, 27, 45, .1);
  color: var(--vf-ink);
  background: rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 2px rgba(15, 27, 45, .04);
}
html[data-theme] body.auth-page .auth-card input:focus { border-color: rgba(26, 124, 255, .6); background: #fff; box-shadow: 0 0 0 4px rgba(26, 124, 255, .15); }
html[data-theme] body.auth-page .login-field > span { color: #7b8ba3; }
html[data-theme] body.auth-page .auth-card button[type="submit"],
html[data-theme] body.auth-page .auth-card .primary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #3b95ff 0%, #1a6fe8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -12px rgba(26, 110, 240, .75);
}
html[data-theme] body.auth-page .auth-card button[type="submit"]:hover { background: linear-gradient(180deg, #4aa0ff 0%, #1466ec 100%); }
html[data-theme] body.auth-page .auth-card button[type="submit"] i { color: var(--vf-blue-deep); background: #fff; }
html[data-theme] body.auth-page .login-help { border-color: rgba(15, 27, 45, .07); }
html[data-theme] body.auth-page .login-help > span { color: var(--vf-blue-ink); background: var(--vf-ice); border: 0; }
html[data-theme] body.auth-page .login-help p { color: var(--vf-muted); }
html[data-theme] body.auth-page .login-help strong { color: var(--vf-ink-2); }
html[data-theme] body.auth-page .login-panel-note { color: var(--vf-muted); }
html[data-theme] body.auth-page .login-panel-note > span:first-child { background: #22c38e; }
html[data-theme] body.auth-page .mobile-brand strong { color: var(--vf-ink); }
html[data-theme] body.auth-page .form-alert { border-color: rgba(220, 70, 70, .25); color: #a12c2c; background: rgba(255, 235, 235, .8); }
html[data-theme] body.auth-page .global-theme-toggle { border: 1px solid var(--vf-glass-line); color: var(--vf-ink); background: var(--vf-glass); -webkit-backdrop-filter: var(--vf-glass-blur); backdrop-filter: var(--vf-glass-blur); }
html[data-theme] body.auth-page .brand-mark:has(> .vf-mark-img) { padding: 0; background: none; box-shadow: 0 10px 22px -8px rgba(11, 91, 224, .55); }

/* Anmeldung dunkel */
html[data-theme="dark"] body.auth-page {
  background:
    radial-gradient(50rem 38rem at 12% 10%, rgba(26, 124, 255, .4), transparent 62%),
    radial-gradient(44rem 34rem at 92% 22%, rgba(123, 108, 255, .28), transparent 62%),
    linear-gradient(180deg, #070b14, #050810);
}
html[data-theme="dark"] body.auth-page .auth-card,
html[data-theme="dark"] body.auth-page .auth-shell--glass .login-glass-card { border-color: rgba(255, 255, 255, .1); background: linear-gradient(160deg, rgba(30, 42, 68, .7), rgba(16, 24, 40, .6)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 90px -30px rgba(0, 0, 0, .8); }
html[data-theme="dark"] body.auth-page .auth-card input { color-scheme: dark; border-color: rgba(255, 255, 255, .12); color: #fff; background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] body.auth-page .auth-card input:focus { background: rgba(255, 255, 255, .09); }
html[data-theme="dark"] body.auth-page :is(.login-highlights span, .login-trust-note, .login-live-status) { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); }

/* Altes VF-Kästchen: neues Zeichen ohne Hintergrund */
.brand-mark:has(> .vf-mark-img) { padding: 0; overflow: hidden; background: none !important; color: transparent; }
.brand-mark:has(> .vf-mark-img) > .vf-mark-img { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   10 · Smartphone
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {
  .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .bank-heading) { border-radius: 22px; }
  .vf-kbd-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vf-rise, .vf-palette, .vf-palette-box { animation: none !important; }
  .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .bank-heading, .dashboard-hero)::after { animation: none !important; }
  html.vf-navigating .vf-progress { animation: none; width: 60%; }
  .dashboard-main :is(.primary-link, .primary-button)::after { display: none; }
}
@media print {
  .dashboard-sidebar, .dashboard-topbar, .vf-palette, .vf-progress { display: none !important; }
  .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .bank-heading) { color: #000; background: none; box-shadow: none; border: 1px solid #ccc; }
  .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .bank-heading) :is(h1, p, small) { color: #000 !important; -webkit-text-fill-color: #000; text-shadow: none; }
}

/* --------------------------------------------------------------------------
   11 · Dashboard-Bausteine in Markenfarben und Glas
   -------------------------------------------------------------------------- */
html[data-theme] body.dashboard-page .dashboard-main :is(.dashboard-panel, .dashboard-rolebar, .cora-alert-strip, .dashboard-metrics > *) {
  border: 1px solid var(--vf-glass-line);
  border-radius: 22px;
  background: var(--vf-glass-strong);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
  box-shadow: var(--vf-highlight), 0 0 0 1px var(--vf-glass-edge), var(--vf-glass-shadow);
}
html[data-theme] body.dashboard-page .dashboard-main .cora-alert-card { border: 1px solid var(--vf-glass-line); background: rgba(255, 255, 255, .85); box-shadow: var(--vf-highlight), 0 1px 2px rgba(15, 27, 45, .05); }
html[data-theme] body.dashboard-page .dashboard-main :is(.cora-alert-mark, .dashboard-role-symbol) {
  color: #fff;
  background: linear-gradient(145deg, var(--vf-sky), var(--vf-blue-deep));
  border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(11, 91, 224, .6);
}
html[data-theme] body.dashboard-page .dashboard-main .dashboard-role-pill { border-color: rgba(26, 124, 255, .2); color: var(--vf-blue-ink); background: rgba(234, 243, 255, .9); }
html[data-theme] body.dashboard-page .dashboard-main :is(.dashboard-panel-heading a, .cora-alert-strip a) { color: var(--vf-blue-ink); }
html[data-theme] body.dashboard-page .dashboard-main .metric-icon { color: var(--vf-blue); background: linear-gradient(160deg, #eef5ff, #dbeaff); border-color: rgba(26, 124, 255, .15); }
html[data-theme] body.dashboard-page .dashboard-main .metric-icon.is-green { color: #0f9f74; background: linear-gradient(160deg, #eafbf4, #d3f5e7); }
html[data-theme] body.dashboard-page .dashboard-main .metric-icon.is-warn { color: #c56a12; background: linear-gradient(160deg, #fff6ea, #ffe8cc); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-metrics strong { color: var(--vf-ink); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .cora-alert-card { border-color: rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-role-pill { color: #cfe6ff; background: rgba(26, 124, 255, .15); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .metric-icon { color: var(--vf-sky); background: rgba(92, 180, 255, .12); }

/* Cora-Kugel in Markenfarben, auch in aktiven Zuständen */
html[data-theme] .cora-orb,
html[data-theme] .cora-orb:is(.is-active, .is-thinking) { --orb-a: #9ad8ff; --orb-b: #3d8bff; --orb-c: #8a7bff; --orb-core: #f3f9ff; }

/* Anmeldung: Hinweis „Ein Produkt von Varevor“ */
html[data-theme] body.auth-page .login-panel-note { flex-wrap: wrap; row-gap: 4px; color: var(--vf-muted); }
html[data-theme] body.auth-page .login-panel-note .vf-by { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; white-space: nowrap; font-size: inherit; }
html[data-theme] body.auth-page .login-brand-identity .vf-by { color: var(--vf-muted); font-size: .7rem; }
html[data-theme] .cora-orb {
  border-color: rgba(220, 238, 255, .8);
  background:
    radial-gradient(circle at 35% 27%, rgba(255, 255, 255, .96) 0 4%, transparent 18%),
    radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--orb-a) 72%, transparent), transparent 63%),
    #0f2a5c;
}
html[data-theme] .cora-orb.is-warning { --orb-a: #ffd56a; --orb-b: #ffa94d; --orb-c: #7b9bff; }
html[data-theme] .cora-orb.is-urgent { --orb-a: #ff9e62; --orb-b: #ff596f; --orb-c: #9b6cff; }

/* --------------------------------------------------------------------------
   12 · Letzte grüne Reste auf Markenfarben
   -------------------------------------------------------------------------- */
/* Hauptaktionen auf Anmelde- und Sicherheitsseiten */
html[data-theme] body.auth-page .auth-card :is(.primary-link, .primary-button) {
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #3b95ff 0%, #1a6fe8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 26px -12px rgba(26, 110, 240, .7);
}
html[data-theme] body.auth-page .auth-card :is(.primary-link, .primary-button):hover { color: #fff; background: linear-gradient(180deg, #4aa0ff 0%, #1466ec 100%); }
html[data-theme] body.auth-page .auth-card :is(.eyebrow, .mfa-kicker) { color: var(--vf-blue-ink); }
html[data-theme] body.auth-page .auth-card a:not(.primary-link):not(.secondary-link) { color: var(--vf-blue-ink); }

/* Schaltfläche „Cora fragen“ in eigenen Kopfleisten */
html[data-theme] body.dashboard-page .dashboard-topbar :is(.primary-button, .primary-link) {
  border: 1px solid rgba(26, 124, 255, .18);
  color: var(--vf-blue-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(234, 243, 255, .9));
  box-shadow: var(--vf-highlight), 0 4px 12px -6px rgba(26, 124, 255, .4);
}
html[data-theme="dark"] body.dashboard-page .dashboard-topbar :is(.primary-button, .primary-link) { border-color: rgba(92, 180, 255, .25); color: #cfe6ff; background: rgba(26, 124, 255, .16); }

/* Bankabgleich */
html[data-theme] body.dashboard-page .bank-primary { color: var(--vf-blue-ink); background: linear-gradient(180deg, #fff, #eef5ff); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -10px rgba(0, 30, 110, .5); }
html[data-theme] body.dashboard-page .dashboard-main :not(.bank-heading):not(.bank-heading-actions) > .bank-primary { color: #fff; background: linear-gradient(180deg, #3b95ff, #1a6fe8); }

/* Datenraster auf Detailseiten: Glas statt Grünstich */
html[data-theme] body.dashboard-page .info-grid { border-color: rgba(15, 27, 45, .07); background: rgba(15, 27, 45, .06); box-shadow: var(--vf-highlight); }
html[data-theme] body.dashboard-page .info-grid div { background: rgba(255, 255, 255, .72); }
html[data-theme] body.dashboard-page .info-grid a { color: var(--vf-blue-ink); }
html[data-theme="dark"] body.dashboard-page .info-grid { border-color: rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .07); }
html[data-theme="dark"] body.dashboard-page .info-grid div { background: rgba(16, 24, 40, .7); }

/* Allgemeine Links im Inhalt in Markenblau */
html[data-theme] body.dashboard-page .dashboard-main a:not([class]):not(.action-menu-list a) { color: var(--vf-blue-ink); }
html[data-theme="dark"] body.dashboard-page .dashboard-main a:not([class]) { color: var(--vf-sky); }

/* Bankabgleich-Kopf: Kennung und Aktion lesbar */
html[data-theme] body.dashboard-page .dashboard-main .bank-heading .bank-primary { color: var(--vf-blue-ink) !important; }
html[data-theme] body.dashboard-page .dashboard-main .bank-heading .bank-eyebrow {
  width: fit-content;
  padding: 5px 11px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Schwebende Cora-Schaltfläche in Markenblau */
html[data-theme] .cora-launcher {
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  background: linear-gradient(160deg, #3b95ff 0%, #1a6fe8 60%, #0b4fc8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -12px rgba(26, 110, 240, .7);
}
html[data-theme] .cora-launcher small { color: rgba(255, 255, 255, .8); }
html[data-theme] .cora-launcher:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 22px 44px -12px rgba(26, 110, 240, .8); }

/* --------------------------------------------------------------------------
   13 · Hinweis „Update gestartet“ im Programm
   -------------------------------------------------------------------------- */
html[data-theme] .maintenance-guard {
  background: rgba(15, 27, 45, .22);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
}
html[data-theme] .maintenance-guard-card {
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 24px;
  color: var(--vf-ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .62));
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  backdrop-filter: blur(36px) saturate(190%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 27, 45, .05), 0 40px 90px -30px rgba(28, 64, 140, .5);
}
html[data-theme] .maintenance-guard-card > .vf-guard-mark {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: none;
  box-shadow: 0 12px 26px -10px rgba(11, 91, 224, .65);
}
.vf-guard-mark img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.vf-guard-mark::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(26, 124, 255, .45);
  border-radius: 20px;
  animation: vf-guard-ping 1.8s cubic-bezier(.2, .7, .2, 1) infinite;
}
@keyframes vf-guard-ping { from { opacity: .9; transform: scale(.92); } to { opacity: 0; transform: scale(1.25); } }
html[data-theme] .maintenance-guard-card strong { color: var(--vf-ink); }
html[data-theme] .maintenance-guard-card small { color: var(--vf-ink-2); }
html[data-theme="dark"] .maintenance-guard { background: rgba(0, 0, 0, .4); }
html[data-theme="dark"] .maintenance-guard-card { border-color: rgba(255, 255, 255, .1); background: linear-gradient(160deg, rgba(30, 42, 68, .82), rgba(16, 24, 40, .72)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 90px -30px rgba(0, 0, 0, .8); }
@media (prefers-reduced-motion: reduce) { .vf-guard-mark::after { animation: none; opacity: .5; } }

/* --------------------------------------------------------------------------
   14 · Dunkelmodus: Bühne als dunkles, von innen leuchtendes Glas
   (statt hellem Blauverlauf – fügt sich in Seitenleiste und Karten ein)
   -------------------------------------------------------------------------- */
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading),
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero.dashboard-hero--command {
  border: 1px solid rgba(140, 190, 255, .16);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(26, 124, 255, .34), transparent 60%),
    radial-gradient(50% 110% at 0% 100%, rgba(123, 108, 255, .24), transparent 62%),
    radial-gradient(30% 60% at 62% 120%, rgba(92, 180, 255, .12), transparent 70%),
    linear-gradient(160deg, rgba(28, 42, 72, .82) 0%, rgba(14, 22, 40, .78) 55%, rgba(9, 14, 28, .82) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .02),
    0 30px 70px -36px rgba(0, 0, 0, .85),
    0 0 80px -40px rgba(26, 124, 255, .5);
}
/* Glanzkante dezenter */
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading)::before,
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, transparent 40%), var(--vf-noise-soft);
  background-size: auto, 160px 160px;
}
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading)::after,
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero::after {
  background:
    radial-gradient(circle at var(--vf-orb-x, 82%) 26%, rgba(120, 190, 255, .22) 0, rgba(120, 190, 255, .05) 6%, transparent 13%),
    radial-gradient(circle at 46% 110%, rgba(123, 108, 255, .14) 0, transparent 18%);
}
/* Überschrift: weiß, zweite Ebene in Markenverlauf */
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) h1,
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero h1 { text-shadow: 0 10px 40px rgba(26, 124, 255, .25); }
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(p, small, .muted, dd, dt),
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero-copy > p { color: #a9b8cd; }
/* Kennung als Glas-Pille in Blau */
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.eyebrow, .dashboard-eyebrow, .bank-eyebrow),
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero .dashboard-eyebrow {
  border-color: rgba(92, 180, 255, .28);
  color: #bfe0ff;
  background: rgba(26, 124, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .bank-heading, .facility-form-intro) .eyebrow::before,
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .cora-center-hero, .cora-rules-hero) .dashboard-eyebrow i,
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero .dashboard-eyebrow i { background: var(--vf-sky); box-shadow: 0 0 0 3px rgba(92, 180, 255, .2), 0 0 10px rgba(92, 180, 255, .9); }
/* Schaltflächen: Glas + blaue Hauptaktion wie im übrigen Programm */
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.secondary-link, .secondary-button, .quiet-button, .action-menu > summary) {
  border-color: rgba(255, 255, 255, .12);
  color: #e2ebf7;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.secondary-link, .secondary-button, .quiet-button, .action-menu > summary):hover { border-color: rgba(92, 180, 255, .4); color: #fff; background: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.primary-link, .primary-button),
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero .primary-link,
html[data-theme="dark"] body.dashboard-page .dashboard-main .bank-heading .bank-primary {
  color: #fff !important;
  background: linear-gradient(180deg, #3b95ff 0%, #1a6fe8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(92, 180, 255, .35), 0 14px 32px -12px rgba(26, 124, 255, .75);
}
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .facility-form-intro, .cora-center-hero, .cora-rules-hero, .template-library-hero, .serial-letter-hero, .transfer-hero, .bank-heading) :is(.primary-link, .primary-button):hover,
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero .primary-link:hover { color: #fff; background: linear-gradient(180deg, #4aa0ff 0%, #1466ec 100%); }
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero, .facility-page-hero, .bank-heading) .status-pill { border-color: rgba(92, 180, 255, .25); background: rgba(26, 124, 255, .12); }
html[data-theme="dark"] .dashboard-main :is(.page-heading, .member-hero) .record-avatar { border-color: rgba(140, 190, 255, .25); color: #fff; background: linear-gradient(145deg, #3b95ff, #0b4fc8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 30px -12px rgba(26, 124, 255, .6); }
html[data-theme="dark"] .dashboard-main .cora-rules-hero > span { border-color: rgba(92, 180, 255, .25); color: var(--vf-sky); background: rgba(26, 124, 255, .12); }
/* Dashboard: Live-Leiste und Cora-Karte als dunkles Glas */
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-live-grid { border-color: rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-live-grid > span { border-color: rgba(255, 255, 255, .07); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-live-grid small { color: #8ea2bd; }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero-cora { border-color: rgba(140, 190, 255, .16); background: linear-gradient(160deg, rgba(26, 124, 255, .16), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -24px rgba(0, 0, 0, .7); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero-cora small,
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero-cora > div > .dashboard-cora-signal { color: var(--vf-sky); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-hero-cora > div > span { color: #a9b8cd; }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-cora-orbit { border-color: rgba(92, 180, 255, .22); }

/* Dunkelmodus: blaue Links und Titel heller, damit sie lesbar bleiben */
html[data-theme="dark"] body.dashboard-page .dashboard-main :is(.cora-alert-card strong, .cora-alert-card a, .dashboard-panel-heading a, .cora-alert-strip a, .dashboard-task-list a) { color: #8cc8ff; }
html[data-theme="dark"] body.dashboard-page .dashboard-main .eyebrow { color: #8cc8ff; }

/* Dunkelmodus: „Markenblau“ als Textfarbe wird hell, damit es auf dunklem Glas lesbar bleibt */
html[data-theme="dark"] { --vf-blue-ink: #8cc8ff; }
html[data-theme="dark"] body.dashboard-page .dashboard-main a:not([class]):not(.action-menu-list a) { color: #8cc8ff; }
html[data-theme="dark"] body.dashboard-page .info-grid a { color: #8cc8ff; }
html[data-theme="dark"] body.dashboard-page .dashboard-main .member-table td:is([data-label="Rechnung"]) a { color: #dbe7f6; }

/* Reiter in der Mitgliederakte als Glas-Pillen */
html[data-theme] body.dashboard-page .dashboard-main .dossier-tabs a {
  border: 1px solid var(--vf-glass-line);
  border-radius: 999px;
  color: var(--vf-ink-2);
  background: var(--vf-glass-strong);
  box-shadow: var(--vf-highlight), 0 1px 2px rgba(15, 27, 45, .05);
  font-weight: 600;
}
html[data-theme] body.dashboard-page .dashboard-main .dossier-tabs a:hover { border-color: rgba(26, 124, 255, .35); color: var(--vf-blue-ink); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dossier-tabs a { color: #c3cfdf; background: rgba(255, 255, 255, .05); }

/* Porträt-Kachel in der Mitgliederakte */
html[data-theme] .dashboard-main .member-hero .dossier-portrait {
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--vf-blue-deep);
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(225, 238, 255, .88));
  box-shadow: inset 0 1px 0 #fff, 0 16px 30px -12px rgba(0, 30, 110, .45);
}
html[data-theme] .dashboard-main .member-hero .dossier-portrait :is(span, small) { color: inherit; }
html[data-theme] .dashboard-main .member-hero .dossier-portrait small { opacity: .6; }
html[data-theme="dark"] .dashboard-main .member-hero .dossier-portrait {
  border-color: rgba(140, 190, 255, .25);
  color: #fff;
  background: linear-gradient(145deg, #3b95ff, #0b4fc8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 30px -12px rgba(26, 124, 255, .6);
}

/* Hilfetexte unter Formularfeldern */
.form-field .field-help { display: block; margin-top: 6px; color: var(--vf-muted); font-size: .76rem; line-height: 1.45; }

/* Mitglieder-Import: Datei und Kolonie nebeneinander, Schaltfläche darunter */
.dashboard-main .import-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px 22px;
}
.dashboard-main .import-form > :is(.form-alert, input[type="hidden"]) { grid-column: 1 / -1; }
.dashboard-main .import-form > button { grid-column: 1 / -1; justify-self: start; width: auto; }
.dashboard-main .import-form .form-field { min-width: 0; }
.dashboard-main .import-form .form-field label { white-space: nowrap; }
.dashboard-main .import-form input[type="file"] {
  width: 100%;
  min-height: 46px;
  padding: 9px 10px;
  border: 1.5px dashed rgba(26, 124, 255, .35);
  border-radius: 12px;
  color: var(--vf-ink-2);
  background: rgba(234, 243, 255, .55);
  font: inherit;
  font-size: .86rem;
  cursor: pointer;
}
.dashboard-main .import-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(180deg, #3b95ff, #1a6fe8);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.dashboard-main .import-form select { width: 100%; min-height: 46px; }
html[data-theme="dark"] .dashboard-main .import-form input[type="file"] { border-color: rgba(92, 180, 255, .35); background: rgba(26, 124, 255, .08); }
@media (max-width: 760px) { .dashboard-main .import-form { grid-template-columns: 1fr; } }

/* Mitglieder-Import: Zusammenfassung und Änderungen */
.import-summary { margin: 4px 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.import-summary > div { padding: 14px 16px; border: 1px solid var(--vf-glass-line); border-radius: 16px; background: var(--vf-glass-strong); box-shadow: var(--vf-highlight); }
.import-summary strong { display: block; color: var(--vf-ink); font-size: 1.6rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.import-summary span { color: var(--vf-muted); font-size: .8rem; }
.import-columns { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(26, 124, 255, .06); font-size: .84rem; line-height: 1.5; }
.import-columns p { margin: 2px 0; color: var(--vf-ink-2); }
.import-columns-ignored { color: #8a5200 !important; }
.import-columns-ignored span { color: var(--vf-muted); }
html[data-theme="dark"] .import-columns { background: rgba(92, 180, 255, .08); }
html[data-theme="dark"] .import-columns-ignored { color: #ffd59a !important; }
.import-changes { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: .82rem; }
.import-changes b { color: var(--vf-ink); font-weight: 650; }
.import-changes .old { color: var(--vf-muted); text-decoration: line-through; }
.import-changes .new { color: #0f8a63; font-weight: 600; }
html[data-theme="dark"] .import-changes .new { color: #6fe3b4; }
.import-pill-update { color: #0a4bc2; background: #e6f0ff; }
.import-pill-update > span { background: #1a7cff; }
html[data-theme="dark"] .import-pill-update { color: #cfe6ff; background: rgba(26, 124, 255, .18); }
@media (max-width: 640px) { .import-summary { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   15 · Aufklappbare Navigation
   -------------------------------------------------------------------------- */
html[data-theme] body.dashboard-page .dashboard-nav .nav-group { display: block; padding: 4px 0; border-top: 0; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group + .nav-group { margin-top: 2px; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group-title { display: block; padding: 4px 10px 6px; }
.dashboard-nav .nav-group-items { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s cubic-bezier(.2, .7, .2, 1); }
.dashboard-nav .nav-group-items > div { min-height: 0; overflow: hidden; display: grid; gap: 2px; }
.dashboard-nav.is-collapsible .nav-group:not(.is-pinned):not(.is-open) .nav-group-items { grid-template-rows: 0fr; }
.dashboard-nav.is-collapsible .nav-group:not(.is-pinned) .nav-group-items > div { padding-left: 10px; margin-left: 20px; border-left: 1px solid rgba(15, 27, 45, .08); }
html[data-theme="dark"] .dashboard-nav.is-collapsible .nav-group:not(.is-pinned) .nav-group-items > div { border-color: rgba(255, 255, 255, .07); }
.dashboard-nav.is-collapsible .nav-group.is-open .nav-group-items > div { padding-top: 2px; padding-bottom: 6px; }

.nav-group-toggle {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 11px;
  color: var(--vf-ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.nav-group-toggle:hover { background: rgba(255, 255, 255, .6); }
.nav-group-toggle:focus-visible { outline: 2px solid var(--vf-blue); outline-offset: 1px; }
.nav-group-toggle strong { flex: 1; min-width: 0; font-size: .82rem; font-weight: 650; letter-spacing: -.005em; }
.nav-group-icon { width: 22px; display: grid; place-items: center; color: #7b8ba3; }
.nav-group-icon .vf-icon { width: 18px; height: 18px; }
.nav-group-hint {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--vf-muted);
  background: rgba(15, 27, 45, .05);
  font-size: .66rem;
  font-weight: 700;
  opacity: 1;
  transition: opacity .2s ease;
}
.nav-group.is-open .nav-group-hint { opacity: 0; }
.nav-group-chevron { width: 15px; height: 15px; fill: none; stroke: #8593a8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.nav-group.is-open .nav-group-chevron { transform: rotate(90deg); }
/* Gruppe mit aktiver Seite: Kopf leicht hervorheben */
.nav-group.has-active > .nav-group-toggle strong { color: var(--vf-blue-ink); }
.nav-group.has-active > .nav-group-toggle .nav-group-icon { color: var(--vf-blue); }
html[data-theme="dark"] .nav-group-toggle { color: #e2ebf7; }
html[data-theme="dark"] .nav-group-toggle:hover { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .nav-group-hint { background: rgba(255, 255, 255, .07); color: #93a3ba; }
html[data-theme="dark"] .nav-group.has-active > .nav-group-toggle strong { color: #cfe6ff; }
html[data-theme="dark"] .nav-group.has-active > .nav-group-toggle .nav-group-icon { color: var(--vf-sky); }
/* Links in Gruppen etwas kompakter */
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a { min-height: 36px; font-size: .79rem; }

/* Smartphone: Klappgruppen wie am Computer – die Seitenleiste ist dort eine Schublade (mobile-nav.css, rc121) */
@media (prefers-reduced-motion: reduce) {
  .dashboard-nav .nav-group-items, .nav-group-chevron { transition: none; }
}
/* Unterpunkte kompakter einrücken, damit Bezeichnungen einzeilig bleiben */
.dashboard-nav.is-collapsible .nav-group:not(.is-pinned) .nav-group-items > div { margin-left: 20px; padding-left: 4px; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a { gap: 8px; padding: 0 8px; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a > span { width: 18px; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a > span .vf-icon { width: 16px; height: 16px; }
.nav-group-toggle strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Ruhiger: keine Zähler, keine Icon-Kachel im aktiven Unterpunkt */
.nav-group-hint { display: none; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a > span { height: auto; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; }
.dashboard-nav.is-collapsible .nav-group:not(.is-pinned) .nav-group-items > div { margin-left: 16px; padding-left: 2px; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a { padding: 0 6px 0 8px; letter-spacing: -.01em; white-space: nowrap; }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a { overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1041px) { .dashboard-shell { grid-template-columns: 280px minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   16 · Dashboard (neu)
   -------------------------------------------------------------------------- */
.dashboard-v2 { display: grid; gap: 20px; }
.dashboard-v2 > * { margin: 0 !important; }

/* Begrüßung */
.dash-hero { min-height: 0 !important; }
.dash-hero .dashboard-hero-copy > p strong { color: #fff; }
.dash-quick { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.dash-quick a {
  min-height: 40px;
  padding: 0 14px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s cubic-bezier(.2, .7, .2, 1), border-color .2s ease;
}
.dash-quick a > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--vf-blue-deep); background: #fff; }
.dash-quick a .vf-icon { width: 14px; height: 14px; }
.dash-quick a:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
html[data-theme="dark"] .dash-quick a { border-color: rgba(140, 190, 255, .2); background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .dash-quick a > span { color: #fff; background: linear-gradient(145deg, #3b95ff, #1a6fe8); }
html[data-theme="dark"] .dash-quick a:hover { border-color: rgba(140, 190, 255, .45); background: rgba(255, 255, 255, .09); }
.dash-hero .dashboard-hero-side { display: grid; gap: 12px; align-content: center; }
.dash-hero .dashboard-hero-cora { cursor: pointer; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.dash-hero .dashboard-hero-cora:hover { transform: translateY(-3px); }
.dash-hero .dashboard-hero-cora:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dash-clock { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 6px; color: rgba(255, 255, 255, .85); }
.dash-clock strong { color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dash-clock small { font-size: .78rem; opacity: .8; }
html[data-theme="dark"] .dash-clock { color: #a9b8cd; }

/* Kennzahlen */
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dash-kpi {
  position: relative;
  min-height: 112px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border: 1px solid var(--vf-glass-line);
  border-radius: 22px;
  color: var(--vf-ink);
  background: var(--vf-glass-strong);
  -webkit-backdrop-filter: var(--vf-glass-blur);
  backdrop-filter: var(--vf-glass-blur);
  box-shadow: var(--vf-highlight), 0 0 0 1px var(--vf-glass-edge), var(--vf-glass-shadow);
  text-decoration: none;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.dash-kpi:hover { transform: translateY(-3px); box-shadow: var(--vf-highlight), 0 0 0 1px rgba(26, 124, 255, .14), var(--vf-glass-shadow-hover); }
.dash-kpi > div { min-width: 0; }
.dash-kpi small { display: block; color: var(--vf-muted); font-size: .7rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.dash-kpi strong { display: block; margin-top: 4px; color: var(--vf-ink); font-size: 1.6rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-kpi strong em { color: var(--vf-muted); font-size: 1rem; font-style: normal; font-weight: 600; }
.dash-kpi p { margin: 5px 0 0; color: var(--vf-muted); font-size: .78rem; }
.dash-kpi-icon { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--vf-blue); background: linear-gradient(160deg, #eef5ff, #dbeaff); }
.dash-kpi-icon .vf-icon { width: 24px; height: 24px; }
.dash-kpi-icon.is-warm { color: #c56a12; background: linear-gradient(160deg, #fff6ea, #ffe6c7); }
.dash-kpi-icon.is-blue { color: #fff; background: linear-gradient(145deg, #5cb4ff, #1a6fe8); box-shadow: 0 10px 22px -10px rgba(26, 110, 240, .7); }
html[data-theme="dark"] .dash-kpi-icon { color: var(--vf-sky); background: rgba(92, 180, 255, .12); }
html[data-theme="dark"] .dash-kpi-icon.is-warm { color: #ffc27a; background: rgba(255, 170, 80, .12); }
html[data-theme="dark"] .dash-kpi-icon.is-blue { color: #fff; background: linear-gradient(145deg, #3b95ff, #0b4fc8); }
.dash-flag { display: inline-block; padding: 2px 8px; border-radius: 999px; color: #0a4bc2; background: #e6f0ff; font-weight: 650; }
.dash-flag.is-warn { color: #a5530a; background: #fff1de; }
html[data-theme="dark"] .dash-flag { color: #cfe6ff; background: rgba(26, 124, 255, .18); }
html[data-theme="dark"] .dash-flag.is-warn { color: #ffd59a; background: rgba(255, 170, 80, .16); }

/* Ring */
.dash-ring { position: relative; flex: 0 0 auto; width: 64px; height: 64px; }
.dash-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dash-ring circle { fill: none; stroke-width: 7; }
.dash-ring .track { stroke: rgba(26, 124, 255, .12); }
.dash-ring .value { stroke: url(#none); stroke: var(--vf-blue); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); animation: dash-ring-in 1.2s cubic-bezier(.2, .7, .2, 1) .2s both; filter: drop-shadow(0 0 4px rgba(26, 124, 255, .45)); }
@keyframes dash-ring-in { from { stroke-dashoffset: 100; } }
.dash-ring b { position: absolute; inset: 0; display: grid; place-items: center; color: var(--vf-ink); font-size: .9rem; font-weight: 750; }
.dash-ring b i { font-size: .62rem; font-style: normal; opacity: .7; }
html[data-theme="dark"] .dash-ring .track { stroke: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .dash-ring .value { stroke: var(--vf-sky); }

/* Raster: Vorgänge links, Cora + Termine rechts */
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dash-side { display: grid; gap: 20px; }
html[data-theme] body.dashboard-page .dashboard-v2 .dashboard-panel { padding: 22px; }
.dash-today .dashboard-task-list { max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
html[data-theme] body.dashboard-page .dashboard-v2 .cora-alert-strip .cora-alert-grid { grid-template-columns: 1fr; }

/* Termine */
.dash-event-list { margin: 6px 0 0; padding: 0; display: grid; gap: 4px; list-style: none; }
.dash-event-list a { padding: 8px; display: flex; align-items: center; gap: 14px; border-radius: 14px; color: var(--vf-ink); text-decoration: none; transition: background-color .18s ease; }
.dash-event-list a:hover { background: rgba(26, 124, 255, .06); }
.dash-date { flex: 0 0 auto; width: 46px; height: 50px; display: grid; place-items: center; align-content: center; border-radius: 13px; color: #fff; background: linear-gradient(160deg, #5cb4ff, #1a6fe8); box-shadow: 0 8px 18px -10px rgba(26, 110, 240, .8); line-height: 1; }
.dash-date b { font-size: 1.15rem; font-weight: 750; }
.dash-date small { margin-top: 3px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.dash-event-text { min-width: 0; display: grid; gap: 2px; }
.dash-event-text strong { overflow: hidden; font-size: .9rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.dash-event-text small { overflow: hidden; color: var(--vf-muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="dark"] .dash-event-list a:hover { background: rgba(255, 255, 255, .04); }
.dash-empty-small { padding: 12px 4px 2px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.dash-empty-small p { margin: 0; color: var(--vf-muted); font-size: .86rem; }

/* Kolonien */
.dash-colony-grid { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.dash-colony {
  position: relative;
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--vf-glass-line);
  border-radius: 18px;
  color: var(--vf-ink);
  background: rgba(255, 255, 255, .6);
  box-shadow: var(--vf-highlight);
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .25s ease;
}
.dash-colony:hover { transform: translateY(-2px); border-color: rgba(26, 124, 255, .3); box-shadow: var(--vf-highlight), 0 14px 30px -18px rgba(26, 92, 200, .5); }
.dash-colony-code { width: fit-content; padding: 3px 9px; border-radius: 999px; color: #fff; background: linear-gradient(145deg, #5cb4ff, #1a6fe8); font-size: .64rem; font-weight: 800; letter-spacing: .08em; }
.dash-colony strong { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.dash-colony small { color: var(--vf-muted); font-size: .78rem; }
.dash-colony small b { color: var(--vf-ink); }
.dash-colony small em { color: #0f8a63; font-style: normal; font-weight: 650; }
.dash-bar { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(26, 124, 255, .1); }
.dash-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7b6cff, #1a7cff, #5cb4ff); box-shadow: 0 0 10px rgba(26, 124, 255, .5); animation: dash-bar-in 1.1s cubic-bezier(.2, .7, .2, 1) .3s both; transform-origin: left; }
@keyframes dash-bar-in { from { transform: scaleX(0); } }
html[data-theme="dark"] .dash-colony { border-color: rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
html[data-theme="dark"] .dash-colony small em { color: #6fe3b4; }
html[data-theme="dark"] .dash-bar { background: rgba(255, 255, 255, .07); }

@media (max-width: 1240px) { .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1040px) { .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-clock { display: none; }
  .dash-quick a { flex: 1 1 calc(50% - 8px); }
}
@media (prefers-reduced-motion: reduce) { .dash-ring .value, .dash-bar span { animation: none; } }
/* Korrekturen Dashboard */
html[data-theme] body.dashboard-page .dashboard-main .dash-quick a { color: #fff; }
.dash-ring b { display: flex; align-items: baseline; justify-content: center; gap: 1px; }
.dash-ring b { align-items: center; }
html[data-theme] body.dashboard-page .dashboard-main .dash-event-list a,
html[data-theme] body.dashboard-page .dashboard-main .dash-event-text strong { color: var(--vf-ink); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-task-list a strong { color: var(--vf-ink); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-task-list a:hover strong,
html[data-theme] body.dashboard-page .dashboard-main .dash-event-list a:hover strong { color: var(--vf-blue-ink); }
html[data-theme] body.dashboard-page .dashboard-main .dashboard-task-list a > span { color: var(--vf-blue); background: linear-gradient(160deg, #eef5ff, #dbeaff); }
html[data-theme="dark"] body.dashboard-page .dashboard-main .dashboard-task-list a > span { color: var(--vf-sky); background: rgba(92, 180, 255, .12); }

/* --------------------------------------------------------------------------
   17 · Kolonielogo / Kürzel-Kachel
   -------------------------------------------------------------------------- */
.colony-mark {
  --size: 56px;
  flex: 0 0 auto;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--size) * .28);
  color: #fff;
  background: linear-gradient(145deg, #5cb4ff 0%, #1a6fe8 60%, #0b4fc8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -10px rgba(26, 110, 240, .7);
}
.colony-mark--sm { --size: 38px; }
.colony-mark--lg { --size: 84px; }
.colony-mark b { font-size: calc(var(--size) * .36); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.colony-mark b[data-len="4"] { font-size: calc(var(--size) * .27); letter-spacing: -.03em; }
.colony-mark b[data-len="3"] { font-size: calc(var(--size) * .31); }
/* Logo: weiße Glaskachel, Logo vollständig sichtbar */
.colony-mark.has-logo {
  padding: calc(var(--size) * .1);
  border: 1px solid rgba(15, 27, 45, .08);
  background: linear-gradient(160deg, #ffffff, #f1f6fd);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -12px rgba(28, 64, 120, .45);
}
.colony-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; }
html[data-theme="dark"] .colony-mark.has-logo { border-color: rgba(255, 255, 255, .12); background: linear-gradient(160deg, #ffffff, #e8eef7); }

/* Kolonie-Karten in der Übersicht: kein Überlaufen mehr */
html[data-theme] .dashboard-main .colony-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
html[data-theme] .dashboard-main .colony-card > div { min-width: 0; }
html[data-theme] .dashboard-main .colony-card h2 { overflow-wrap: anywhere; }
/* Kolonie-Akte: Kachel auf der Bühne */
.dashboard-main .member-hero .colony-mark--lg { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 34px -12px rgba(0, 30, 110, .5); }
.dashboard-main .member-hero .colony-mark:not(.has-logo) { border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .18); }
/* Dashboard-Karten */
.dash-colony-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dash-colony-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Formular: aktuelles Logo */
.colony-logo-current { margin-bottom: 10px; display: flex; align-items: center; gap: 14px; }
.colony-logo-current small { color: var(--vf-muted); font-size: .8rem; }
.colony-mark b[data-len="5"] { font-size: calc(var(--size) * .22); letter-spacing: -.02em; }
.dashboard-main .facility-form input[type="file"] {
  width: 100%; min-height: 46px; padding: 9px 10px;
  border: 1.5px dashed rgba(26, 124, 255, .35); border-radius: 12px;
  color: var(--vf-ink-2); background: rgba(234, 243, 255, .55); font: inherit; font-size: .86rem; cursor: pointer;
}
.dashboard-main .facility-form input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 14px; border: 0; border-radius: 9px;
  color: #fff; background: linear-gradient(180deg, #3b95ff, #1a6fe8); font: inherit; font-weight: 650; cursor: pointer;
}
html[data-theme="dark"] .dashboard-main .facility-form input[type="file"] { border-color: rgba(92, 180, 255, .35); background: rgba(26, 124, 255, .08); }

/* --------------------------------------------------------------------------
   18 · Begrüßung nach dem Login
   -------------------------------------------------------------------------- */
.vf-welcome {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--vf-ink);
  background:
    radial-gradient(50rem 38rem at 15% 10%, rgba(92, 180, 255, .55), transparent 62%),
    radial-gradient(44rem 34rem at 92% 22%, rgba(123, 108, 255, .34), transparent 62%),
    radial-gradient(46rem 32rem at 60% 110%, rgba(255, 180, 140, .42), transparent 62%),
    linear-gradient(180deg, #f6f9fe, #edf2fa);
  cursor: pointer;
  transition: opacity .9s cubic-bezier(.4, 0, .2, 1), transform .9s cubic-bezier(.4, 0, .2, 1), filter .9s cubic-bezier(.4, 0, .2, 1);
}
html[data-theme="dark"] .vf-welcome {
  color: #eef3fb;
  background:
    radial-gradient(50rem 38rem at 15% 10%, rgba(26, 124, 255, .42), transparent 62%),
    radial-gradient(44rem 34rem at 92% 22%, rgba(123, 108, 255, .3), transparent 62%),
    linear-gradient(180deg, #070b14, #050810);
}
.vf-welcome.is-leaving { opacity: 0; transform: scale(1.06); filter: blur(14px); pointer-events: none; }
.vf-welcome-sky span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.vf-welcome-sky span:nth-child(1) { width: 40vmax; height: 40vmax; left: -10vmax; top: -12vmax; background: rgba(92, 180, 255, .55); animation: vfw-drift 9s ease-in-out infinite alternate; }
.vf-welcome-sky span:nth-child(2) { width: 34vmax; height: 34vmax; right: -8vmax; top: 10vmax; background: rgba(123, 108, 255, .45); animation: vfw-drift 11s ease-in-out infinite alternate-reverse; }
.vf-welcome-sky span:nth-child(3) { width: 30vmax; height: 30vmax; left: 30vmax; bottom: -16vmax; background: rgba(255, 170, 130, .4); animation: vfw-drift 13s ease-in-out infinite alternate; }
html[data-theme="dark"] .vf-welcome-sky span { opacity: .45; }
@keyframes vfw-drift { to { transform: translate(6vmax, 5vmax) scale(1.1); } }

.vf-welcome-center { position: relative; z-index: 1; padding: 24px; display: grid; justify-items: center; text-align: center; }
.vf-welcome-stage { position: relative; width: 168px; height: 168px; margin-bottom: 26px; display: grid; place-items: center; }
.vf-welcome-halo { position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 124, 255, .6), rgba(123, 108, 255, .25) 45%, transparent 70%); filter: blur(18px); animation: vfw-halo 2.6s ease-in-out .6s both; }
@keyframes vfw-halo { 0% { opacity: 0; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } 100% { opacity: .8; transform: scale(1); } }
.vf-welcome-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: #5cb4ff; border-right-color: rgba(92, 180, 255, .4); animation: vfw-spin 1.6s linear infinite, vfw-fade-in .6s ease .2s both; filter: drop-shadow(0 0 8px rgba(92, 180, 255, .8)); }
@keyframes vfw-spin { to { transform: rotate(360deg); } }
.vf-welcome-mark { position: relative; width: 112px; height: 112px; overflow: visible; filter: drop-shadow(0 24px 34px rgba(11, 70, 190, .45)); }
.vf-welcome-mark .w-tile { transform-box: fill-box; transform-origin: center; animation: vfw-tile .8s cubic-bezier(.34, 1.56, .64, 1) .1s both; }
.vf-welcome-mark .w-arm-l { transform-box: fill-box; transform-origin: 50% 100%; animation: vfw-arm-l .7s cubic-bezier(.2, .75, .2, 1) .5s both; }
.vf-welcome-mark .w-arm-r { transform-box: fill-box; transform-origin: 50% 100%; animation: vfw-arm-r .7s cubic-bezier(.2, .75, .2, 1) .68s both; }
.vf-welcome-mark .w-dot { transform-box: fill-box; transform-origin: center; animation: vfw-dot .8s cubic-bezier(.34, 1.56, .64, 1) 1s both; }
.vf-welcome-mark .w-shine { animation: vfw-shine 1.2s ease-in-out 1.5s both; }
@keyframes vfw-tile { from { opacity: 0; transform: scale(.5) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes vfw-arm-l { from { opacity: 0; transform: translate(-14px, -18px); } to { opacity: 1; transform: none; } }
@keyframes vfw-arm-r { from { opacity: 0; transform: translate(14px, -18px); } to { opacity: 1; transform: none; } }
@keyframes vfw-dot { 0% { opacity: 0; transform: translateY(-24px) scale(.4); } 65% { opacity: 1; transform: translateY(2px) scale(1.1); } 100% { opacity: 1; transform: none; } }
@keyframes vfw-shine { from { transform: translateX(-80px); } to { transform: translateX(90px); } }
@keyframes vfw-fade-in { from { opacity: 0; } to { opacity: 1; } }

.vf-welcome-hello { margin: 0; color: var(--vf-ink-2); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 560; animation: vfw-rise .7s cubic-bezier(.2, .75, .2, 1) 1.15s both; }
html[data-theme="dark"] .vf-welcome-hello { color: #c3cfdf; }
.vf-welcome-name {
  margin: 4px 0 0;
  padding-bottom: .08em;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(90deg, #1a6fe8 0%, #5cb4ff 45%, #7b6cff 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: vfw-name 1s cubic-bezier(.2, .75, .2, 1) 1.3s both, vfw-gradient 3s ease-in-out 1.3s both;
}
@keyframes vfw-name { from { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(10px); letter-spacing: .02em; } to { opacity: 1; transform: none; filter: none; } }
@keyframes vfw-gradient { from { background-position: 100% 0; } to { background-position: 0 0; } }
.vf-welcome-sub { margin: 14px 0 0; color: var(--vf-muted); font-size: 1rem; animation: vfw-rise .7s cubic-bezier(.2, .75, .2, 1) 1.65s both; }
.vf-welcome-sub em { color: var(--vf-blue); font-style: normal; font-weight: 650; }
html[data-theme="dark"] .vf-welcome-sub { color: #93a3ba; }
html[data-theme="dark"] .vf-welcome-sub em { color: var(--vf-sky); }
.vf-welcome-facts { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.vf-welcome-facts li {
  padding: 8px 14px 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--vf-glass-line);
  border-radius: 999px;
  color: var(--vf-ink-2);
  background: var(--vf-glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--vf-highlight), 0 8px 20px -12px rgba(28, 64, 120, .35);
  font-size: .86rem;
  font-weight: 620;
  animation: vfw-pop .6s cubic-bezier(.34, 1.56, .64, 1) both;
}
.vf-welcome-facts li:nth-child(1) { animation-delay: 1.9s; }
.vf-welcome-facts li:nth-child(2) { animation-delay: 2.02s; }
.vf-welcome-facts li:nth-child(3) { animation-delay: 2.14s; }
.vf-welcome-facts .vf-icon { width: 16px; height: 16px; color: var(--vf-blue); }
html[data-theme="dark"] .vf-welcome-facts li { color: #dbe6f5; }
html[data-theme="dark"] .vf-welcome-facts .vf-icon { color: var(--vf-sky); }
@keyframes vfw-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vfw-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }

.vf-welcome-progress { position: absolute; left: 50%; bottom: 64px; width: 160px; height: 3px; margin-left: -80px; overflow: hidden; border-radius: 999px; background: rgba(26, 124, 255, .14); }
.vf-welcome-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7b6cff, #1a7cff, #5cb4ff); transform-origin: left; animation: vfw-progress 3.3s linear both; }
@keyframes vfw-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vf-welcome-skip { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border: 0; border-radius: 999px; color: var(--vf-muted); background: transparent; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; animation: vfw-fade-in .6s ease 1.8s both; }
.vf-welcome-skip:hover, .vf-welcome-skip:focus-visible { color: var(--vf-blue-ink); background: rgba(255, 255, 255, .6); outline: 0; }

/* Dashboard wartet hinter der Begrüßung und gleitet dann herein */
html.vf-welcome-active body.dashboard-page .dashboard-shell { opacity: 0; transform: scale(.97) translateY(14px); filter: blur(6px); }
html.vf-welcome-active body.dashboard-page :is(.dash-ring .value, .dash-bar span, .vf-rise) { animation-play-state: paused; }
html.vf-welcome-reveal body.dashboard-page .dashboard-shell { transition: opacity .9s cubic-bezier(.2, .75, .2, 1) .15s, transform 1s cubic-bezier(.2, .75, .2, 1) .15s, filter .9s ease .15s; }

@media (prefers-reduced-motion: reduce) {
  .vf-welcome, .vf-welcome * { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .vf-welcome { transition: opacity .3s ease; }
  .vf-welcome.is-leaving { transform: none; filter: none; }
  html.vf-welcome-active body.dashboard-page .dashboard-shell { transform: none; filter: none; }
  html.vf-welcome-reveal body.dashboard-page .dashboard-shell { transition: opacity .3s ease; }
}

/* Anmeldung: Absenden und Übergang */
html[data-theme] body.auth-page .login-glass-card { transition: transform .5s cubic-bezier(.2, .75, .2, 1), box-shadow .5s ease, opacity .5s ease, filter .5s ease; }
html[data-theme] body.auth-page .login-glass-card.is-submitting {
  transform: scale(.985);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(26, 124, 255, .25), 0 0 0 8px rgba(26, 124, 255, .08), 0 40px 90px -30px rgba(26, 92, 200, .6);
}
html[data-theme] body.auth-page .login-glass-card.is-submitting button[type="submit"] i {
  width: 22px; height: 22px; border-radius: 50%; color: transparent;
  border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; background: transparent;
  animation: vf-login-spin .75s linear infinite;
}
@keyframes vf-login-spin { to { transform: rotate(360deg); } }
.vf-login-veil {
  position: fixed; z-index: 20000; inset: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  background:
    radial-gradient(50rem 38rem at 15% 10%, rgba(92, 180, 255, .55), transparent 62%),
    radial-gradient(44rem 34rem at 92% 22%, rgba(123, 108, 255, .34), transparent 62%),
    radial-gradient(46rem 32rem at 60% 110%, rgba(255, 180, 140, .42), transparent 62%),
    linear-gradient(180deg, #f6f9fe, #edf2fa);
  transition: opacity .45s ease .12s;
}
html[data-theme="dark"] .vf-login-veil {
  background:
    radial-gradient(50rem 38rem at 15% 10%, rgba(26, 124, 255, .42), transparent 62%),
    radial-gradient(44rem 34rem at 92% 22%, rgba(123, 108, 255, .3), transparent 62%),
    linear-gradient(180deg, #070b14, #050810);
}
.vf-login-veil-ring { width: 168px; height: 168px; border-radius: 50%; border: 2px solid transparent; border-top-color: #5cb4ff; border-right-color: rgba(92, 180, 255, .4); filter: drop-shadow(0 0 8px rgba(92, 180, 255, .8)); animation: vf-login-spin 1.6s linear infinite; }
body.vf-login-leaving .vf-login-veil { opacity: 1; pointer-events: auto; }
body.vf-login-leaving .auth-shell { filter: blur(6px); transform: scale(.985); transition: filter .5s ease, transform .5s ease; }
@media (prefers-reduced-motion: reduce) { .vf-login-veil { transition: none; } body.vf-login-leaving .auth-shell { filter: none; transform: none; } }
html[data-theme="dark"] .vf-welcome-skip:hover, html[data-theme="dark"] .vf-welcome-skip:focus-visible { color: #cfe6ff; background: rgba(255, 255, 255, .08); }

/* ==========================================================================
   Mitgliederbereich (Pächterinnen und Pächter) – Varevor Glas
   ========================================================================== */
body.mp-page { color: var(--vf-ink); }
.mp-shell { min-height: 100vh; }
.mp-top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: var(--vf-glass-strong); border-bottom: 1px solid var(--vf-glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
}
.mp-brand { display: flex; align-items: center; gap: 12px; color: var(--vf-ink); text-decoration: none; flex: 0 0 auto; }
.mp-brand img { border-radius: 11px; box-shadow: 0 8px 18px -8px rgba(11, 91, 224, .6); }
.mp-brand strong { display: block; font-size: 1.02rem; letter-spacing: -.02em; }
.mp-brand em { color: var(--vf-blue); font-style: normal; }
.mp-brand small { display: block; color: var(--vf-muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mp-nav { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mp-nav::-webkit-scrollbar { display: none; }
.mp-nav a { padding: 9px 14px; border-radius: 999px; color: var(--vf-ink-2); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.mp-nav a:hover { color: var(--vf-blue-ink); background: rgba(26, 124, 255, .1); }
.mp-user { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.mp-user > span { text-align: right; line-height: 1.25; }
.mp-user strong { display: block; font-size: .9rem; }
.mp-user small { color: var(--vf-muted); font-size: .74rem; }
.mp-logout { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--vf-glass-line); border-radius: 999px; color: var(--vf-ink-2); background: var(--vf-glass); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.mp-logout:hover { color: var(--vf-blue-ink); border-color: rgba(26, 124, 255, .4); }
.mp-logout .vf-icon { width: 17px; height: 17px; }

.mp-main { width: min(1280px, calc(100% - 32px)); margin: 0 auto; padding: 26px 0 70px; display: grid; gap: 18px; }
.mp-main.is-narrow { width: min(820px, calc(100% - 32px)); }
.mp-banner { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(26, 124, 255, .3); border-radius: 16px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .09); font-weight: 600; }
.mp-banner .vf-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.mp-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--vf-blue-ink); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.mp-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22); }

.mp-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: clamp(26px, 4.5vw, 48px); border-radius: 30px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .28), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(123, 108, 255, .65), transparent 60%), linear-gradient(135deg, #3d97ff 0%, #1a6dff 55%, #2b5be8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 30px 60px -28px rgba(11, 91, 224, .7);
}
.mp-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 65%); pointer-events: none; }
.mp-hero .mp-eyebrow { color: rgba(255, 255, 255, .9); }
.mp-hero h1 { margin: 12px 0 0; color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.mp-hero p { max-width: 620px; margin: 12px 0 0; color: rgba(255, 255, 255, .88); line-height: 1.55; }
.mp-hero-copy { position: relative; z-index: 1; min-width: 0; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mp-actions a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .16); font-weight: 650; font-size: .92rem; text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .2s, background .2s; }
.mp-actions a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .28); }
.mp-actions .vf-icon { width: 18px; height: 18px; }
.mp-hero-badge { position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: .82rem; font-weight: 650; }
.mp-hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: #9fe0ff; box-shadow: 0 0 0 4px rgba(159, 224, 255, .3); }

.mp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mp-kpi, .mp-card {
  border: 1px solid var(--vf-glass-line); background: var(--vf-glass-strong);
  box-shadow: var(--vf-highlight), var(--vf-glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.mp-kpi { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; color: inherit; text-decoration: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.mp-kpi:hover { transform: translateY(-3px); box-shadow: var(--vf-highlight), 0 0 0 1px rgba(26, 124, 255, .14), var(--vf-glass-shadow-hover); }
.mp-kpi-icon { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--vf-sky), var(--vf-blue)); box-shadow: 0 10px 20px -10px rgba(26, 124, 255, .8); }
.mp-kpi-icon .vf-icon { width: 22px; height: 22px; }
.mp-kpi > div { min-width: 0; }
.mp-kpi small { display: block; color: var(--vf-muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mp-kpi strong { display: block; margin-top: 3px; font-size: 1.5rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-kpi em { display: block; margin-top: 2px; color: var(--vf-muted); font-size: .8rem; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-kpi.is-warn .mp-kpi-icon { background: linear-gradient(135deg, #ffc9a8, #ff9466); box-shadow: 0 10px 20px -10px rgba(255, 148, 102, .9); }

.mp-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .95fr); gap: 18px; align-items: start; }
.mp-col { display: grid; gap: 18px; min-width: 0; }
.mp-card { padding: 24px; border-radius: 24px; scroll-margin-top: 90px; }
.mp-card > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mp-card > header h2, .mp-cora-head h2 { margin: 4px 0 0; font-size: 1.22rem; letter-spacing: -.02em; }
.mp-card > header p { margin: 0; color: var(--vf-muted); font-size: .84rem; text-align: right; }
.mp-note { margin: 12px 0 0; color: var(--vf-muted); font-size: .82rem; line-height: 1.5; }

.mp-parcel + .mp-parcel { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--vf-glass-line); }
.mp-parcel-head { display: flex; align-items: center; gap: 14px; }
.mp-parcel-head > div { flex: 1 1 auto; min-width: 0; }
.mp-parcel-head strong { display: block; font-size: 1.3rem; letter-spacing: -.02em; }
.mp-parcel-head small { color: var(--vf-muted); }
.mp-parcel-mark, .mp-parcel-photo { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 18px; }
.mp-parcel-mark { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--vf-sky), var(--vf-blue) 60%, var(--vf-violet)); box-shadow: 0 14px 26px -14px rgba(26, 124, 255, .9); }
.mp-parcel-mark .vf-icon { width: 30px; height: 30px; }
.mp-parcel-photo { object-fit: cover; }
.mp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.mp-facts > div { padding: 12px 14px; border: 1px solid var(--vf-glass-line); border-radius: 15px; background: var(--vf-glass); }
.mp-facts dt { color: var(--vf-muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mp-facts dd { margin: 4px 0 0; font-weight: 650; }
.mp-facts dd.is-yes::before { content: "✓ "; color: var(--vf-blue); }
.mp-facts dd.is-no { color: var(--vf-muted); font-weight: 500; }

.mp-meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mp-meter { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 18px; border: 1px solid var(--vf-glass-line); border-radius: 20px; background: var(--vf-glass); }
.mp-meter::before { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 180, 255, .3), transparent 70%); pointer-events: none; }
.mp-meter-electricity::before { background: radial-gradient(circle, rgba(255, 180, 140, .38), transparent 70%); }
.mp-meter-head { display: flex; align-items: center; gap: 12px; }
.mp-meter-head strong { display: block; }
.mp-meter-head small { color: var(--vf-muted); font-size: .8rem; }
.mp-meter-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--vf-sky), var(--vf-blue)); }
.mp-meter-electricity .mp-meter-icon { background: linear-gradient(135deg, #ffc9a8, #ff9466); }
.mp-meter-icon svg { width: 22px; height: 22px; }
.mp-meter-value { display: flex; align-items: baseline; gap: 8px; }
.mp-meter-value strong { font-size: 2.1rem; font-weight: 780; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.mp-meter-value span { color: var(--vf-muted); font-weight: 650; }
.mp-meter-meta { margin: 0; color: var(--vf-muted); font-size: .84rem; line-height: 1.5; }
.mp-meter-meta b { color: var(--vf-ink); }
.mp-meter-pending { display: flex; gap: 9px; padding: 10px 12px; border-radius: 13px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .1); font-size: .82rem; line-height: 1.4; }
.mp-meter-pending .vf-icon { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; }
.mp-meter-ref { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.mp-meter-ref > div { padding: 12px 14px; border: 1px solid var(--vf-glass-line); border-radius: 15px; background: var(--vf-glass); }
.mp-meter-ref small { display: block; color: var(--vf-muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mp-meter-ref strong { display: block; margin-top: 4px; }

.mp-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(26, 124, 255, .32); border-radius: 14px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .08); font: inherit; font-size: .92rem; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.mp-button:hover { transform: translateY(-1px); background: rgba(26, 124, 255, .14); }
.mp-button.is-primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, #3d97ff, #1a6dff 60%, #5a63f5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 14px 26px -14px rgba(26, 124, 255, .9); }
.mp-button.is-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 18px 30px -14px rgba(26, 124, 255, 1); }
.mp-button.is-quiet { border-color: var(--vf-glass-line); color: var(--vf-ink-2); background: var(--vf-glass); }
.mp-button.is-wide { width: 100%; margin-top: 14px; }

.mp-list { display: grid; }
.mp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--vf-glass-line); }
.mp-row:first-child { border-top: 0; padding-top: 4px; }
.mp-row > div { min-width: 0; display: grid; gap: 3px; }
.mp-row small, .mp-ticket small, .mp-venues small { color: var(--vf-muted); line-height: 1.4; }
.mp-row-doc { grid-template-columns: 46px minmax(0, 1fr) auto; }
.mp-row-two { grid-template-columns: minmax(0, 1fr) auto; }
.mp-row-actions { display: flex; gap: 8px; }
.mp-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-doc-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .1); font-size: .68rem; font-weight: 800; }
.mp-ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--vf-glass-line); color: inherit; text-decoration: none; }
.mp-ticket:first-child { border-top: 0; padding-top: 4px; }
.mp-ticket > div { min-width: 0; display: grid; gap: 3px; }
.mp-ticket strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-ticket:hover strong { color: var(--vf-blue-ink); }
.mp-venues { display: grid; gap: 10px; }
.mp-venues > div { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--vf-glass-line); border-radius: 15px; background: var(--vf-glass); }
.mp-empty { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; text-align: center; grid-column: 1 / -1; }
.mp-empty.is-small { padding: 12px 8px; justify-items: start; text-align: left; }
.mp-empty .vf-icon { width: 30px; height: 30px; color: var(--vf-blue); opacity: .8; }
.mp-empty p { margin: 0; max-width: 420px; color: var(--vf-muted); font-size: .88rem; line-height: 1.5; }
.mp-contact { display: grid; margin: 0; }
.mp-contact > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--vf-glass-line); }
.mp-contact > div:first-child { border-top: 0; padding-top: 0; }
.mp-contact dt { color: var(--vf-muted); }
.mp-contact dd { margin: 0; max-width: 62%; font-weight: 650; text-align: right; overflow-wrap: anywhere; }

.mp-cora { position: relative; overflow: hidden; }
.mp-cora::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 108, 255, .25), transparent 70%); pointer-events: none; }
.mp-cora-head { display: flex; align-items: center; gap: 14px; }
.mp-cora > p { margin: 12px 0 0; color: var(--vf-muted); line-height: 1.5; font-size: .9rem; }
.mp-cora-orb { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f0f8ff 0%, #7cc6ff 28%, #1a6dff 62%, #6a5cff 100%); box-shadow: 0 0 26px rgba(92, 180, 255, .8), inset 0 -6px 12px rgba(10, 30, 90, .45); animation: mp-orb 4s ease-in-out infinite; }
@keyframes mp-orb { 50% { transform: scale(1.07); box-shadow: 0 0 36px rgba(123, 108, 255, .85), inset 0 -6px 12px rgba(10, 30, 90, .45); } }
.mp-cora-form { position: relative; z-index: 1; display: grid; gap: 10px; margin-top: 14px; }
.mp-cora-form input, .mp-form input:not([type=radio]):not([type=checkbox]), .mp-form select, .mp-form textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--vf-glass-line); border-radius: 14px; color: var(--vf-ink); background: var(--vf-glass); font: inherit; }
.mp-cora-form input:focus, .mp-form input:focus, .mp-form select:focus, .mp-form textarea:focus { outline: 2px solid rgba(26, 124, 255, .55); outline-offset: 1px; border-color: transparent; }
.mp-cora .cora-answer { position: relative; z-index: 1; margin-top: 14px; }

.mp-pagehead { padding: 8px 4px 0; }
.mp-pagehead h1 { margin: 10px 0 0; font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.mp-pagehead p { max-width: 640px; margin: 12px 0 0; color: var(--vf-muted); line-height: 1.55; }
.mp-form .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mp-form .field-wide { grid-column: 1 / -1; }
.mp-form .form-field { display: grid; gap: 6px; }
.mp-form .form-field label, .mp-choice legend { font-size: .86rem; font-weight: 650; }
.mp-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.mp-choice { margin: 0 0 18px; padding: 0; border: 0; display: grid; gap: 10px; }
.mp-choice legend { margin-bottom: 8px; padding: 0; }
.mp-choice-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--vf-glass-line); border-radius: 16px; background: var(--vf-glass); cursor: pointer; transition: border-color .2s, background .2s; }
.mp-choice-item:has(input:checked) { border-color: rgba(26, 124, 255, .6); background: rgba(26, 124, 255, .09); box-shadow: 0 0 0 3px rgba(26, 124, 255, .1); }
.mp-choice-item input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--vf-blue); }
.mp-choice-item strong { display: block; }
.mp-choice-item small { display: block; margin-top: 2px; color: var(--vf-muted); line-height: 1.4; }
.mp-venue-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.mp-venue-cards .mp-card { display: grid; gap: 4px; }
.mp-venue-cards small, .mp-venue-cards p { color: var(--vf-muted); }
.mp-venue-cards p { margin: 10px 0 0; font-size: .88rem; line-height: 1.5; }

.mp-thread { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mp-msg { max-width: 86%; display: grid; gap: 6px; justify-self: start; }
.mp-msg.is-own { justify-self: end; }
.mp-msg-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 0 6px; }
.mp-msg.is-own .mp-msg-meta { justify-content: flex-end; }
.mp-msg-meta strong { font-size: .86rem; }
.mp-msg-meta small { color: var(--vf-muted); font-size: .76rem; }
.mp-msg-body { padding: 14px 17px; border: 1px solid var(--vf-glass-line); border-radius: 6px 20px 20px 20px; background: var(--vf-glass); line-height: 1.55; overflow-wrap: anywhere; }
.mp-msg.is-own .mp-msg-body { border-color: transparent; border-radius: 20px 6px 20px 20px; color: #fff; background: linear-gradient(135deg, #3d97ff, #1a6dff 60%, #5a63f5); box-shadow: 0 14px 26px -16px rgba(26, 124, 255, .9); }
.mp-reply { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--vf-glass-line); }
.mp-reply textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--vf-glass-line); border-radius: 14px; color: var(--vf-ink); background: var(--vf-glass); font: inherit; }

.status-pill.request-status-open, .status-pill.rental-status-request, .status-pill.rental-status-review { color: #8a5200; background: #fff1dc; }
.status-pill.request-status-open > span, .status-pill.rental-status-request > span, .status-pill.rental-status-review > span { background: #f39a2b; }
.status-pill.request-status-answered, .status-pill.rental-status-confirmed { color: var(--vf-blue-ink); background: rgba(26, 124, 255, .12); }
.status-pill.request-status-answered > span, .status-pill.rental-status-confirmed > span { background: var(--vf-blue); }
.status-pill.request-status-closed, .status-pill.rental-status-completed, .status-pill.rental-status-cancelled { color: var(--vf-muted); background: rgba(102, 118, 140, .14); }
.status-pill.request-status-closed > span, .status-pill.rental-status-completed > span, .status-pill.rental-status-cancelled > span { background: var(--vf-muted); }
html[data-theme="dark"] .status-pill.request-status-open, html[data-theme="dark"] .status-pill.rental-status-request, html[data-theme="dark"] .status-pill.rental-status-review { color: #ffcf8f; background: rgba(243, 154, 43, .16); }
.mp-page .status-pill.lease-status-active, .mp-page .status-pill.invoice-status-open { color: var(--vf-blue-ink); background: rgba(26, 124, 255, .12); }
.mp-page .status-pill.lease-status-active > span, .mp-page .status-pill.invoice-status-open > span { background: var(--vf-blue); }

/* Verwaltung: Liste der Mitgliederanfragen */
.req-metrics { grid-template-columns: repeat(3, 1fr) !important; }
.req-list { display: grid; }
.req-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 15px 4px; border-top: 1px solid var(--vf-glass-line); color: inherit; text-decoration: none; }
.req-row:first-child { border-top: 0; }
.req-row > div { min-width: 0; display: grid; gap: 3px; }
.req-row small { display: block; color: var(--vf-muted); font-weight: 400; }
.req-row.is-open strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #f39a2b; vertical-align: middle; }
.req-row:hover strong { color: var(--vf-blue-ink); }
.req-meta { font-size: .88rem; }
.mp-staff-thread .mp-thread { margin-top: 6px; }

html[data-theme="dark"] .mp-hero { background: radial-gradient(80% 120% at 100% 0%, rgba(43, 140, 255, .32), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(123, 108, 255, .3), transparent 60%), rgba(18, 28, 48, .72); border: 1px solid rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -30px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .mp-banner { color: #a9d4ff; }

@media (max-width: 980px) {
  .mp-grid { grid-template-columns: 1fr; }
  .mp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req-row { grid-template-columns: minmax(0, 1fr) auto; }
  .req-row .req-meta { display: none; }
}
@media (max-width: 680px) {
  .mp-top { flex-wrap: wrap; gap: 10px 14px; padding: 10px 14px; }
  .mp-nav { order: 3; flex-basis: 100%; margin: 0 -6px; }
  .mp-user { margin-left: auto; }
  .mp-user > span, .mp-logout span { display: none; }
  .mp-logout { width: 40px; padding: 0; justify-content: center; }
  .mp-main { padding-top: 16px; gap: 14px; }
  .mp-hero { flex-direction: column; align-items: flex-start; border-radius: 24px; }
  .mp-actions a { flex: 1 1 100%; justify-content: center; }
  .mp-card { padding: 18px; border-radius: 20px; }
  .mp-card > header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mp-card > header p { text-align: left; }
  .mp-meters, .mp-form .field-grid, .mp-meter-ref { grid-template-columns: 1fr; }
  .mp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mp-row-doc { grid-template-columns: 46px minmax(0, 1fr); }
  .mp-row-actions, .mp-row-doc .mp-button { grid-column: 1 / -1; }
  .mp-row-actions .mp-button, .mp-row-doc .mp-button { flex: 1; }
  .mp-msg { max-width: 96%; }
  .mp-form-actions .mp-button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .mp-cora-orb { animation: none; } }

/* Mitgliederbereich: gut sichtbare Eingabefelder und Feinschliff */
body.mp-page, .mp-staff-thread { --mp-line: rgba(15, 27, 45, .17); }
html[data-theme="dark"] body.mp-page, html[data-theme="dark"] .mp-staff-thread { --mp-line: rgba(255, 255, 255, .2); }
.mp-cora-form input, .mp-form input:not([type=radio]):not([type=checkbox]), .mp-form select, .mp-form textarea, .mp-reply textarea { border-color: var(--mp-line); background: rgba(255, 255, 255, .72); }
html[data-theme="dark"] .mp-cora-form input, html[data-theme="dark"] .mp-form input:not([type=radio]):not([type=checkbox]), html[data-theme="dark"] .mp-form select, html[data-theme="dark"] .mp-form textarea, html[data-theme="dark"] .mp-reply textarea { background: rgba(8, 14, 28, .5); }
.mp-form .field-help { color: var(--vf-muted); font-size: .8rem; line-height: 1.4; }
.mp-form .field-error, .mp-choice .field-error { color: #c0392b; font-size: .82rem; font-weight: 600; }
.mp-form .has-error input, .mp-form .has-error select, .mp-form .has-error textarea { border-color: #e0685c; }
.dashboard-hero.req-hero { align-items: flex-end; }
.dashboard-hero.req-hero .status-pill { flex: 0 0 auto; color: #fff; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); }
.dashboard-hero.req-hero .status-pill > span { background: #fff; }
@media (max-width: 680px) {
  .mp-kpis { gap: 10px; }
  .mp-kpi { align-items: flex-start; gap: 10px; padding: 14px 12px; border-radius: 18px; }
  .mp-kpi-icon { width: 36px; height: 36px; border-radius: 12px; }
  .mp-kpi-icon .vf-icon { width: 18px; height: 18px; }
  .mp-kpi small { font-size: .6rem; letter-spacing: .05em; }
  .mp-kpi strong { font-size: 1.25rem; }
  .mp-kpi em, .mp-kpi strong { white-space: normal; overflow: visible; }
}
.mp-form input:not([type=radio]):not([type=checkbox]), .mp-form select, .mp-form textarea, .mp-reply textarea, .mp-cora-form input { border: 1px solid var(--mp-line) !important; }
.dashboard-hero.req-hero h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.dashboard-hero.req-hero > div > p { position: static; margin: 12px 0 0; color: rgba(255, 255, 255, .9) !important; opacity: 1; }

/* Parzellenfotos (rc67) */
.parcel-thumb-cell { width: 64px; }
.parcel-thumb { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 1px solid var(--vf-line, rgba(127,140,170,.25)); }
.parcel-thumb-empty { color: var(--vf-muted); background: rgba(92,180,255,.08); border-style: dashed; font-weight: 700; transition: background .2s, color .2s; }
.parcel-thumb-cell a:hover .parcel-thumb-empty, .parcel-thumb-cell a:focus-visible .parcel-thumb-empty { color: #1a7cff; background: rgba(26,124,255,.14); }
.parcel-photo-current { margin-bottom: 10px; display: flex; align-items: center; gap: 14px; }
.parcel-photo-current img { width: 160px; height: 110px; object-fit: cover; border-radius: 14px; border: 1px solid var(--vf-line, rgba(127,140,170,.25)); }
.parcel-photo-current small { color: var(--vf-muted); font-size: .8rem; }
@media (max-width: 760px) { .parcel-thumb-cell { width: auto; } .parcel-thumb-cell::before { content: none !important; } }

/* Sperrliste und Ausweisdokumente (rc68) */
.blocklist-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: #b4232f; background: rgba(229, 72, 77, .12); border: 1px solid rgba(229, 72, 77, .28); vertical-align: middle; }
.blocklist-pill { color: #b4232f; background: rgba(229, 72, 77, .12); }
.blocklist-pill > span { background: #e5484d; }
.blocklist-hit { display: flex; gap: 18px; align-items: flex-start; margin: 0 0 22px; padding: 22px 24px; border-radius: 22px; background: linear-gradient(135deg, rgba(229, 72, 77, .12), rgba(255, 180, 140, .14)); border: 1px solid rgba(229, 72, 77, .32); box-shadow: var(--vf-glass-shadow); }
.blocklist-hit h2 { margin: 2px 0 8px; font-size: 1.2rem; color: #9b1c27; }
.blocklist-hit p { margin: 4px 0; }
.blocklist-hit-icon { font-size: 1.7rem; line-height: 1; }
.blocklist-reason { padding: 10px 14px; border-left: 3px solid rgba(229, 72, 77, .55); background: rgba(255, 255, 255, .45); border-radius: 0 12px 12px 0; white-space: pre-line; }
.blocklist-release { border: 1px solid rgba(229, 72, 77, .32); }
.blocklist-alert { border-color: rgba(229, 72, 77, .4); }
.blocklist-actions { display: grid; gap: 18px; margin-top: 22px; }
.blocklist-link { color: #b4232f !important; border-color: rgba(229, 72, 77, .35) !important; }
.dossier-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.dossier-actions .vf-icon { width: 18px; height: 18px; vertical-align: -4px; }
.id-doc { margin-bottom: 18px; }
.id-doc .section-heading { align-items: flex-start; }
.id-doc-facts { margin: 4px 0 18px; }
.id-doc-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.id-doc-image { margin: 0; display: grid; gap: 8px; }
.id-doc-image figcaption { font-size: .8rem; color: var(--vf-muted); }
.id-doc-image img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--vf-glass-edge); box-shadow: var(--vf-glass-shadow); }
.id-doc-reveal { display: grid; place-items: center; gap: 6px; aspect-ratio: 85.6 / 54; width: 100%; border-radius: 14px; border: 1.5px dashed rgba(26, 124, 255, .35); background: repeating-linear-gradient(135deg, rgba(26, 124, 255, .05) 0 12px, rgba(26, 124, 255, .09) 12px 24px); color: var(--vf-blue-ink); font: inherit; font-weight: 650; cursor: pointer; transition: background .2s, border-color .2s; }
.id-doc-reveal:hover, .id-doc-reveal:focus-visible { border-color: var(--vf-blue); background: rgba(26, 124, 255, .12); }
.id-doc-reveal span { font-size: 1.4rem; }
.id-doc-hint { margin: 6px 0 16px; padding: 12px 16px; border-radius: 14px; background: rgba(92, 180, 255, .1); font-size: .9rem; }
.consent-box { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(26, 124, 255, .25); background: rgba(26, 124, 255, .05); }
.consent-box.has-error { border-color: rgba(229, 72, 77, .5); background: rgba(229, 72, 77, .06); }
.consent-box small { display: block; color: var(--vf-muted); font-weight: 400; }
html[data-theme="dark"] .blocklist-hit h2, html[data-theme="dark"] .blocklist-badge, html[data-theme="dark"] .blocklist-pill, html[data-theme="dark"] .blocklist-link { color: #ff8a8f !important; }
html[data-theme="dark"] .blocklist-reason { background: rgba(0, 0, 0, .2); }
html[data-theme="dark"] .id-doc-reveal { color: var(--vf-sky); }

/* Jährliche Pacht an der Parzelle (rc69) */
.rent-suggest { margin-top: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(26, 124, 255, .3); background: rgba(26, 124, 255, .07); color: var(--vf-blue-ink); font: inherit; font-size: .82rem; font-weight: 650; cursor: pointer; justify-self: start; transition: background .2s, border-color .2s; }
.rent-suggest:hover, .rent-suggest:focus-visible { background: rgba(26, 124, 255, .14); border-color: var(--vf-blue); }
.rent-suggest.is-done::before { content: "✓ "; }
.rent-hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--vf-muted); }
.rent-hint.is-auto { color: #16825d; font-weight: 600; }
.rent-hint.is-diff { color: #b26a00; font-weight: 600; }
.parcel-rent { display: block; margin-top: 2px; font-size: .78rem; color: var(--vf-muted); white-space: nowrap; }
.parcel-rent.is-missing { color: #b26a00; }
.rent-fill { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 180, 140, .14); border: 1px solid rgba(255, 160, 100, .3); font-size: .9rem; }
.rent-fill span { flex: 1 1 320px; }
html[data-theme="dark"] .rent-suggest { color: var(--vf-sky); }
html[data-theme="dark"] .rent-hint.is-auto { color: #5fd3a3; }
html[data-theme="dark"] .rent-hint.is-diff, html[data-theme="dark"] .parcel-rent.is-missing { color: #ffc27a; }
.facility-form .form-field { align-content: start; }

/* ==========================================================================
   Cora als ruhig atmende Kugel (rc70)
   Farbe = höchste offene Dringlichkeit: blau (ruhig) · bernstein (prüfen) · rot (dringend)
   ========================================================================== */
html[data-theme] .cora-orb {
  --cs-hi: #f2f9ff; --cs-1: #8fd0ff; --cs-2: #1a7cff; --cs-3: #6a5cff; --cs-glow: rgba(80, 170, 255, .7);
  --cs-speed: 5.6s;
  --orb-a: color-mix(in srgb, var(--cs-1) 70%, white); --orb-b: var(--cs-1); --orb-c: var(--cs-3);
  position: relative; display: inline-block; flex: 0 0 var(--orb-size); width: var(--orb-size); height: var(--orb-size);
  overflow: visible; isolation: isolate; border: 0; border-radius: 50%; background: none; box-shadow: none;
  animation: none; filter: none; transform: none; vertical-align: middle;
}
html[data-theme] .cora-orb.is-warning {
  --cs-hi: #fff8e6; --cs-1: #ffd77a; --cs-2: #ff9f2e; --cs-3: #e8602b; --cs-glow: rgba(255, 168, 60, .68); --cs-speed: 4.4s;
}
html[data-theme] .cora-orb.is-urgent {
  --cs-hi: #fff1f1; --cs-1: #ff9ba1; --cs-2: #ec3b50; --cs-3: #a8174f; --cs-glow: rgba(255, 72, 92, .66); --cs-speed: 3.2s;
}
html[data-theme] .cora-orb:is(.is-thinking, .is-active):not(.is-warning):not(.is-urgent) { --cs-1: #a9e0ff; --cs-2: #2f8cff; --cs-3: #7f6cff; }
html[data-theme] .cora-orb:is(.is-thinking, .is-active) { --cs-speed: 2.2s; }
html[data-theme] .cora-orb.is-sounding { --cs-speed: 1.1s; }
html[data-theme] .cora-orb > .cora-orb-core { display: none; }
html[data-theme] .cora-orb-sphere {
  position: absolute; inset: 0; z-index: 2; display: block; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--cs-hi) 0%, var(--cs-1) 24%, var(--cs-2) 60%, var(--cs-3) 100%);
  box-shadow:
    0 0 calc(var(--orb-size) * .3) var(--cs-glow),
    0 0 calc(var(--orb-size) * .7) color-mix(in srgb, var(--cs-3) 38%, transparent),
    inset 0 calc(var(--orb-size) * -.09) calc(var(--orb-size) * .2) rgba(8, 20, 60, .4),
    inset 0 calc(var(--orb-size) * .04) calc(var(--orb-size) * .1) rgba(255, 255, 255, .35);
  animation: cora-sphere-breathe var(--cs-speed) ease-in-out infinite;
}
html[data-theme] .cora-orb-sphere > .cora-orb-cloud { opacity: .5; mix-blend-mode: screen; animation-duration: calc(var(--cs-speed) * 2.4); }
html[data-theme] .cora-orb-shine {
  position: absolute; left: 17%; top: 11%; width: 40%; height: 28%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%);
  transform: rotate(-24deg); filter: blur(.5px); opacity: .85;
}
html[data-theme] .cora-orb-halo {
  position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none; opacity: 0;
  border: max(1px, calc(var(--orb-size) * .022)) solid color-mix(in srgb, var(--cs-1) 85%, white);
  box-shadow: 0 0 calc(var(--orb-size) * .16) var(--cs-glow);
  animation: cora-orb-halo var(--cs-speed) ease-out infinite;
}
html[data-theme] .cora-orb-halo-late { animation-delay: calc(var(--cs-speed) / -2); }
html[data-theme] .cora-message-mark .cora-orb-halo, html[data-theme] .cora-orb--xs .cora-orb-halo-late { display: none; }
@keyframes cora-sphere-breathe {
  0%, 100% { transform: scale(.965); filter: brightness(.98) saturate(.96); }
  50% { transform: scale(1.03); filter: brightness(1.07) saturate(1.08); }
}
@keyframes cora-orb-halo {
  0% { transform: scale(.94); opacity: .55; }
  70% { opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
html[data-theme] .dashboard-hero-cora .dashboard-hero-orb { filter: none; }
html[data-theme] .dashboard-hero-cora .dashboard-cora-orbit { border-color: rgba(255, 255, 255, .22); }
html[data-theme] .dashboard-hero-cora .dashboard-cora-orbit::after { background: #8fd0ff; box-shadow: 0 0 12px rgba(143, 208, 255, .8); }
html[data-theme] .dashboard-hero-cora.is-warning .dashboard-cora-orbit::after { background: #ffc24d; box-shadow: 0 0 12px rgba(255, 180, 60, .8); }
html[data-theme] .dashboard-hero-cora.is-urgent .dashboard-cora-orbit::after { background: #ff6b7a; box-shadow: 0 0 12px rgba(255, 80, 100, .8); }

/* Das „C“ in den Cora-Hinweiskarten wird zur kleinen, ruhigen Kugel. */
html[data-theme] .cora-card > .cora-mark, html[data-theme] .portal-cora-card .cora-mark {
  color: transparent; font-size: 0; overflow: hidden; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f2f9ff 0%, #8fd0ff 24%, #1a7cff 60%, #6a5cff 100%);
  box-shadow: 0 0 14px rgba(80, 170, 255, .55), inset 0 -4px 9px rgba(8, 20, 60, .35);
  animation: cora-sphere-breathe 5.6s ease-in-out infinite;
}
html[data-theme] .cora-card > .cora-mark > *, html[data-theme] .portal-cora-card .cora-mark > * { display: none; }

@media (prefers-reduced-motion: reduce) {
  html[data-theme] .cora-orb-sphere, html[data-theme] .cora-orb-halo, html[data-theme] .cora-orb-sphere > .cora-orb-cloud,
  html[data-theme] .cora-card > .cora-mark, html[data-theme] .portal-cora-card .cora-mark { animation: none !important; }
}
html[data-theme] .dashboard-cora-trigger .cora-trigger-orb { --orb-size: 20px; margin-right: 2px; }
html[data-theme] .dashboard-cora-trigger .cora-trigger-orb .cora-orb-halo-late { display: none; }

/* Cora-Assistent: letzte grüne Reste auf Markenfarben */
html[data-theme] .cora-assistant-head { background: linear-gradient(140deg, #3d9bff 0%, #1a6dff 48%, #5b4fe0 100%); }
html[data-theme] .cora-assistant-head small { color: rgba(225, 238, 255, .85); }
html[data-theme] .cora-assistant-context { background: color-mix(in srgb, var(--vf-ice) 55%, white); }
html[data-theme] .cora-assistant-context > span { color: var(--vf-blue); }
html[data-theme="dark"] .cora-assistant-head { background: linear-gradient(140deg, #1d4fa8 0%, #143a85 55%, #2d2a7a 100%); }
html[data-theme="dark"] .cora-assistant-context { border-color: rgba(255, 255, 255, .08); background: rgba(92, 180, 255, .07); }
html[data-theme="dark"] .cora-assistant-context > span { color: var(--vf-sky); }
html[data-theme] .cora-assistant { border-color: rgba(26, 124, 255, .18); }
html[data-theme="dark"] .cora-assistant { border-color: rgba(92, 180, 255, .18); color: var(--vf-ink); background: rgba(12, 20, 38, .98); }
html[data-theme="dark"] .cora-assistant-context strong { color: var(--vf-sky); }
html[data-theme] .dashboard-cora > summary .cora-trigger-orb { --orb-size: 20px; margin-right: 6px; }
html[data-theme] .dashboard-cora > summary .cora-trigger-orb .cora-orb-halo-late { display: none; }
html[data-theme] .cora-alert-orb { --orb-size: 38px; margin-right: 4px; }
html[data-theme] .cora-composer textarea:focus-visible { outline: 0 !important; }
html[data-theme="dark"] .cora-composer:focus-within { border-color: var(--vf-sky); box-shadow: 0 0 0 3px rgba(92, 180, 255, .2); }
html[data-theme] .cora-composer:focus-within { border-color: var(--vf-blue); box-shadow: 0 0 0 3px rgba(26, 124, 255, .14); }
html[data-theme] .cora-center-ask .cora-trigger-orb { --orb-size: 22px; margin-right: 4px; }

/* Dashboard: Cora-Kugel dezenter (rc71) */
html[data-theme] body.dashboard-page .dashboard-hero-cora { min-height: 150px; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; padding: 22px 22px; }
html[data-theme] body.dashboard-page .dashboard-hero-cora .dashboard-hero-orb { --orb-size: 68px; justify-self: center; }
html[data-theme] body.dashboard-page .dashboard-hero-cora .dashboard-cora-orbit { left: 10px; top: 50%; width: 108px; height: 108px; margin-top: -54px; }
html[data-theme] body.dashboard-page .dashboard-hero-cora .dashboard-cora-orbit::before { inset: 10px; }
@media (max-width: 760px) {
  html[data-theme] body.dashboard-page .dashboard-hero-cora { min-height: 124px; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding: 16px; }
  html[data-theme] body.dashboard-page .dashboard-hero-cora .dashboard-hero-orb { --orb-size: 56px; }
  html[data-theme] body.dashboard-page .dashboard-hero-cora .dashboard-cora-orbit { left: 4px; width: 90px; height: 90px; margin-top: -45px; }
}

/* Sprachauswahl Login und Mitgliederbereich (rc71) */
.vf-lang { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 22px; }
.vf-lang-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; color: var(--vf-muted, #5b6b82); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.vf-lang-label .vf-icon { width: 15px; height: 15px; }
.vf-lang button { width: auto; min-height: 0; margin: 0; padding: 6px 11px; border: 1px solid rgba(26, 124, 255, .16); border-radius: 999px; color: var(--vf-ink, #10203a); background: rgba(255, 255, 255, .62); box-shadow: none; font: inherit; font-size: .8rem; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.vf-lang button:hover { border-color: rgba(26, 124, 255, .4); background: rgba(232, 242, 255, .9); transform: none; }
.vf-lang button.is-active { border-color: transparent; color: #fff; background: linear-gradient(135deg, #1a7cff, #0b5be0); }
.vf-lang button:focus-visible { outline: 2px solid #5cb4ff; outline-offset: 2px; }
.vf-lang.is-compact { margin: 0; gap: 3px; padding: 3px; border: 1px solid rgba(26, 124, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .5); }
.vf-lang.is-compact button { padding: 4px 8px; border: 0; background: transparent; font-size: .7rem; letter-spacing: .04em; }
.vf-lang.is-compact button.is-active { background: linear-gradient(135deg, #1a7cff, #0b5be0); }
html[data-theme="dark"] .vf-lang-label { color: rgba(214, 228, 250, .7); }
html[data-theme="dark"] .vf-lang button { border-color: rgba(92, 180, 255, .2); color: #dce8fb; background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .vf-lang button:hover { background: rgba(92, 180, 255, .14); }
html[data-theme="dark"] .vf-lang button.is-active { color: #fff; background: linear-gradient(135deg, #2f8cff, #1a5fe0); }
html[data-theme="dark"] .vf-lang.is-compact { border-color: rgba(92, 180, 255, .18); background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .vf-lang.is-compact button { background: transparent; }
html[data-theme="dark"] .vf-lang.is-compact button.is-active { background: linear-gradient(135deg, #2f8cff, #1a5fe0); }
@media (max-width: 760px) { .vf-lang.is-compact button { padding: 4px 6px; } }
/* Sprachauswahl in der Anmeldekarte: nicht wie der Anmelde-Button darstellen */
html[data-theme] body.auth-page .auth-card form.vf-lang { display: flex; gap: 6px; margin: -6px 0 22px; }
html[data-theme] body.auth-page .auth-card .vf-lang button[type="submit"] { min-height: 0; margin: 0; padding: 6px 12px; display: inline-flex; justify-content: center; border: 1px solid rgba(26, 124, 255, .18); border-radius: 999px; color: var(--vf-ink, #10203a); background: rgba(255, 255, 255, .7); box-shadow: none; font-size: .8rem; font-weight: 600; }
html[data-theme] body.auth-page .auth-card .vf-lang button[type="submit"]:hover { border-color: rgba(26, 124, 255, .42); background: rgba(232, 242, 255, .95); transform: none; }
html[data-theme] body.auth-page .auth-card .vf-lang button[type="submit"].is-active { border-color: transparent; color: #fff; background: linear-gradient(135deg, #1a7cff, #0b5be0); box-shadow: 0 6px 14px -8px rgba(26, 110, 240, .8); }
html[data-theme="dark"] body.auth-page .auth-card .vf-lang button[type="submit"] { border-color: rgba(92, 180, 255, .22); color: #dce8fb; background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] body.auth-page .auth-card .vf-lang button[type="submit"]:hover { background: rgba(92, 180, 255, .14); }
html[data-theme="dark"] body.auth-page .auth-card .vf-lang button[type="submit"].is-active { color: #fff; background: linear-gradient(135deg, #2f8cff, #1a5fe0); }
html[data-theme] body.auth-page .auth-shell--glass .login-glass-card h2:lang(ru),
html[data-theme] body.auth-page .auth-shell--glass .login-glass-card h2:lang(uk) { font-size: clamp(2rem, 3vw, 2.7rem); }

/* Mitgliederbereich: Gemeinschaftsstunden (rc72) */
.mp-banner.is-error { border-color: rgba(214, 120, 30, .35); color: #7a4100; background: rgba(255, 170, 70, .14); }
html[data-theme="dark"] .mp-banner.is-error { color: #ffd2a0; background: rgba(255, 170, 70, .1); }
.mp-work-balance { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 22px; padding: 20px 22px; border: 1px solid var(--vf-glass-line); border-radius: 20px; background: linear-gradient(135deg, rgba(92, 180, 255, .14), rgba(123, 108, 255, .08)); }
.mp-work-balance.is-complete { background: linear-gradient(135deg, rgba(43, 170, 105, .14), rgba(92, 180, 255, .08)); }
.mp-work-figure { display: grid; }
.mp-work-figure strong { font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; }
.mp-work-figure span { color: var(--vf-muted); font-size: .86rem; font-weight: 600; }
.mp-work-state { display: grid; justify-items: end; gap: 6px; text-align: right; }
.mp-work-state small { color: var(--vf-muted); font-size: .8rem; }
.mp-work-bar { grid-column: 1 / -1; height: 10px; overflow: hidden; border-radius: 999px; background: rgba(26, 124, 255, .12); }
.mp-work-bar span { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, #5cb4ff, #1a7cff 60%, #7b6cff); transition: width .6s ease; }
.mp-work-balance.is-complete .mp-work-bar span { background: linear-gradient(90deg, #5fd39a, #2baa69); }
.mp-work-balance .mp-note { grid-column: 1 / -1; margin: 0; }
.mp-work-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.mp-work-chip.is-open { color: #1153b8; background: rgba(26, 124, 255, .13); }
.mp-work-chip.is-done { color: #176b45; background: rgba(43, 170, 105, .15); }
.mp-work-chip.is-free { color: #4a3fb0; background: rgba(123, 108, 255, .14); }
.mp-work-chip.is-full { color: #795500; background: rgba(217, 153, 0, .15); }
.mp-subhead { margin: 22px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vf-muted); }
.mp-work-event { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--vf-glass-line); border-radius: 18px; background: var(--vf-glass); }
.mp-work-event.is-registered { border-color: rgba(43, 170, 105, .35); }
.mp-date { display: grid; place-items: center; width: 56px; height: 60px; border-radius: 16px; color: #fff; background: linear-gradient(150deg, #5cb4ff, #1a7cff 70%); box-shadow: 0 10px 22px -14px rgba(26, 110, 240, .9); }
.mp-work-event.is-registered .mp-date { background: linear-gradient(150deg, #5fd39a, #2baa69 70%); }
.mp-date strong { font-size: 1.35rem; line-height: 1; }
.mp-date span { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mp-work-event-body { display: grid; gap: 3px; min-width: 0; }
.mp-work-event-body small { color: var(--vf-muted); font-size: .8rem; }
.mp-work-event-body p { margin: 4px 0 0; color: var(--vf-muted); font-size: .84rem; }
.mp-work-event-action { display: grid; justify-items: end; gap: 8px; }
.mp-work-event-action form { margin: 0; }
html[data-theme="dark"] .mp-work-chip.is-open { color: #a9d4ff; background: rgba(92, 180, 255, .16); }
html[data-theme="dark"] .mp-work-chip.is-done { color: #8be3b6; background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .mp-work-chip.is-free { color: #c4bcff; background: rgba(123, 108, 255, .18); }
html[data-theme="dark"] .mp-work-chip.is-full { color: #ffd98a; background: rgba(217, 153, 0, .16); }
html[data-theme="dark"] .mp-work-bar { background: rgba(92, 180, 255, .14); }
@media (max-width: 760px) {
  .mp-work-balance { grid-template-columns: 1fr; }
  .mp-work-state { justify-items: start; text-align: left; }
  .mp-work-event { grid-template-columns: 48px 1fr; }
  .mp-date { width: 48px; height: 54px; }
  .mp-work-event-action { grid-column: 1 / -1; justify-items: stretch; }
  .mp-work-event-action .mp-button { width: 100%; }
}
.mp-work .mp-list { display: grid; gap: 10px; }
@media (max-width: 760px) { .mp-work-event-action .mp-work-chip { justify-self: start; } }
html[data-theme="dark"] .participation-status-attended { color: #8be3b6; background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .participation-status-registered { color: #a9d4ff; background: rgba(92, 180, 255, .16); }
html[data-theme="dark"] .participation-status-excused,
html[data-theme="dark"] .participation-status-no_show { color: #ffd98a; background: rgba(217, 153, 0, .16); }

/* ============ Formulare & digitale Unterschrift (rc73) ============ */
.sf-tabs { display: inline-flex; gap: 4px; margin: 0 0 18px; padding: 4px; border: 1px solid var(--vf-glass-line); border-radius: 999px; background: var(--vf-glass); box-shadow: var(--vf-glass-shadow); }
.sf-tabs a { padding: 8px 16px; border-radius: 999px; color: var(--vf-muted); font-size: .88rem; font-weight: 650; text-decoration: none; }
.sf-tabs a[aria-current="page"] { color: #fff; background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-deep)); }
.sf-muted { color: var(--vf-muted); font-size: .9rem; }
.sf-hint-box { margin: 0 0 16px; padding: 12px 16px; border: 1px solid rgba(26, 124, 255, .25); border-radius: 14px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .08); font-size: .9rem; font-weight: 600; }
.sf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.sf-template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sf-template-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.sf-template-thumb { display: block; overflow: hidden; border: 1px solid var(--vf-glass-edge); border-radius: 10px; background: #fff; box-shadow: 0 8px 20px -12px rgba(15, 27, 45, .45); }
.sf-template-thumb img { display: block; width: 100%; height: auto; }
.sf-template-body { display: grid; gap: 6px; justify-items: start; }
.sf-template-body h2 { margin: 2px 0 0; font-size: 1.05rem; }
.sf-template-body small, .sf-template-body p { color: var(--vf-muted); font-size: .82rem; margin: 0; }
.sf-template-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-template-flags span { padding: 3px 8px; border-radius: 999px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .1); font-size: .72rem; font-weight: 650; }
.sf-status-draft { color: #795500; background: #fff5d8; } .sf-status-draft > span { background: #d99900; }
.sf-status-active { color: #176b45; background: #e8f6ed; } .sf-status-active > span { background: #2baa69; }
.sf-status-archived { color: #5b6b82; background: #eef2f7; } .sf-status-archived > span { background: #93a3ba; }
.sf-pkg-draft { color: #795500; background: #fff5d8; } .sf-pkg-draft > span { background: #d99900; }
.sf-pkg-open { color: #1153b8; background: #e6f0ff; } .sf-pkg-open > span { background: #1a7cff; }
.sf-pkg-completed { color: #176b45; background: #e8f6ed; } .sf-pkg-completed > span { background: #2baa69; }
.sf-pkg-cancelled { color: #5b6b82; background: #eef2f7; } .sf-pkg-cancelled > span { background: #93a3ba; }
.sf-archived summary, .sf-cancel summary { cursor: pointer; font-weight: 650; }
.sf-archived ul { margin: 10px 0 0; padding-left: 18px; color: var(--vf-muted); font-size: .86rem; }

/* Editor */
.sf-editor { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.sf-editor-pages { display: grid; gap: 22px; }
.sf-editor-page { position: relative; overflow: hidden; border: 1px solid var(--vf-glass-edge); border-radius: 6px; background: #fff; box-shadow: 0 18px 40px -22px rgba(15, 27, 45, .55); user-select: none; touch-action: none; }
.sf-editor-page img { display: block; width: 100%; height: 100%; pointer-events: none; }
.sf-page-no { position: absolute; right: 10px; bottom: 8px; padding: 2px 8px; border-radius: 999px; color: #fff; background: rgba(15, 27, 45, .55); font-size: .7rem; }
.is-adding .sf-editor-page { cursor: crosshair; outline: 2px dashed rgba(26, 124, 255, .45); outline-offset: -2px; }
.sf-box { position: absolute; box-sizing: border-box; border: 1.5px solid rgba(26, 124, 255, .85); border-radius: 3px; background: rgba(26, 124, 255, .12); cursor: move; touch-action: none; }
.sf-box.fill-auto { border-color: rgba(43, 170, 105, .9); background: rgba(43, 170, 105, .13); }
.sf-box.fill-staff { border-color: rgba(123, 108, 255, .9); background: rgba(123, 108, 255, .13); }
.sf-box.is-signature { border-color: rgba(255, 140, 70, .95); background: rgba(255, 160, 90, .16); }
.sf-box.is-date { border-color: rgba(255, 140, 70, .8); background: rgba(255, 160, 90, .1); border-style: dashed; }
.sf-box.is-choice { border-style: dotted; }
.sf-box.is-selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vf-blue); z-index: 2; }
.sf-box-label { position: absolute; left: 2px; top: 50%; max-width: calc(100% - 4px); overflow: hidden; transform: translateY(-50%); color: #10305f; font: 600 9px/1.1 system-ui, sans-serif; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; }
.sf-box.is-check .sf-box-label { left: 50%; transform: translate(-50%, -50%); }
.sf-box-handle { position: absolute; right: -5px; bottom: -5px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: var(--vf-blue); cursor: nwse-resize; }
.sf-editor-panel { position: sticky; top: 16px; display: grid; gap: 14px; max-height: calc(100vh - 32px); overflow: auto; }
.sf-panel-block { display: grid; gap: 10px; padding: 16px !important; }
.sf-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sf-tool-grid button { display: grid; justify-items: center; gap: 2px; padding: 9px 4px; border: 1px solid var(--vf-glass-edge); border-radius: 12px; color: var(--vf-ink); background: var(--vf-glass-strong); font-size: .74rem; font-weight: 650; cursor: pointer; }
.sf-tool-grid button b { font-size: 1rem; }
.sf-tool-grid button.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-deep)); }
.sf-tool-hint { margin: 0; color: var(--vf-blue-ink); font-size: .82rem; font-weight: 650; }
.sf-props-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sf-mini { margin-left: 4px; padding: 4px 9px; border: 1px solid var(--vf-glass-edge); border-radius: 999px; color: var(--vf-ink); background: var(--vf-glass-strong); font-size: .72rem; font-weight: 650; cursor: pointer; }
.sf-mini.is-danger { color: #b3261e; }
.sf-prop { display: grid; gap: 4px; color: var(--vf-muted); font-size: .76rem; font-weight: 650; }
.sf-prop input, .sf-prop select { width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid var(--vf-glass-edge); border-radius: 9px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; font-size: .86rem; font-weight: 500; }
.sf-prop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sf-prop-check { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; }
.sf-prop-help { margin: 0; color: var(--vf-muted); font-size: .76rem; line-height: 1.45; }
.sf-field-list { display: grid; gap: 4px; max-height: 300px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.sf-field-list button { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; width: 100%; padding: 7px 9px; border: 0; border-radius: 9px; color: var(--vf-ink); background: transparent; font-size: .8rem; text-align: left; cursor: pointer; }
.sf-field-list button:hover, .sf-field-list button.is-selected { background: rgba(26, 124, 255, .1); }
.sf-field-list i { width: 10px; height: 10px; border-radius: 3px; background: var(--vf-blue); }
.sf-field-list i.is-signature, .sf-field-list i.is-date { background: #ff8c46; }
.sf-field-list i.is-check, .sf-field-list i.is-choice { background: var(--vf-violet); }
.sf-field-list small { color: var(--vf-muted); font-size: .7rem; }
.sf-save { color: var(--vf-muted); font-size: .74rem; font-weight: 650; }
.sf-save.is-ok { color: #176b45; } .sf-save.is-error { color: #b3261e; } .sf-save.is-pending { color: #795500; }
.sf-archive-form { margin-top: 12px; }

/* Mappen */
.sf-template-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 16px; }
.sf-pick { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--vf-glass-edge); border-radius: 14px; background: var(--vf-glass-strong); cursor: pointer; }
.sf-pick:has(input:checked) { border-color: rgba(26, 124, 255, .5); box-shadow: 0 0 0 3px rgba(26, 124, 255, .12); }
.sf-pick.is-muted { opacity: .55; }
.sf-pick span { display: grid; gap: 2px; } .sf-pick small { color: var(--vf-muted); font-size: .78rem; }
.sf-tenant-box p { margin: 6px 0 0; color: var(--vf-muted); font-size: .88rem; }
.sf-signer-dots { display: inline-flex; gap: 5px; }
.sf-signer-dots i { width: 11px; height: 11px; border: 2px solid var(--vf-silver); border-radius: 50%; }
.sf-signer-dots i.is-done { border-color: #2baa69; background: #2baa69; }
.sf-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 18px; }
.sf-detail-main, .sf-detail-side { display: grid; gap: 16px; }
.sf-detail-side { position: sticky; top: 16px; }
.sf-hero-hint { max-width: 280px; color: var(--vf-muted); font-size: .86rem; }
.sf-doc-preview { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; }
.sf-thumb { flex: 0 0 210px; overflow: hidden; border: 1px solid var(--vf-glass-edge); border-radius: 6px; background: #fff; box-shadow: 0 12px 26px -16px rgba(15, 27, 45, .5); }
.sf-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sf-staff-inputs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--vf-glass-edge); }
.sf-hash { margin: 10px 0 0; color: var(--vf-muted); font-size: .76rem; word-break: break-all; }
.sf-sticky-actions { position: sticky; bottom: 12px; z-index: 3; padding: 12px; border: 1px solid var(--vf-glass-line); border-radius: 18px; background: var(--vf-glass-strong); backdrop-filter: var(--vf-glass-blur); box-shadow: var(--vf-glass-shadow); }
.sf-signers ol { display: grid; gap: 4px; margin: 10px 0 14px; padding: 0; list-style: none; }
.sf-signer { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 10px; border-radius: 14px; }
.sf-signer.is-turn { background: rgba(26, 124, 255, .08); }
.sf-signer-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--vf-silver); border-radius: 50%; color: var(--vf-muted); font-size: .8rem; font-weight: 700; }
.sf-signer.is-turn .sf-signer-mark { border-color: var(--vf-blue); color: var(--vf-blue); }
.sf-signer.is-done .sf-signer-mark { border-color: #2baa69; color: #fff; background: #2baa69; }
.sf-signer-body { display: grid; gap: 3px; min-width: 0; }
.sf-signer-body small { color: var(--vf-muted); font-size: .78rem; overflow-wrap: anywhere; }
.sf-signer-actions { display: grid; gap: 8px; margin-top: 8px; }
.sf-signer-actions form { display: grid; gap: 6px; margin: 0; }
.sf-signer-actions input[type=email], .sf-link-copy input, .sf-cancel input { width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid var(--vf-glass-edge); border-radius: 10px; font: inherit; font-size: .84rem; }
.sf-link-copy { display: grid; gap: 4px; color: var(--vf-muted); font-size: .74rem; font-weight: 650; }
.sf-waiting { color: #795500 !important; }
.sf-legal p { margin: 6px 0 0; color: var(--vf-muted); font-size: .84rem; line-height: 1.5; }
.sf-cancel form { display: grid; gap: 8px; margin-top: 10px; }
.sf-cancel label { display: grid; gap: 4px; font-size: .8rem; color: var(--vf-muted); }
.sf-log ul { display: grid; gap: 6px; max-height: 260px; margin: 10px 0 0; padding: 0; overflow: auto; list-style: none; }
.sf-log li { display: grid; gap: 1px; font-size: .8rem; } .sf-log time { color: var(--vf-muted); font-size: .72rem; }
.sf-prospect-packages ul { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.sf-prospect-packages li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }

/* Unterschreiben (Bewerber, Vorpächter, Verein) */
body.sign-page { min-height: 100vh; background: radial-gradient(1200px 600px at 10% -10%, rgba(92, 180, 255, .28), transparent 60%), radial-gradient(900px 600px at 110% 10%, rgba(123, 108, 255, .18), transparent 60%), #f3f6fb; color: var(--vf-ink); }
html[data-theme="dark"] body.sign-page { background: radial-gradient(1200px 600px at 10% -10%, rgba(26, 124, 255, .2), transparent 60%), #0b1220; }
.sf-shell { display: grid; gap: 18px; width: min(880px, 100% - 32px); margin: 0 auto; padding: 22px 0 40px; }
.sf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sf-brand { display: flex; align-items: center; gap: 12px; }
.sf-brand strong { display: block; font-size: 1rem; } .sf-brand small { color: var(--vf-muted); font-size: .78rem; }
.sf-top .vf-lang.is-compact a { padding: 4px 8px; border-radius: 999px; color: var(--vf-ink); font-size: .7rem; font-weight: 700; text-decoration: none; }
.sf-top .vf-lang.is-compact a.is-active { color: #fff; background: linear-gradient(135deg, #1a7cff, #0b5be0); }
.sf-back { color: var(--vf-blue-ink); font-weight: 650; text-decoration: none; }
.sf-hero { padding: 26px 28px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #2f8cff, #0b5be0 60%, #6d5cff); box-shadow: 0 26px 50px -26px rgba(11, 91, 224, .8); }
.sf-hero h1 { margin: 6px 0 8px; font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -.02em; }
.sf-hero p { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, .88); line-height: 1.55; }
.sf-eyebrow { font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.sf-onsite-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .84rem; font-weight: 650; }
.sf-onsite-note .vf-icon { width: 16px; height: 16px; }
.sf-card { position: relative; padding: 22px; border: 1px solid var(--vf-glass-line); border-radius: 22px; background: var(--vf-glass-strong); backdrop-filter: var(--vf-glass-blur); box-shadow: var(--vf-glass-shadow); }
.sf-card h2 { margin: 0; font-size: 1.15rem; }
.sf-center { text-align: center; display: grid; justify-items: center; gap: 10px; }
.sf-center p { max-width: 56ch; margin: 0; color: var(--vf-muted); line-height: 1.55; }
.sf-banner { padding: 12px 16px; border: 1px solid rgba(26, 124, 255, .3); border-radius: 14px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .09); font-weight: 600; }
.sf-banner.is-error { border-color: rgba(214, 120, 30, .4); color: #7a4100; background: rgba(255, 170, 70, .15); }
.sf-step { display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--vf-sky), var(--vf-blue)); font-weight: 750; }
.sf-verify { display: grid; gap: 12px; justify-items: start; }
.sf-verify p { margin: 0; color: var(--vf-muted); line-height: 1.55; }
.sf-inline { margin: 0; }
.sf-code-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.sf-code-form label { width: 100%; color: var(--vf-muted); font-size: .82rem; font-weight: 650; }
.sf-code-form input { width: 180px; min-height: 50px; padding: 8px 14px; border: 1px solid var(--vf-glass-edge); border-radius: 14px; font: 700 1.4rem/1 ui-monospace, monospace; letter-spacing: .25em; text-align: center; }
.sf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid rgba(26, 124, 255, .25); border-radius: 14px; color: var(--vf-blue-ink); background: rgba(255, 255, 255, .8); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.sf-button.is-primary { border-color: transparent; color: #fff; background: linear-gradient(180deg, #3b95ff, #1a6fe8); box-shadow: 0 14px 30px -14px rgba(26, 110, 240, .8); }
.sf-button.is-quiet { min-height: 40px; background: transparent; }
.sf-button.is-wide { width: 100%; min-height: 56px; font-size: 1.05rem; }
.sf-button.is-busy { opacity: .7; cursor: progress; }
.sf-docs { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.sf-doc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sf-doc-head > div { flex: 1; } .sf-doc-head small { color: var(--vf-muted); font-size: .8rem; }
.sf-link { color: var(--vf-blue-ink); font-size: .86rem; font-weight: 650; }
.sf-pages { display: grid; gap: 14px; }
.sf-page { margin: 0; overflow: hidden; border: 1px solid rgba(15, 27, 45, .08); border-radius: 6px; background: #fff; box-shadow: 0 18px 36px -22px rgba(15, 27, 45, .55); }
.sf-page img { display: block; width: 100%; height: 100%; }
.sf-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 18px 0 0; padding: 18px; border: 1px solid rgba(26, 124, 255, .18); border-radius: 18px; background: rgba(26, 124, 255, .05); }
.sf-inputs legend { padding: 0 6px; color: var(--vf-blue-ink); font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.sf-inputs > .sf-button { grid-column: 1 / -1; justify-self: start; }
.sf-field { display: grid; gap: 5px; }
.sf-field.is-choice { grid-column: 1 / -1; }
.sf-field label, .sf-choice-label { color: var(--vf-muted); font-size: .8rem; font-weight: 650; }
.sf-field input:not([type=checkbox]):not([type=radio]) { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--vf-glass-edge); border-radius: 12px; color: var(--vf-ink); background: #fff; font: inherit; font-size: 1rem; }
.sf-field.has-error input { border-color: #d6781e; box-shadow: 0 0 0 3px rgba(214, 120, 30, .15); }
.sf-error { color: #a35100; font-size: .78rem; font-weight: 650; }
.sf-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-choice label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--vf-glass-edge); border-radius: 999px; color: var(--vf-ink); background: #fff; font-size: .92rem; font-weight: 600; cursor: pointer; }
.sf-choice label:has(input:checked) { border-color: var(--vf-blue); background: rgba(26, 124, 255, .1); }
.sf-check { display: flex !important; align-items: flex-start; gap: 10px; color: var(--vf-ink) !important; font-size: .92rem !important; font-weight: 500 !important; line-height: 1.45; cursor: pointer; }
.sf-check input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--vf-blue); }
.sf-sign { display: grid; gap: 14px; }
.sf-sign > p { margin: 0; color: var(--vf-muted); }
.sf-pad { position: relative; height: 210px; border: 2px dashed rgba(26, 124, 255, .35); border-radius: 18px; background: #fff; touch-action: none; }
.sf-pad.is-missing { border-color: #d6781e; animation: sf-shake .3s; }
.sf-pad.has-ink { border-style: solid; border-color: rgba(26, 124, 255, .45); }
.sf-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.sf-pad-hint { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); color: #9aa8bb; font-size: .95rem; pointer-events: none; text-align: center; }
.sf-pad-line { position: absolute; left: 8%; right: 8%; bottom: 46px; border-bottom: 1.5px solid #c7d0dc; pointer-events: none; }
.sf-pad-clear { position: absolute; right: 10px; top: 10px; padding: 5px 11px; border: 1px solid var(--vf-glass-edge); border-radius: 999px; color: var(--vf-muted); background: #fff; font-size: .78rem; font-weight: 650; cursor: pointer; }
.sf-consent { padding: 14px; border-radius: 14px; background: rgba(26, 124, 255, .06); }
.sf-fine { margin: 0; color: var(--vf-muted); font-size: .76rem; line-height: 1.5; }
.sf-foot { color: var(--vf-muted); font-size: .76rem; text-align: center; }
.sf-done { padding: 40px 24px; }
.sf-done h1 { margin: 0; font-size: 1.5rem; }
.sf-done-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #5fd39a, #2baa69); box-shadow: 0 18px 36px -18px rgba(43, 170, 105, .9); }
.sf-done-mark svg { width: 38px; height: 38px; }
.sf-handback { color: var(--vf-ink) !important; font-size: 1.1rem; font-weight: 700; }
@keyframes sf-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
html[data-theme="dark"] .sf-page, html[data-theme="dark"] .sf-editor-page, html[data-theme="dark"] .sf-thumb, html[data-theme="dark"] .sf-template-thumb { border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .sf-field input:not([type=checkbox]):not([type=radio]), html[data-theme="dark"] .sf-choice label, html[data-theme="dark"] .sf-code-form input { color: var(--vf-ink); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
html[data-theme="dark"] .sf-button { color: #cfe3ff; background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .sf-button.is-primary { color: #fff; background: linear-gradient(180deg, #3b95ff, #1a6fe8); }
html[data-theme="dark"] .sf-pad { background: #f7f9fc; }
html[data-theme="dark"] .sf-banner { color: #a9d4ff; }
html[data-theme="dark"] .sf-hint-box { color: #a9d4ff; }
html[data-theme="dark"] .sf-status-draft, html[data-theme="dark"] .sf-pkg-draft { color: #ffd98a; background: rgba(217, 153, 0, .16); }
html[data-theme="dark"] .sf-status-active, html[data-theme="dark"] .sf-pkg-completed { color: #8be3b6; background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .sf-pkg-open { color: #a9d4ff; background: rgba(92, 180, 255, .16); }
html[data-theme="dark"] .sf-status-archived, html[data-theme="dark"] .sf-pkg-cancelled { color: #93a3ba; background: rgba(255, 255, 255, .06); }
@media (max-width: 1100px) { .sf-editor, .sf-detail { grid-template-columns: 1fr; } .sf-editor-panel, .sf-detail-side { position: static; max-height: none; } }
@media (max-width: 760px) {
  .sf-two { grid-template-columns: 1fr; }
  .sf-inputs { grid-template-columns: 1fr; padding: 14px; }
  .sf-card { padding: 16px; border-radius: 18px; }
  .sf-hero { padding: 20px; border-radius: 20px; }
  .sf-pad { height: 190px; }
  .sf-template-card { grid-template-columns: 72px 1fr; }
}
.sf-used-in { color: var(--vf-blue-ink); font-size: .72rem; font-weight: 650; }
.sf-mine .sf-inputs { margin-top: 0; }
.sf-tabs a[aria-current="page"], .sf-tabs a[aria-current="page"]:hover { color: #fff !important; }
body.sign-page .cora-launcher, body.sign-page #cora-assistant { display: none !important; }
.sf-page .filter-bar { max-width: 380px; margin-bottom: 14px; }

/* ============ Mitgliederakte: Notizen, Sonderregelungen, Ratenzahlung (rc74) ============ */
.dossier-main { display: grid; gap: 16px; min-width: 0; }
.note-pinned { display: grid; gap: 8px; margin: 14px 0 0; }
.note-pinned a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1px solid rgba(217, 153, 0, .35); border-radius: 16px; color: var(--vf-ink); background: linear-gradient(135deg, rgba(255, 214, 120, .22), rgba(255, 244, 214, .5)); text-decoration: none; }
.note-pinned a > span { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: #d99900; font-weight: 800; }
.note-pinned strong { font-size: .8rem; letter-spacing: .02em; }
.note-pinned p { margin: 2px 0 0; font-size: .9rem; line-height: 1.45; }
.note-new { margin: 4px 0 14px; border: 1px dashed rgba(26, 124, 255, .3); border-radius: 16px; background: rgba(26, 124, 255, .03); }
.note-new summary, .agreement-new summary { padding: 12px 16px; color: var(--vf-blue-ink); font-weight: 700; cursor: pointer; list-style: none; }
.note-new summary::-webkit-details-marker, .agreement-new summary::-webkit-details-marker { display: none; }
.note-form, .agreement-form { display: grid; gap: 12px; padding: 0 16px 16px; }
.note-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.note-form label, .agreement-form label { display: grid; gap: 5px; color: var(--vf-muted); font-size: .78rem; font-weight: 650; }
.note-form label small, .agreement-form label small { font-weight: 500; }
.note-form select, .note-form input:not([type=checkbox]), .note-form textarea, .agreement-form select, .agreement-form input:not([type=checkbox]) { width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--vf-glass-edge); border-radius: 11px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; font-size: .92rem; font-weight: 500; }
.note-form textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.note-flags { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.note-flags label { display: flex !important; align-items: center; gap: 8px; color: var(--vf-ink) !important; font-size: .86rem !important; font-weight: 600 !important; }
.note-flags input { width: 18px; height: 18px; accent-color: var(--vf-blue); }
.note-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.note-actions small { max-width: 52ch; color: var(--vf-muted); font-size: .76rem; }
.note-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.note-item { position: relative; padding: 14px 16px 14px 18px; border: 1px solid var(--vf-glass-edge); border-radius: 16px; background: var(--vf-glass-strong); }
.note-item::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--vf-sky); }
.note-item.is-pinned::before { background: #d99900; }
.note-item.is-confidential { background: linear-gradient(135deg, rgba(123, 108, 255, .07), var(--vf-glass-strong)); }
.note-item.is-due { border-color: rgba(26, 124, 255, .45); box-shadow: 0 0 0 3px rgba(26, 124, 255, .1); }
.note-item p { margin: 8px 0 0; font-size: .93rem; line-height: 1.55; overflow-wrap: anywhere; }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.note-meta small { color: var(--vf-muted); font-size: .76rem; }
.note-cat { padding: 3px 9px; border-radius: 999px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .1); font-size: .72rem; font-weight: 700; }
.note-cat-finance { color: #176b45; background: rgba(43, 170, 105, .13); }
.note-cat-conflict { color: #a33b16; background: rgba(230, 110, 60, .13); }
.note-cat-agreement { color: #4a3fb0; background: rgba(123, 108, 255, .14); }
.note-cat-garden { color: #2f6b18; background: rgba(110, 180, 70, .15); }
.note-badge { padding: 3px 8px; border-radius: 999px; color: #795500; background: #fff1cc; font-size: .7rem; font-weight: 700; }
.note-badge.is-lock { color: #4a3fb0; background: rgba(123, 108, 255, .14); }
.note-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--vf-glass-edge); font-size: .8rem; }
.note-foot form { margin: 0; }
.note-follow { color: var(--vf-muted); font-weight: 650; } .note-follow.is-due { color: var(--vf-blue-ink); } .note-follow.is-done { color: #176b45; }
.note-empty { padding: 8px 2px; }
.note-delete { margin-top: 12px; }
.quiet-button.is-danger { color: #b3261e; }
.agreement-block { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--vf-glass-edge); }
.agreement-block:first-of-type { border-top: 0; padding-top: 4px; }
.agreement-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.agreement-head h3 { margin: 0; font-size: 1rem; }
.agreement-head p { margin: 2px 0 0; color: var(--vf-muted); font-size: .86rem; }
.agreement-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--vf-glass-edge); border-radius: 14px; color: var(--vf-ink); background: var(--vf-glass-strong); text-decoration: none; }
.agreement-row.is-current { border-color: rgba(26, 124, 255, .35); background: linear-gradient(135deg, rgba(92, 180, 255, .1), var(--vf-glass-strong)); }
.agreement-row.is-link:hover { border-color: rgba(26, 124, 255, .55); }
.agreement-row > div:first-child { display: grid; gap: 3px; min-width: 0; }
.agreement-row small { color: var(--vf-muted); font-size: .78rem; }
.agreement-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.agreement-actions form { margin: 0; }
.agreement-end { display: flex; align-items: center; gap: 6px; }
.agreement-end label { display: flex; align-items: center; gap: 6px; color: var(--vf-muted); font-size: .76rem; font-weight: 650; }
.agreement-end input { width: 78px; min-height: 32px; padding: 4px 8px; border: 1px solid var(--vf-glass-edge); border-radius: 9px; font: inherit; font-size: .84rem; }
.agreement-lock { color: var(--vf-muted); font-size: .74rem; }
.agreement-new { border: 1px dashed rgba(26, 124, 255, .3); border-radius: 14px; background: rgba(26, 124, 255, .03); }
.rz-alert { margin: 0 0 14px; padding: 12px 16px; border: 1px solid rgba(214, 120, 30, .35); border-radius: 14px; color: #7a4100; background: rgba(255, 170, 70, .14); font-weight: 650; }
.rz-filter { max-width: 380px; margin-bottom: 14px; }
.rz-status-active { color: #1153b8; background: #e6f0ff; } .rz-status-active > span { background: #1a7cff; }
.rz-status-completed { color: #176b45; background: #e8f6ed; } .rz-status-completed > span { background: #2baa69; }
.rz-status-defaulted, .rz-status-overdue { color: #8a3a00; background: #ffeedd; } .rz-status-defaulted > span, .rz-status-overdue > span { background: #e07a1f; }
.rz-status-cancelled { color: #5b6b82; background: #eef2f7; } .rz-status-cancelled > span { background: #93a3ba; }
.rz-invoices { display: grid; gap: 8px; }
.rz-invoice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--vf-glass-edge); border-radius: 14px; background: var(--vf-glass-strong); cursor: pointer; }
.rz-invoice:has(input:checked) { border-color: rgba(26, 124, 255, .5); box-shadow: 0 0 0 3px rgba(26, 124, 255, .1); }
.rz-invoice input { width: 18px; height: 18px; accent-color: var(--vf-blue); }
.rz-invoice span { display: grid; gap: 2px; } .rz-invoice small { color: var(--vf-muted); font-size: .78rem; }
.rz-preview { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(26, 124, 255, .06); }
.rz-preview p { margin: 0 0 8px; }
.rz-preview ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: rate; }
.rz-preview li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--vf-glass-strong); font-size: .84rem; counter-increment: rate; }
.rz-preview li span::before { content: counter(rate) ". "; color: var(--vf-muted); }
.rz-rates { display: grid; gap: 8px; }
.rz-rate { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--vf-glass-edge); border-radius: 14px; background: var(--vf-glass-strong); }
.rz-rate small { display: block; color: var(--vf-muted); font-size: .78rem; }
.rz-rate-no { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--vf-silver); border-radius: 50%; color: var(--vf-muted); font-size: .8rem; font-weight: 700; }
.rz-rate.is-paid .rz-rate-no { border-color: #2baa69; color: #fff; background: #2baa69; }
.rz-rate.is-partial .rz-rate-no { border-color: var(--vf-blue); color: var(--vf-blue); }
.rz-rate.is-overdue { border-color: rgba(224, 122, 31, .5); background: rgba(255, 170, 70, .1); }
.rz-rate.is-overdue .rz-rate-no { border-color: #e07a1f; color: #e07a1f; }
.rz-close summary { cursor: pointer; font-weight: 650; }
.rz-close form { display: grid; gap: 8px; margin-top: 10px; }
.rz-close label { display: flex; gap: 8px; align-items: center; font-size: .86rem; }
.rz-close .rz-reason { display: grid; gap: 4px; color: var(--vf-muted); font-size: .78rem; }
.rz-close .rz-reason input { min-height: 36px; padding: 6px 10px; border: 1px solid var(--vf-glass-edge); border-radius: 10px; font: inherit; }
.mp-plan { display: grid; gap: 8px; margin: 0 0 12px; padding: 14px 16px; border: 1px solid rgba(26, 124, 255, .25); border-radius: 18px; background: linear-gradient(135deg, rgba(92, 180, 255, .12), rgba(123, 108, 255, .06)); }
.mp-plan > div:first-child { display: grid; gap: 2px; } .mp-plan small { color: var(--vf-muted); font-size: .8rem; }
.mp-plan p { margin: 0; color: #7a4100; font-size: .86rem; font-weight: 650; }
.mp-plan.is-late { border-color: rgba(224, 122, 31, .45); }
.mp-plan-bar { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(26, 124, 255, .12); }
.mp-plan-bar span { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, #5cb4ff, #1a7cff); }
html[data-theme="dark"] .note-pinned a { color: var(--vf-ink); background: linear-gradient(135deg, rgba(217, 153, 0, .2), rgba(217, 153, 0, .06)); }
html[data-theme="dark"] .note-badge { color: #ffd98a; background: rgba(217, 153, 0, .18); }
html[data-theme="dark"] .rz-status-active { color: #a9d4ff; background: rgba(92, 180, 255, .16); }
html[data-theme="dark"] .rz-status-completed { color: #8be3b6; background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .rz-status-defaulted, html[data-theme="dark"] .rz-status-overdue { color: #ffc58a; background: rgba(224, 122, 31, .18); }
html[data-theme="dark"] .rz-status-cancelled { color: #93a3ba; background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .rz-alert, html[data-theme="dark"] .mp-plan p { color: #ffc58a; }
@media (max-width: 760px) { .note-form-grid { grid-template-columns: 1fr; } .rz-invoice { grid-template-columns: auto 1fr; } .rz-invoice b { grid-column: 2; } }
.note-pinned p { color: var(--vf-ink); }

/* ============ Kassenjournal (rc75) ============ */
.journal-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 16px; }
.journal-filter label { min-width: 160px; }
.journal-section { margin-top: 16px; }
.journal-table td, .journal-table th { vertical-align: top; }
.journal-table .num { text-align: right; white-space: nowrap; }
.journal-table small { display: block; color: var(--vf-muted); font-size: .76rem; }
.journal-table tfoot td { font-weight: 700; border-top: 2px solid var(--vf-ink); }
.journal-opening td, .journal-closing td { background: rgba(26, 124, 255, .05); }
.journal-line.is-storno td { color: var(--vf-muted); }
.journal-receipt { display: inline-block; padding: 2px 7px; border-radius: 7px; color: var(--vf-blue-ink); background: rgba(26, 124, 255, .1); font-size: .76rem; font-weight: 700; text-decoration: none; }
.journal-missing { display: inline-block; padding: 2px 7px; border-radius: 7px; color: #8a3a00; background: #ffeedd; font-size: .74rem; font-weight: 700; }
.journal-state { color: #795500; background: #fff5d8; } .journal-state > span { background: #d99900; }
.journal-state.is-ok { color: #176b45; background: #e8f6ed; } .journal-state.is-ok > span { background: #2baa69; }
.journal-state.is-diff { color: #8a3a00; background: #ffeedd; } .journal-state.is-diff > span { background: #e07a1f; }
.journal-proof { display: grid; gap: 12px; margin-top: 16px; padding: 16px; border: 1px solid rgba(26, 124, 255, .25); border-radius: 18px; background: linear-gradient(135deg, rgba(92, 180, 255, .08), var(--vf-glass-strong)); }
.journal-proof dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 0; }
.journal-proof dl > div { padding: 10px 12px; border-radius: 12px; background: var(--vf-glass-strong); }
.journal-proof dt { color: var(--vf-muted); font-size: .74rem; font-weight: 650; }
.journal-proof dd { margin: 3px 0 0; font-size: 1.05rem; font-weight: 750; }
.journal-proof .is-total { box-shadow: inset 0 0 0 1.5px rgba(26, 124, 255, .35); }
.journal-proof .is-ok { box-shadow: inset 0 0 0 1.5px rgba(43, 170, 105, .55); } .journal-proof .is-ok dd { color: #176b45; }
.journal-proof .is-diff { box-shadow: inset 0 0 0 1.5px rgba(224, 122, 31, .6); } .journal-proof .is-diff dd { color: #b3261e; }
.journal-proof ul { margin: 8px 0 0; padding-left: 18px; color: var(--vf-muted); font-size: .84rem; }
.journal-count summary, .journal-proof details summary { color: var(--vf-blue-ink); font-weight: 700; cursor: pointer; }
.journal-count-form { display: grid; gap: 12px; margin-top: 12px; }
.journal-count-head { display: grid; grid-template-columns: 180px 1fr; gap: 10px; }
.journal-count-form label { display: grid; gap: 4px; color: var(--vf-muted); font-size: .76rem; font-weight: 650; }
.journal-count-form input { min-height: 38px; padding: 6px 10px; border: 1px solid var(--vf-glass-edge); border-radius: 10px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; }
.journal-denominations { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.journal-denominations label span { font-weight: 750; color: var(--vf-ink); }
.journal-count-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.journal-count-foot p { margin: 0; font-size: 1rem; }
.journal-digest { margin: 16px 0 0; color: var(--vf-muted); font-size: .76rem; word-break: break-all; }
.journal-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 10px; }
.journal-link-grid a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--vf-glass-edge); border-radius: 14px; color: var(--vf-ink); background: var(--vf-glass-strong); text-decoration: none; }
.journal-link-grid a:hover { border-color: rgba(26, 124, 255, .5); }
.journal-link-grid small { color: var(--vf-blue-ink); font-weight: 650; }
.account-edit-links { margin: 6px 0 14px; color: var(--vf-muted); font-size: .82rem; }
html[data-theme="dark"] .journal-state { color: #ffd98a; background: rgba(217, 153, 0, .16); }
html[data-theme="dark"] .journal-state.is-ok { color: #8be3b6; background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .journal-state.is-diff, html[data-theme="dark"] .journal-missing { color: #ffc58a; background: rgba(224, 122, 31, .18); }
@media (max-width: 760px) { .journal-count-head { grid-template-columns: 1fr; } }
.journal-table td:first-child, .journal-table td:nth-child(2), .journal-table td:nth-child(3) { white-space: nowrap; }
.journal-count-form input { width: 100%; min-width: 0; box-sizing: border-box; }

/* ============ Serienbrief-Import (rc76) ============ */
.sb-check { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; } .sb-check small { grid-column: 1 / -1; }
.sb-steps { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--vf-muted); font-size: .86rem; }
.sb-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 10px; }
.sb-tabs a { padding: 7px 13px; border: 1px solid var(--vf-glass-edge); border-radius: 999px; color: var(--vf-ink); background: var(--vf-glass-strong); font-size: .84rem; font-weight: 650; text-decoration: none; }
.sb-tabs a[aria-current] { color: #fff; background: var(--vf-blue); border-color: var(--vf-blue); }
.sb-table td { vertical-align: top; } .sb-table small { display: block; color: var(--vf-muted); font-size: .76rem; }
.sb-table .num { text-align: right; white-space: nowrap; }
.sb-row.is-skip td, .sb-row.is-duplicate td { opacity: .62; }
.sb-member { width: 100%; min-width: 220px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--vf-glass-edge); border-radius: 10px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; font-size: .86rem; box-sizing: border-box; }
.sb-row.is-name_differs .sb-member, .sb-row.is-ambiguous .sb-member, .sb-row.is-not_found .sb-member { border-color: rgba(224, 122, 31, .65); }
.sb-state { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; text-decoration: none; color: #795500; background: #fff5d8; }
.sb-state.is-sure, .sb-state.is-manual, .sb-state.is-by_name { color: #176b45; background: #e8f6ed; }
.sb-state.is-not_found, .sb-state.is-ambiguous { color: #8a3a00; background: #ffeedd; }
.sb-state.is-skip, .sb-state.is-duplicate { color: var(--vf-muted); background: rgba(16, 32, 58, .06); }
.sb-state.is-invoice-paid { color: #176b45; background: #e8f6ed; } .sb-state.is-invoice-open { color: #0b5be0; background: rgba(26, 124, 255, .1); }
.sb-problem { color: #b3261e !important; }
html[data-theme="dark"] .sb-problem { color: #ff9c94 !important; }
.sb-actions { flex-wrap: wrap; } .sb-note { margin-top: 8px; font-size: .8rem; }
html[data-theme="dark"] .sb-state { color: #ffd98a; background: rgba(217, 153, 0, .16); }
html[data-theme="dark"] .sb-state.is-sure, html[data-theme="dark"] .sb-state.is-manual, html[data-theme="dark"] .sb-state.is-by_name, html[data-theme="dark"] .sb-state.is-invoice-paid { color: #8be3b6; background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .sb-state.is-not_found, html[data-theme="dark"] .sb-state.is-ambiguous { color: #ffc58a; background: rgba(224, 122, 31, .18); }
.sb-table td:nth-child(2), .sb-table td:nth-child(2) a { white-space: nowrap; }
.sb-table td:nth-child(5) { min-width: 280px; }
.sb-table td.num small { max-width: 170px; margin-left: auto; white-space: normal; }
.sim-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 0; }
.sim-facts div { padding: 10px 12px; border-radius: 12px; background: var(--vf-glass-strong); } .sim-facts dt { color: var(--vf-muted); font-size: .74rem; } .sim-facts dd { margin: 3px 0 0; font-weight: 700; }

/* ============ Mitgliederdaten aus PDF (rc80) ============ */
.pf-progress { display: grid; gap: 10px; } .pf-progress p { margin: 0; color: var(--vf-muted); }
.pf-bar { height: 10px; border-radius: 999px; background: rgba(26, 124, 255, .12); overflow: hidden; }
.pf-bar span { display: block; height: 100%; border-radius: inherit; background: var(--vf-blue); transition: width .4s ease; }
.pf-row { display: grid; gap: 12px; margin-top: 12px; padding: 16px 18px; }
.pf-row.is-not_found, .pf-row.is-ambiguous, .pf-row.is-mismatch { border-color: rgba(224, 122, 31, .45); }
.pf-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pf-head > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.pf-number { padding: 2px 8px; border-radius: 8px; color: var(--vf-blue-ink, #0b5be0); background: rgba(26, 124, 255, .1); font-size: .8rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.pf-member { display: grid; gap: 4px; min-width: min(360px, 100%); }
.pf-member input, .pf-input { width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid var(--vf-glass-edge); border-radius: 10px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; font-size: .88rem; box-sizing: border-box; }
.pf-state { font-size: .76rem; font-weight: 650; color: #176b45; } .pf-state.is-not_found, .pf-state.is-ambiguous, .pf-state.is-mismatch { color: #b3261e; }
.pf-scan { display: block; max-width: 100%; height: auto; border: 1px solid var(--vf-glass-edge); border-radius: 10px; background: #fff; }
html[data-theme="dark"] .pf-scan { filter: invert(.88) hue-rotate(180deg); }
.pf-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.pf-field { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 8px; padding: 8px 10px; border: 1px solid var(--vf-glass-edge); border-radius: 12px; background: var(--vf-glass-strong); }
.pf-field .pf-label { font-size: .76rem; font-weight: 700; color: var(--vf-muted); } .pf-field .pf-input, .pf-field .pf-value, .pf-field small { grid-column: 1 / -1; }
.pf-field small { color: var(--vf-muted); font-size: .72rem; }
.pf-field.is-unsure, .pf-field.is-differs { border-color: rgba(217, 153, 0, .6); background: rgba(255, 245, 216, .45); }
html[data-theme="dark"] .pf-field.is-unsure, html[data-theme="dark"] .pf-field.is-differs { background: rgba(217, 153, 0, .1); }
.pf-field.is-same { opacity: .7; } .pf-check { color: #2baa69; font-weight: 800; }
.pf-hint { margin: 0; font-size: .84rem; }
.pf-actions { position: sticky; bottom: 12px; z-index: 5; padding: 10px; border-radius: 16px; background: var(--vf-glass); backdrop-filter: blur(14px); flex-wrap: wrap; }

/* ============ Dunkles Design: Lesbarkeit (rc81) ============ */
/* Aufgeklappte Auswahllisten: dunkler Grund, helle Schrift (sonst helle Schrift auf weißem Systemmenü) */
html[data-theme="dark"] select { color-scheme: dark; }
html[data-theme="dark"] select option, html[data-theme="dark"] select optgroup { color: #e9f0fb; background-color: #13202f; }
html[data-theme="dark"] select option:disabled { color: #8a99ab; }
html[data-theme="dark"] select option:checked { color: #ffffff; background-color: #1d4f8f; }
/* Filterleiste Kommunikation (Anfragen, Mitteilungen, Serienbriefe, Briefvorlagen) */
html[data-theme="dark"] body .communication-filter { color: #e2ebf7; border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] body .communication-filter :is(input, select) { color: #edf1f3; border-color: #485760; background: #171e23; }
html[data-theme="dark"] body .communication-filter input::placeholder { color: #9aa9b4; opacity: 1; }
html[data-theme="dark"] body .communication-filter .quiet-link { color: #a9c8f5; }
/* Zähler im Interessenten-Ablauf, Kategorie-Etiketten der Aktennotizen */
html[data-theme="dark"] body .prospect-flow .is-ready > span { color: #08203d; background: #8ec5ff; }
html[data-theme="dark"] .note-cat-agreement { color: #c9c2ff; background: rgba(123, 108, 255, .22); }
html[data-theme="dark"] .note-cat-finance { color: #8be3b6; background: rgba(43, 170, 105, .2); }
html[data-theme="dark"] .note-cat-conflict { color: #ffb48f; background: rgba(230, 110, 60, .2); }
html[data-theme="dark"] .note-cat-garden { color: #b7e69a; background: rgba(110, 180, 70, .2); }

/* ============ Koloniekarte (rc82) ============ */
.cm-main { --cm-free: #2baa69; --cm-leased: #3b82f6; --cm-notice: #f59e0b; --cm-reserved: #8b5cf6; --cm-common: #94a3b8; --cm-overdue: #e5484d; }
.cm-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.cm-stat { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--vf-glass-edge); border-radius: 16px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; text-align: left; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cm-stat span { color: var(--vf-muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cm-stat strong { font-size: 1.6rem; line-height: 1; }
.cm-stat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 32, 58, .1); }
.cm-stat.is-active { border-color: var(--vf-blue); box-shadow: 0 0 0 3px rgba(26, 124, 255, .18); }
.cm-stat.is-free strong { color: var(--cm-free); } .cm-stat.is-leased strong { color: var(--cm-leased); } .cm-stat.is-notice strong { color: var(--cm-notice); } .cm-stat.is-overdue strong { color: var(--cm-overdue); }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.cm-canvas { padding: 14px; }
.cm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px; }
.cm-search { flex: 1 1 240px; } .cm-search input { width: 100%; min-height: 40px; padding: 6px 12px; border: 1px solid var(--vf-glass-edge); border-radius: 12px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; box-sizing: border-box; }
.cm-toggle { display: inline-flex; align-items: center; gap: 6px; color: var(--vf-muted); font-size: .84rem; font-weight: 650; cursor: pointer; }
.cm-stage { overflow: auto; border-radius: 14px; background: #fff; border: 1px solid var(--vf-glass-edge); }
.cm-svg { display: block; width: 100%; height: auto; min-width: 640px; user-select: none; }
.cm-shape { fill: rgba(59, 130, 246, .2); stroke: rgba(30, 64, 175, .55); stroke-width: 1.4; cursor: pointer; transition: fill .2s ease, opacity .2s ease, stroke-width .15s ease; outline: none; }
.cm-shape.is-free { fill: rgba(43, 170, 105, .42); stroke: #1f8a54; }
.cm-shape.is-notice { fill: rgba(245, 158, 11, .42); stroke: #b45309; }
.cm-shape.is-reserved { fill: rgba(139, 92, 246, .32); stroke: #6d28d9; }
.cm-shape.is-common { fill: rgba(148, 163, 184, .38); stroke: #64748b; }
.cm-shape.is-unassigned { fill: rgba(148, 163, 184, .12); stroke: #94a3b8; stroke-dasharray: 6 4; }
.cm-shape:hover, .cm-shape:focus-visible { stroke-width: 3; filter: brightness(1.05); }
.cm-shape.is-selected { stroke: #0b5be0; stroke-width: 4; fill-opacity: .8; }
.cm-shape.is-dim { opacity: .12; }
.show-money .cm-shape.has-overdue { stroke: var(--cm-overdue); stroke-width: 4; }
.cm-labels { pointer-events: none; display: none; }
.show-labels .cm-labels { display: block; }
.cm-label { font: 600 15px/1 system-ui, sans-serif; fill: #10203a; text-anchor: middle; }
.cm-label-nr { font-weight: 800; font-size: 19px; }
.cm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 2px 0; padding: 0; list-style: none; color: var(--vf-muted); font-size: .8rem; }
.cm-legend i { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; border-radius: 4px; }
.cm-legend .is-free { background: var(--cm-free); } .cm-legend .is-leased { background: var(--cm-leased); } .cm-legend .is-notice { background: var(--cm-notice); }
.cm-legend .is-reserved { background: var(--cm-reserved); } .cm-legend .is-common { background: var(--cm-common); } .cm-legend .is-unassigned { border: 2px dashed var(--cm-common); }
.cm-detail { position: sticky; top: 84px; display: grid; gap: 12px; padding: 20px; }
.cm-detail h2 { margin: 0; font-size: 1.5rem; }
.cm-empty p { color: var(--vf-muted); }
.cm-badge { display: inline-block; width: max-content; padding: 3px 10px; border-radius: 999px; color: #fff; background: var(--cm-leased); font-size: .72rem; letter-spacing: .04em; }
.cm-badge.is-free { background: #1c7f4b; } .cm-badge.is-notice { background: var(--cm-notice); } .cm-badge.is-common, .cm-badge.is-unassigned { background: var(--cm-common); } .cm-badge.is-reserved { background: var(--cm-reserved); }
.cm-tenant { display: grid; gap: 3px; margin: 0; } .cm-tenant strong { font-size: 1.08rem; } .cm-tenant small { color: var(--vf-muted); }
.cm-facts { display: grid; gap: 8px; margin: 0; } .cm-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.cm-facts dt { color: var(--vf-muted); font-size: .8rem; } .cm-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.cm-overdue { color: var(--cm-overdue); font-weight: 800; }
.cm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-freelist { margin-top: 16px; }
.cm-free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cm-free { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid rgba(43, 170, 105, .45); border-radius: 14px; color: var(--vf-ink); background: rgba(43, 170, 105, .08); font: inherit; text-align: left; cursor: pointer; }
.cm-free small { color: var(--vf-muted); }
.cm-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cm-first { display: grid; gap: 14px; padding: 24px; } .cm-first h2 { margin: 0 0 6px; }
.cm-replace { margin-top: 16px; } .cm-replace summary { cursor: pointer; font-weight: 700; } .cm-replace form { margin-top: 12px; }
.cm-table td { vertical-align: top; } .cm-table small { display: block; color: var(--vf-muted); font-size: .76rem; }
.cm-state { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 750; color: #176b45; background: #e8f6ed; }
.cm-state.is-conflict { color: #8a3a00; background: #ffeedd; } .cm-state.is-no_parcel, .cm-state.is-no_lease, .cm-state.is-status { color: #795500; background: #fff5d8; }
.cm-row.is-ok td { opacity: .72; }
.cm-action { display: flex; align-items: center; gap: 6px; font-size: .84rem; } .cm-actions-cell { min-width: 230px; }
.cm-note { font-size: .8rem; }
.cm-field { display: grid; gap: 4px; color: var(--vf-muted); font-size: .78rem; font-weight: 650; }
.cm-field input, .cm-field select { min-height: 38px; padding: 6px 10px; border: 1px solid var(--vf-glass-edge); border-radius: 10px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; }
.cm-handle { fill: #fff; stroke: #0b5be0; stroke-width: 2.5; cursor: grab; }
.cm-draft { fill: rgba(26, 124, 255, .15); stroke: #0b5be0; stroke-width: 2; stroke-dasharray: 6 4; pointer-events: none; }
.cm-editor.is-drawing { cursor: crosshair; }
html[data-theme="dark"] .cm-stage { background: #f4f6f9; }
html[data-theme="dark"] .cm-state { color: #8be3b6; background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .cm-state.is-conflict { color: #ffc58a; background: rgba(224, 122, 31, .18); }
html[data-theme="dark"] .cm-state.is-no_parcel, html[data-theme="dark"] .cm-state.is-no_lease, html[data-theme="dark"] .cm-state.is-status { color: #ffd98a; background: rgba(217, 153, 0, .16); }
@media (max-width: 1100px) { .cm-layout { grid-template-columns: 1fr; } .cm-detail { position: static; } .cm-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cm-table td:first-child, .cm-table td:nth-child(3) { white-space: nowrap; }

/* ============ Ableseliste (rc83) ============ */
.mr-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 12px; }
.mr-progress { display: grid; gap: 10px; }
.mr-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.mr-tools input[type=search] { flex: 1 1 220px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--vf-glass-edge); border-radius: 12px; color: var(--vf-ink); background: var(--vf-glass-strong); font: inherit; }
.mr-confirm { margin-top: 12px; } .mr-confirm small { display: block; color: var(--vf-muted); font-size: .74rem; }
.mr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; margin-top: 12px; }
.mr-row { display: grid; gap: 10px; padding: 14px 16px; scroll-margin-top: 90px; }
.mr-row.is-done { border-color: rgba(43, 170, 105, .45); }
.mr-row.is-target { box-shadow: 0 0 0 3px rgba(26, 124, 255, .35); }
.mr-row header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mr-row header strong { font-size: 1.05rem; } .mr-row header span { color: var(--vf-muted); font-size: .86rem; }
.mr-badge { margin-left: auto; padding: 2px 9px; border-radius: 999px; color: #795500; background: #fff5d8; font-size: .72rem; font-style: normal; font-weight: 750; }
.mr-row.is-done .mr-badge { color: #176b45; background: #e8f6ed; }
.mr-meter { display: grid; grid-template-columns: 1fr minmax(150px, 190px); align-items: center; gap: 4px 12px; }
.mr-meter label { display: grid; gap: 2px; } .mr-meter label small { color: var(--vf-muted); font-size: .74rem; }
.mr-input { display: flex; align-items: center; gap: 6px; }
.mr-input input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--vf-glass-edge); border-radius: 12px; color: var(--vf-ink); background: var(--vf-glass-strong); font: 600 1.05rem/1 system-ui, sans-serif; text-align: right; box-sizing: border-box; }
.mr-input span { color: var(--vf-muted); font-size: .8rem; min-width: 28px; }
.mr-fixed { font-weight: 700; color: #176b45; }
.mr-result { grid-column: 1 / -1; font-size: .76rem; color: var(--vf-muted); }
.mr-result.is-ok { color: #176b45; } .mr-result.is-warning { color: #8a5a00; font-weight: 650; } .mr-result.is-error { color: #b3261e; font-weight: 700; }
.mr-save { justify-self: end; }
html[data-theme="dark"] .mr-badge { color: #ffd98a; background: rgba(217, 153, 0, .16); }
html[data-theme="dark"] .mr-row.is-done .mr-badge, html[data-theme="dark"] .mr-fixed, html[data-theme="dark"] .mr-result.is-ok { color: #8be3b6; }
html[data-theme="dark"] .mr-row.is-done .mr-badge { background: rgba(43, 170, 105, .18); }
html[data-theme="dark"] .mr-result.is-warning { color: #ffd98a; } html[data-theme="dark"] .mr-result.is-error { color: #ff9c94; }
@media (max-width: 520px) { .mr-meter { grid-template-columns: 1fr; } .mr-save { justify-self: stretch; } }
.cm-meters { display: grid; gap: 6px; padding-top: 4px; border-top: 1px solid var(--vf-glass-line, rgba(16, 32, 58, .08)); }
.cm-meters div { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px; font-size: .86rem; }
.cm-meters small { color: var(--vf-muted); font-size: .72rem; }

/* Auswahllisten mit Suchfeld (select-search.js) */
select.vf-searchable { cursor: pointer; }
select.vf-searchable.is-invalid { border-color: #b54a3d !important; box-shadow: 0 0 0 4px rgba(181, 74, 61, .12) !important; }
.vf-select-search { position: fixed; z-index: 2147483000; display: grid; gap: 6px; padding: 8px; border: 1px solid var(--vf-glass-edge, rgba(15, 40, 80, .12)); border-radius: 14px;
  background: var(--vf-glass-strong, #fff); background-color: #fff; box-shadow: 0 18px 50px rgba(10, 30, 70, .22); color: var(--vf-ink, #0f1b2d); font-size: .92rem; }
.vf-select-search[hidden] { display: none; }
.vf-select-search.is-up { grid-template-rows: auto; }
.vf-select-search-input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #cbd6e6; border-radius: 10px; color: inherit; background: #f6f9fd; font: inherit; outline: none; }
.vf-select-search-input:focus { border-color: var(--vf-blue, #0b5be0); box-shadow: 0 0 0 3px rgba(11, 91, 224, .14); background: #fff; }
.vf-select-search-list { margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.vf-select-search-list li { padding: 9px 11px; border-radius: 8px; cursor: pointer; line-height: 1.3; }
.vf-select-search-list li.is-active { background: rgba(11, 91, 224, .1); color: var(--vf-blue, #0b5be0); }
.vf-select-search-list li.is-selected { font-weight: 700; }
.vf-select-search-list li.is-selected::after { content: " ✓"; }
.vf-select-search-list li.is-empty { color: var(--vf-muted, #5b6b80); font-style: italic; }
.vf-select-search-list li.is-disabled { color: var(--vf-muted, #8a96a8); cursor: not-allowed; opacity: .6; }
.vf-select-search-list .vf-select-search-group { padding: 10px 11px 4px; color: var(--vf-muted, #5b6b80); font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; cursor: default; }
.vf-select-search-empty { margin: 4px 11px 8px; color: var(--vf-muted, #5b6b80); }
html[data-theme="dark"] .vf-select-search { border-color: rgba(150, 180, 230, .22); background: #121c2e; color: #e8eefb; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .vf-select-search-input { border-color: #33476a; color: #e8eefb; background: #0b1424; }
html[data-theme="dark"] .vf-select-search-input:focus { background: #0b1424; border-color: #6ea0ff; }
html[data-theme="dark"] .vf-select-search-list li.is-active { background: rgba(110, 160, 255, .16); color: #b9d0ff; }
html[data-theme="dark"] .vf-select-search-list li.is-empty, html[data-theme="dark"] .vf-select-search-list .vf-select-search-group, html[data-theme="dark"] .vf-select-search-empty { color: #a9b8d0; }

/* Versand & Druck (Druckpaket Rechnungen) */
.ip-ready { display: block; padding: 14px 18px; border-left: 4px solid #1f8f5a; }
.ip-ready a { font-weight: 700; }
.ip-metrics small { display: block; margin-top: 4px; color: var(--vf-muted, #5b6b80); font-size: .78rem; }
.ip-options { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 14px; }
.ip-table td small { display: block; color: var(--vf-muted, #5b6b80); font-size: .76rem; }
.ip-table td small.ip-warn { color: #a3441f; font-weight: 650; }
.ip-mail { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 650; white-space: nowrap; background: #eef2f7; color: #4a5a70; }
.ip-mail.is-sent { background: #e3f4ea; color: #17673f; }
.ip-mail.is-pending { background: #fff3d6; color: #8a5a00; }
.ip-mail.is-failed { background: #fde6e3; color: #a3341f; }
html[data-theme="dark"] .ip-mail { background: rgba(150, 170, 200, .16); color: #c9d5e8; }
html[data-theme="dark"] .ip-mail.is-sent { background: rgba(60, 190, 120, .18); color: #8fe0b2; }
html[data-theme="dark"] .ip-mail.is-pending { background: rgba(240, 180, 60, .18); color: #f3cf7d; }
html[data-theme="dark"] .ip-mail.is-failed { background: rgba(240, 100, 80, .18); color: #ffaa9c; }
html[data-theme="dark"] .ip-table td small.ip-warn { color: #ffb48f; }
html[data-theme="dark"] .ip-metrics small, html[data-theme="dark"] .ip-table td small { color: #a9b8d0; }

/* Datencheck „Daten vollständig?“ */
.dc-colonies { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; align-items: stretch; }
.dc-colony { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: inherit; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, border-color .15s ease; }
.dc-colony:hover { transform: translateY(-1px); border-color: var(--vf-glass-edge, rgba(15, 40, 80, .14)); }
.dc-colony.is-selected { border-color: var(--vf-blue, #0b5be0); }
.dc-colony strong { display: block; }
.dc-colony small { color: var(--vf-muted, #5b6b80); }
.dc-light { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: #1f9d5c; box-shadow: 0 0 0 5px rgba(31, 157, 92, .16); }
.dc-colony.is-warning .dc-light { background: #e0a100; box-shadow: 0 0 0 5px rgba(224, 161, 0, .18); }
.dc-colony.is-error .dc-light { background: #d2442f; box-shadow: 0 0 0 5px rgba(210, 68, 47, .16); }
.dc-all { align-self: center; justify-self: start; }
.dc-check { margin-bottom: 12px; padding: 0; overflow: hidden; }
.dc-check > summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; }
.dc-check > summary::-webkit-details-marker { display: none; }
.dc-check > summary strong { flex: 1; }
.dc-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: .85rem; color: #fff; background: #4c6fd8; }
.dc-check.is-error .dc-mark { background: #d2442f; }
.dc-check.is-warning .dc-mark { background: #c98f00; }
.dc-check.is-clear .dc-mark { background: #1f9d5c; }
.dc-count { padding: 3px 10px; border-radius: 999px; font-style: normal; font-weight: 700; font-size: .82rem; background: #eef2f7; color: #4a5a70; }
.dc-check.is-error:not(.is-clear) .dc-count { background: #fde6e3; color: #a3341f; }
.dc-check.is-warning:not(.is-clear) .dc-count { background: #fff3d6; color: #8a5a00; }
.dc-check.is-clear .dc-count { background: #e3f4ea; color: #17673f; }
.dc-check.is-clear > summary strong { color: var(--vf-muted, #5b6b80); font-weight: 600; }
.dc-help { margin: 0 20px 12px; color: var(--vf-muted, #5b6b80); }
.dc-check .table-wrap { margin: 0 20px 18px; }
html[data-theme="dark"] .dc-colony small, html[data-theme="dark"] .dc-help, html[data-theme="dark"] .dc-check.is-clear > summary strong { color: #a9b8d0; }
html[data-theme="dark"] .dc-count { background: rgba(150, 170, 200, .16); color: #c9d5e8; }
html[data-theme="dark"] .dc-check.is-error:not(.is-clear) .dc-count { background: rgba(240, 100, 80, .18); color: #ffaa9c; }
html[data-theme="dark"] .dc-check.is-warning:not(.is-clear) .dc-count { background: rgba(240, 180, 60, .18); color: #f3cf7d; }
html[data-theme="dark"] .dc-check.is-clear .dc-count { background: rgba(60, 190, 120, .18); color: #8fe0b2; }
html[data-theme="dark"] .dc-colony.is-selected { border-color: #6ea0ff; }
.dc-table td.dc-fix { white-space: nowrap; text-align: right; }
.dc-table td.dc-fix a { font-weight: 700; }

/* Navigation: Duoton-Icons (feine Linie + getönte Fläche in Markenblau) */
.dashboard-sidebar .vf-icon, .nav-group-icon .vf-icon { stroke-width: 1.55; --vf-duo: #1a7cff; --vf-duo-o: .12; transition: --vf-duo-o .2s ease; }
html[data-theme] body.dashboard-page .dashboard-nav a:hover > span .vf-icon { --vf-duo-o: .2; }
html[data-theme] body.dashboard-page .dashboard-nav a.is-active > span .vf-icon,
.nav-group.has-active > .nav-group-toggle .nav-group-icon .vf-icon { --vf-duo-o: .26; stroke-width: 1.7; }
html[data-theme="dark"] .dashboard-sidebar .vf-icon, html[data-theme="dark"] .nav-group-icon .vf-icon { --vf-duo: #5cb4ff; --vf-duo-o: .16; }
html[data-theme="dark"] body.dashboard-page .dashboard-nav a:hover > span .vf-icon { --vf-duo-o: .26; }
html[data-theme="dark"] body.dashboard-page .dashboard-nav a.is-active > span .vf-icon,
html[data-theme="dark"] .nav-group.has-active > .nav-group-toggle .nav-group-icon .vf-icon { --vf-duo-o: .34; }
html[data-theme] body.dashboard-page .dashboard-nav a > span:first-child { border-radius: 10px; }
html[data-theme] body.dashboard-page .dashboard-nav a.is-active > span:first-child {
  background: linear-gradient(145deg, rgba(26, 124, 255, .14), rgba(26, 124, 255, .05)); border-color: rgba(26, 124, 255, .18);
  box-shadow: 0 6px 14px -8px rgba(26, 124, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .7);
}
html[data-theme="dark"] body.dashboard-page .dashboard-nav a.is-active > span:first-child {
  background: linear-gradient(145deg, rgba(92, 180, 255, .2), rgba(92, 180, 255, .06)); border-color: rgba(92, 180, 255, .24);
  box-shadow: 0 6px 16px -8px rgba(26, 124, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}
@media (prefers-reduced-motion: reduce) { .dashboard-sidebar .vf-icon { transition: none; } }
html[data-theme] body.dashboard-page .dashboard-nav .nav-group:not(.is-pinned) .nav-group-items a > span .vf-icon { width: 17px; height: 17px; }

/* Mitgliederversammlung: Einladung */
.as-deadline { display: grid; gap: 4px; padding: 16px 20px; border-left: 4px solid #1f9d5c; }
.as-deadline.is-soon { border-left-color: #e0a100; }
.as-deadline.is-late { border-left-color: #d2442f; }
.as-deadline span { color: var(--vf-muted, #5b6b80); }
.as-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; margin-bottom: 16px; }
.as-text label { display: grid; gap: 6px; margin-bottom: 12px; }
.as-text textarea { width: 100%; min-height: 220px; font: inherit; line-height: 1.5; }
.as-text small, .as-agenda-hint, .as-outbox { color: var(--vf-muted, #5b6b80); }
.as-proof { padding: 0; overflow: hidden; }
.as-proof > summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; }
.as-proof > summary::-webkit-details-marker { display: none; }
.as-proof > summary strong { flex: 1; }
.as-proof .table-wrap { margin: 0 20px 18px; }
.as-detail p { margin: 0 0 12px; }
html[data-theme="dark"] .as-deadline span, html[data-theme="dark"] .as-text small, html[data-theme="dark"] .as-agenda-hint, html[data-theme="dark"] .as-outbox { color: #a9b8d0; }

/* Vorprüfung Kasse */
.pa-status { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 16px; border-left: 4px solid #d2442f; }
.pa-status.is-ready { border-left-color: #1f9d5c; }
.pa-status.is-open .dc-light { background: #d2442f; box-shadow: 0 0 0 5px rgba(210, 68, 47, .16); }
.pa-status strong { display: block; font-size: 1.05rem; }
.pa-status small, .pa-kind { color: var(--vf-muted, #5b6b80); }
.pa-kind { display: block; font-size: .78rem; }
.pa-statement { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pa-statement input { width: 160px; min-height: 38px; }
html[data-theme="dark"] .pa-status small, html[data-theme="dark"] .pa-kind { color: #a9b8d0; }

/* Zählertausch */
.mx-common { display: grid; gap: 12px; padding: 16px 20px; }
.mx-common label { display: grid; gap: 4px; max-width: 260px; }
.mx-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin: 10px 0 6px; }
.mx-fields label { display: grid; gap: 4px; font-size: .82rem; color: var(--vf-muted, #5b6b80); }
.mx-fields input { min-height: 42px; }
.mr-result.is-ok { color: #17673f; }
@media (max-width: 720px) { .mx-fields { grid-template-columns: 1fr 1fr; } .mx-fields .mr-save { grid-column: 1 / -1; } }
html[data-theme="dark"] .mx-fields label { color: #a9b8d0; }
html[data-theme="dark"] .mr-result.is-ok { color: #8fe0b2; }

/* Mitgliedskonto, Gutschriften */
.cr-balance.has-credit strong { color: #17673f; }
.cr-form { display: grid; gap: 12px; align-content: start; }
.cr-form label { display: grid; gap: 5px; }
.cr-form label > span { font-size: .82rem; color: var(--vf-muted, #5b6b80); }
.cr-form label.cm-toggle { display: flex; }
.cr-lines { display: grid; gap: 8px; }
.cr-line { display: grid; grid-template-columns: 1fr 120px; gap: 8px; }
.cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-cancel summary { cursor: pointer; color: var(--vf-muted, #5b6b80); }
.cr-cancel form { display: flex; gap: 6px; margin-top: 6px; }
.cr-release-toggle { margin-bottom: 8px; font-size: .86rem; }
.bank-member form > div { display: flex; gap: 8px; }
.bank-member form > input, .bank-member form > div > input { flex: 1; min-width: 0; }
.bank-member form { display: grid; gap: 8px; }
.bank-member form > label.cm-toggle { display: flex; align-items: center; gap: 8px; justify-content: flex-start; font-weight: 600; text-transform: none; letter-spacing: 0; }
.bank-member form > label.cm-toggle input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; }
html[data-theme="dark"] .cr-balance.has-credit strong { color: #8fe0b2; }
html[data-theme="dark"] .cr-form label > span, html[data-theme="dark"] .cr-cancel summary { color: #a9b8d0; }
@media (max-width: 640px) { .cr-row, .cr-line { grid-template-columns: 1fr; } }
.cr-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 20px; margin-bottom: 14px; border-left: 4px solid #1f9d5c; }
.cr-offer span { flex: 1; color: var(--vf-muted, #5b6b80); }
html[data-theme="dark"] .cr-offer span { color: #a9b8d0; }

/* Kontoabstimmung (rc91) */
.bank-heading-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ka-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 0 0 18px; }
.ka-filter label { display: grid; gap: 4px; font-size: .85rem; }
.ka-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.ka-compare article { padding: 18px 20px; border-radius: 20px; background: var(--vf-surface, #fff); border: 1px solid rgba(15, 23, 42, .08); display: grid; gap: 4px; }
.ka-compare article span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #475569; font-weight: 700; }
.ka-compare article strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.ka-compare article small { color: #475569; }
.ka-compare.is-ok .ka-diff { background: #ecfdf5; border-color: #a7f3d0; }
.ka-compare.is-ok .ka-diff strong { color: #047857; }
.ka-compare.is-diff .ka-diff { background: #fff7ed; border-color: #fed7aa; }
.ka-compare.is-diff .ka-diff strong { color: #b45309; }
.ka-statement { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.ka-statement label { display: grid; gap: 4px; }
.ka-statement .ka-history { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: #475569; }
.ka-sum th { text-align: left; font-weight: 600; }
.ka-sum .ka-total th, .ka-sum .ka-total td { font-weight: 800; border-top: 2px solid rgba(15, 23, 42, .15); }
.ka-note { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fff7ed; color: #7c2d12; }
.ka-good h2 { color: #047857; }
.ka-group > p { margin: 0 0 12px; color: #334155; }
@media (max-width: 760px) { .ka-compare, .ka-statement { grid-template-columns: 1fr; } }
html[data-theme="dark"] .ka-compare article { background: rgba(15, 23, 42, .72); border-color: rgba(148, 163, 184, .18); }
html[data-theme="dark"] .ka-compare article span, html[data-theme="dark"] .ka-compare article small, html[data-theme="dark"] .ka-statement .ka-history, html[data-theme="dark"] .ka-group > p { color: #cbd5e1; }
html[data-theme="dark"] .ka-compare.is-ok .ka-diff { background: rgba(6, 78, 59, .45); border-color: rgba(52, 211, 153, .35); }
html[data-theme="dark"] .ka-compare.is-ok .ka-diff strong, html[data-theme="dark"] .ka-good h2 { color: #6ee7b7; }
html[data-theme="dark"] .ka-compare.is-diff .ka-diff { background: rgba(120, 53, 15, .45); border-color: rgba(251, 191, 36, .35); }
html[data-theme="dark"] .ka-compare.is-diff .ka-diff strong { color: #fcd34d; }
html[data-theme="dark"] .ka-note { background: rgba(120, 53, 15, .45); color: #fde68a; }

/* Mitglieder: Archiv, Austritt, Löschen (rc92) */
.action-menu-list form { margin: 0; display: grid; }
.action-menu-list button { all: unset; padding: 10px 12px; border-radius: 8px; color: var(--ink, #0f172a); font-size: .86rem; font-weight: 560; cursor: pointer; }
.action-menu-list button:hover, .action-menu-list button:focus-visible { background: var(--brand-soft, #eef4ff); }
html .action-menu-list a.danger-item, html[data-theme] .action-menu-list a.danger-item { color: #b42318; }
html .action-menu-list a.danger-item:hover, html[data-theme] .action-menu-list a.danger-item:hover { background: #fef3f2; color: #912018; }
html[data-theme="dark"] .action-menu-list button { color: var(--vf-ink, #e2e8f0); }
html[data-theme="dark"] .action-menu-list a.danger-item, html[data-theme="dark"] .dashboard-main .action-menu-list a.danger-item { color: #fda29b; }
html[data-theme="dark"] .action-menu-list a.danger-item:hover { background: rgba(180, 35, 24, .25); color: #fecdca; }
.ml-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 14px; background: rgba(15, 23, 42, .05); }
.ml-tabs a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: #334155; text-decoration: none; }
.ml-tabs a span { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(15, 23, 42, .08); font-size: .8rem; }
.ml-tabs a.ml-tab-active { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
html[data-theme="dark"] .ml-tabs { background: rgba(148, 163, 184, .12); }
html[data-theme="dark"] .ml-tabs a { color: #cbd5e1; }
html[data-theme="dark"] .ml-tabs a span { background: rgba(148, 163, 184, .2); }
html[data-theme="dark"] .ml-tabs a.ml-tab-active { background: rgba(30, 41, 59, .95); color: #f8fafc; }
.lc-form { display: grid; gap: 14px; max-width: 760px; }
.lc-form label { display: grid; gap: 4px; }
.lc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lc-list { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.lc-warn { padding: 14px 16px; border-radius: 14px; background: #fff7ed; color: #7c2d12; }
.lc-danger { padding: 14px 16px; border-radius: 14px; background: #fef3f2; color: #7a271a; }
.lc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.danger-button { border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 700; color: #fff; background: #d92d20; cursor: pointer; }
.danger-button:hover { background: #b42318; }
.danger-button:disabled { opacity: .45; cursor: not-allowed; }
.lc-ok { color: #067647; font-weight: 600; }
.lc-blocked { color: #b54708; }
html[data-theme="dark"] .lc-warn { background: rgba(120, 53, 15, .45); color: #fde68a; }
html[data-theme="dark"] .lc-danger { background: rgba(122, 39, 26, .5); color: #fecdca; }
html[data-theme="dark"] .lc-ok { color: #75e0a7; }
html[data-theme="dark"] .lc-blocked { color: #fdb022; }
@media (max-width: 640px) { .lc-row { grid-template-columns: 1fr; } }

/* Bewegungen vor dem Stichtag (rc95) */
.bank-before-opening { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin: 0 0 16px; padding: 16px 18px; border-radius: 16px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.bank-before-opening > div:first-child { display: grid; gap: 4px; max-width: 760px; }
.bank-before-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bank-before-actions form { margin: 0; }
html[data-theme="dark"] .bank-before-opening { background: rgba(120, 53, 15, .45); border-color: rgba(251, 191, 36, .35); color: #fde68a; }
/* Kontoabstimmung-Knopf im blauen Kopfbereich lesbar (Korrektur zu rc91) */
html .bank-heading-actions a.bank-secondary, html[data-theme] .bank-heading-actions a.bank-secondary { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); color: #fff; font-size: 13px; }
html .bank-heading-actions a.bank-secondary:hover, html[data-theme] .bank-heading-actions a.bank-secondary:hover { background: rgba(255, 255, 255, .26); color: #fff; }
html .bank-heading-actions a.bank-secondary .vf-icon { color: #fff; }

/* Mitgliederbereich: Mein Konto (rc97) */
.mp-credit { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(16, 185, 129, .35); background: linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(59, 130, 246, .06)); }
.mp-credit .vf-icon { width: 26px; height: 26px; color: #059669; flex: 0 0 auto; }
.mp-credit > div { display: grid; gap: 2px; }
.mp-credit small { color: var(--vf-muted); }
.mp-amount-cell { display: grid; justify-items: end; gap: 2px; }
.mp-amount-cell small { color: #b45309; font-weight: 600; white-space: nowrap; }
.mp-amount.is-struck { text-decoration: line-through; opacity: .6; }
.mp-row-three { grid-template-columns: minmax(0, 1fr) auto auto; }
.mp-pay { grid-column: 1 / -1; margin-top: 2px; border: 1px solid rgba(26, 124, 255, .25); border-radius: 16px; background: rgba(26, 124, 255, .05); }
.mp-pay summary { cursor: pointer; padding: 10px 14px; font-weight: 650; color: var(--vf-blue-ink); list-style: none; }
.mp-pay summary::-webkit-details-marker { display: none; }
.mp-pay summary::after { content: " ▾"; }
.mp-pay[open] summary::after { content: " ▴"; }
.mp-pay p { margin: 0 14px 8px; color: var(--vf-muted); font-size: .88rem; }
.mp-pay dl { margin: 0; padding: 0 14px 12px; display: grid; gap: 6px; }
.mp-pay dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.mp-pay dt { color: var(--vf-muted); font-size: .86rem; }
.mp-pay dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.mp-mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mp-copy { border: 1px solid var(--vf-glass-line); background: var(--vf-glass); color: var(--vf-ink-2); border-radius: 10px; padding: 5px 10px; font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; }
.mp-copy.is-done { color: #047857; border-color: rgba(16, 185, 129, .45); }
.mp-subhead { margin: 22px 0 6px; font-size: 1rem; }
@media (max-width: 640px) { .mp-pay dl > div { grid-template-columns: 1fr auto; } .mp-pay dt { grid-column: 1 / -1; } }
html[data-theme="dark"] .mp-credit .vf-icon { color: #6ee7b7; }
html[data-theme="dark"] .mp-amount-cell small { color: #fcd34d; }
html[data-theme="dark"] .mp-copy.is-done { color: #6ee7b7; }

/* Gemeinschaftsarbeit: Teilnahme entfernen (rc98) */
.cw-actions { white-space: nowrap; }
.cw-actions form { display: inline; margin-left: 12px; }
.cw-remove { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: #b42318; cursor: pointer; }
.cw-remove:hover { text-decoration: underline; }
.cw-remove-form { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.cw-hint { margin: 0 0 12px; }
html[data-theme="dark"] .cw-remove { color: #fda29b; }

/* Konten-Übersicht, Kontoblatt, Umbuchung (rc99) */
.ko-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 16px; color: #475569; font-weight: 600; }
.ko-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
.ko-dot.is-green { background: #12b76a; } .ko-dot.is-yellow { background: #f79009; } .ko-dot.is-red { background: #f04438; }
.ko-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ko-card { display: grid; gap: 12px; align-content: start; padding: 18px 20px; border-radius: 22px; background: var(--vf-surface, #fff); border: 1px solid rgba(15, 23, 42, .08); border-top: 4px solid #12b76a; box-shadow: 0 10px 30px rgba(15, 23, 42, .05); }
.ko-card.is-yellow { border-top-color: #f79009; } .ko-card.is-red { border-top-color: #f04438; }
.ko-card header { display: flex; gap: 10px; align-items: flex-start; }
.ko-card header .ko-dot { margin-top: 6px; }
.ko-card header small { color: #475569; font-weight: 600; }
.ko-card h2 { margin: 2px 0 0; font-size: 1.15rem; }
.ko-card h2 a { color: inherit; text-decoration: none; }
.ko-balance { font-size: 1.8rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ko-facts { margin: 0; display: grid; gap: 4px; }
.ko-facts > div { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; }
.ko-facts dt { color: #475569; } .ko-facts dd { margin: 0; font-weight: 650; text-align: right; }
.ko-notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ko-notes li { padding: 8px 10px; border-radius: 10px; font-size: .86rem; background: #fffaeb; color: #93370d; }
.ko-notes li.is-red { background: #fef3f2; color: #912018; }
.ko-ok { margin: 0; color: #067647; font-weight: 600; }
.ko-card footer { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 650; font-size: .9rem; }
.kb-metrics .kb-flow { display: flex; gap: 10px; font-size: 1.25rem; }
.kb-metrics .kb-flow em { font-style: normal; }
.kb-table .kb-edge td { background: rgba(15, 23, 42, .03); }
.kb-table .kb-transfer small { color: #6941c6; }
.kb-mark { text-align: center; width: 36px; }
.kb-check { color: #067647; font-weight: 800; }
.kb-missing { color: #98a2b3; }
.kb-legend { font-size: .85rem; }
.kb-count { margin-top: 12px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 16px; padding: 4px 16px; }
.kb-count summary { cursor: pointer; padding: 10px 0; font-weight: 700; }
.kb-count-form { display: grid; gap: 12px; padding-bottom: 14px; }
.kb-denoms { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.kb-denoms label { display: grid; gap: 2px; font-size: .82rem; font-weight: 650; }
.kb-count-total { padding: 10px 12px; border-radius: 12px; background: rgba(26, 124, 255, .07); }
.kb-statements { margin: 12px 0 0; font-size: .86rem; }
.bank-transfer-link { font-weight: 650; font-size: .9rem; color: #6941c6; text-decoration: none; }
.bank-transfer-link:hover { text-decoration: underline; }
html[data-theme="dark"] .ko-card { background: rgba(15, 23, 42, .72); border-color: rgba(148, 163, 184, .18); box-shadow: none; }
html[data-theme="dark"] .ko-card header small, html[data-theme="dark"] .ko-facts dt, html[data-theme="dark"] .ko-legend { color: #cbd5e1; }
html[data-theme="dark"] .ko-notes li { background: rgba(120, 53, 15, .45); color: #fde68a; }
html[data-theme="dark"] .ko-notes li.is-red { background: rgba(122, 39, 26, .5); color: #fecdca; }
html[data-theme="dark"] .ko-ok, html[data-theme="dark"] .kb-check { color: #75e0a7; }
html[data-theme="dark"] .kb-table .kb-edge td { background: rgba(148, 163, 184, .08); }
html[data-theme="dark"] .kb-table .kb-transfer small, html[data-theme="dark"] .bank-transfer-link { color: #bdb4fe; }
html[data-theme="dark"] .kb-count { border-color: rgba(148, 163, 184, .25); }
html[data-theme="dark"] .kb-count-total { background: rgba(59, 130, 246, .15); }
/* Formularfelder in Abstimmung, Anfangsbestand, Umbuchung, Kontoblatt, Austritt (rc99) */
.lc-form label > span, .ka-filter label > span, .ka-statement label > span { font-size: .82rem; font-weight: 650; color: #475569; }
.lc-form input:not([type="checkbox"]):not([type="radio"]), .lc-form select,
.ka-filter input, .ka-filter select, .ka-statement input, .kb-count-form input:not([type="checkbox"]) {
  width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: 9px 12px; border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .16); background: #fff; color: #0f172a; font: inherit; }
.lc-form select, .ka-filter select { appearance: auto; }
.lc-form input:focus, .lc-form select:focus, .ka-filter input:focus, .ka-filter select:focus, .ka-statement input:focus, .kb-count-form input:focus {
  outline: 3px solid rgba(26, 124, 255, .28); outline-offset: 1px; border-color: #1a7cff; }
.lc-form input[readonly] { background: rgba(15, 23, 42, .04); }
.lc-form select:disabled { background: rgba(15, 23, 42, .04); color: #334155; }
.lc-row > label { min-width: 0; }
html[data-theme="dark"] .lc-form label > span, html[data-theme="dark"] .ka-filter label > span, html[data-theme="dark"] .ka-statement label > span { color: #cbd5e1; }
html[data-theme="dark"] .lc-form input:not([type="checkbox"]):not([type="radio"]), html[data-theme="dark"] .lc-form select,
html[data-theme="dark"] .ka-filter input, html[data-theme="dark"] .ka-filter select, html[data-theme="dark"] .ka-statement input,
html[data-theme="dark"] .kb-count-form input:not([type="checkbox"]) { background: rgba(15, 23, 42, .6); border-color: rgba(148, 163, 184, .3); color: #f1f5f9; }
html[data-theme="dark"] .lc-form input[readonly], html[data-theme="dark"] .lc-form select:disabled { background: rgba(148, 163, 184, .12); color: #cbd5e1; }

/* Barkasse: Schnellerfassung, Barzahlung, Belege (rc100) */
.cq-page { max-width: 720px; }
.cq-head h1 { margin: 4px 0; font-size: clamp(1.8rem, 6vw, 2.4rem); }
.cq-head p { margin: 0 0 14px; color: #475569; }
.cq-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cq-switch label { position: relative; }
.cq-switch input { position: absolute; opacity: 0; inset: 0; }
.cq-switch span { display: block; text-align: center; padding: 14px; border-radius: 14px; border: 2px solid rgba(15, 23, 42, .12); font-weight: 800; font-size: 1.05rem; cursor: pointer; }
.cq-switch input:checked + span { border-color: #1a7cff; background: rgba(26, 124, 255, .1); color: #1450b8; }
.cq-switch input[value="income"]:checked + span { border-color: #12b76a; background: rgba(18, 183, 106, .1); color: #067647; }
.cq-switch input:focus-visible + span { outline: 3px solid rgba(26, 124, 255, .35); }
.cq-amount input { font-size: 1.8rem !important; font-weight: 800; min-height: 60px !important; text-align: right; }
.cq-photo { display: grid; gap: 4px; }
.cq-photo small { color: #64748b; }
.cq-submit { min-height: 52px; font-size: 1.05rem; }
.cq-voucher { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(18, 183, 106, .35); background: rgba(18, 183, 106, .08); }
.cq-voucher > div { display: grid; gap: 2px; }
.cq-invoices { display: grid; gap: 8px; }
.cq-invoice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .1); cursor: pointer; }
.cq-invoice span { display: grid; } .cq-invoice small { color: #64748b; } .cq-invoice em { font-style: normal; font-weight: 800; }
.kb-settle summary { cursor: pointer; font-weight: 650; color: #b54708; white-space: nowrap; }
.kb-settle form { display: grid; gap: 8px; margin-top: 8px; min-width: 240px; }
.kb-settle input { min-height: 40px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(15, 23, 42, .16); font: inherit; }
html[data-theme="dark"] .cq-head p, html[data-theme="dark"] .cq-photo small, html[data-theme="dark"] .cq-invoice small { color: #cbd5e1; }
html[data-theme="dark"] .cq-switch span, html[data-theme="dark"] .cq-invoice { border-color: rgba(148, 163, 184, .3); }
html[data-theme="dark"] .cq-switch input:checked + span { color: #bfdbfe; background: rgba(59, 130, 246, .2); }
html[data-theme="dark"] .cq-switch input[value="income"]:checked + span { color: #a6f4c5; background: rgba(18, 183, 106, .18); }
html[data-theme="dark"] .cq-voucher { background: rgba(18, 183, 106, .14); }
html[data-theme="dark"] .kb-settle summary { color: #fdb022; }
html[data-theme="dark"] .kb-settle input { background: rgba(15, 23, 42, .6); color: #f1f5f9; border-color: rgba(148, 163, 184, .3); }
.cq-form .cm-toggle { display: flex !important; flex-direction: row !important; gap: 12px; align-items: flex-start; font-weight: 650; line-height: 1.35; cursor: pointer; }
.cq-form .cm-toggle input[type="checkbox"] { flex: 0 0 22px; width: 22px !important; height: 22px !important; min-height: 0 !important; margin: 1px 0 0; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; accent-color: #1a7cff; }
.cq-form [data-reason] { margin-top: 4px; }
.cq-invoice input[type="checkbox"] { width: 22px; height: 22px; accent-color: #1a7cff; }
html[data-theme="dark"] .kb-table .kb-edge td.amount-positive { color: #6ce9a6 !important; }
html[data-theme="dark"] .kb-table .kb-edge td.amount-negative { color: #fda29b !important; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.ch-actions a { flex: 1 1 150px; text-align: center; }

/* Cora-Karten: echte Cora-Kugel statt Buchstabe (rc102) */
.cora-card > .cora-card-orb, .data-panel > .cora-card-orb { flex: 0 0 auto; }
.data-panel > .cora-card-orb { margin-bottom: 10px; }

/* Kassenbericht (rc104) */
.kb-report .cora-card { margin-bottom: 16px; }
.kr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.kr-table td small { display: block; color: #64748b; font-size: .8rem; }
.kr-table tfoot th { border-top: 2px solid rgba(15, 23, 42, .5); }
.kr-caption td { font-size: .78rem; font-style: italic; color: #64748b; padding-top: 12px !important; }
.kr-big { font-size: 1.8rem; font-weight: 800; margin: 4px 0; }
.kr-quote { border-left: 3px solid #1a7cff; padding: 4px 0 4px 12px; color: #334155; }
.kr-counts { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.kr-digest { font-size: .78rem; margin-top: 16px; }
html[data-theme="dark"] .kr-table td small, html[data-theme="dark"] .kr-caption td { color: #cbd5e1; }
html[data-theme="dark"] .kr-table tfoot th { border-top-color: rgba(226, 232, 240, .5); }
html[data-theme="dark"] .kr-quote { color: #e2e8f0; border-left-color: #60a5fa; }
.kb-report > .data-panel, .kb-report > .kr-grid { margin-top: 16px; }

/* Spendenbescheinigungen (rc105) */
.sp-page { max-width: 1100px; }
.sp-page > .data-panel, .sp-page > .cora-card { margin-top: 16px; }
.sp-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sp-group { display: grid; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid rgba(15, 23, 42, .1); }
.sp-group header { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; }
.sp-line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.sp-lines .sp-line { grid-template-columns: 1fr auto; padding: 6px 0; border-bottom: 1px solid rgba(15, 23, 42, .08); }
.sp-line small { display: block; color: #64748b; }
.sp-line em { font-style: normal; font-weight: 700; }
.sp-line input[type="checkbox"] { width: 20px; height: 20px; accent-color: #1a7cff; }
.sp-field small { display: block; color: #64748b; margin-top: 4px; }
.sp-field ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.sp-field ul label { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.sp-settings .cm-toggle, .sp-page .cm-toggle { display: flex !important; flex-direction: row !important; gap: 10px; align-items: flex-start; }
.sp-page .cm-toggle input[type="checkbox"] { flex: 0 0 20px; width: 20px !important; height: 20px !important; min-height: 0 !important; padding: 0 !important; accent-color: #1a7cff; }
tr.is-muted td { opacity: .6; }
html[data-theme="dark"] .sp-group { border-color: rgba(148, 163, 184, .3); }
html[data-theme="dark"] .sp-line small, html[data-theme="dark"] .sp-field small { color: #cbd5e1; }
html[data-theme="dark"] .sp-lines .sp-line { border-bottom-color: rgba(148, 163, 184, .2); }

/* Zählerablesung per Handy (rc106) */
.mw-page { max-width: 640px; }
.mw-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.mw-head h1 { margin: 2px 0 0; font-size: clamp(1.7rem, 6vw, 2.2rem); }
.mw-colony select { min-height: 44px; border-radius: 12px; padding: 6px 10px; font: inherit; }
.mw-progress { margin: 14px 0 10px; display: grid; gap: 6px; font-weight: 650; }
.mw-bar { height: 10px; border-radius: 999px; background: rgba(15, 23, 42, .08); overflow: hidden; }
.mw-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1a7cff, #12b76a); transition: width .3s; }
.mw-queue { padding: 10px 14px; border-radius: 14px; background: rgba(247, 144, 9, .12); border: 1px solid rgba(247, 144, 9, .35); color: #93370d; margin-bottom: 10px; }
.mw-queue p { margin: 2px 0; }
.mw-queue.has-problems { background: rgba(240, 68, 56, .1); border-color: rgba(240, 68, 56, .35); color: #b42318; }
.mw-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.mw-jump { flex: 1; }
.mw-jump input { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, .16); padding: 8px 12px; font: inherit; }
.mw-only { display: flex; gap: 6px; align-items: center; white-space: nowrap; font-weight: 600; }
.mw-only input { width: 20px; height: 20px; accent-color: #1a7cff; }
.mw-card { display: grid; gap: 14px; }
.mw-garden h2 { margin: 2px 0; font-size: 1.9rem; }
.mw-garden p { margin: 0; color: #475569; }
.mw-meter { display: grid; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid rgba(15, 23, 42, .1); }
.mw-meter-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.mw-meter-head small { flex-basis: 100%; color: #64748b; }
.mw-badge { font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(26, 124, 255, .12); color: #1450b8; }
.mw-badge.is-ok { background: rgba(18, 183, 106, .14); color: #067647; }
.mw-last { margin: 0; color: #475569; }
.mw-input { display: flex; align-items: center; gap: 8px; }
.mw-input input { flex: 1; min-height: 60px; font-size: 1.8rem; font-weight: 800; text-align: right; border-radius: 14px; border: 2px solid rgba(15, 23, 42, .16); padding: 6px 14px; font-family: inherit; }
.mw-input input:focus { outline: none; border-color: #1a7cff; box-shadow: 0 0 0 4px rgba(26, 124, 255, .18); }
.mw-input span { font-weight: 700; min-width: 2.2em; }
.mw-photo span { display: flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 12px; border: 1px dashed rgba(26, 124, 255, .5); color: #1450b8; font-weight: 700; cursor: pointer; }
.mw-preview { max-width: 100%; max-height: 220px; border-radius: 12px; object-fit: contain; }
.mw-result { margin: 0; font-weight: 600; }
.mw-result.is-ok { color: #067647; } .mw-result.is-warning { color: #b54708; } .mw-result.is-error { color: #b42318; }
.mw-nav { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 12px; background: linear-gradient(180deg, transparent, var(--vf-page-bg, #f4f7fb) 30%); }
.mw-nav button { min-height: 52px; }
.mw-hint { font-size: .85rem; }
.mr-photo-link { font-weight: 600; white-space: nowrap; }
html[data-theme="dark"] .mw-bar { background: rgba(148, 163, 184, .2); }
html[data-theme="dark"] .mw-queue { color: #fec84b; background: rgba(247, 144, 9, .15); }
html[data-theme="dark"] .mw-queue.has-problems { color: #fda29b; }
html[data-theme="dark"] .mw-garden p, html[data-theme="dark"] .mw-last, html[data-theme="dark"] .mw-meter-head small { color: #cbd5e1; }
html[data-theme="dark"] .mw-meter { border-color: rgba(148, 163, 184, .3); }
html[data-theme="dark"] .mw-input input, html[data-theme="dark"] .mw-jump input { background: rgba(15, 23, 42, .6); color: #f1f5f9; border-color: rgba(148, 163, 184, .35); }
html[data-theme="dark"] .mw-badge { color: #bfdbfe; background: rgba(59, 130, 246, .22); }
html[data-theme="dark"] .mw-badge.is-ok { color: #a6f4c5; background: rgba(18, 183, 106, .2); }
html[data-theme="dark"] .mw-photo span { color: #bfdbfe; border-color: rgba(96, 165, 250, .6); }
html[data-theme="dark"] .mw-result.is-ok { color: #6ce9a6; } html[data-theme="dark"] .mw-result.is-warning { color: #fdb022; } html[data-theme="dark"] .mw-result.is-error { color: #fda29b; }
html[data-theme="dark"] .mw-nav { background: linear-gradient(180deg, transparent, #0b1220 30%); }
.mw-page, .mw-card, .mw-meter, .mw-meter > *, .mw-tools, .mw-jump { min-width: 0; }
.mw-input input { min-width: 0; width: 100%; }
.mw-preview { width: auto; max-width: min(100%, 320px); max-height: 180px; justify-self: start; }
.mw-photo { display: block; }
.mw-saved { margin: 0; padding: 8px 12px; border-radius: 12px; background: rgba(18, 183, 106, .1); color: #067647; font-weight: 600; font-size: .92rem; }
html[data-theme="dark"] .mw-saved { background: rgba(18, 183, 106, .18); color: #a6f4c5; }
/* rc131: Rundgang ohne Netz */
.mw-ready { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: .8rem; font-weight: 650;
  color: #175cd3; background: rgba(46, 144, 250, .1); border: 1px solid rgba(46, 144, 250, .28); }
.mw-ready[hidden] { display: none; }
.mw-ready::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2e90fa; box-shadow: 0 0 0 3px rgba(46, 144, 250, .2); }
.mw-offline { margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: rgba(46, 144, 250, .1); border: 1px solid rgba(46, 144, 250, .3); color: #1849a9; font-size: .92rem; }
html[data-theme="dark"] .mw-ready { color: #b2ddff; background: rgba(46, 144, 250, .16); }
html[data-theme="dark"] .mw-offline { color: #b2ddff; background: rgba(46, 144, 250, .14); }

/* rc133: Gartenbegehung per Handy */
.bw-garden { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.bw-earlier, .bw-current { display: grid; gap: 8px; }
.bw-earlier h3, .bw-current h3 { margin: 0; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: #64748b; }
.bw-earlier { padding: 12px 14px; border-radius: 16px; background: rgba(247, 144, 9, .08); border: 1px solid rgba(247, 144, 9, .25); }
.bw-earlier ul, .bw-current ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bw-finding { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(15, 23, 42, .08); }
.bw-finding i { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #f79009; }
.bw-finding.priority-note i { background: #2e90fa; } .bw-finding.priority-urgent i { background: #f04438; box-shadow: 0 0 0 3px rgba(240, 68, 56, .18); }
.bw-finding strong { display: block; } .bw-finding small { color: #64748b; } .bw-finding .is-overdue { color: #b42318; font-weight: 700; }
.bw-finding.is-pending { border-style: dashed; border-color: rgba(247, 144, 9, .6); }
.bw-add { min-height: 52px; font-size: 1.02rem; }
.bw-form { display: grid; gap: 14px; margin-top: 4px; padding: 16px; border-radius: 18px; border: 1px solid rgba(26, 124, 255, .25); background: rgba(26, 124, 255, .04); }
.bw-form h3 { margin: 0; font-size: 1.15rem; }
.bw-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.bw-form legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: .9rem; }
.bw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bw-chips button { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, .14); background: rgba(255, 255, 255, .8); font: inherit; font-weight: 600; font-size: .9rem; color: #1e293b; cursor: pointer; }
.bw-chips button.is-on { background: linear-gradient(135deg, #3d97ff, #1a6dff); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(26, 109, 255, .9); }
.bw-suggest:empty { display: none; }
.bw-suggest button { background: rgba(26, 124, 255, .08); border-style: dashed; color: #1450b8; }
.bw-chips input[type=date] { min-height: 40px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, .14); padding: 4px 12px; font: inherit; }
.bw-field { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.bw-field small { font-weight: 500; color: #64748b; }
.bw-field input, .bw-field textarea { width: 100%; min-width: 0; min-height: 48px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, .16); padding: 10px 12px; font: inherit; font-weight: 500; font-size: 1rem; }
.bw-segment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 14px; background: rgba(15, 23, 42, .06); }
.bw-segment label { position: relative; }
.bw-segment input { position: absolute; opacity: 0; inset: 0; }
.bw-segment span { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 11px; font-weight: 650; font-size: .88rem; text-align: center; cursor: pointer; }
.bw-segment input:checked + span { background: #fff; box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .35); color: #1450b8; }
.bw-segment input:focus-visible + span { outline: 3px solid rgba(26, 124, 255, .4); }
.bw-photos { display: flex; flex-wrap: wrap; gap: 8px; } .bw-photos:empty { display: none; }
.bw-photos figure { position: relative; margin: 0; }
.bw-photos img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; display: block; }
.bw-photos button { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #0f172a; color: #fff; font-size: 1rem; cursor: pointer; }
.bw-photo-add[hidden] { display: none; }
.bw-form-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.bw-form-actions button { min-height: 50px; }
.finding-garden { display: inline-flex; margin-bottom: 4px; font-size: .78rem; font-weight: 700; color: #1450b8; }
.finding-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.finding-photos img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; display: block; }
.inspection-walk-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.inspection-walk-card p { margin: 4px 0 0; }
html[data-theme="dark"] .bw-finding { background: rgba(15, 23, 42, .5); border-color: rgba(148, 163, 184, .25); }
html[data-theme="dark"] .bw-finding small, html[data-theme="dark"] .bw-earlier h3, html[data-theme="dark"] .bw-current h3 { color: #cbd5e1; }
html[data-theme="dark"] .bw-form { background: rgba(26, 124, 255, .08); }
html[data-theme="dark"] .bw-chips button, html[data-theme="dark"] .bw-chips input[type=date], html[data-theme="dark"] .bw-field input, html[data-theme="dark"] .bw-field textarea { background: rgba(15, 23, 42, .6); color: #f1f5f9; border-color: rgba(148, 163, 184, .35); }
html[data-theme="dark"] .bw-chips button.is-on { background: linear-gradient(135deg, #3d97ff, #1a6dff); color: #fff; }
html[data-theme="dark"] .bw-suggest button { color: #bfdbfe; }
html[data-theme="dark"] .bw-segment { background: rgba(148, 163, 184, .14); }
html[data-theme="dark"] .bw-segment input:checked + span { background: rgba(59, 130, 246, .3); color: #fff; }
html[data-theme="dark"] .finding-garden { color: #93c5fd; }

/* Bereichsseite Finanzen (rc107) */
.fh-page > section + section { margin-top: 16px; }
.fh-tasks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.fh-tasks li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 8px 12px; border-radius: 12px; border-left: 4px solid #1a7cff; background: rgba(26, 124, 255, .06); }
.fh-tasks li.is-red { border-left-color: #f04438; background: rgba(240, 68, 56, .07); }
.fh-tasks li.is-yellow { border-left-color: #f79009; background: rgba(247, 144, 9, .08); }
.fh-tasks a { font-weight: 700; white-space: nowrap; }
.fh-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fh-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.fh-account { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .1); color: inherit; text-decoration: none; }
.fh-account:hover { border-color: rgba(26, 124, 255, .5); }
.fh-account span:nth-child(2) { display: grid; min-width: 0; }
.fh-account small { color: #64748b; }
.fh-account em { font-style: normal; font-weight: 800; white-space: nowrap; }
.fh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fh-tile { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .1); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.fh-tile:hover { border-color: rgba(26, 124, 255, .5); transform: translateY(-1px); }
.fh-tile strong { color: #1450b8; }
.fh-tile span { color: #475569; font-size: .9rem; }
html[data-theme="dark"] .fh-tasks li { background: rgba(59, 130, 246, .12); }
html[data-theme="dark"] .fh-tasks li.is-red { background: rgba(240, 68, 56, .14); }
html[data-theme="dark"] .fh-tasks li.is-yellow { background: rgba(247, 144, 9, .14); }
html[data-theme="dark"] .fh-account, html[data-theme="dark"] .fh-tile { border-color: rgba(148, 163, 184, .3); }
html[data-theme="dark"] .fh-account small, html[data-theme="dark"] .fh-tile span { color: #cbd5e1; }
html[data-theme="dark"] .fh-tile strong { color: #93c5fd; }
@media (prefers-reduced-motion: reduce) { .fh-tile { transition: none; } .fh-tile:hover { transform: none; } }
.fh-cora > div { flex: 1 1 auto; min-width: 0; max-width: none; }
.fh-cora .fh-tasks { max-width: none; }
@media (max-width: 640px) {
  .fh-cora { flex-direction: column; align-items: stretch; }
  .fh-cora > .cora-card-orb { align-self: flex-start; }
  .fh-tasks li { padding: 8px 10px; }
}
.cora-card .fh-tasks { margin: 8px 0 0 !important; padding: 0 !important; width: 100%; }

/* Bereichsseiten: Aktionskarten, Themen-Kacheln, Aufgaben-Pills (rc109) */
.vf-actions, .vf-tile, .vf-action, .vf-account, .tone-blue { --tone-a: #1a7cff; --tone-b: #5cb4ff; --tone-ink: #0a4bc2; --tone-soft: rgba(26, 124, 255, .1); }
.tone-violet { --tone-a: #7b6cff; --tone-b: #b39dff; --tone-ink: #4b3fc4; --tone-soft: rgba(123, 108, 255, .11); }
.tone-teal { --tone-a: #0fa39a; --tone-b: #4fd6c3; --tone-ink: #0b6e68; --tone-soft: rgba(15, 163, 154, .11); }
.tone-amber { --tone-a: #f08a00; --tone-b: #ffc15c; --tone-ink: #9a4d00; --tone-soft: rgba(240, 138, 0, .12); }
.tone-rose { --tone-a: #e8467c; --tone-b: #ff9ab8; --tone-ink: #a8174a; --tone-soft: rgba(232, 70, 124, .1); }
.tone-sky { --tone-a: #1aa6e8; --tone-b: #7fd4ff; --tone-ink: #0b6996; --tone-soft: rgba(26, 166, 232, .11); }

.vf-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.vf-action { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 76px;
  padding: 14px 16px; border-radius: 20px; text-decoration: none; color: var(--vf-ink); isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .68)); border: 1px solid var(--vf-glass-line);
  box-shadow: var(--vf-highlight), var(--vf-glass-shadow); backdrop-filter: var(--vf-glass-blur); -webkit-backdrop-filter: var(--vf-glass-blur);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, border-color .2s; }
.vf-action::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .2s;
  background: radial-gradient(120% 90% at 0% 0%, var(--tone-soft), transparent 60%); }
.vf-action:hover, .vf-action:focus-visible { transform: translateY(-2px); box-shadow: var(--vf-highlight), var(--vf-glass-shadow-hover); border-color: rgba(26, 124, 255, .28); }
.vf-action:hover::after, .vf-action:focus-visible::after { opacity: 1; }
.vf-action:focus-visible { outline: 3px solid rgba(26, 124, 255, .35); outline-offset: 2px; }
.vf-action-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: white;
  background: linear-gradient(145deg, var(--tone-b), var(--tone-a)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 18px -8px var(--tone-a); }
.vf-action-icon .vf-icon { width: 24px; height: 24px; --vf-duo: white; --vf-duo-o: .28; }
.vf-action-text { display: grid; gap: 2px; min-width: 0; }
.vf-action-text strong { font-size: 1rem; font-weight: 750; letter-spacing: -.01em; }
.vf-action-text small { color: var(--vf-muted); font-size: .82rem; line-height: 1.3; }
.vf-action-arrow { width: 18px; height: 18px; color: var(--tone-ink); opacity: .35; transition: transform .2s, opacity .2s; }
.vf-action:hover .vf-action-arrow, .vf-action:focus-visible .vf-action-arrow { opacity: 1; transform: translateX(3px); }
.vf-action.is-primary { color: white; border-color: rgba(255, 255, 255, .25);
  background: linear-gradient(135deg, #3a95ff 0%, #1a7cff 45%, #0b5be0 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -14px rgba(11, 91, 224, .65); }
.vf-action.is-primary::after { background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .22), transparent 60%); }
.vf-action.is-primary .vf-action-icon { background: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.vf-action.is-primary .vf-action-text small { color: rgba(255, 255, 255, .85); }
.vf-action.is-primary .vf-action-arrow { color: white; opacity: .7; }

.vf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vf-tile { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 13px; padding: 15px 16px; border-radius: 18px;
  text-decoration: none; color: var(--vf-ink); background: rgba(255, 255, 255, .55); border: 1px solid var(--vf-glass-edge);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, border-color .2s, background .2s; }
.vf-tile:hover, .vf-tile:focus-visible { transform: translateY(-2px); background: rgba(255, 255, 255, .9); border-color: rgba(26, 124, 255, .22);
  box-shadow: var(--vf-highlight), var(--vf-glass-shadow); }
.vf-tile:focus-visible { outline: 3px solid rgba(26, 124, 255, .35); outline-offset: 2px; }
.vf-tile-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--tone-ink); background: var(--tone-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone-a) 18%, transparent); }
.vf-tile-icon .vf-icon { width: 21px; height: 21px; --vf-duo: var(--tone-a); --vf-duo-o: .2; }
.vf-tile-text { display: grid; gap: 3px; min-width: 0; }
.vf-tile-text strong { font-weight: 750; color: var(--vf-ink); }
.vf-tile-text span { color: var(--vf-muted); font-size: .88rem; line-height: 1.35; }
.vf-tile-arrow { width: 17px; height: 17px; margin-top: 3px; color: var(--tone-ink); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.vf-tile:hover .vf-tile-arrow, .vf-tile:focus-visible .vf-tile-arrow { opacity: 1; transform: none; }

.fh-tasks .fh-task-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .86rem; font-weight: 700;
  text-decoration: none; color: var(--vf-blue-ink); background: rgba(255, 255, 255, .85); border: 1px solid rgba(26, 124, 255, .22);
  box-shadow: 0 1px 2px rgba(15, 27, 45, .05); transition: background .15s, border-color .15s, transform .15s; }
.fh-tasks .fh-task-link .vf-icon { width: 15px; height: 15px; transition: transform .15s; }
.fh-tasks .fh-task-link:hover, .fh-tasks .fh-task-link:focus-visible { background: white; border-color: rgba(26, 124, 255, .45); }
.fh-tasks .fh-task-link:hover .vf-icon { transform: translateX(2px); }
.fh-tasks li { align-items: center; }
.fh-tasks li.is-red .fh-task-link { color: #b42318; border-color: rgba(240, 68, 56, .3); }
.fh-tasks li.is-yellow .fh-task-link { color: #93370d; border-color: rgba(247, 144, 9, .35); }

html[data-theme="dark"] .vf-action { color: #f1f5f9; background: linear-gradient(160deg, rgba(30, 41, 59, .82), rgba(15, 23, 42, .66));
  border-color: rgba(148, 163, 184, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 34px -16px rgba(0, 0, 0, .6); }
html[data-theme="dark"] .vf-action:hover { border-color: rgba(96, 165, 250, .45); }
html[data-theme="dark"] .vf-action-text small, html[data-theme="dark"] .vf-tile-text span { color: #cbd5e1; }
html[data-theme="dark"] .vf-action-arrow, html[data-theme="dark"] .vf-tile-arrow { color: #93c5fd; }
html[data-theme="dark"] .vf-action.is-primary { background: linear-gradient(135deg, #2f80ff, #1660d8 55%, #0c47b0); color: white; border-color: rgba(147, 197, 253, .3); }
html[data-theme="dark"] .vf-tile { background: rgba(30, 41, 59, .5); border-color: rgba(148, 163, 184, .18); }
html[data-theme="dark"] .vf-tile:hover { background: rgba(30, 41, 59, .85); border-color: rgba(96, 165, 250, .4); }
html[data-theme="dark"] .vf-tile-text strong { color: #f1f5f9; }
html[data-theme="dark"] .vf-tile-icon { color: color-mix(in srgb, var(--tone-b) 85%, white); background: color-mix(in srgb, var(--tone-a) 22%, transparent); }
html[data-theme="dark"] .fh-tasks .fh-task-link { background: rgba(15, 23, 42, .7); color: #bfdbfe; border-color: rgba(96, 165, 250, .35); }
html[data-theme="dark"] .fh-tasks li.is-red .fh-task-link { color: #fda29b; border-color: rgba(253, 162, 155, .35); }
html[data-theme="dark"] .fh-tasks li.is-yellow .fh-task-link { color: #fec84b; border-color: rgba(254, 200, 75, .35); }
@media (max-width: 640px) { .vf-actions { grid-template-columns: 1fr; } .vf-action { min-height: 66px; } }
@media (prefers-reduced-motion: reduce) { .vf-action, .vf-tile, .vf-action-arrow, .vf-tile-arrow, .fh-task-link .vf-icon { transition: none; }
  .vf-action:hover, .vf-tile:hover { transform: none; } }

/* Kontokarten und Ampel-Status (rc110) */
.vf-status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: .76rem; font-weight: 750;
  letter-spacing: .01em; white-space: nowrap; border: 1px solid transparent; }
.vf-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent), 0 0 10px color-mix(in srgb, currentColor 55%, transparent); }
.vf-status.is-green { color: #067647; background: rgba(18, 183, 106, .1); border-color: rgba(18, 183, 106, .25); }
.vf-status.is-yellow { color: #b54708; background: rgba(247, 144, 9, .11); border-color: rgba(247, 144, 9, .3); }
.vf-status.is-red { color: #b42318; background: rgba(240, 68, 56, .09); border-color: rgba(240, 68, 56, .28); }
.vf-status.is-red i { animation: vf-status-pulse 2.4s ease-in-out infinite; }
@keyframes vf-status-pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent), 0 0 14px color-mix(in srgb, currentColor 60%, transparent); } }

.vf-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.vf-account { position: relative; display: grid; gap: 4px; padding: 16px 16px 14px; border-radius: 20px; text-decoration: none; color: var(--vf-ink); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .66)); border: 1px solid var(--vf-glass-line);
  box-shadow: var(--vf-highlight), var(--vf-glass-shadow); transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, border-color .2s; }
.vf-account::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; z-index: -1; background: linear-gradient(90deg, var(--status-a), var(--status-b)); opacity: .9; }
.vf-account.is-green { --status-a: #12b76a; --status-b: #6ce9a6; }
.vf-account.is-yellow { --status-a: #f79009; --status-b: #fdb022; }
.vf-account.is-red { --status-a: #f04438; --status-b: #fda29b; }
.vf-account:hover, .vf-account:focus-visible { transform: translateY(-2px); box-shadow: var(--vf-highlight), var(--vf-glass-shadow-hover); border-color: rgba(26, 124, 255, .25); }
.vf-account:focus-visible { outline: 3px solid rgba(26, 124, 255, .35); outline-offset: 2px; }
.vf-account header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.vf-account-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--tone-ink); background: var(--tone-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone-a) 18%, transparent); }
.vf-account-icon .vf-icon { width: 20px; height: 20px; --vf-duo: var(--tone-a); --vf-duo-o: .2; }
.vf-account-name { font-weight: 750; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vf-account-meta { color: var(--vf-muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-account-balance { margin-top: 8px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vf-account-balance.is-negative { color: #b42318; }
.vf-account footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(15, 27, 45, .07);
  font-size: .82rem; color: var(--vf-muted); }
.vf-account-reason { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.vf-account.is-yellow .vf-account-reason { color: #b54708; } .vf-account.is-red .vf-account-reason { color: #b42318; }
.vf-account-more { white-space: nowrap; }

/* Ampelpunkt in Konten-Übersicht und Barkasse im gleichen Stil */
.ko-dot { width: 10px !important; height: 10px !important; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent), 0 0 12px color-mix(in srgb, currentColor 50%, transparent) !important; background: currentColor !important; }
.ko-dot.is-green { color: #12b76a; } .ko-dot.is-yellow { color: #f79009; } .ko-dot.is-red { color: #f04438; }

html[data-theme="dark"] .vf-account { color: #f1f5f9; background: linear-gradient(160deg, rgba(30, 41, 59, .82), rgba(15, 23, 42, .64)); border-color: rgba(148, 163, 184, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 34px -16px rgba(0, 0, 0, .6); }
html[data-theme="dark"] .vf-account:hover { border-color: rgba(96, 165, 250, .45); }
html[data-theme="dark"] .vf-account-meta, html[data-theme="dark"] .vf-account footer { color: #cbd5e1; }
html[data-theme="dark"] .vf-account footer { border-top-color: rgba(148, 163, 184, .16); }
html[data-theme="dark"] .vf-account-icon { color: color-mix(in srgb, var(--tone-b) 85%, white); background: color-mix(in srgb, var(--tone-a) 22%, transparent); }
html[data-theme="dark"] .vf-account-balance.is-negative, html[data-theme="dark"] .vf-account.is-red .vf-account-reason { color: #fda29b; }
html[data-theme="dark"] .vf-account.is-yellow .vf-account-reason { color: #fec84b; }
html[data-theme="dark"] .vf-status.is-green { color: #6ce9a6; background: rgba(18, 183, 106, .14); border-color: rgba(108, 233, 166, .28); }
html[data-theme="dark"] .vf-status.is-yellow { color: #fec84b; background: rgba(247, 144, 9, .14); border-color: rgba(254, 200, 75, .3); }
html[data-theme="dark"] .vf-status.is-red { color: #fda29b; background: rgba(240, 68, 56, .14); border-color: rgba(253, 162, 155, .3); }
@media (prefers-reduced-motion: reduce) { .vf-status.is-red i { animation: none; } .vf-account { transition: none; } .vf-account:hover { transform: none; } }
.ko-card header { display: flex; align-items: flex-start; gap: 10px; }
.ko-card header > div { flex: 1 1 auto; min-width: 0; }
.ko-card header .vf-status { flex: 0 0 auto; margin-top: 2px; }
.fh-page > section + section, .fh-page > section + div { margin-top: 16px; }

/* rc111 · Bereichsseite Organisation: nächste Termine */
.og-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.og-agenda a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .08); background: rgba(255, 255, 255, .55); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.og-agenda a:hover { border-color: rgba(26, 124, 255, .45); transform: translateY(-1px); }
.og-agenda time { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(150deg, #1a7cff, #5cb4ff); color: #fff; line-height: 1; box-shadow: 0 6px 14px rgba(26, 124, 255, .25); }
.og-agenda time b { font-size: 1.15rem; }
.og-agenda time small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.og-agenda a > span { display: grid; min-width: 0; }
.og-agenda strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-agenda a > span small { color: var(--vf-muted, #5b6b80); }
.og-agenda .vf-icon { width: 18px; height: 18px; color: var(--vf-muted, #5b6b80); }
html[data-theme="dark"] .og-agenda a { background: rgba(22, 32, 54, .55); border-color: rgba(148, 163, 184, .16); }
html[data-theme="dark"] .og-agenda a > span small, html[data-theme="dark"] .og-agenda .vf-icon { color: #a9b8d0; }

/* rc112 · Jahreswechsel-Assistent */
.vf-status.is-grey { color: #475467; background: rgba(100, 116, 139, .1); border-color: rgba(100, 116, 139, .24); }
html[data-theme="dark"] .vf-status.is-grey { color: #cbd5e1; background: rgba(148, 163, 184, .12); border-color: rgba(148, 163, 184, .26); }
.ye-cora { align-items: center; }
.ye-cora p strong { color: var(--vf-ink); }
.ye-ring { --p: 0; flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#1a7cff calc(var(--p) * 1%), rgba(26, 124, 255, .12) 0); box-shadow: 0 10px 24px -10px rgba(26, 124, 255, .45); }
.ye-ring span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--vf-surface, #fff); font-weight: 800; font-size: 1.05rem; color: var(--vf-ink); }
.ye-cora.is-green .ye-ring { background: conic-gradient(#12b76a calc(var(--p) * 1%), rgba(18, 183, 106, .12) 0); }
html[data-theme="dark"] .ye-ring span { background: #111a2e; color: #f1f5f9; }
.ye-years { display: flex; gap: 6px; flex-wrap: wrap; }
.ye-years a { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--vf-muted, #5b6b80); border: 1px solid rgba(15, 23, 42, .1); background: rgba(255, 255, 255, .6); }
.ye-years a.is-active { color: #fff; background: linear-gradient(135deg, #2f80ff, #1660d8); border-color: transparent; }
html[data-theme="dark"] .ye-years a:not(.is-active) { color: #cbd5e1; background: rgba(30, 41, 59, .5); border-color: rgba(148, 163, 184, .2); }
.ye-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ye-steps > li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 0 0 18px; }
.ye-steps > li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: rgba(15, 23, 42, .1); }
.ye-steps > li.is-done:not(:last-child)::before { background: linear-gradient(#12b76a, rgba(18, 183, 106, .25)); }
.ye-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1660d8; background: rgba(26, 124, 255, .1); border: 2px solid rgba(26, 124, 255, .3); }
.ye-steps > li.is-open .ye-num { color: #b54708; background: rgba(247, 144, 9, .12); border-color: rgba(247, 144, 9, .45); }
.ye-steps > li.is-done .ye-num { color: #fff; background: linear-gradient(135deg, #32d583, #12b76a); border-color: transparent; box-shadow: 0 6px 14px -6px rgba(18, 183, 106, .6); }
.ye-steps > li.is-later .ye-num, .ye-steps > li.is-skipped .ye-num { color: #667085; background: rgba(100, 116, 139, .08); border-color: rgba(100, 116, 139, .22); }
.ye-num svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ye-body { min-width: 0; padding: 8px 0 0; }
.ye-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ye-head h3 { margin: 0; font-size: 1.02rem; }
.ye-why { margin: 2px 0 0; color: var(--vf-muted, #5b6b80); font-size: .88rem; }
.ye-detail { margin: 6px 0 0; }
.ye-steps > li.is-skipped .ye-head h3, .ye-steps > li.is-skipped .ye-detail { color: var(--vf-muted, #5b6b80); }
.ye-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ye-actions .fh-task-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .86rem; font-weight: 700;
  text-decoration: none; color: var(--vf-blue-ink); background: rgba(255, 255, 255, .85); border: 1px solid rgba(26, 124, 255, .22); }
.ye-actions .fh-task-link .vf-icon { width: 15px; height: 15px; }
.ye-actions .fh-task-link:hover { background: #fff; border-color: rgba(26, 124, 255, .45); }
.ye-steps > li.is-open .ye-actions .fh-task-link:first-child { color: #fff; background: linear-gradient(135deg, #2f80ff, #1660d8); border-color: transparent; }
html[data-theme="dark"] .ye-steps > li:not(:last-child)::before { background: rgba(148, 163, 184, .2); }
html[data-theme="dark"] .ye-why, html[data-theme="dark"] .ye-steps > li.is-skipped .ye-detail { color: #a9b8d0; }
html[data-theme="dark"] .ye-actions .fh-task-link { color: #bfdbfe; background: rgba(30, 41, 59, .7); border-color: rgba(96, 165, 250, .3); }
html[data-theme="dark"] .ye-num { color: #93c5fd; }
@media (max-width: 640px) { .ye-cora .ye-ring { align-self: flex-start; } }
html[data-theme="dark"] .ye-steps > li.is-open .ye-actions .fh-task-link:first-child { color: #fff; background: linear-gradient(135deg, #2f80ff, #1660d8); border-color: transparent; }
.fh-cora > .ye-ring { flex: 0 0 92px; width: 92px; max-width: 92px; height: 92px; }
.ye-years { margin-top: 16px; }
.ye-years + section { margin-top: 12px; }
.ye-items { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 2px; }
.ye-items li::marker { color: #f79009; }

/* rc113 · Adresshilfe (address-lookup.js) */
.vf-addr { position: relative; }
.vf-addr > input { width: 100%; }
.vf-addr-list { position: fixed; z-index: 2147483000; max-height: 320px; overflow-y: auto; padding: 6px;
  border: 1px solid var(--vf-glass-edge, rgba(15, 40, 80, .12)); border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(10, 30, 70, .22); color: var(--vf-ink, #0f1b2d); }
.vf-addr-list[hidden] { display: none; }
.vf-addr-option { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 11px; border-radius: 9px; cursor: pointer; }
.vf-addr-option small { color: var(--vf-muted, #5b6b80); white-space: nowrap; }
.vf-addr-option:hover, .vf-addr-option.is-active { background: rgba(11, 91, 224, .1); color: var(--vf-blue, #0b5be0); }
.vf-addr-empty { padding: 9px 11px; color: var(--vf-muted, #5b6b80); font-style: italic; }
.vf-addr-source { padding: 6px 11px 2px; margin-top: 4px; border-top: 1px solid rgba(15, 23, 42, .07); color: var(--vf-muted, #5b6b80); font-size: .7rem; }
.vf-addr-hint { display: block; min-height: 0; margin-top: 4px; font-size: .8rem; color: var(--vf-muted, #5b6b80); }
.vf-addr-hint:empty { display: none; }
.vf-addr-hint.is-ok { color: #067647; }
.vf-addr-hint.is-ok::before { content: "✓ "; font-weight: 800; }
.vf-addr-hint.is-warn, .vf-addr-hint.is-number { color: #b54708; }
.vf-addr-fix { margin-left: 4px; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(247, 144, 9, .45); background: rgba(247, 144, 9, .1); color: #93370d; font: inherit; font-weight: 700; cursor: pointer; }
.vf-switch-row { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.vf-switch-row input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--vf-blue, #0b5be0); }
.vf-switch-row > span { display: grid; gap: 4px; }
.vf-switch-row small { color: var(--vf-muted, #5b6b80); line-height: 1.45; }
html[data-theme="dark"] .vf-addr-list { border-color: rgba(150, 180, 230, .22); background: #121c2e; color: #e8eefb; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .vf-addr-option:hover, html[data-theme="dark"] .vf-addr-option.is-active { background: rgba(110, 160, 255, .16); color: #b9d0ff; }
html[data-theme="dark"] .vf-addr-option small, html[data-theme="dark"] .vf-addr-empty, html[data-theme="dark"] .vf-addr-source, html[data-theme="dark"] .vf-addr-hint, html[data-theme="dark"] .vf-switch-row small { color: #a9b8d0; }
html[data-theme="dark"] .vf-addr-source { border-top-color: rgba(148, 163, 184, .16); }
html[data-theme="dark"] .vf-addr-hint.is-ok { color: #6ce9a6; }
html[data-theme="dark"] .vf-addr-hint.is-warn, html[data-theme="dark"] .vf-addr-hint.is-number { color: #fec84b; }
html[data-theme="dark"] .vf-addr-fix { color: #fec84b; background: rgba(247, 144, 9, .14); }

/* rc114 · Jahresablesung im Mitgliederportal */
.mp-campaign { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(26, 124, 255, .28);
  background: linear-gradient(135deg, rgba(61, 151, 255, .12), rgba(90, 99, 245, .08)); color: var(--vf-ink); }
.mp-campaign > div { display: grid; gap: 3px; min-width: 0; }
.mp-campaign span:not(.mp-campaign-count) { color: var(--vf-muted); font-size: .88rem; }
.mp-campaign-count { flex: 0 0 auto; display: flex; align-items: baseline; justify-content: center; padding-top: 16px; white-space: nowrap; width: 58px; height: 58px; border-radius: 16px; color: #fff; font-size: .9rem;
  background: linear-gradient(135deg, #3d97ff, #1a6dff 60%, #5a63f5); box-shadow: 0 12px 24px -14px rgba(26, 124, 255, .9); }
.mp-campaign-count b { font-size: 1.35rem; line-height: 1; }
.mp-campaign.is-done { border-color: rgba(18, 183, 106, .3); background: rgba(18, 183, 106, .09); }
.mp-campaign.is-done .mp-campaign-count { background: linear-gradient(135deg, #32d583, #12b76a); box-shadow: 0 12px 24px -14px rgba(18, 183, 106, .9); }
.mp-meter-pending.is-confirmed { color: #067647; background: rgba(18, 183, 106, .1); }
.mp-meter-input-wrap { position: relative; display: flex; align-items: center; }
.mp-meter-input-wrap input { width: 100%; min-height: 62px; font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; padding-right: 72px; font-variant-numeric: tabular-nums; }
.mp-meter-unit { position: absolute; right: 18px; color: var(--vf-muted); font-weight: 800; font-size: 1.05rem; pointer-events: none; }
.mp-photo-label { font-weight: 700; }
.mp-photo-pick { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 14px 16px; border-radius: 16px; cursor: pointer;
  border: 1.5px dashed rgba(26, 124, 255, .45); background: rgba(26, 124, 255, .06); color: var(--vf-ink); transition: background .15s, border-color .15s; }
.mp-photo-pick:hover { background: rgba(26, 124, 255, .1); }
.mp-photo-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mp-photo-pick:focus-within { outline: 3px solid rgba(26, 124, 255, .35); outline-offset: 2px; }
.mp-photo-icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, #3d97ff, #1a6dff 60%, #5a63f5); box-shadow: 0 10px 20px -12px rgba(26, 124, 255, .9); }
.mp-photo-icon svg { width: 24px; height: 24px; }
.mp-photo-text { display: grid; gap: 2px; min-width: 0; }
.mp-photo-text small { color: var(--vf-muted); }
.mp-photo-preview { margin-left: auto; width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(15, 23, 42, .18); }
.mp-photo-pick.has-photo { border-style: solid; border-color: rgba(18, 183, 106, .5); background: rgba(18, 183, 106, .08); }
.mp-photo-pick.has-photo .mp-photo-icon { background: linear-gradient(135deg, #32d583, #12b76a); }
html[data-theme="dark"] .mp-photo-pick { background: rgba(59, 130, 246, .1); border-color: rgba(96, 165, 250, .45); color: #e8eefb; }
html[data-theme="dark"] .mp-photo-text small { color: #a9b8d0; }
html[data-theme="dark"] .mp-photo-preview { border-color: #1e293b; }
.mp-confirm-unusual { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(247, 144, 9, .45); background: rgba(247, 144, 9, .1); }
.mp-confirm-unusual label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: #93370d; cursor: pointer; }
.mp-confirm-unusual input { width: 20px; height: 20px; margin-top: 1px; accent-color: #f79009; }
html[data-theme="dark"] .mp-campaign { border-color: rgba(96, 165, 250, .3); background: linear-gradient(135deg, rgba(61, 151, 255, .16), rgba(90, 99, 245, .1)); }
html[data-theme="dark"] .mp-campaign span:not(.mp-campaign-count) { color: #a9b8d0; }
html[data-theme="dark"] .mp-campaign.is-done { background: rgba(18, 183, 106, .12); }
html[data-theme="dark"] .mp-meter-pending.is-confirmed { color: #6ce9a6; background: rgba(18, 183, 106, .14); }
html[data-theme="dark"] .mp-confirm-unusual label { color: #fec84b; }
@media (max-width: 640px) { .mp-campaign { align-items: flex-start; } }
.mw-badge.is-member { background: rgba(122, 90, 248, .14); color: #5925dc; }
html[data-theme="dark"] .mw-badge.is-member { color: #d9d6fe; background: rgba(122, 90, 248, .26); }

/* rc115 · Knöpfe in Aktionszeilen (Zähler-Erinnerung) */
.ye-actions form { margin: 0; }
.ye-actions button.fh-task-link { cursor: pointer; font: inherit; font-size: .86rem; font-weight: 700; }
.ye-actions .fh-task-link.is-primary { color: #fff; background: linear-gradient(135deg, #2f80ff, #1660d8); border-color: transparent; }
.ye-actions .fh-task-link[disabled] { opacity: .5; cursor: not-allowed; }
html[data-theme="dark"] .ye-actions .fh-task-link.is-primary { color: #fff; background: linear-gradient(135deg, #2f80ff, #1660d8); border-color: transparent; }
.mr-reminder-table td small { display: block; color: var(--vf-muted, #5b6b80); }

/* rc117 · Mitgliederakte: Aktionsknöpfe umbrechen statt den Namen zu quetschen */
.member-hero { grid-template-columns: auto minmax(260px, 1fr) auto; }
.member-hero .dossier-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; max-width: 520px; }
.member-hero h1 { overflow-wrap: normal; word-break: normal; }
@media (max-width: 1100px) { .member-hero { grid-template-columns: auto minmax(0, 1fr); } .member-hero .dossier-actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; } }
.member-workspace .data-panel { min-width: 0; }
.info-grid dd, .info-grid dd a { overflow-wrap: anywhere; }
.finance-row > * { min-width: 0; }
.finance-row > :first-child { overflow-wrap: anywhere; }
@media (max-width: 560px) { .finance-row { flex-wrap: wrap; } }

/* rc118 · Assistent Mitgliederversammlung */
.ye-steps > li.is-late .ye-num { color: #fff; background: linear-gradient(135deg, #f97066, #d92d20); border-color: transparent; }
.aw-attendance { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-top: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(26, 124, 255, .06); border: 1px solid rgba(26, 124, 255, .18); }
.aw-attendance label { display: grid; gap: 4px; font-size: .86rem; font-weight: 700; }
.aw-attendance input[type="number"] { width: 140px; min-height: 42px; font-size: 1.15rem; font-weight: 800; }
.aw-attendance .aw-check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.aw-attendance .aw-check input { width: 18px; height: 18px; accent-color: var(--vf-blue, #0b5be0); }
.aw-attendance button.fh-task-link { cursor: pointer; font: inherit; font-size: .86rem; font-weight: 700; display: inline-flex; padding: 8px 14px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #2f80ff, #1660d8); border: 0; }
html[data-theme="dark"] .aw-attendance { background: rgba(59, 130, 246, .1); border-color: rgba(96, 165, 250, .25); }

/* rc119 · App installieren */
.vf-install { position: fixed; z-index: 2147482000; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid;
  grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; padding: 14px 16px; border-radius: 20px; color: #0f1b2d;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(26, 124, 255, .22); box-shadow: 0 24px 60px -20px rgba(10, 30, 70, .45);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.vf-install.is-visible { transform: none; opacity: 1; }
.vf-install img { width: 48px; height: 48px; border-radius: 12px; }
.vf-install div:not(.vf-install-actions) { display: grid; gap: 2px; min-width: 0; }
.vf-install span { color: #4b5b73; font-size: .86rem; line-height: 1.4; }
.vf-install-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.vf-install button { min-height: 40px; padding: 0 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.vf-install-go { border: 0; color: #fff; background: linear-gradient(135deg, #3d97ff, #1a6dff 60%, #5a63f5); }
.vf-install-later { border: 1px solid rgba(15, 23, 42, .14); color: #334155; background: transparent; }
@media (min-width: 700px) { .vf-install { left: auto; width: 420px; } }
html[data-theme="dark"] .vf-install { color: #eaf1ff; background: rgba(17, 26, 46, .94); border-color: rgba(96, 165, 250, .3); }
html[data-theme="dark"] .vf-install span { color: #a9b8d0; }
html[data-theme="dark"] .vf-install-later { color: #cbd5e1; border-color: rgba(148, 163, 184, .3); }

/* rc120 · Mitteilungen aufs Handy */
.dashboard-user { grid-template-columns: 34px minmax(0, 1fr) auto auto auto; }
.vf-install a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.push-hero { display: flex; align-items: center; gap: 20px; margin: 4px 0 22px; }
.push-hero h1 { margin: 4px 0 6px; }
.push-hero p { max-width: 640px; margin: 0; color: var(--vf-muted, #5b6b82); line-height: 1.55; }
.push-hero-mark { flex: 0 0 auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: #fff;
  background: linear-gradient(145deg, #3d97ff, #1a6dff 60%, #5a63f5); box-shadow: 0 18px 40px -18px rgba(26, 109, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.push-hero-mark .vf-icon { width: 30px; height: 30px; }
.push-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; align-items: start; }
.push-card { display: grid; gap: 14px; align-content: start; }
.push-card > header h2 { margin: 4px 0 0; font-size: 1.12rem; }
.push-card .vf-status { justify-self: start; }
.push-hint, .push-empty { margin: 0; color: var(--vf-muted, #5b6b82); line-height: 1.5; }
.push-hint:empty { display: none; }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.push-result { min-height: 1.2em; color: var(--vf-blue-ink, #1a5bd1); font-weight: 650; }
.push-topics { display: grid; gap: 8px; }
.push-topic { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(26, 124, 255, .14); background: rgba(26, 124, 255, .04); cursor: pointer; font-weight: 600; }
.push-topic input { width: 20px; height: 20px; accent-color: #1a6dff; }
.push-devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.push-devices li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(26, 124, 255, .05); }
.push-devices li > .vf-icon { width: 18px; height: 18px; color: #1a6dff; }
.push-devices div { display: grid; gap: 2px; min-width: 0; }
.push-devices small { color: var(--vf-muted, #5b6b82); }
.push-privacy { display: flex; gap: 10px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(15, 27, 45, .08); color: var(--vf-muted, #5b6b82); font-size: .86rem; line-height: 1.5; }
.push-privacy .vf-icon { flex: 0 0 auto; width: 18px; height: 18px; color: #1f9d63; }
html[data-theme="dark"] .push-topic { border-color: rgba(96, 165, 250, .22); background: rgba(96, 165, 250, .07); }
html[data-theme="dark"] .push-devices li { background: rgba(96, 165, 250, .08); }
html[data-theme="dark"] .push-privacy { border-color: rgba(148, 163, 184, .18); }
@media (max-width: 600px) { .push-hero { align-items: flex-start; } .push-hero-mark { width: 52px; height: 52px; border-radius: 16px; } }
.push-remove { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(15, 27, 45, .12); background: transparent; color: inherit; font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; }
.push-remove:hover { border-color: rgba(200, 60, 60, .4); color: #b4322b; }
html[data-theme="dark"] .push-remove { border-color: rgba(148, 163, 184, .3); }
.push-devices strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.push-actions [hidden] { display: none !important; }

/* rc122 · Passkeys – Anmelden mit Fingerabdruck oder Face ID */
.passkey-login { display: grid; gap: 12px; margin-top: 16px; }
.passkey-login[hidden] { display: none; }
.passkey-or { display: flex; align-items: center; gap: 12px; color: var(--vf-muted, #5b6b82); font-size: .8rem; font-weight: 600; text-transform: lowercase; }
.passkey-or::before, .passkey-or::after { content: ""; flex: 1; height: 1px; background: rgba(15, 27, 45, .1); }
.passkey-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 18px; border-radius: 16px; cursor: pointer;
  border: 1px solid rgba(26, 124, 255, .28); color: #1a5bd1; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(234, 243, 255, .9));
  font: inherit; font-weight: 700; box-shadow: inset 0 1px 0 #fff, 0 10px 24px -16px rgba(26, 109, 255, .6); transition: transform .2s ease, box-shadow .2s ease; }
.passkey-button:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 16px 30px -16px rgba(26, 109, 255, .8); }
.passkey-button:disabled { opacity: .6; cursor: progress; transform: none; }
.passkey-button .vf-icon { width: 22px; height: 22px; }
.passkey-status { margin: 0; color: #1a5bd1; font-size: .86rem; font-weight: 600; text-align: center; }
.passkey-status[hidden] { display: none; }
html[data-theme="dark"] .passkey-or::before, html[data-theme="dark"] .passkey-or::after { background: rgba(148, 163, 184, .2); }
html[data-theme="dark"] .passkey-button { color: #9fd0ff; border-color: rgba(96, 165, 250, .35); background: rgba(96, 165, 250, .1); box-shadow: none; }
html[data-theme="dark"] .passkey-status { color: #9fd0ff; }
.passkey-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; color: var(--vf-ink-2, #33415a); line-height: 1.45; }
.mfa-passkey-link, .mp-passkey-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 18px;
  border: 1px solid rgba(26, 124, 255, .18); color: inherit; background: rgba(26, 124, 255, .05); text-decoration: none; transition: background .2s ease; }
.mfa-passkey-link:hover, .mp-passkey-link:hover { background: rgba(26, 124, 255, .1); }
.mfa-passkey-link > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #3d97ff, #1a6dff 60%, #5a63f5); }
.mfa-passkey-link .vf-icon { width: 22px; height: 22px; }
.mfa-passkey-link small { display: block; color: var(--vf-muted, #5b6b82); }
.mfa-passkey-link i, .mp-passkey-link i { font-style: normal; color: #1a6dff; font-weight: 700; }
.mp-passkey-link { margin-top: 12px; padding: 12px 14px; font-size: .88rem; font-weight: 650; }
.mp-passkey-link .vf-icon { width: 20px; height: 20px; color: #1a6dff; }
html[data-theme="dark"] :is(.mfa-passkey-link, .mp-passkey-link) { border-color: rgba(96, 165, 250, .22); background: rgba(96, 165, 250, .07); }
html[data-theme] body.auth-page .auth-card .passkey-button { margin-top: 0; justify-content: center; color: #1a5bd1; border: 1px solid rgba(26, 124, 255, .3);
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(234, 243, 255, .95)); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -16px rgba(26, 109, 255, .6); font-weight: 700; }
html[data-theme] body.auth-page .auth-card .passkey-button:hover { background: #fff; }
html[data-theme="dark"] body.auth-page .auth-card .passkey-button { color: #9fd0ff; border-color: rgba(96, 165, 250, .35); background: rgba(96, 165, 250, .1); box-shadow: none; }

/* rc123 · Belege vom Handy: Foto aufnehmen, Datei wählen, „Teilen → VereinsFair“ */
.receipt-pick-buttons { display: none; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
[data-receipt-pick].is-touch .receipt-pick-buttons { display: flex; }
[data-receipt-pick].is-touch input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.receipt-pick-buttons button { flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 14px; border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(26, 124, 255, .25); color: #1a5bd1; background: rgba(26, 124, 255, .06); font: inherit; font-weight: 700; }
.receipt-pick-buttons .receipt-pick-camera { border-color: transparent; color: #fff; background: linear-gradient(135deg, #3d97ff, #1a6dff 60%, #5a63f5); box-shadow: 0 12px 24px -14px rgba(26, 109, 255, .9); }
.receipt-pick-buttons .vf-icon { width: 20px; height: 20px; }
.receipt-pick-file { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; margin-top: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(26, 124, 255, .06); }
.receipt-pick-file img { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.receipt-pick-file strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.receipt-pick-file small { color: var(--vf-muted, #5b6b82); font-size: .76rem; }
.receipt-pick-file.is-large { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 14px; }
.receipt-pick-file.is-large img { grid-row: auto; width: 100%; height: auto; max-height: 52vh; object-fit: contain; border-radius: 14px; background: #fff; }
.share-note b { font-weight: 700; overflow-wrap: anywhere; }
.share-preview { display: grid; gap: 8px; margin-bottom: 16px; }
.share-empty, .share-more { margin: 0; color: var(--vf-muted, #5b6b82); }
.share-choices { display: grid; gap: 10px; }
.share-choice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; text-decoration: none; color: inherit;
  border: 1px solid var(--vf-glass-line, rgba(15, 27, 45, .1)); background: var(--vf-glass-strong, rgba(255, 255, 255, .85)); box-shadow: var(--vf-highlight, none), 0 14px 30px -24px rgba(10, 30, 70, .5); transition: transform .2s ease; }
.share-choice:hover { transform: translateY(-1px); }
.share-choice > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #3d97ff, #1a6dff 60%, #5a63f5); }
.share-choice > span .vf-icon { width: 22px; height: 22px; }
.share-choice small { display: block; margin-top: 2px; color: var(--vf-muted, #5b6b82); }
.share-choice i { font-style: normal; font-weight: 700; color: #1a6dff; }
.share-discard { margin-top: 16px; }
html[data-theme="dark"] :is(.receipt-pick-file, .receipt-pick-buttons .receipt-pick-choose) { background: rgba(96, 165, 250, .08); }
html[data-theme="dark"] .receipt-pick-buttons .receipt-pick-choose { color: #9fd0ff; border-color: rgba(96, 165, 250, .3); }
.share-note[hidden] { display: none !important; }
.share-note { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.receipt-pick-file.is-large img { max-height: 30vh; }
.share-page .share-preview { max-width: 520px; }
@media (min-width: 961px) { .share-page .share-choices, .share-page .share-preview { max-width: 640px; } }

/* rc124 · QR-Aufkleber für Zähler */
.ql-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .ql-grid { grid-template-columns: 1fr; } }
.ql-form { display: grid; gap: 14px; }
.ql-form label { display: grid; gap: 6px; }
.ql-form small { color: var(--vf-muted, #5b6b82); }
.ql-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ql-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ql-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 10px; border: 1px dashed rgba(15, 27, 45, .2); background: #fff; color: #0f1b2d; }
.ql-list small { display: block; color: #1a5bd1; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ql-list strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.ql-list span:not(.ql-qr) { font-size: .78rem; }
.ql-qr { width: 46px; height: 46px; border-radius: 4px; background:
  conic-gradient(from 90deg at 30% 30%, #0f1b2d 25%, transparent 0) 0 0 / 12px 12px,
  repeating-linear-gradient(45deg, rgba(15, 27, 45, .5) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #0f1b2d; }
.mw-scan-row { display: grid; gap: 8px; margin: 10px 0 14px; }
.mw-scan { justify-self: stretch; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.02rem; }
.mw-scan .vf-icon { width: 22px; height: 22px; }
.mw-scan-tip { margin: 0; color: var(--vf-muted, #5b6b82); font-size: .88rem; }
.mw-labels { justify-self: start; font-size: .86rem; font-weight: 650; }
.mw-scanner { position: fixed; inset: 0; z-index: 2147482500; display: grid; place-items: center; align-content: center; gap: 18px; padding: 24px; background: rgba(4, 10, 22, .92); color: #fff; text-align: center; }
.mw-scanner[hidden] { display: none; }
.mw-scanner video { width: min(86vw, 420px); aspect-ratio: 1; object-fit: cover; border-radius: 24px; background: #000; }
.mw-scanner-frame { position: absolute; width: min(60vw, 280px); aspect-ratio: 1; border-radius: 22px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 9999px rgba(0, 0, 0, 0); pointer-events: none; margin-top: -60px; }
.mw-meter.is-scanned { animation: mw-scanned 1.6s ease; border-radius: 16px; }
@keyframes mw-scanned { 0% { box-shadow: 0 0 0 0 rgba(26, 109, 255, .55); } 60% { box-shadow: 0 0 0 10px rgba(26, 109, 255, 0); } 100% { box-shadow: none; } }
html[data-theme="dark"] .ql-list li { background: #f8fafc; }

/* rc125 · Handy-Etikettendrucker (Niimbot, Nelko) */
.ql-printer { margin-top: 18px; display: grid; gap: 14px; }
.ql-printer-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, auto); gap: 16px; align-items: end; }
.ql-printer-head h2 { margin: 4px 0 6px; }
.ql-printer-head p { margin: 0; color: var(--vf-muted, #5b6b82); line-height: 1.5; }
.ql-printer-form { display: grid; gap: 8px; }
.ql-printer-form label { display: grid; gap: 6px; }
.ql-share-all { justify-self: start; }
.ql-printer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.ql-printer-list li { display: grid; gap: 8px; padding: 10px; border-radius: 14px; border: 1px solid var(--vf-glass-line, rgba(15, 27, 45, .1)); background: rgba(255, 255, 255, .6); }
.ql-printer-list img { width: 100%; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 27, 45, .12); image-rendering: pixelated; }
.ql-printer-list small { display: block; color: var(--vf-muted, #5b6b82); }
.ql-help summary { cursor: pointer; font-weight: 650; }
.ql-help ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--vf-ink-2, #33415a); line-height: 1.45; }
@media (max-width: 760px) { .ql-printer-head { grid-template-columns: 1fr; } }
html[data-theme="dark"] .ql-printer-list li { background: rgba(255, 255, 255, .04); }
.ql-share-all[hidden] { display: none !important; }
.ql-printer, .ql-printer-head > *, .ql-printer-form, .ql-printer-list li { min-width: 0; }
.ql-printer-form select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
.ql-printer-list { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.ql-printer-list img { max-width: 100%; }
.ql-page .ql-grid > *, .ql-form select { min-width: 0; max-width: 100%; }

/* rc127 · Kalender-Abo */
.cal-actions { display: grid; gap: 8px; }
.cal-actions a { justify-content: center; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cal-actions .vf-icon { width: 20px; height: 20px; }
.cal-url { display: grid; gap: 6px; font-size: .88rem; color: var(--vf-muted, #5b6b82); }
.cal-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.cal-url-row input { min-width: 0; font: inherit; font-size: .8rem; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(15, 27, 45, .14); background: rgba(255, 255, 255, .8); color: inherit; }
.cal-details { display: grid; gap: 6px; }
.cal-details small { color: var(--vf-muted, #5b6b82); line-height: 1.45; }
html[data-theme="dark"] .cal-url-row input { background: rgba(255, 255, 255, .05); border-color: rgba(148, 163, 184, .25); }

/* rc128 · iPhone-Absturz bei langen Listen behoben
   Jede Tabellenzeile hatte auf dem Handy einen eigenen Glas-Weichzeichner (backdrop-filter). Bei Hunderten Zeilen
   (z. B. alle Zähler) lief Safari am iPhone der Grafikspeicher voll („wiederholt ein Problem aufgetreten“).
   Zeilen bekommen jetzt einen fast deckenden Hintergrund statt des Weichzeichners – optisch gleich, ohne Absturz. */
html[data-theme] :where(.app-page, .portal-page, .control-page) .member-table tr { -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 800px) {
  html[data-theme] :where(.app-page, .portal-page, .control-page) .member-table tr { background: rgba(255, 255, 255, .9); }
  html[data-theme="dark"] :where(.app-page, .portal-page, .control-page) .member-table tr { background: rgba(16, 24, 40, .92); }
  /* lange Listen: Zeilen außerhalb des Bildschirms erst beim Scrollen zeichnen */
  :where(.app-page, .portal-page, .control-page) .member-table tbody tr { content-visibility: auto; contain-intrinsic-size: auto 150px; }
}

/* rc134: Mängel aus der Begehung im Mitgliederbereich */
.mp-finding-list { display: grid; gap: 12px; }
.mp-finding { display: grid; gap: 10px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--vf-glass-line); background: rgba(255, 255, 255, .5); }
.mp-finding.priority-urgent.is-open, .mp-finding.priority-urgent.is-in_progress { border-color: rgba(240, 68, 56, .45); box-shadow: inset 4px 0 0 #f04438; }
.mp-finding-head { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; align-items: start; }
.mp-finding-head strong { display: block; font-size: 1.02rem; }
.mp-finding-head small { color: var(--vf-muted); line-height: 1.4; }
.mp-finding-dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: #f79009; box-shadow: 0 0 0 4px rgba(247, 144, 9, .16); }
.mp-finding.priority-note .mp-finding-dot { background: #2e90fa; box-shadow: 0 0 0 4px rgba(46, 144, 250, .16); }
.mp-finding.priority-urgent .mp-finding-dot { background: #f04438; box-shadow: 0 0 0 4px rgba(240, 68, 56, .18); }
.mp-finding.is-resolved .mp-finding-dot, .mp-finding.is-verified .mp-finding-dot { background: #12b76a; box-shadow: 0 0 0 4px rgba(18, 183, 106, .16); }
.mp-finding p { margin: 0; color: var(--vf-muted); line-height: 1.5; }
.mp-finding-photos, .mp-finding-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-finding-photos:empty, .mp-finding-previews:empty { display: none; }
.mp-finding-photos img, .mp-finding-previews img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.mp-finding-previews { margin-top: 10px; }
.mp-finding-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mp-finding-due { font-weight: 650; font-size: .88rem; }
.mp-finding-due.is-overdue { color: #b42318; }
.mp-finding-ref { display: grid; gap: 4px; padding: 14px 16px; margin-bottom: 14px; border-radius: 16px; background: rgba(247, 144, 9, .08); border: 1px solid rgba(247, 144, 9, .25); }
.mp-finding-ref small { color: var(--vf-muted); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.mp-finding-ref p { margin: 0; color: var(--vf-muted); }
.mp-finding-ref span { font-weight: 650; font-size: .88rem; }
.bw-share { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 12px; border-radius: 14px; background: rgba(18, 183, 106, .07); border: 1px solid rgba(18, 183, 106, .25); cursor: pointer; }
.bw-share[hidden] { display: none; }
.bw-share input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #12b76a; }
.bw-share strong { display: block; } .bw-share small { color: #475569; font-weight: 500; }
.finding-shared { display: inline-flex; margin: 4px 0; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #067647; background: rgba(18, 183, 106, .12); }
html[data-theme="dark"] .mp-finding { background: rgba(15, 23, 42, .45); }
html[data-theme="dark"] .mp-finding-due.is-overdue { color: #fda29b; }
html[data-theme="dark"] .bw-share small { color: #cbd5e1; }
html[data-theme="dark"] .finding-shared { color: #a6f4c5; background: rgba(18, 183, 106, .2); }

/* rc135: Begehungsschreiben */
.inspection-letter-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.inspection-letter-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.inspection-letter-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(15, 23, 42, .08); }
.inspection-letter-list li:first-child { border-top: 0; }
.inspection-letter-list small { color: #64748b; }
html[data-theme="dark"] .inspection-letter-list li { border-color: rgba(148, 163, 184, .2); }
html[data-theme="dark"] .inspection-letter-list small { color: #cbd5e1; }

/* rc136: Arbeitseinsatz per Handy */
.aw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; }
.aw-stats div { display: grid; gap: 2px; padding: 12px; border-radius: 16px; text-align: center; background: rgba(255, 255, 255, .6); border: 1px solid rgba(15, 23, 42, .08); }
.aw-stats strong { font-size: 1.6rem; line-height: 1; } .aw-stats span { font-size: .75rem; color: #64748b; font-weight: 650; }
.aw-tools { display: grid; gap: 12px; margin-bottom: 10px; }
.aw-all { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .aw-all > span { font-weight: 700; flex: 1 1 100%; }
.aw-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(15, 23, 42, .06); }
.aw-stepper button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; font: inherit; font-size: 1.25rem; font-weight: 700; color: #1450b8; cursor: pointer; box-shadow: 0 2px 6px -3px rgba(15, 23, 42, .4); }
.aw-stepper output { min-width: 4.2em; text-align: center; font-weight: 800; }
.aw-qr-open { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 50px; }
.aw-qr-open .vf-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.aw-search { display: block; margin-bottom: 8px; }
.aw-results[hidden] { display: none; }
.aw-results { display: grid; gap: 6px; margin-bottom: 10px; padding: 8px; border-radius: 16px; background: rgba(26, 124, 255, .06); border: 1px solid rgba(26, 124, 255, .2); }
.aw-results button { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 12px; border: 0; border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.aw-results small { grid-column: 1; color: #64748b; } .aw-results span { grid-row: 1 / 3; grid-column: 2; color: #1450b8; font-weight: 700; }
.aw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aw-person { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 18px; background: rgba(255, 255, 255, .65); border: 1px solid rgba(15, 23, 42, .09); transition: background .2s, border-color .2s; }
.aw-person.is-present { background: rgba(18, 183, 106, .09); border-color: rgba(18, 183, 106, .4); }
.aw-toggle { flex: 1 1 220px; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 4px; border: 0; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; min-width: 0; }
.aw-check { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(15, 23, 42, .25); background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .15s; }
.aw-person.is-present .aw-check { background: #12b76a; border-color: #12b76a; }
.aw-person.is-present .aw-check::after { content: ""; width: 9px; height: 16px; border: solid #fff; border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); }
.aw-toggle:active .aw-check { transform: scale(.9); }
.aw-name { display: grid; gap: 2px; min-width: 0; } .aw-name strong { overflow-wrap: anywhere; } .aw-name small { color: #64748b; }
.aw-name > span { display: flex; flex-wrap: wrap; gap: 4px; } .aw-name > span:empty { display: none; }
.aw-person .aw-stepper { margin-left: auto; }
.aw-empty { padding: 18px; text-align: center; color: #64748b; }
.aw-nav { grid-template-columns: 1fr 1.6fr; }
.mw-queue.is-ok { background: rgba(18, 183, 106, .1); border-color: rgba(18, 183, 106, .35); color: #067647; }
.aw-qr { position: fixed; inset: 0; z-index: 2147482500; overflow-y: auto; display: grid; place-items: center; padding: 16px; background: rgba(4, 10, 24, .72); backdrop-filter: blur(6px); }
.aw-qr[hidden] { display: none; }
.aw-qr-card { width: min(420px, 100%); display: grid; gap: 10px; justify-items: center; text-align: center; padding: 22px; border-radius: 26px; background: #fff; color: #0f172a; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.aw-qr-card h2 { margin: 0; } .aw-qr-card p { margin: 0; color: #475569; }
.aw-qr-code { width: min(300px, 76vw); } .aw-qr-code svg { display: block; width: 100%; height: auto; }
.aw-qr-card small { color: #94a3b8; overflow-wrap: anywhere; font-size: .72rem; }
.cw-heading-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mp-checkin { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 34px 22px; }
.mp-checkin h1 { margin: 0; font-size: clamp(1.6rem, 6vw, 2.2rem); }
.mp-checkin p { margin: 0; color: var(--vf-muted); line-height: 1.55; }
.mp-checkin-mark { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #32d583, #12b76a); box-shadow: 0 18px 40px -14px rgba(18, 183, 106, .9); animation: vf-reveal-up .5s ease both; }
.mp-checkin.is-problem .mp-checkin-mark { background: linear-gradient(135deg, #fdb022, #f79009); box-shadow: 0 18px 40px -14px rgba(247, 144, 9, .9); }
html[data-theme="dark"] .aw-stats div, html[data-theme="dark"] .aw-person { background: rgba(15, 23, 42, .5); border-color: rgba(148, 163, 184, .25); }
html[data-theme="dark"] .aw-person.is-present { background: rgba(18, 183, 106, .16); border-color: rgba(18, 183, 106, .45); }
html[data-theme="dark"] .aw-stats span, html[data-theme="dark"] .aw-name small { color: #cbd5e1; }
html[data-theme="dark"] .aw-stepper { background: rgba(148, 163, 184, .16); }
html[data-theme="dark"] .aw-stepper button, html[data-theme="dark"] .aw-results button, html[data-theme="dark"] .aw-check { background: rgba(15, 23, 42, .8); color: #bfdbfe; }
html[data-theme="dark"] .mw-queue.is-ok { color: #a6f4c5; }

/* rc137: Belege nachreichen */
.late-receipts { display: grid; gap: 10px; margin-top: 16px; }
.late-receipt { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 16px; background: rgba(18, 183, 106, .06); border: 1px solid rgba(18, 183, 106, .25); }
.late-receipt.is-withdrawn { grid-template-columns: 1fr; background: rgba(15, 23, 42, .04); border-color: rgba(15, 23, 42, .12); opacity: .8; }
.late-receipt.is-withdrawn strong { text-decoration: line-through; }
.late-receipt-thumb img { width: 84px; height: 110px; object-fit: cover; object-position: top; border-radius: 10px; display: block; border: 1px solid rgba(15, 23, 42, .1); background: #fff; }
.late-receipt strong { display: block; overflow-wrap: anywhere; }
.late-receipt small { display: block; color: #64748b; line-height: 1.45; }
.late-receipt p { margin: 6px 0 0; }
.late-receipt-hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.late-receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.late-receipt-withdraw summary { cursor: pointer; color: #b42318; font-weight: 600; font-size: .88rem; }
.late-receipt-withdraw form { display: grid; gap: 8px; margin-top: 8px; }
.late-receipt-withdraw label, .late-receipt-note { display: grid; gap: 4px; font-weight: 600; font-size: .88rem; }
.late-receipt-withdraw input, .late-receipt-note input { min-height: 44px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, .16); padding: 8px 12px; font: inherit; }
.late-receipt-withdrawn { color: #64748b; font-size: .88rem; }
.late-receipt-form { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border-radius: 18px; border: 1px dashed rgba(26, 124, 255, .45); background: rgba(26, 124, 255, .04); }
.late-receipt-form p { margin: 0; }
.late-receipt-form input[type=file] { max-width: 100%; }
.receipt-missing { color: #b42318; font-weight: 650; }
html[data-theme="dark"] .late-receipt { background: rgba(18, 183, 106, .1); }
html[data-theme="dark"] .late-receipt small, html[data-theme="dark"] .late-receipt-withdrawn { color: #cbd5e1; }
html[data-theme="dark"] .late-receipt-withdraw input, html[data-theme="dark"] .late-receipt-note input { background: rgba(15, 23, 42, .6); color: #f1f5f9; border-color: rgba(148, 163, 184, .35); }
html[data-theme="dark"] .receipt-missing { color: #fda29b; }
.filter-bar .filter-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.filter-bar .filter-check input { width: 18px; height: 18px; accent-color: #1a6dff; }
.receipt-missing-hint { margin: -4px 0 12px; }
.late-receipt-link { display: block; font-size: .85rem; }
.share-missing { display: grid; gap: 10px; margin-top: 22px; }
.share-missing h2 { margin: 0; font-size: 1.1rem; }
.share-missing p { margin: 0; }

/* rc138: Belege zuordnen (Cora) */
.late-receipt-cora { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px !important; padding: 8px 10px; border-radius: 12px; font-size: .88rem; line-height: 1.4; }
.late-receipt-cora .vf-icon { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; }
.late-receipt-cora.is-ok { background: rgba(18, 183, 106, .12); color: #067647; }
.late-receipt-cora.is-warn { background: rgba(247, 144, 9, .14); color: #93370d; }
.rb-drop { display: grid; justify-items: center; gap: 8px; margin: 16px 0; padding: 30px 18px; text-align: center; border-radius: 24px; border: 2px dashed rgba(26, 124, 255, .4); background: rgba(26, 124, 255, .04); transition: background .2s, border-color .2s; }
.rb-drop.is-over { background: rgba(26, 124, 255, .12); border-color: #1a6dff; }
.rb-drop > .vf-icon { width: 42px; height: 42px; fill: none; stroke: #1a6dff; stroke-width: 1.6; }
.rb-drop strong { font-size: 1.15rem; } .rb-drop > span, .rb-drop small { color: #64748b; }
.rb-drop-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rb-drop-actions button { min-height: 50px; min-width: 180px; }
.rb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rb-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(15, 23, 42, .09); }
.rb-row.is-done { background: rgba(18, 183, 106, .08); border-color: rgba(18, 183, 106, .35); }
.rb-thumb img, .rb-pdf { width: 78px; height: 100px; border-radius: 12px; object-fit: cover; object-position: top; display: grid; place-items: center; background: #fff; border: 1px solid rgba(15, 23, 42, .1); font-weight: 800; color: #b42318; }
.rb-body { display: grid; gap: 6px; min-width: 0; }
.rb-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.rb-head strong { overflow-wrap: anywhere; }
.rb-remove { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .07); font-size: 1.1rem; cursor: pointer; }
.rb-reading, .rb-hint, .rb-status { margin: 0; font-size: .9rem; }
.rb-hint { color: #64748b; }
.rb-hint.is-sicher { color: #067647; font-weight: 700; } .rb-hint.is-wahrscheinlich { color: #1450b8; font-weight: 700; } .rb-hint.is-vielleicht { color: #93370d; }
.rb-select select { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, .16); padding: 8px 10px; font: inherit; background: #fff; }
.rb-status.is-busy { display: flex; align-items: center; gap: 8px; color: #1450b8; }
.rb-status.is-busy i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(26, 124, 255, .25); border-top-color: #1a6dff; animation: rb-spin .8s linear infinite; }
.rb-status.is-error { color: #b42318; } .rb-status.is-done { color: #067647; font-weight: 700; } .rb-status.is-warn { color: #93370d; }
@keyframes rb-spin { to { transform: rotate(360deg); } }
.rb-nav { grid-template-columns: 1fr auto; align-items: center; }
.rb-nav[hidden] { display: none; }
.rb-summary { font-weight: 650; color: #475569; }
html[data-theme="dark"] .rb-row { background: rgba(15, 23, 42, .5); border-color: rgba(148, 163, 184, .25); }
html[data-theme="dark"] .rb-select select { background: rgba(15, 23, 42, .7); color: #f1f5f9; }
html[data-theme="dark"] .late-receipt-cora.is-ok { color: #a6f4c5; } html[data-theme="dark"] .late-receipt-cora.is-warn { color: #fedf89; }
html[data-theme="dark"] .rb-summary, html[data-theme="dark"] .rb-hint { color: #cbd5e1; }
.share-choice.is-match { border-color: rgba(18, 183, 106, .6); box-shadow: 0 0 0 3px rgba(18, 183, 106, .15); }
.share-match { display: inline-flex; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-style: normal; font-size: .75rem; font-weight: 700; color: #067647; background: rgba(18, 183, 106, .14); }

/* rc139: Einlass zur Mitgliederversammlung */
.en-counter { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 20px; align-items: center; margin: 14px 0; padding: 18px; border-radius: 24px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(15, 23, 42, .09); }
.en-counter .aw-qr-open { grid-column: 1 / -1; }
.en-ring { position: relative; width: 120px; height: 120px; }
.en-ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.en-ring circle { fill: none; stroke: rgba(15, 23, 42, .08); stroke-width: 10; }
.en-ring circle[data-ring] { stroke: #2e90fa; stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray .5s ease, stroke .3s; }
.en-counter.is-ok circle[data-ring] { stroke: #12b76a; }
.en-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.en-ring strong { font-size: 2.2rem; line-height: 1; } .en-ring span { font-size: .75rem; color: #64748b; font-weight: 650; }
.en-quorum { display: grid; gap: 4px; } .en-quorum strong { font-size: 1.25rem; color: #1450b8; } .en-counter.is-ok .en-quorum strong { color: #067647; }
.en-quorum span, .en-quorum small { color: #64748b; }
.en-tabs { display: flex; gap: 6px; margin: 6px 0 10px; overflow-x: auto; }
.en-tabs button { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, .12); background: rgba(255, 255, 255, .7); font: inherit; font-weight: 650; cursor: pointer; }
.en-tabs button.is-on { background: #0f172a; color: #fff; border-color: #0f172a; }
.en-apply { display: grid; gap: 12px; margin-top: 18px; }
.en-apply h2 { margin: 2px 0; } .en-apply p { margin: 0; }
.en-proxy { display: grid; gap: 4px; max-width: 220px; font-weight: 650; }
.en-proxy input { min-height: 46px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, .16); padding: 8px 12px; font: inherit; }
.en-confirm { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.en-confirm input { width: 22px; height: 22px; accent-color: #12b76a; }
html[data-theme="dark"] .en-counter, html[data-theme="dark"] .en-tabs button { background: rgba(15, 23, 42, .5); border-color: rgba(148, 163, 184, .25); color: #f1f5f9; }
html[data-theme="dark"] .en-tabs button.is-on { background: #f1f5f9; color: #0f172a; }
html[data-theme="dark"] .en-ring circle { stroke: rgba(148, 163, 184, .2); }
html[data-theme="dark"] .en-quorum span, html[data-theme="dark"] .en-quorum small, html[data-theme="dark"] .en-ring span { color: #cbd5e1; }
html[data-theme="dark"] .en-proxy input { background: rgba(15, 23, 42, .6); color: #f1f5f9; }

/* rc140: GiroCode im Mitgliederbereich */
.mp-giro { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .75); border: 1px solid var(--vf-glass-line); }
.mp-giro-code { padding: 6px; border-radius: 12px; background: #fff; }
.mp-giro-code svg { display: block; width: 100%; height: auto; }
.mp-giro p { margin: 4px 0 0; color: var(--vf-muted); font-size: .88rem; line-height: 1.45; }
@media (max-width: 420px) { .mp-giro { grid-template-columns: 1fr; justify-items: center; text-align: center; } .mp-giro-code { width: 170px; } }
html[data-theme="dark"] .mp-giro { background: rgba(15, 23, 42, .45); }

/* rc141: Lastschrift im Mitgliederbereich */
.mp-sepa { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 12px; padding: 14px; border-radius: 18px; background: rgba(26, 124, 255, .06); border: 1px solid rgba(26, 124, 255, .2); }
.mp-sepa.is-active { background: rgba(18, 183, 106, .08); border-color: rgba(18, 183, 106, .3); }
.mp-sepa-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #1a6dff; }
.mp-sepa.is-active .mp-sepa-icon { color: #12b76a; }
.mp-sepa strong { display: block; } .mp-sepa small { color: var(--vf-muted); }
@media (max-width: 560px) { .mp-sepa { grid-template-columns: 44px minmax(0, 1fr); } .mp-sepa .mp-button { grid-column: 1 / -1; } }
.mp-sepa-state { display: grid; gap: 6px; } .mp-sepa-state.is-active { border-color: rgba(18, 183, 106, .35); }
.mp-sepa-state p { margin: 0; color: var(--vf-muted); }
.mp-mandate { display: grid; gap: 6px; margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: rgba(15, 23, 42, .04); border: 1px solid var(--vf-glass-line); }
.mp-mandate p { margin: 0; line-height: 1.55; font-size: .92rem; } .mp-mandate small { color: var(--vf-muted); }
.mp-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin-bottom: 14px; }
.mp-consent input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: #1a6dff; }
.mp-iban-state { display: block; min-height: 1.2em; font-weight: 650; } .mp-iban-state.is-ok { color: #067647; } .mp-iban-state.is-error { color: #b42318; }
html[data-theme="dark"] .mp-sepa-icon { background: rgba(15, 23, 42, .7); }
html[data-theme="dark"] .mp-mandate { background: rgba(15, 23, 42, .4); }
