/* SPDX-FileCopyrightText: 2026 VereinsVotum contributors */
/* SPDX-License-Identifier: LicenseRef-Proprietary */
/* abstimmen.digital design system on top of Bulma 1 (vendor/bulma).
   Tokens follow docs/product/vereinstimme-spezifikation.md, section 2. Light theme only. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/inter/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/inter/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Spec palette */
  --vs-brand-900: #0F2D5B;
  --vs-primary-600: #2563EB;
  --vs-primary-700: #1D4ED8;
  --vs-primary-400: #60A5FA;
  --vs-primary-50: #EFF6FF;
  --vs-success-500: #10B981;
  --vs-success-700: #047857;
  --vs-warning-500: #F59E0B;
  --vs-warning-700: #B45309;
  --vs-danger-500: #EF4444;
  --vs-danger-700: #B91C1C;
  --vs-violet-500: #8B5CF6;
  --vs-gray-950: #111827;
  --vs-gray-700: #374151;
  --vs-gray-500: #6B7280;
  --vs-gray-300: #D1D5DB;
  --vs-gray-200: #E5E7EB;
  --vs-gray-100: #F3F4F6;
  --vs-surface: #FFFFFF;
  --vs-canvas: #F8FAFC;
  --vs-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 1px 3px rgba(17, 24, 39, .06);
  --vs-shadow-hover: 0 4px 12px rgba(17, 24, 39, .08);
  --vs-focus: 0 0 0 3px rgba(37, 99, 235, .35);

  /* Bulma mapping: primary and link = primary-600 (#2563EB, 5.2:1 on white) */
  --bulma-primary-h: 221deg;
  --bulma-primary-s: 83%;
  --bulma-primary-l: 53%;
  --bulma-primary-invert-l: 100%;
  --bulma-primary-on-scheme-l: 48%;
  --bulma-link-h: 221deg;
  --bulma-link-s: 83%;
  --bulma-link-l: 53%;
  --bulma-link-invert-l: 100%;
  --bulma-link-on-scheme-l: 48%;
  --bulma-family-primary: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bulma-body-family: var(--bulma-family-primary);
  --bulma-body-size: 1rem;
  --bulma-body-color: var(--vs-gray-700);
  --bulma-text: var(--vs-gray-700);
  --bulma-text-strong: var(--vs-gray-950);
  --bulma-radius: .5rem;          /* inputs, buttons: 8 px */
  --bulma-radius-large: .75rem;   /* cards: 12 px */
  --bulma-border: var(--vs-gray-300);
  --bulma-border-weak: var(--vs-gray-200);
  --bulma-background: var(--vs-gray-100);
  --bulma-control-height: 2.625rem; /* 42 px */
  --vv-muted: var(--vs-gray-500);
  --vv-focus: var(--vs-primary-600);
}

html { background: var(--vs-canvas); }
body { min-height: 100vh; background: var(--vs-canvas); color: var(--vs-gray-700); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--vs-primary-600); outline-offset: 2px; box-shadow: var(--vs-focus); }
/* The hidden attribute always wins over component display rules (e.g. flex panels). */
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; padding: .5rem 1rem; background: var(--vs-surface); }
.skip-link:focus { left: 1rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* Typography (spec 2.4) */
main h1 { font-size: 2rem; line-height: 2.5rem; font-weight: 700; color: var(--vs-brand-900); margin-bottom: .5rem; letter-spacing: -.015em; }
main h2 { font-size: 1.5rem; line-height: 2rem; font-weight: 650; color: var(--vs-gray-950); margin: 1.75rem 0 .75rem; letter-spacing: -.01em; }
main h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--vs-gray-950); margin: 1.25rem 0 .5rem; }
main h4 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--vs-gray-950); }
@media (max-width: 40rem) { main h1 { font-size: 1.75rem; line-height: 2.25rem; } main h2 { font-size: 1.375rem; line-height: 1.875rem; } main h3 { font-size: 1.125rem; } }
:where(main p, main ul, main ol, main dl, main pre) { margin-bottom: 1rem; }
:where(main ul:not([class]), main ol:not([class])) { padding-left: 1.4rem; }
:where(main ul:not([class])) { list-style: disc; }
:where(main ol:not([class])) { list-style: decimal; }
.lead, .page-subtitle { font-size: 1.0625rem; color: var(--vs-gray-500); }
.meta, .cite, .help { color: var(--vs-gray-500); }
.meta { font-size: .875rem; }
.help { font-size: .8125rem; }
.label, legend.label { font-size: .875rem; font-weight: 600; color: var(--vs-gray-950); }

/* Buttons (spec 4.1) */
.button { font-weight: 600; font-size: .875rem; height: auto; min-height: 2.625rem; padding: .5rem 1rem; gap: .5rem; border-radius: .5rem; border-color: var(--vs-gray-200); box-shadow: none; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.button:not(.is-primary):not(.is-danger):not(.is-success):not(.is-warning):not(.is-text) { background: var(--vs-surface); color: var(--vs-gray-950); }
.button:not(.is-primary):not(.is-danger):hover { border-color: var(--vs-gray-300); background: var(--vs-gray-100); }
.button.is-primary { background: var(--vs-primary-600); border-color: var(--vs-primary-600); color: #fff; }
.button.is-primary:hover { background: var(--vs-primary-700); border-color: var(--vs-primary-700); }
.button.is-danger { background: var(--vs-danger-700); border-color: var(--vs-danger-700); color: #fff; }
.button.is-success { background: var(--vs-success-700); border-color: var(--vs-success-700); color: #fff; }
.button.is-small { min-height: 2.25rem; font-size: .8125rem; padding: .35rem .75rem; }
.button.is-medium { min-height: 3rem; font-size: 1rem; padding: .7rem 1.25rem; }
.button[disabled], .button.is-loading { opacity: .6; }
.icon-button { display: inline-grid; place-items: center; position: relative; width: 2.5rem; height: 2.5rem; border-radius: .5rem; border: 0; background: transparent; color: var(--vs-gray-700); cursor: pointer; }
.icon-button:hover { background: var(--vs-gray-100); }
.input, .textarea, .select select { border-radius: .5rem; border-color: var(--vs-gray-200); box-shadow: none; }
.input:focus, .textarea:focus, .select select:focus { border-color: var(--vs-primary-600); box-shadow: var(--vs-focus); }

/* Cards (spec 4.4) */
.box, .card-box { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; color: var(--vs-gray-700); }
.card-box > h2:first-child, .box > h2:first-child { margin-top: 0; }
.notification { border-radius: .75rem; display: flex; gap: .6rem; align-items: flex-start; }
/* Only an icon sits beside the text; boxes with headings and paragraphs stack normally. */
.notification:not(:has(> .icon)) { display: block; }
.notification > * { min-width: 0; }
.notification > .icon { margin-top: .15rem; }
.tag { border-radius: 999px; font-weight: 600; font-size: .75rem; }

/* Status badges (spec 4.3): text always present, colour only supports it */
.status-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.25rem; white-space: nowrap; border: 1px solid transparent; }
.status-badge .icon { width: 14px; height: 14px; }
.status-draft { background: var(--vs-gray-100); color: var(--vs-gray-700); }
.status-planned { background: var(--vs-primary-50); color: var(--vs-primary-700); }
.status-active { background: var(--vs-primary-50); color: var(--vs-primary-700); border-color: #BFDBFE; }
.status-done { background: #ECFDF5; color: var(--vs-success-700); }
.status-cancelled { background: #FEF2F2; color: var(--vs-danger-700); }
.status-pending { background: #FFFBEB; color: var(--vs-warning-700); }
.status-secret { background: var(--vs-primary-50); color: var(--vs-brand-900); }
.status-open { background: var(--vs-gray-100); color: var(--vs-gray-700); }
.status-opinion { background: #FFFBEB; color: var(--vs-warning-700); border-color: #FDE68A; white-space: normal; }

/* --- App shell (spec 3.1): sidebar, topbar, content --------------------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.125rem; color: var(--vs-brand-900); letter-spacing: -.01em; text-decoration: none; }
.brand:hover { color: var(--vs-brand-900); }
.wordmark { font-weight: 750; letter-spacing: -.025em; color: var(--vs-brand-900); }
.wordmark-tld { color: var(--vs-primary-600); }
.app { display: flex; min-height: 100vh; }
.sidebar { width: 15rem; flex: none; display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem .9rem; background: var(--vs-surface); border-right: 1px solid var(--vs-gray-200); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 .4rem; }
.sidebar-close { display: none; }
.verein-switch { position: relative; }
.verein-switch > summary { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border: 1px solid var(--vs-gray-200); border-radius: .5rem; cursor: pointer; list-style: none; color: var(--vs-gray-950); font-weight: 600; font-size: .875rem; }
.verein-switch > summary::-webkit-details-marker { display: none; }
.verein-avatar { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: .4rem; background: var(--vs-brand-900); color: #fff; font-size: .8rem; font-weight: 700; flex: none; }
.verein-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.side-nav a, .side-link { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: .5rem; color: var(--vs-gray-700); font-weight: 500; font-size: .9375rem; text-decoration: none !important; }
.side-nav a .icon, .side-link .icon { color: var(--vs-gray-500); }
.side-nav a:hover, .side-link:hover { background: var(--vs-gray-100); color: var(--vs-gray-950); }
.side-nav a[aria-current="page"], .side-link[aria-current="page"] { background: var(--vs-primary-50); color: var(--vs-brand-900); font-weight: 600; }
.side-nav a[aria-current="page"] .icon, .side-link[aria-current="page"] .icon { color: var(--vs-primary-600); }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--vs-gray-200); padding-top: .75rem; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; height: 4rem; padding: 0 2rem; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.5) blur(8px); border-bottom: 1px solid var(--vs-gray-200); }
.topbar-menu { display: none; }
.topbar-title { flex: 1; min-width: 0; font-weight: 600; color: var(--vs-gray-950); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: .5rem; }
.app-content { flex: 1; width: 100%; max-width: 75rem; padding: 1.75rem 2rem 2.5rem; }
.app-footer { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: 1rem 2rem 1.5rem; font-size: .8125rem; color: var(--vs-gray-500); }
.app-footer a { color: var(--vs-gray-500); }
.counter { position: absolute; top: .3rem; right: .25rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 999px; background: var(--vs-danger-700); color: #fff; font-size: .6875rem; font-weight: 700; display: grid; place-items: center; }
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; }
.dropdown > summary::-webkit-details-marker { display: none; }
.profile-menu > summary { display: flex; align-items: center; gap: .6rem; padding: .25rem .5rem .25rem .25rem; border-radius: .5rem; color: var(--vs-gray-700); }
.profile-menu > summary:hover { background: var(--vs-gray-100); }
.avatar { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--vs-primary-50); color: var(--vs-brand-900); font-weight: 700; font-size: .875rem; flex: none; }
.profile-text { display: flex; flex-direction: column; line-height: 1.15; }
.profile-name { font-weight: 600; color: var(--vs-gray-950); font-size: .875rem; }
.profile-role { font-size: .75rem; color: var(--vs-gray-500); }
.dropdown-panel { position: absolute; z-index: 30; top: calc(100% + .4rem); min-width: 16rem; padding: .4rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: 0 12px 32px rgba(17, 24, 39, .12); }
.verein-switch .dropdown-panel { left: 0; right: 0; min-width: 0; }
.dropdown-right { right: 0; }
.dropdown-title { padding: .4rem .6rem; font-weight: 600; color: var(--vs-gray-950); margin: 0 !important; }
.dropdown-item { display: flex; flex-direction: column; gap: .1rem; width: 100%; padding: .55rem .6rem; border: 0; border-radius: .5rem; background: none; color: var(--vs-gray-700); font: inherit; font-size: .875rem; text-align: left; text-decoration: none !important; cursor: pointer; }
.profile-menu .dropdown-item { flex-direction: row; align-items: center; gap: .6rem; }
.dropdown-item:hover { background: var(--vs-gray-100); color: var(--vs-gray-950); }
.dropdown-item.is-unread { font-weight: 600; color: var(--vs-gray-950); }
.dropdown-item .meta { font-size: .75rem; font-weight: 400; }
.dropdown-empty { padding: .5rem .6rem; color: var(--vs-gray-500); font-size: .875rem; margin: 0 !important; }
.dropdown-footer { display: block; padding: .5rem .6rem; border-top: 1px solid var(--vs-gray-200); margin-top: .25rem; font-size: .875rem; font-weight: 600; }
.sidebar-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(15, 45, 91, .35); }
@media (max-width: 1023px) {
  .sidebar { position: fixed; z-index: 40; left: 0; top: 0; transform: translateX(-105%); transition: transform .16s ease; box-shadow: 0 0 40px rgba(17, 24, 39, .2); }
  .sidebar.is-open { transform: none; }
  .sidebar-close, .topbar-menu { display: inline-grid; }
  .topbar { padding: 0 1rem; }
  .app-content { padding: 1.25rem 1rem 2rem; }
  .app-footer { padding: 1rem; }
  .profile-text { display: none; }
}
html:not(.js) .sidebar { position: static; transform: none; height: auto; }
html:not(.js) .app { flex-direction: column; }
html:not(.js) .topbar-menu, html:not(.js) .sidebar-close { display: none; }

/* Page header (spec: title left, primary action right) */
.page-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-header h1 { margin-bottom: .25rem; }
.page-header .page-subtitle { margin: 0; }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.list-card { list-style: none; padding: 0; margin: 0; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; }
.list-card-row { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-bottom: 1px solid var(--vs-gray-200); }
.list-card-row:last-child { border-bottom: 0; }
.list-card-row.is-unread { background: var(--vs-primary-50); }
.list-card-row .grow { flex: 1; min-width: 0; }
.list-card-row .meta { margin: .1rem 0 0; }
.empty-state { text-align: center; padding: 3rem 1.5rem; background: var(--vs-surface); border: 1px dashed var(--vs-gray-300); border-radius: .75rem; }
.empty-state h2 { margin: .75rem 0 .35rem; font-size: 1.25rem; }
.empty-state p { color: var(--vs-gray-500); margin-bottom: 1rem; }
.empty-icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--vs-primary-50); color: var(--vs-primary-600); }
.actions.is-centered { justify-content: center; }
.toasts .notification { margin-bottom: .75rem; }

/* Public layout (landing, login, legal) */
.public-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.5) blur(8px); border-bottom: 1px solid var(--vs-gray-200); }
.public-inner { max-width: 75rem; margin: 0 auto; padding: .85rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.public-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.public-nav > a:not(.button) { color: var(--vs-gray-700); font-weight: 500; font-size: .9375rem; text-decoration: none !important; }
.public-nav > a:not(.button):hover { color: var(--vs-brand-900); }
.public-nav form { margin: 0; }
.public-content { max-width: 75rem; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.public-footer { border-top: 1px solid var(--vs-gray-200); background: var(--vs-surface); margin-top: 2rem; }
.public-footer .footer-row { font-size: .875rem; color: var(--vs-gray-500); }
.public-footer a { color: var(--vs-gray-500); }
.brand-small { display: inline-flex; align-items: center; gap: .4rem; margin-right: auto; }
.footer-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }

/* Focus layout (taking part) */
.focus-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 46rem; margin: 0 auto; padding: 1rem 1rem .5rem; }
.focus-header .brand { flex: none; }
/* Long Verein names wrap beside the logo instead of running over it on phones. */
.focus-verein { color: var(--vs-gray-500); font-size: .875rem; min-width: 0; text-align: right; }
.focus-content { max-width: 46rem; margin: 0 auto; padding: .5rem 1rem 3rem; }

/* Breadcrumbs: Bulma styles links; the current page is a span. */
.breadcrumb { margin-bottom: .75rem !important; font-size: .9rem; white-space: normal; }
.breadcrumb ol, .breadcrumb ul { flex-wrap: wrap; }
.breadcrumb li { min-width: 0; }
.breadcrumb li > span { overflow-wrap: anywhere; }
.breadcrumb li > span { padding: 0 .75em; color: var(--bulma-text-strong); font-weight: 600; }
.breadcrumb li:first-child > span { padding-left: 0; }

/* Boxes and cards */
.box { box-shadow: none; border: 1px solid var(--bulma-border-weak); }
.box > h2:first-child, .card-head h2, .card-head h3 { margin-top: 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .75rem; }
.card-head > h2, .card-head > h3 { margin: 0; }
.meeting-card h3 { margin: 0 0 .25rem; }
.meeting-card h3 a { color: var(--bulma-text-strong); }
.form-section > legend { font-size: 1.15rem; font-weight: 700; padding: 0 .4rem; color: var(--bulma-text-strong); }
fieldset.box { margin-bottom: 1.5rem; }

/* Definition lists ("facts") */
.facts { display: grid; grid-template-columns: minmax(10rem, max-content) 1fr; gap: .4rem 1.5rem; }
.facts dt { font-weight: 600; color: var(--bulma-text-strong); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts code, .facts .secret { word-break: break-all; }
@media (max-width: 40rem) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: .5rem; } }

/* Page head of a meeting */
.page-head h1 { margin-bottom: .35rem; }
.status { display: inline-block; padding: .05rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--bulma-background); color: var(--bulma-text-strong); }
.status-eroeffnet { background: var(--vs-primary-50); color: var(--vs-brand-900); }

/* The four steps of a meeting */
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; padding: 0; margin: 1.5rem 0; }
.steps li > a, .steps li > span { display: flex; gap: .7rem; align-items: flex-start; height: 100%; padding: .75rem .9rem; border: 1px solid var(--bulma-border); border-radius: var(--bulma-radius-large); color: var(--bulma-text); background: var(--bulma-scheme-main); transition: border-color .15s, box-shadow .15s; }
.steps li > a:hover { border-color: var(--vs-primary-600); box-shadow: 0 2px 10px hsla(221, 79%, 42%, .12); }
.step-no { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--bulma-border); font-weight: 700; font-size: .9rem; }
.step-text { display: flex; flex-direction: column; }
.step-label { font-weight: 700; color: var(--bulma-text-strong); }
.step-hint { font-size: .82rem; color: var(--vv-muted); }
.steps .is-done .step-no { background: var(--bulma-primary); border-color: var(--bulma-primary); color: var(--bulma-primary-invert); }
.steps .is-current > a { border: 2px solid var(--vs-primary-600); background: var(--vs-primary-50); }
.steps .is-current .step-label { color: var(--vs-brand-900); }
.steps .is-current .step-no { border-color: var(--vs-primary-600); color: var(--vs-primary-600); background: var(--bulma-scheme-main); }
.steps .is-locked > span { border-style: dashed; background: transparent; }
.steps .is-locked .step-label, .steps .is-locked .step-no { color: var(--vv-muted); }
@media (max-width: 48rem) { .steps ol { grid-template-columns: 1fr 1fr; } }

.next-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: var(--bulma-radius-large); background: var(--vs-primary-50); color: var(--vs-brand-900); }
.next-action p { margin: 0; }

/* Dashboard */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--bulma-border-weak); }
.checklist li:last-child { border-bottom: 0; }
.checklist .check { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--bulma-border); font-weight: 700; }
.checklist .is-done .check { background: var(--bulma-primary); border-color: var(--bulma-primary); color: var(--bulma-primary-invert); }
.checklist a { font-weight: 600; }
.checklist .help { margin: 0; }
.mini-steps { list-style: none; display: flex; gap: .3rem; padding: 0; margin: .5rem 0 .9rem; }
.mini-steps li { flex: 1; font-size: .75rem; color: var(--vv-muted); border-top: 4px solid var(--bulma-border-weak); padding-top: .25rem; }
.mini-steps .is-done { border-top-color: var(--bulma-primary); }
.mini-steps .is-current { border-top-color: var(--bulma-primary); color: var(--bulma-text-strong); font-weight: 600; }

/* Forms */
.req { color: var(--bulma-danger-on-scheme); }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.radio, .checkbox { display: inline-flex; gap: .4rem; align-items: center; }
.textarea { max-width: 48rem; }
.param-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 1.5rem; padding-top: .5rem; border-bottom: 1px dashed var(--bulma-border-weak); margin-bottom: .75rem; }
.majority { margin-bottom: 1rem; }
.majority > legend { font-weight: 700; }
.majority-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1rem 0; }
.inline-form { margin-top: 1rem; }
/* Action cells stay table cells; their content lays out inline. */
td.row-actions { white-space: nowrap; }
.row-actions > a, .row-actions > form { display: inline-flex; gap: .5rem; align-items: center; margin: 0 .5rem 0 0; vertical-align: middle; }
form.inline { display: inline; margin: 0; }
.link-button { background: none; border: 0; padding: 0; color: var(--bulma-link-on-scheme); text-decoration: underline; cursor: pointer; font: inherit; }

/* Tables */
.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; }
.table-scroll > .table { margin-bottom: 0; }
td.small { font-size: .82rem; word-break: break-all; }
details { margin: .75rem 0; }
details > summary { cursor: pointer; font-weight: 600; color: var(--bulma-link-on-scheme); min-height: 2rem; }

/* Meeting run and participation */
.summary { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; }
.vote-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.vote-buttons .button { min-width: 9rem; min-height: 3.5rem; font-size: 1.15rem; }
.motion { border-left: 4px solid var(--bulma-border); padding-left: .9rem; }
.agenda li { margin-bottom: .75rem; }
.requests li { margin-bottom: .5rem; }
.toolbar { margin: -.5rem 0 1rem; }
.template-list { padding-left: 1.2rem; list-style: disc; }

/* Misc */
.column-list { white-space: pre-wrap; word-break: break-all; border: 1px solid var(--bulma-border); border-radius: var(--bulma-radius); padding: .75rem; }
.qr img { background: #fff; padding: .5rem; border-radius: var(--bulma-radius); }
.secret { word-break: break-all; }
.notification h2, .notification h3 { margin-top: 0; }

/* WCAG 1.4.1: links in content are underlined, not only coloured (Bulma removes underlines). */
main a:not(.button, .tag) { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
main .steps a, main .breadcrumb a { text-decoration: none; }
main a:not(.button, .tag):hover { text-decoration-thickness: 2px; }

/* Current step: text follows the light tint in both colour schemes. */
.steps .is-current .step-hint { color: var(--vs-brand-900); }
/* Long German compounds (e.g. "Auflösungsversammlung") must not overflow on phones. */
main h1, main h2, main h3 { overflow-wrap: break-word; hyphens: auto; }

/* Choice of Verein */
.verein-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.verein-tile { display: flex; gap: .9rem; align-items: center; margin: 0 !important; text-decoration: none !important; color: var(--bulma-text-strong); }
.verein-tile:hover { border-color: var(--vs-primary-600); }

/* Landing (spec 5, mockup screen 1) */
.wordmark { font-weight: 700; color: var(--vs-brand-900); letter-spacing: -.02em; }
.wordmark-tld { color: var(--vs-primary-600); }
.public-header .public-inner { flex-wrap: nowrap; }
.lp-nav { flex: 1; justify-content: flex-end; gap: .5rem 1.75rem; flex-wrap: nowrap; }
.lp-nav-actions { display: inline-flex; gap: .6rem; margin-left: .75rem; }
.lp-nav-actions .button { white-space: nowrap; }
.lp-burger { display: none; margin: 0; }
.lp-burger > summary { color: var(--vs-brand-900); }
.lp-burger-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; display: flex; flex-direction: column; gap: .25rem; width: min(18rem, calc(100vw - 2rem)); padding: .75rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: 0 12px 32px rgba(17, 24, 39, .12); }
.lp-burger-panel > a:not(.button) { padding: .6rem .5rem; border-radius: .5rem; color: var(--vs-gray-950); font-weight: 500; text-decoration: none !important; }
.lp-burger-panel > a:not(.button):hover { background: var(--vs-gray-100); }
.lp-burger-panel .button { margin-top: .35rem; }
/* Seven section links need room: below 80rem they move into the menu. */
@media (max-width: 79.99rem) {
  .lp-nav { display: none; }
  .lp-burger { display: block; }
}
.lp-nav > a { white-space: nowrap; }
/* Code in texts (cookie names, CSV header, commands): neutral, not Bulma's red. */
code { color: var(--vs-gray-950); background: var(--vs-gray-100); border-radius: .3rem; padding: .1em .35em; font-size: .9em; }
pre code { padding: 0; background: none; }
/* Generic public header (login, legal pages, Verein hosts): on phones only the buttons stay,
   so the bar never wraps over the logo. */
.public-header .brand { flex: none; min-width: 0; }
.public-nav { flex: 1; justify-content: flex-end; flex-wrap: nowrap; }
.public-nav .button { white-space: nowrap; }
@media (max-width: 63.99rem) {
  .public-nav > a:not(.button) { display: none; }
}
@media (max-width: 47.99rem) {
  .public-nav { flex-wrap: wrap; row-gap: .4rem; }
  .public-nav { gap: .5rem; }
  .public-nav .button { padding-inline: .9rem; }
}
@media (max-width: 26rem) {
  .public-header .wordmark { font-size: 1rem; }
  .public-header .brand img { width: 40px; height: auto; }
}
.public-content:has(> .lp) { max-width: 78rem; padding-top: 0; }
.lp section[id] { scroll-margin-top: 5rem; }

.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: 3rem 0 2.5rem; }
@media (min-width: 64rem) { .lp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; padding: 4.5rem 0 3.5rem; } }
main .lp-hero h1 { font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; color: var(--vs-brand-900); margin: 0 0 1.25rem; hyphens: manual; }
.lp-intro { font-size: 1.125rem; line-height: 1.7; color: var(--vs-gray-700); max-width: 34rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }
.lp-cta form { margin: 0; }
.lp-reassure { font-size: .875rem; color: var(--vs-gray-500); }

/* Device frames around real screenshots: slim dark bezels, thin metal edge, one soft shadow. CSS only. */
.lp-devices { --bezel: #0b0e14; --edge: #c5cad2; --lift: 0 2.2rem 3.5rem -1.4rem rgba(15, 45, 91, .38), 0 .8rem 1.4rem -.8rem rgba(15, 23, 42, .3);
  container-type: inline-size; position: relative; isolation: isolate; margin: 0; padding: 1.5rem 0 3rem; }
.lp-devices::before { content: ""; position: absolute; z-index: -1; inset: 4% 0 0 8%; border-radius: 2.5rem;
  background: radial-gradient(60% 70% at 70% 35%, rgba(96, 165, 250, .28), transparent 70%), radial-gradient(50% 60% at 20% 80%, rgba(37, 99, 235, .14), transparent 70%); }
.device-laptop { position: relative; width: 90%; }
.laptop-lid { position: relative; padding: 2.1% 1.6% 1.6%; background: var(--bezel); border-radius: 1.1rem 1.1rem .45rem .45rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 0 0 1.5px var(--edge), var(--lift); }
.laptop-lid::before { content: ""; position: absolute; top: .8%; left: 50%; width: .38rem; height: .38rem; transform: translateX(-50%); border-radius: 50%; background: #1e2430; box-shadow: inset 0 0 0 1.5px #2c3442; }
.laptop-screen { overflow: hidden; border-radius: .4rem; background: #fff; }
.laptop-screen img, .phone-screen img { display: block; width: 100%; height: auto; }
.laptop-screen img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.laptop-base { position: relative; height: .75rem; margin: 0 -6.5%; border-radius: .15rem .15rem 1.1rem 1.1rem / .15rem .15rem .75rem .75rem;
  background: linear-gradient(180deg, #f4f6f8 0%, #dde1e6 45%, #b9bfc8 100%); box-shadow: inset 0 1px 0 #fff, 0 1.2rem 1.4rem -1rem rgba(15, 23, 42, .45); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: .3rem; transform: translateX(-50%); border-radius: 0 0 .5rem .5rem; background: linear-gradient(180deg, #b4bac3, #d5d9df); }
/* Bezel and corners in units of the device group (cqw): a percentage padding would follow the group, not the phone. */
.device-phone { position: absolute; right: 0; bottom: 1.25rem; width: 26%; padding: .85cqw; background: var(--bezel); border-radius: 4.6cqw;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 0 1.5px var(--edge), var(--lift); }
.device-phone::before, .device-phone::after { content: ""; position: absolute; width: 2px; border-radius: 2px; background: var(--edge); }
.device-phone::before { right: -3.5px; top: 27%; height: 12%; }
.device-phone::after { left: -3.5px; top: 21%; height: 7%; box-shadow: 0 260% 0 var(--edge); }
.phone-screen { container-type: inline-size; position: relative; overflow: hidden; border-radius: 3.75cqw; background: #fff; }
.phone-screen img { aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
.phone-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 12cqw; padding: 0 9% 0 10%; background: #fff; font-size: 4.4cqw; font-weight: 600; color: #0B1220; }
.phone-island { position: absolute; left: 50%; top: 24%; width: 31%; height: 54%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone-indicators { display: flex; align-items: center; gap: 1.4cqw; }
.phone-signal { width: 5cqw; height: 3.2cqw; background: linear-gradient(90deg, #0B1220 0 18%, transparent 18% 27%, #0B1220 27% 45%, transparent 45% 54%, #0B1220 54% 72%, transparent 72% 82%, #0B1220 82%); clip-path: polygon(0 75%, 100% 0, 100% 100%, 0 100%); }
.phone-battery { position: relative; width: 7cqw; height: 3.4cqw; border: 1px solid #0B1220; border-radius: .14rem; background: linear-gradient(90deg, #0B1220 0 70%, transparent 70%); background-clip: content-box; padding: 1px; }
@media (max-width: 30rem) { .device-laptop { width: 94%; } .device-phone { width: 30%; bottom: .75rem; padding: 1cqw; border-radius: 5.4cqw; } .phone-screen { border-radius: 4.4cqw; } }

.lp-benefits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 0 0 1rem; }
@media (min-width: 48rem) { .lp-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-benefit { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); }
main .lp-benefit h2 { font-size: 1.0625rem; line-height: 1.5rem; margin: 0 0 .2rem; color: var(--vs-gray-950); }
.lp-benefit p { margin: 0; font-size: .9375rem; color: var(--vs-gray-500); }
.lp-icon { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: .75rem; background: var(--vs-primary-50); color: var(--vs-primary-600); }

.lp-section { margin-top: 4.5rem; }
main .lp-section > h2 { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 .5rem; color: var(--vs-brand-900); }
.lp-section > .lead { max-width: 42rem; margin-bottom: 1.75rem; }
.lp-video { margin: 0; max-width: 60rem; }
.lp-video video { display: block; width: 100%; height: auto; border-radius: .75rem; border: 1px solid var(--vs-gray-200); box-shadow: var(--vs-shadow); background: var(--vs-brand-900); }
.lp-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.lp-steps li, .lp-feature, .lp-audience { padding: 1.25rem 1.4rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); }
.lp-steps .step-no { background: var(--vs-primary-600); border-color: var(--vs-primary-600); color: #fff; }
main .lp-steps h3, main .lp-feature h3, main .lp-audience h3 { font-size: 1.0625rem; line-height: 1.5rem; margin: .75rem 0 .35rem; }
main .lp-audience h3 { margin-top: 0; }
.lp-steps p, .lp-feature p, .lp-audience p { margin: 0; font-size: .9375rem; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; }
.lp-grid.is-four { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }

.lp-trust { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 56rem) { .lp-trust { grid-template-columns: 3fr 2fr; } }
.lp-checks { list-style: none; padding: 0; margin: 0; }
.lp-checks li { position: relative; padding: .4rem 0 .4rem 2rem; }
.lp-checks li::before { content: "✓"; position: absolute; left: 0; top: .45rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--vs-primary-50); color: var(--vs-primary-700); }
.lp-honest { padding: 1.25rem 1.4rem; border-radius: .75rem; background: var(--vs-primary-50); color: var(--vs-brand-900); }
main .lp-honest h3 { margin: 0 0 .4rem; color: inherit; }
.lp-honest p { margin: 0; }
.lp-honest p + p { margin-top: .75rem; }
.lp-honest .lp-more a { font-weight: 600; }

.lp-faq { max-width: 48rem; }
.lp-faq details { border-bottom: 1px solid var(--vs-gray-200); margin: 0; padding: .85rem 0; }
.lp-faq details > summary { font-size: 1.0625rem; color: var(--vs-gray-950); }
.lp-faq details > p { margin: .6rem 0 .25rem; }

.lp-final { margin-top: 4.5rem; padding: 2.5rem 1.5rem; text-align: center; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); }
main .lp-final h2 { margin: 0 0 .5rem; color: var(--vs-brand-900); }
.lp-final .lp-cta { justify-content: center; margin-bottom: 0; }
.lp-operator { margin-top: 2rem; }
.lp-kicker { margin: 0 0 .75rem; font-size: .9375rem; font-weight: 600; letter-spacing: .02em; color: var(--vs-primary-600); }
.lp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .25rem 0 0; }
.lp-chips li { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: var(--vs-primary-50); color: var(--vs-brand-900); font-size: .875rem; font-weight: 500; }
.lp-chips li .icon { color: var(--vs-primary-600); }
.lp-chips.is-large li { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); font-size: .9375rem; padding: .4rem .85rem; }
main .lp-subhead { font-size: 1.0625rem; margin: 1.75rem 0 .75rem; color: var(--vs-gray-950); }
.lp-grid.is-three { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.lp-more { margin-top: 1rem; font-weight: 600; }
.lp-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: center; padding: 2.25rem 0; border-top: 1px solid var(--vs-gray-200); }
.lp-story:first-of-type { border-top: 0; padding-top: .5rem; }
@media (min-width: 60rem) {
  .lp-story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; }
  .lp-story.is-flipped > :first-child { order: 2; }
}
.lp-step-label { display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--vs-primary-600); margin-bottom: .5rem; }
main .lp-story h3 { font-size: clamp(1.35rem, 2.4vw, 1.625rem); line-height: 1.25; margin: 0 0 .75rem; color: var(--vs-brand-900); }
.lp-story-text > p { color: var(--vs-gray-700); }
.lp-story .lp-checks { margin-top: 1rem; }
.lp-note { max-width: 46rem; margin: 1.25rem 0 0; font-size: .9375rem; color: var(--vs-gray-500); }
.lp-note p { margin: 0; } .lp-note p + p { margin-top: .6rem; }
.lp-nav { gap: .5rem 1.25rem; }
/* Statement band under the hero: the three ways in one sentence each. */
.lp-statement { margin-top: 1rem; padding: 2.5rem clamp(1.25rem, 4vw, 3rem); border-radius: 1rem; background: var(--vs-brand-900); color: #fff; }
main .lp-statement h2 { margin: 0 0 1rem; max-width: 44rem; hyphens: manual; font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.lp-statement p { max-width: 46rem; margin: 0; color: rgba(255, 255, 255, .82); line-height: 1.7; }
.lp-statement-links { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 1.5rem 0 0; padding: 0; }
.lp-statement-links a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgba(255, 255, 255, .45); }
.lp-statement-links a:hover { text-decoration-color: #fff; }
.lp-statement a:focus-visible { outline-color: #fff; }
/* Small label above a card title. */
.lp-tag { display: inline-block; margin-bottom: .6rem; padding: .15rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--vs-primary-50); color: var(--vs-primary-700); }
.lp-tag.is-secret { background: var(--vs-brand-900); color: #fff; }
.lp-way .lp-icon { float: right; margin: -.2rem 0 .5rem .75rem; }
main .lp-way h3 { clear: none; }
/* Timeline of a hybrid assembly. */
.lp-timeline { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.lp-timeline > li { position: relative; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem 0 1.25rem; border-top: 1px solid var(--vs-gray-200); }
.lp-timeline > li:last-child { border-bottom: 1px solid var(--vs-gray-200); }
.lp-when { font-weight: 700; color: var(--vs-brand-900); padding-top: .15rem; }
main .lp-timeline h3 { margin: 0 0 .3rem; font-size: 1.0625rem; }
.lp-timeline p { margin: 0; font-size: .9375rem; }
@media (max-width: 40rem) { .lp-timeline > li { grid-template-columns: minmax(0, 1fr); gap: .35rem; } }
/* Secret ballot: three short sentences. */
.lp-secret .lp-big { margin: .25rem 0 .35rem; font-size: 1.375rem; line-height: 1.25; font-weight: 700; color: var(--vs-brand-900); }
.lp-audience .lp-sub { margin: -.15rem 0 .5rem; font-weight: 600; color: var(--vs-primary-700); }
/* Majorities: a big figure beside each rule. */
.lp-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; max-width: 56rem; }
.lp-rules > li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.1rem 1.4rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; }
.lp-rules .lp-figure { margin: 0; display: grid; font-size: 2.25rem; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--vs-primary-600); font-variant-numeric: tabular-nums; }
.lp-rules .lp-figure.is-word { font-size: 1.5rem; }
.lp-rules .lp-figure span { margin-top: .35rem; font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--vs-gray-500); }
main .lp-rules h3 { margin: 0 0 .25rem; font-size: 1.0625rem; }
.lp-rules p { margin: 0; font-size: .9375rem; }
@media (max-width: 40rem) { .lp-rules > li { grid-template-columns: minmax(0, 1fr); gap: .6rem; } }
/* Evidence table. */
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--vs-gray-200); border-radius: .75rem; background: var(--vs-surface); }
.lp-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.lp-table th, .lp-table td { padding: .85rem 1.1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--vs-gray-200); }
.lp-table thead th { border-top: 0; font-size: .8125rem; font-weight: 600; color: var(--vs-gray-500); background: var(--vs-gray-50, #f8fafc); }
.lp-table tbody th { font-weight: 700; color: var(--vs-brand-900); white-space: nowrap; }
.lp-table td:last-child { white-space: nowrap; color: var(--vs-gray-700); }
/* Short facts (access and contact). */
.lp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem 1.5rem; margin: 1.5rem 0; text-align: left; }
.lp-facts dt { font-size: .8125rem; font-weight: 600; color: var(--vs-gray-500); }
.lp-facts dd { margin: .15rem 0 0; font-weight: 600; color: var(--vs-brand-900); }
.lp-final .lp-facts.is-three { max-width: 48rem; margin-inline: auto; }
.lp-final > p { max-width: 46rem; margin-inline: auto; }
/* Access request form. */
.lp-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (min-width: 56rem) { .lp-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .lp-contact .lp-facts { grid-template-columns: minmax(0, 1fr); margin: 0; } }
.lp-form { padding: 1.5rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); }
.lp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 1.25rem; }
.lp-form-grid .field { margin-bottom: 1rem; }
.lp-form-grid .field.is-wide { grid-column: 1 / -1; }
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.lp-form-submit .meta { margin: 0; flex: 1 1 16rem; }
.lp-umlauf { margin-top: 2.5rem; }
.lp-shot { margin: 0; border-radius: .9rem; overflow: hidden; border: 1px solid var(--vs-gray-200); box-shadow: 0 18px 40px rgba(15, 45, 91, .12); background: var(--vs-surface); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot.is-cropped { max-height: 30rem; }
.lp-shot.is-cropped img { object-fit: cover; object-position: top; }
.lp-phones { margin: 0; display: flex; justify-content: center; gap: 1rem; }
.lp-phones img { width: min(46%, 15rem); height: auto; padding: .45rem; border-radius: 2.1rem; background: #0b0e14; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 0 1.5px #c5cad2, 0 2rem 3rem -1.4rem rgba(15, 45, 91, .38); }
.lp-phones img + img { margin-top: 2.5rem; }
.lp-doc { padding: 1.75rem 1.75rem 1.5rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .9rem; box-shadow: 0 18px 40px rgba(15, 45, 91, .12); max-width: 32rem; justify-self: center; width: 100%; }
.lp-doc-title { margin: 0; font-weight: 700; font-size: 1.125rem; color: var(--vs-brand-900); }
.lp-doc-meta { margin: .2rem 0 1rem; font-size: .875rem; color: var(--vs-gray-500); }
.lp-doc dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; font-size: .9375rem; }
.lp-doc dt { font-weight: 600; color: var(--vs-gray-950); }
.lp-doc dd { margin: 0; color: var(--vs-gray-700); }
.lp-doc-seal { display: flex; align-items: center; gap: .4rem; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--vs-gray-200); font-weight: 600; color: var(--vs-success-700); }
@media (max-width: 30rem) { .lp-doc dl { grid-template-columns: 1fr; gap: .1rem; } .lp-doc dd { margin-bottom: .5rem; } }

/* Legal pages */
.legal-address { font-style: normal; margin-bottom: 1rem; }
.legal-nav { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--bulma-border-weak); }
.legal .facts { margin-bottom: 1rem; }
.legal ol ul { margin-top: .25rem; }
.legal ol[type="a"] { list-style-type: lower-alpha; margin-top: .25rem; }
.legal ol[type="a"] > li::marker { content: counter(list-item, lower-alpha) ") "; }
/* M3: three-step flow (Umlaufverfahren), list tabs, tracking codes of secret ballots */
.steps.is-three ol { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 48rem) { .steps.is-three ol { grid-template-columns: 1fr; } }
.code-list { columns: 2 14rem; padding-left: 2.5rem; }
.code-list code, .code-list .tech-value { font-size: .95rem; }
.next-action strong { color: inherit; } /* Bulma's dark-mode <strong> colour is unreadable on the light box */
main .notification h2, main .notification h3 { color: inherit; } /* same for headings in tinted boxes */
.sidebar .brand { font-size: 1.02rem; gap: .5rem; }

/* Dashboard (spec 7), Protokolle (spec 14), Dateien (spec 15), demo banner */
.demo-banner p { margin: 0; }
.metric-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.metric-card { display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 1.25rem; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); }
.metric-icon { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: .5rem; border-radius: .6rem; background: var(--vs-primary-50); color: var(--vs-primary-600); }
.metric-value { font-size: 1.75rem; line-height: 2.1rem; font-weight: 700; color: var(--vs-brand-900); }
.metric-label { font-weight: 600; color: var(--vs-gray-950); font-size: .9375rem; }
.metric-hint { font-size: .8125rem; color: var(--vs-gray-500); }
.dashboard-columns { margin-bottom: 1.5rem; }
.dashboard-columns > .card-box { margin-bottom: 0; min-width: 0; }
.vote-list, .activity-feed { list-style: none; padding: 0; margin: 0; }
.vote-row, .activity-feed > li { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--vs-gray-200); }
.vote-row:last-child, .activity-feed > li:last-child { border-bottom: 0; }
.vote-row .grow, .activity-feed .grow { flex: 1; min-width: 0; }
.vote-row .status-badge { flex: none; }
.row-icon { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--vs-primary-50); color: var(--vs-primary-600); }
.row-title { font-weight: 600; color: var(--vs-gray-950); margin: 0 !important; overflow-wrap: anywhere; }
a.row-title { color: var(--vs-gray-950); }
.vote-row .meta, .activity-feed .meta { margin: .1rem 0 0; }
.progress-line { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.progress-bar { flex: 1; height: .5rem; border: 0; border-radius: 999px; overflow: hidden; background: var(--vs-gray-100); appearance: none; }
.progress-bar::-webkit-progress-bar { background: var(--vs-gray-100); border-radius: 999px; }
.progress-bar::-webkit-progress-value { background: var(--vs-primary-600); border-radius: 999px; }
.progress-bar::-moz-progress-bar { background: var(--vs-primary-600); border-radius: 999px; }
.progress-value { font-size: .8125rem; font-weight: 600; color: var(--vs-gray-700); white-space: nowrap; }
.welcome-card { margin-bottom: 1.5rem; }

.list-card-row .row-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: flex-end; }
.protocol-list .meta .status-badge { margin-right: .35rem; }
@media (max-width: 40rem) { .protocol-list .list-card-row { flex-wrap: wrap; } .list-card-row .row-links { width: 100%; justify-content: flex-start; } }
.chain-status { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1.1rem; margin-bottom: 1.25rem; border-radius: .75rem; border: 1px solid #A7F3D0; background: #ECFDF5; color: var(--vs-success-700); }
.chain-status p { margin: 0; }
.chain-status.is-broken { border-color: #FECACA; background: #FEF2F2; color: var(--vs-danger-700); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin-bottom: 1.25rem; }
.filter-bar .field { margin: 0; }
.filter-bar .field.grow { flex: 1 1 14rem; }
.filter-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.pagination-links { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin: 1rem 0; font-size: .875rem; }

.upload-form { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: flex-end; }
.upload-form .field { margin: 0; flex: 1 1 18rem; min-width: 0; }
.upload-form input[type="file"] { max-width: 100%; }
.nowrap { white-space: nowrap; }
.file-table td { vertical-align: top; overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .file-table thead { display: none; }
  .file-table table, .file-table tbody, .file-table tr, .file-table td { display: block; width: 100%; }
  .file-table tr { padding: .75rem 0; border-bottom: 1px solid var(--vs-gray-200); }
  .file-table td { border: 0 !important; padding: .15rem 0 !important; }
  .file-table td[data-label="Typ"], .file-table td[data-label="Größe"] { display: none; }
  .file-table td[data-label="Hochgeladen"]::before, .file-table td[data-label="Verwendet in"]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--vs-gray-950); }
}
.confirm-box { max-width: 40rem; }

/* Footer seal (wording chosen by the operator; subline matches legal/privacy.html). */

/* Public verification of secret ballots (verification/page.html) */
.verify .card-box { margin-bottom: 1.5rem; }
.verify-results { list-style: none; margin: 1rem 0 0; padding: 0; }
.verify-results li { padding: .2rem 0; }
.verify-results .is-ok { color: var(--vs-success-700); }
.verify-results .is-fail { color: var(--bulma-danger); font-weight: 600; }
.verify-results .verify-summary { font-weight: 700; }
.verify-hit { min-height: 1.5rem; margin-top: .5rem; font-weight: 600; }
.tech-value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; color: var(--vs-gray-950); background: none; }
.tech-details summary { cursor: pointer; }
.verify .facts code { word-break: break-all; }

/* Wide tables scroll inside themselves on phones instead of widening the page. */
@media (max-width: 48rem) {
  .app-content table.table:not(.table-container .table, .table-scroll .table) { display: block; overflow-x: auto; max-width: 100%; }
}
.list-card-row.is-unread .meta, .list-card-row.is-unread p { color: var(--vs-gray-700); }
/* Scroll containers must contain their absolutely positioned screen-reader texts. */
.table-scroll, .table-container { position: relative; }
.app-content code, .legal code { overflow-wrap: anywhere; }
.tech-value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; color: var(--vs-gray-950); overflow-wrap: anywhere; }
/* ==========================================================================
   Help center (Hilfe & Support): templates/help/, js/help-search.js
   ========================================================================== */
.help { min-width: 0; }
.help-hero { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); padding: 2rem 1.5rem; margin-bottom: 2rem; text-align: center; }
.code-entry { max-width: 32rem; }
.code-form { display: flex; flex-direction: column; gap: .75rem; margin: 1.25rem 0; }
.code-form .input { font-family: ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.code-form .button { align-self: flex-start; }
.help-member { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding: 1.25rem 1.5rem; margin: -1rem 0 2rem; border-radius: .75rem; background: var(--vs-primary-50); border: 1px solid #DBEAFE; }
.help-member > div { flex: 1 1 18rem; }
main .help-member h2 { font-size: 1.125rem; margin: 0 0 .25rem; color: var(--vs-brand-900); }
.help-member p { margin: 0; color: var(--vs-gray-700); }  /* gray-500 on primary-50 misses 4.5:1 */
.help-hero .lead { max-width: 40rem; margin: 0 auto 1.25rem; }
main .help-hero h1 { margin-bottom: .5rem; }
.help-eyebrow { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: var(--vs-primary-600); margin-bottom: .5rem !important; }

.help-search { position: relative; max-width: 40rem; margin: 0 auto 1.5rem; text-align: left; }
.help-search.is-large { margin-bottom: 0; }
.help-search-label { display: block; font-size: .875rem; font-weight: 600; color: var(--vs-gray-950); margin-bottom: .375rem; }
.help-search-row { position: relative; display: flex; gap: .5rem; }
.help-search-icon { position: absolute; z-index: 2; left: .75rem; top: 1.3125rem; transform: translateY(-50%); color: var(--vs-gray-500); pointer-events: none; display: flex; }
.help-search.is-large .help-search-icon { top: 1.625rem; }
.help-search .help-search-input { padding-left: 2.5rem; min-width: 0; flex: 1; }
.help-search.is-large .help-search-input { height: 3.25rem; font-size: 1.0625rem; }
.help-search.is-large .help-search-button { min-height: 3.25rem; padding: 0 1.25rem; }
.help-search-hint { margin: .375rem 0 0 !important; }
.help-search:not(.is-large) .help-search-hint { display: none; }
.help-suggest { position: absolute; left: 0; right: 0; top: calc(100% + .25rem); z-index: 30; background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow-hover); overflow: hidden; }
.help-search.is-large .help-suggest { top: 5.25rem; }
.help-suggest-list { max-height: 22rem; overflow-y: auto; margin: 0 !important; }
.help-suggest-list > li { border-bottom: 1px solid var(--vs-gray-100); }
.help-suggest-list a { display: flex; flex-direction: column; padding: .625rem 1rem; color: var(--vs-gray-950); text-decoration: none !important; }
.help-suggest-list [aria-selected="true"] a, .help-suggest-list a:hover { background: var(--vs-primary-50); }
.help-suggest-list [aria-selected="true"] a { box-shadow: inset 3px 0 0 var(--vs-primary-600); }
.help-suggest-title { font-weight: 600; }
.help-suggest-meta { font-size: .8125rem; color: var(--vs-gray-500); }
.help-suggest-empty { padding: .75rem 1rem; color: var(--vs-gray-500); font-size: .9375rem; }
.help-suggest-all { display: block; padding: .625rem 1rem; font-size: .875rem; font-weight: 600; background: var(--vs-canvas); }

.help-categories { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin: 0 0 2rem !important; }
.help-category-card { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); padding: 1.25rem; display: flex; flex-direction: column; transition: box-shadow .15s ease, border-color .15s ease; }
.help-category-card:hover, .help-category-card:focus-within { box-shadow: var(--vs-shadow-hover); border-color: var(--vs-gray-300); }
main .help-category-card h3 { margin: .75rem 0 .25rem; font-size: 1.125rem; }
main .help-category-card h3 a { color: var(--vs-gray-950); text-decoration: none; }
main .help-category-card h3 a:hover { color: var(--vs-primary-600); text-decoration: underline; }
.help-category-card > p { font-size: .9375rem; margin-bottom: .75rem; }
.help-category-card > .meta { margin: auto 0 0; padding-top: .5rem; }
.help-category-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: .625rem; background: var(--vs-primary-50); color: var(--vs-primary-600); flex: none; }
.help-category-articles { margin: 0 0 .5rem !important; font-size: .9375rem; }
.help-category-articles li { padding: .1875rem 0; }

.help-article-list { margin: 0 !important; }
.help-article-list > li + li { border-top: 1px solid var(--vs-gray-200); }
.help-article-link { display: flex; align-items: flex-start; gap: .75rem; padding: .875rem .25rem; color: var(--vs-gray-700); text-decoration: none !important; border-radius: .5rem; }
.help-article-link > .icon { margin-top: .1875rem; color: var(--vs-gray-500); }
.help-article-link:hover { background: var(--vs-canvas); }
.help-article-link:hover .help-article-title { color: var(--vs-primary-600); text-decoration: underline; }
.help-article-link .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .125rem; }
.help-article-title { font-weight: 600; color: var(--vs-gray-950); }
.help-article-desc { font-size: .9375rem; }
.help-article-cat { display: inline-block; font-size: .8125rem; color: var(--vs-gray-500); }

.help-results { margin-bottom: 2rem; }
.help-result-list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.help-result-list > li { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; padding: 1rem 1.25rem; margin-bottom: .75rem; }
.help-result-list p { margin: .25rem 0 0 !important; font-size: .9375rem; }
.help-result-title { font-size: 1.0625rem; font-weight: 600; margin-right: .5rem; }
.help mark { background: #FEF3C7; color: inherit; border-radius: .125rem; padding: 0 .0625rem; }
.help-empty { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; padding: 1.25rem 1.5rem; }
main .help-empty h2 { margin-top: 0; }

.help-page-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.help-page-head .lead { margin: 0; }
.help-page-head + .help-search { margin-left: 0; }
.help-other-cats ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem !important; }
.help-other-cats a { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border: 1px solid var(--vs-gray-200); border-radius: 999px; background: var(--vs-surface); font-size: .9375rem; text-decoration: none !important; }
.help-other-cats a:hover { border-color: var(--vs-primary-600); }

.help-article-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .help-article-layout { grid-template-columns: minmax(0, 1fr) 17rem; } }
.help-article { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; box-shadow: var(--vs-shadow); padding: 1.75rem 2rem; min-width: 0; }
.help-article-head { border-bottom: 1px solid var(--vs-gray-200); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.help-article-head .lead { margin: 0; }
.help-toc { background: var(--vs-canvas); border: 1px solid var(--vs-gray-200); border-radius: .5rem; padding: .875rem 1.25rem; margin-bottom: 1.5rem; }
main .help-toc h2 { font-size: .875rem; line-height: 1.25rem; text-transform: uppercase; letter-spacing: .04em; color: var(--vs-gray-500); margin: 0 0 .375rem; }
.help-toc ol { margin: 0 !important; padding-left: 1.25rem; list-style: decimal; }
.help-toc li { padding: .125rem 0; }
.help-body { font-size: 1rem; line-height: 1.65; max-width: 46rem; }
.help-body p, .help-body ul, .help-body ol { margin: 0 0 1rem; }
.help-body ul { list-style: disc; padding-left: 1.4rem; }
.help-body ol { list-style: decimal; padding-left: 1.4rem; }
.help-body { color: var(--vs-gray-700); }
main .help-body h2 { scroll-margin-top: 5rem; font-size: 1.375rem; line-height: 1.875rem; margin-top: 2rem; }
main .help-body h3 { scroll-margin-top: 5rem; font-size: 1.125rem; margin-top: 1.5rem; }
.help-body li + li { margin-top: .25rem; }
.help-body code { font-size: .875em; background: var(--vs-gray-100); color: var(--vs-gray-950); padding: .0625rem .3125rem; border-radius: .25rem; overflow-wrap: anywhere; }
.help-body strong { color: var(--vs-gray-950); }
.help-callout { display: flex; gap: .625rem; align-items: flex-start; border-radius: .5rem; padding: .75rem 1rem; margin: 0 0 1rem; border: 1px solid; }
.help-callout > .icon { margin-top: .1875rem; }
.help-callout p { margin: 0 !important; }
.help-callout.is-note { background: var(--vs-primary-50); border-color: #BFDBFE; }
.help-callout.is-note > .icon { color: var(--vs-primary-600); }
.help-callout.is-warning { background: #FFFBEB; border-color: #FDE68A; }
.help-callout.is-warning > .icon { color: var(--vs-warning-700); }
.help-figure { margin: 1.25rem 0 1.5rem; }
.help-figure.is-narrow { max-width: 20rem; }
.help-shot { display: block; border: 1px solid var(--vs-gray-200); border-radius: .5rem; overflow: hidden; background: var(--vs-canvas); cursor: zoom-in; }
.help-shot:hover { border-color: var(--vs-primary-400); box-shadow: var(--vs-shadow-hover); }
.help-shot img { display: block; width: 100%; height: auto; }
.help-figure figcaption { font-size: .875rem; color: var(--vs-gray-500); margin-top: .5rem; }

.help-sidebar { min-width: 0; }
@media (min-width: 64rem) { .help-sidebar { position: sticky; top: 1.5rem; align-self: start; } }
.help-sidebar .help-search { margin: 0 0 1.25rem; }
.help-related { background: var(--vs-surface); border: 1px solid var(--vs-gray-200); border-radius: .75rem; padding: 1rem 1.25rem; }
main .help-related h2 { font-size: 1rem; line-height: 1.5rem; margin: 0 0 .5rem; }
.help-related ul { margin: 0 0 .75rem !important; }
.help-related li { padding: .3125rem 0; border-bottom: 1px solid var(--vs-gray-100); font-size: .9375rem; }
.help-related .meta { margin: 0; }

.help-contact { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.25rem 1.5rem; border-radius: .75rem; background: var(--vs-surface); border: 1px dashed var(--vs-gray-300); }
main .help-contact h2 { font-size: 1.125rem; line-height: 1.75rem; margin: 0 0 .25rem; }
.help-contact p { margin-bottom: .375rem !important; }
.help-contact a { overflow-wrap: anywhere; }
.help-contact-icon { display: inline-flex; padding: .5rem; border-radius: .625rem; background: var(--vs-primary-50); color: var(--vs-primary-600); }
@media (max-width: 40rem) {
  .help-hero { padding: 1.5rem 1rem; }
  .help-article { padding: 1.25rem 1rem; }
  .help-search-row { flex-wrap: wrap; }
  .help-search.is-large .help-search-button { width: 100%; }
  .help-search.is-large .help-suggest { top: 5.25rem; }
  .help-contact { flex-direction: column; gap: .5rem; }
}
/* Drawer head on phones: logo shrinks, close button keeps its place. */
.sidebar-top { gap: .5rem; }
.sidebar-top .brand { min-width: 0; }
@media (max-width: 1023px) { .sidebar-top .brand { font-size: .9rem; gap: .35rem; } .sidebar-top .brand img { width: 36px; height: auto; } }
.sidebar-close { flex: none; }

/* Consent dialog for the visitor statistics (includes/consent.html), same layout as on medupro.de. */
.vv-wahl { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; padding: 0; border: 1px solid var(--vs-gray-200); border-radius: .9rem; background: var(--vs-surface); color: var(--vs-gray-700); box-shadow: 0 18px 50px rgba(15, 45, 91, .28); overflow: auto; }
.vv-wahl::backdrop { background: rgba(15, 45, 91, .45); }
.vv-wahl-inhalt { padding: 1.5rem 1.5rem 1.1rem; font-size: .95rem; line-height: 1.55; }
.vv-wahl h2 { margin: 0 0 .6rem; font-size: 1.25rem; font-weight: 700; color: var(--vs-gray-950); }
.vv-wahl p { margin: 0; }
.vv-wahl-details { margin-top: 1rem; border-top: 1px solid var(--vs-gray-200); }
.vv-wahl-details[hidden] { display: none; }
.vv-wahl-gruppe { padding: .9rem 0; border-bottom: 1px solid var(--vs-gray-200); }
.vv-wahl-gruppe p { margin-top: .4rem; font-size: .875rem; color: var(--vs-gray-500); }
.vv-wahl-schalter { display: flex; width: 100%; margin: 0; align-items: center; gap: .6rem; font-weight: 600; color: var(--vs-brand-900); cursor: pointer; }
.vv-wahl-schalter small { margin-left: auto; font-weight: 400; font-size: .8125rem; color: var(--vs-gray-500); }
.vv-wahl-schalter input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 40px; height: 24px; margin: 0; border-radius: 12px; background: var(--vs-gray-200); cursor: pointer; transition: background .15s; }
.vv-wahl-schalter input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.vv-wahl-schalter input:checked { background: var(--vs-primary-600); }
.vv-wahl-schalter input:checked::after { transform: translateX(16px); }
.vv-wahl-schalter input:disabled { opacity: .55; cursor: default; }
.vv-wahl-schalter input:focus-visible { outline: 3px solid var(--vs-primary-400); outline-offset: 2px; }
.vv-wahl-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.vv-wahl-knopf { flex: 1 1 0; min-width: max-content; min-height: 44px; padding: 0 1rem; border: 1px solid var(--vs-primary-600); border-radius: .5rem; background: var(--vs-primary-600); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.vv-wahl-knopf:hover { background: var(--vs-primary-700); border-color: var(--vs-primary-700); }
.vv-wahl-knopf:focus-visible { outline: 3px solid var(--vs-primary-400); outline-offset: 2px; }
.vv-wahl-knopf[hidden] { display: none; }
.vv-wahl-zweit { background: var(--vs-surface); color: var(--vs-primary-700); }
.vv-wahl-zweit:hover { background: var(--vs-primary-50); color: var(--vs-primary-700); }
.vv-wahl-links { display: flex; gap: 1.1rem; margin-top: .9rem !important; font-size: .875rem; }
.vv-wahl-links a { color: var(--vs-primary-700); text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 32.5rem) { .vv-wahl-inhalt { padding: 1.25rem 1.1rem 1rem; } .vv-wahl-knoepfe { flex-direction: column; } .vv-wahl-knopf { width: 100%; } }
@media print { .vv-wahl { display: none; } }
/* Footer at the bottom of the window on short public pages (login, legal pages). */
body.layout-public { display: flex; flex-direction: column; }
body.layout-public > .public-main { flex: 1 0 auto; }

/* Slim footer on every page (includes/site_footer.html). */
.site-footer { font-size: .8125rem; color: var(--vs-gray-500); }
.site-footer.public-footer { margin-top: 2rem; border-top: 1px solid var(--vs-gray-200); background: var(--vs-surface); }
.site-footer.app-footer { display: block; padding: 0; }
.site-footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; padding-top: .85rem; padding-bottom: .85rem; }
.site-footer.app-footer .site-footer-row { padding: .85rem 2rem; }
.site-footer-brand { display: inline-flex; align-items: center; gap: .4rem; color: var(--vs-gray-500); }
.site-footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-left: auto; }
.site-footer a { color: var(--vs-gray-500); }
.site-footer a:hover { color: var(--vs-gray-950); }
.site-footer-seal { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 999px; background: #ECFDF5; color: var(--vs-success-700) !important; font-size: .75rem; font-weight: 600; white-space: nowrap; text-decoration: none !important; }
@media (max-width: 47.99rem) {
  .site-footer-row { justify-content: center; text-align: center; }
  .site-footer-links { margin-left: 0; justify-content: center; }
  .site-footer.app-footer .site-footer-row { padding: .85rem 1rem; }
}

/* Unterlagen zur Auflösung */
.dissolution-doc { padding: 1rem 0; border-top: 1px solid var(--bulma-border-weak, #e5e7eb); }
.dissolution-doc:first-of-type { border-top: 0; padding-top: 0; }
.dissolution-doc h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; }
.dissolution-doc .help { max-width: 48rem; }
.dissolution-text { white-space: pre-wrap; font-size: .85rem; max-height: 28rem; overflow: auto; margin: .5rem 0; }

/* Unformatierte Listen und Absätze in Karten, Feldgruppen mit eigenem Zusatzhinweis */
.card-box ul:not([class]), .box ul:not([class]) { list-style: disc; padding-left: 1.25rem; margin: .25rem 0 .75rem; }
.card-box > p, .card-box > form > p { margin-bottom: .75rem; }
.field-block { margin-bottom: 1.25rem; }
.field-block .field { margin-bottom: .25rem; }
.logo-row { margin-bottom: 1.5rem; }

/* Meeting room (anbindung/_raum.html): conference left, the page right; stacked on small screens. */
.meet-room { display: grid; grid-template-columns: minmax(0, 3fr) minmax(20rem, 2fr); gap: 1rem; align-items: stretch; }
.meet-video, .meet-page { display: flex; flex-direction: column; min-width: 0; }
.meet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.meet-head h2 { margin: 0; }
.focus-content:has(.meet-room) { max-width: 100rem; }
.meet-stage { min-height: 28rem; height: calc(100vh - 13rem); border-radius: .75rem; background: #0f172a; overflow: hidden; display: flex; }
.meet-stage iframe { border: 0; }
.meet-start { margin: auto; max-width: 26rem; padding: 1.5rem; text-align: center; color: #e2e8f0; }
.meet-start .help { color: #fecaca; }
.meet-page iframe { width: 100%; min-height: 28rem; height: calc(100vh - 13rem + 2.6rem); border: 1px solid var(--vs-gray-200, #e5e7eb); border-radius: .75rem; background: #fff; }
.meet-page-link { margin: .25rem 0 0; text-align: right; }
.embed-content { padding: .75rem 1rem 2rem; }
@media (max-width: 900px) {
  .meet-room { grid-template-columns: 1fr; }
  .meet-stage { height: 56vh; min-height: 18rem; }
  .meet-page iframe { height: 100vh; }
}

.meet-actions { display: inline-flex; gap: .75rem; align-items: center; }
.meet-hinweis { margin: 0 0 .5rem; padding: .5rem .75rem; border-radius: .5rem; background: #fef3c7; color: #78350f; font-weight: 600; }
.meet-panel-toggle { display: none; }
/* Full screen (the room's own, so the ballot can lie over the conference): video fills the screen, the page
   is a panel on the right that opens by itself when a ballot starts. */
.meet-room.is-vollbild { position: fixed; inset: 0; z-index: 1000; display: block; background: #0f172a; padding: 0; }
.meet-room.is-vollbild .meet-video { position: absolute; inset: 0; }
.meet-room.is-vollbild .meet-head { position: absolute; top: .5rem; left: .75rem; right: calc(min(28rem, 92vw) + 1.5rem); z-index: 3; margin: 0; }
.meet-room.is-vollbild .meet-head h2 { color: #e2e8f0; font-size: 1rem; }
.meet-room.is-vollbild .meet-head a { color: #bfdbfe; }
.meet-room.is-vollbild .meet-hinweis { position: absolute; top: 3rem; left: .75rem; z-index: 3; }
.meet-room.is-vollbild .meet-stage { height: 100%; min-height: 0; border-radius: 0; }
.meet-room.is-vollbild .meet-page { position: absolute; top: .75rem; right: .75rem; bottom: .75rem; width: min(28rem, 92vw); z-index: 2; transition: transform .2s ease; }
.meet-room.is-vollbild .meet-page iframe { height: 100%; min-height: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.meet-room.is-vollbild .meet-page-link { display: none; }
.meet-room.is-vollbild .meet-panel-toggle { display: inline-flex; position: absolute; bottom: 1rem; left: .75rem; z-index: 3; }
.meet-room.is-vollbild.is-panel-zu .meet-page { transform: translateX(calc(100% + 1rem)); }
.meet-room.is-vollbild.is-abstimmung .meet-page iframe { outline: 3px solid #f59e0b; }
html.meet-vollbild-aktiv { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .meet-room.is-vollbild .meet-page { transition: none; } }
/* Rare, destructive actions behind a disclosure (e.g. reprinting all circular letters). */
.danger-zone { margin-top: .75rem; }
.danger-zone > summary { cursor: pointer; color: var(--vs-gray-700, #374151); font-weight: 600; }
.danger-zone > p, .danger-zone > form { margin-top: .5rem; }
