/* FVN interner Bereich: Verwaltungslisten (ManageList) und Formulare (EditForm) – ergänzt UIkit 3 */
.fvn-ml { --fvn-border: #e5e5e5; --fvn-muted: #666; --fvn-hover: #f6f7f5; --fvn-accent: #52a13f; --fvn-accent-soft: #eef5ec; margin-bottom: 40px; font-size: .95rem; }

/* Kopf */
.fvn-ml-head { display: flex; align-items: center; gap: 14px; padding: 16px 0 14px; }
.fvn-ml-headicon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--fvn-accent-soft); color: var(--fvn-accent); }
.fvn-ml-headtext { flex: 1; min-width: 0; }
.fvn-ml-title { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.fvn-ml-count { color: var(--fvn-muted); font-size: .85rem; }
.fvn-ml-new { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; white-space: nowrap; }
.fvn-ml-intro { margin: 0 0 12px; color: var(--fvn-muted); }

/* Werkzeugleiste */
.fvn-ml-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px; margin-bottom: 12px; border: 1px solid var(--fvn-border); border-radius: 12px; background: #fafbf9; }
.fvn-ml-searchwrap { flex: 1 1 240px; }
.fvn-ml-searchwrap .uk-input { width: 100%; border-radius: 8px; background: #fff; }
.fvn-ml-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.fvn-ml-sort { width: auto; min-width: 170px; border-radius: 8px; background-color: #fff; }
.fvn-ml-views { display: inline-flex; border: 1px solid var(--fvn-border); border-radius: 8px; overflow: hidden; background: #fff; }
.fvn-ml-views .fvn-ml-iconbtn { width: 38px; height: 38px; border: 0; border-radius: 0; }
.fvn-ml-views [aria-pressed="true"] { background: var(--fvn-accent-soft); color: var(--fvn-accent); }
.fvn-ml-filters { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.fvn-ml-chip { flex: none; max-width: 100%; text-align: left; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--fvn-border); border-radius: 999px; background: #fff; color: #333; font: inherit; font-size: .85rem; cursor: pointer; }
.fvn-ml-chip:hover { border-color: #ccc; }
.fvn-ml-chip[aria-pressed="true"] { border-color: var(--fvn-accent); background: var(--fvn-accent); color: #fff; }
.fvn-ml-chipnum { font-size: .75rem; opacity: .7; font-variant-numeric: tabular-nums; }
.fvn-ml-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; }

/* Knöpfe */
.fvn-ml-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: none; color: #555; cursor: pointer; text-decoration: none; }
.fvn-ml-iconbtn:hover, .fvn-ml-iconbtn:focus-visible { background: #fff; border-color: var(--fvn-border); color: #111; text-decoration: none; }
.fvn-ml-primary { color: var(--fvn-accent); }
.fvn-ml-danger:hover, .fvn-ml-danger:focus-visible { color: #c62828; border-color: #f3c7c7; background: #fff5f5; }

/* Liste */
.fvn-ml-items { list-style: none; margin: 0; padding: 0; }
.fvn-ml-item { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 10px 10px 10px 16px; border: 1px solid var(--fvn-border); border-radius: 12px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.fvn-ml-item + .fvn-ml-item { margin-top: 8px; }
.fvn-ml-item::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c); }
.fvn-ml-item:hover { border-color: #d6dcd3; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.fvn-ml-media { flex: none; display: flex; align-items: center; justify-content: center; width: var(--thumb, 72px); aspect-ratio: var(--thumb-ratio, var(--ratio)); overflow: hidden; border-radius: 8px; background: #f3f4f2; color: var(--c); text-decoration: none; }
.fvn-ml-img { width: 100%; height: 100%; object-fit: cover; }
.fvn-ml-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--c); }
.fvn-ml-initials { font-weight: 700; font-size: 1.1rem; letter-spacing: .03em; background: color-mix(in srgb, var(--c) 14%, #fff); }
.fvn-ml-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 75%, #000); }
.fvn-ml-date-day { font-size: 1.35rem; font-weight: 700; }
.fvn-ml-date-month { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.fvn-ml-date-year { font-size: .65rem; opacity: .7; margin-top: 2px; }
.fvn-ml-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fvn-ml-cat { align-self: flex-start; max-width: 100%; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; padding: 0 6px; border-radius: 3px; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); font-size: .7rem; font-weight: 600; line-height: 1.7; text-transform: uppercase; letter-spacing: .02em; }
.fvn-ml-name { color: #222; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fvn-ml-name:hover { color: var(--fvn-accent); text-decoration: none; }
.fvn-ml-sub { color: #444; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fvn-ml-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .8rem; color: var(--fvn-muted); }
.fvn-ml-metaitem + .fvn-ml-metaitem::before { content: "·"; margin: 0 .4em; }
.fvn-ml-badge { margin-left: 8px; padding: 0 7px; border-radius: 999px; font-size: .72rem; font-weight: 600; line-height: 1.7; background: #f0f0f0; color: #555; }
.fvn-ml-meta > .fvn-ml-badge:first-child { margin-left: 0; }
.fvn-ml-badge--success { background: #e6f4e2; color: #2e6b22; }
.fvn-ml-badge--warning { background: #fff3d6; color: #8a5a00; }
.fvn-ml-badge--danger { background: #fde4e4; color: #b3261e; }
.fvn-ml-actions { flex: none; display: flex; gap: 2px; }

/* Kacheln */
.fvn-ml[data-view="grid"] .fvn-ml-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.fvn-ml[data-view="grid"] .fvn-ml-item { flex-direction: column; align-items: stretch; gap: 0; padding: 0; margin: 0; overflow: hidden; }
.fvn-ml[data-view="grid"] .fvn-ml-item::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 4px; border-radius: 0; z-index: 1; }
.fvn-ml[data-view="grid"] .fvn-ml-media { width: 100%; aspect-ratio: var(--ratio); border-radius: 0; }
.fvn-ml[data-view="grid"] .fvn-ml-date-day { font-size: 2.6rem; }
.fvn-ml[data-view="grid"] .fvn-ml-date-month { font-size: 1rem; }
.fvn-ml[data-view="grid"] .fvn-ml-date-year { font-size: .8rem; }
.fvn-ml[data-view="grid"] .fvn-ml-initials { font-size: 2.2rem; }
.fvn-ml[data-view="grid"] .fvn-ml-text { padding: 12px 14px 4px; }
.fvn-ml[data-view="grid"] .fvn-ml-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.fvn-ml[data-view="grid"] .fvn-ml-sub { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-bottom: 4px; }
.fvn-ml[data-view="grid"] .fvn-ml-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
.fvn-ml[data-view="grid"] .fvn-ml-metaitem { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fvn-ml[data-view="grid"] .fvn-ml-metaitem + .fvn-ml-metaitem::before { content: none; }
.fvn-ml[data-view="grid"] .fvn-ml-badge { margin-left: 0; }
.fvn-ml[data-view="grid"] .fvn-ml-actions { justify-content: flex-end; margin-top: auto; padding: 4px 8px 8px; }
.fvn-ml-item[hidden] { display: none !important; }

/* Leer / nichts gefunden */
.fvn-ml-blank { padding: 48px 20px; border: 2px dashed var(--fvn-border); border-radius: 12px; text-align: center; color: var(--fvn-muted); }
.fvn-ml-blank > span { color: var(--fvn-accent); }
.fvn-ml-none { padding: 24px; text-align: center; color: var(--fvn-muted); }

/* PDF-Viewer */
.fvn-ml-viewer-dialog { display: flex; flex-direction: column; height: 100vh; }
.fvn-ml-viewer-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--fvn-border); background: #fff; }
.fvn-ml-viewer-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fvn-ml-viewer-frame { flex: 1; width: 100%; border: 0; background: #525659; }

@media (max-width: 639px) {
    .fvn-ml-head { flex-wrap: wrap; }
    .fvn-ml-new { width: 100%; justify-content: center; }
    .fvn-ml-tools { margin-left: 0; width: 100%; justify-content: space-between; }
    .fvn-ml-sort { flex: 1; min-width: 0; }
    .fvn-ml-item { flex-wrap: wrap; }
    .fvn-ml-media { width: min(var(--thumb, 72px), 56px); }
    .fvn-ml-actions { width: 100%; justify-content: flex-end; border-top: 1px solid #f0f0f0; padding-top: 6px; }
    .fvn-ml[data-view="grid"] .fvn-ml-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .fvn-ml[data-view="grid"] .fvn-ml-actions { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .fvn-ml-item { transition: none; } }

/* ===== Formulare (EditForm, ytemplates/fvn mit fvn_layout) ===== */
.fvn-ef { --fvn-border: #e5e5e5; --fvn-muted: #666; --fvn-accent: #52a13f; --fvn-accent-soft: #eef5ec; max-width: 960px; margin: 0 auto 48px; }
.fvn-ef .fvn-ml-title { font-size: 1.6rem; text-align: left; color: #222; }
.fvn-ef-intro { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid var(--fvn-accent); border-radius: 8px; background: var(--fvn-accent-soft); color: #333; }
.fvn-ef-intro > :last-child { margin-bottom: 0; }
.fvn-ef-card { padding: 28px 32px; border: 1px solid var(--fvn-border); border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .05); }

.fvn-form-grid, .fvn-fieldset { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 20px; align-items: start; }
.fvn-fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.fvn-legend { grid-column: 1 / -1; order: 0; padding: 0; font-size: 1.1rem; font-weight: 600; }
.fvn-field { grid-column: span 6; min-width: 0; margin: 0; }
.fvn-span-half { grid-column: span 3; }
.fvn-span-third { grid-column: span 2; }
.fvn-span-twothirds { grid-column: span 4; }
.fvn-form .uk-form-label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: #333; }
.fvn-form .uk-input, .fvn-form .uk-select, .fvn-form .uk-textarea { border-radius: 8px; border-color: #d9dcd6; background-color: #fff; }
.fvn-form .uk-input:focus, .fvn-form .uk-select:focus, .fvn-form .uk-textarea:focus { border-color: var(--fvn-accent); box-shadow: 0 0 0 3px rgba(82, 161, 63, .15); }
.fvn-form .uk-textarea { min-height: 110px; }
.fvn-form .fvn-field > .uk-form-controls > p.uk-text-small,
.fvn-form .fvn-field > p.uk-text-small { margin-top: 5px !important; color: var(--fvn-muted); line-height: 1.4; }
.fvn-form .fvn-field-error .uk-form-label { color: #b3261e; }
.fvn-form .uk-form-danger, .fvn-form .fvn-field-error .uk-input, .fvn-form .fvn-field-error .uk-select, .fvn-form .fvn-field-error .uk-textarea { border-color: #e0524a; background-color: #fff8f7; }
.fvn-form .ck-editor { border-radius: 8px; }
.fvn-form .uk-alert-danger { grid-column: 1 / -1; border-radius: 8px; }

/* Auswahl-Knöpfe (Mehrfachauswahl, z. B. Kategorien) */
.fvn-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fvn-pill { position: relative; cursor: pointer; }
.fvn-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fvn-pill span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #d9dcd6; border-radius: 999px; background: #fff; font-size: .9rem; color: #333; transition: background .15s, border-color .15s; }
.fvn-pill span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid #bbb; border-radius: 4px; background: #fff center / 10px no-repeat; }
.fvn-pill:hover span { border-color: #b8c2b3; }
.fvn-pill input:checked + span { border-color: var(--fvn-accent); background: var(--fvn-accent-soft); color: #234d1a; font-weight: 600; }
.fvn-pill input:checked + span::before { border-color: var(--fvn-accent); background-color: var(--fvn-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E"); }
.fvn-pill input:focus-visible + span { outline: 2px solid var(--fvn-accent); outline-offset: 2px; }

/* lange Checkbox-Listen (Downloads anfügen) */
.fvn-form .fvn-choice-scroll { max-height: 260px; overflow-y: auto; padding: 10px 14px; border: 1px solid #d9dcd6; border-radius: 8px; background: #fafbf9; }
.fvn-form .fvn-choice-scroll label { padding: 3px 0; }

/* Datei-Upload */
.fvn-form .fvn-upload [uk-form-custom] .uk-input { padding-left: 40px; background: #fafbf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%2352a13f' stroke-width='1.2' d='M10 13V3M6 7l4-4 4 4M3 13v4h14v-4'/%3E%3C/svg%3E") 12px center no-repeat; border-style: dashed; cursor: pointer; }

/* Aktionsleiste */
.fvn-form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--fvn-border); }
.fvn-form-actions .uk-button { border-radius: 8px; }
.fvn-form-actions .uk-button-primary { min-width: 160px; }

/* Erfolgsmeldung / nicht gefunden */
.fvn-ef-done { padding: 32px 16px; text-align: center; }
.fvn-ef-done h2 { margin: 12px 0 6px; }
.fvn-ef-doneicon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--fvn-accent-soft); color: var(--fvn-accent); }
.fvn-ef-doneicon--warning { background: #fff3d6; color: #8a5a00; }
.fvn-ef-donebuttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

@media (max-width: 799px) {
    .fvn-ef-card { padding: 18px 16px; border-radius: 12px; }
    .fvn-span-half, .fvn-span-third, .fvn-span-twothirds { grid-column: span 6; }
    .fvn-form-actions .uk-button { flex: 1 1 auto; }
}
@media (min-width: 800px) and (max-width: 959px) {
    .fvn-span-third { grid-column: span 3; }
    .fvn-span-twothirds { grid-column: span 6; }
}

/* ===== Startseite (Dashboard) ===== */
.fvn-dash { --fvn-border: #e5e5e5; --fvn-muted: #666; --fvn-accent: #52a13f; --fvn-accent-dark: #2f6b23; --fvn-accent-soft: #eef5ec; max-width: 1200px; margin: 0 auto 32px; }
.fvn-dash-h { margin: 0 0 12px; font-size: 1.1rem; font-weight: 700; color: #222; display: flex; align-items: center; gap: 8px; text-align: left; }
.fvn-dash-h [uk-icon] { color: var(--fvn-accent); }
.fvn-dash > section, .fvn-dash > aside, .fvn-dash-cols { margin-top: 28px; }

.fvn-dash-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 36px 40px; border-radius: 20px; color: #fff;
    background: linear-gradient(120deg, #3f8d2f 0%, #52a13f 45%, #7cc068 100%); background-size: 200% 200%; animation: fvn-dash-shift 14s ease-in-out infinite alternate; }
.fvn-dash-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 80px, transparent 80px 160px); pointer-events: none; }
.fvn-dash-hero-text { position: relative; z-index: 1; max-width: 720px; }
.fvn-dash-kicker { margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.fvn-dash .fvn-dash-title { margin: 0; color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; text-align: left; }
.fvn-dash-lead { margin: 8px 0 0; font-size: 1.05rem; opacity: .92; }
.fvn-dash-logout { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; font-size: .9rem; text-decoration: none; }
.fvn-dash-logout:hover { background: rgba(255,255,255,.15); color: #fff; text-decoration: none; }
.fvn-dash-ball { position: absolute; right: -40px; top: -50px; width: 220px; height: 220px; border-radius: 50%; border: 18px solid rgba(255,255,255,.12); animation: fvn-dash-float 9s ease-in-out infinite; }
.fvn-dash-ball::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 10px solid rgba(255,255,255,.1); }
@keyframes fvn-dash-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes fvn-dash-float { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-14px, 12px) rotate(20deg); } }

.fvn-dash-notice { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; border: 1px solid #f1d38a; border-radius: 14px; background: #fff8e6; color: #5c4300; }
.fvn-dash-notice-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #ffe7a8; color: #8a5a00; animation: fvn-dash-spin 8s linear infinite; }
.fvn-dash-notice .ck-content > :first-child { margin-top: 0; }
.fvn-dash-notice .ck-content > :last-child { margin-bottom: 0; }
@keyframes fvn-dash-spin { to { transform: rotate(360deg); } }

.fvn-dash-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fvn-dash-action { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--fvn-border); border-radius: 14px; background: #fff; color: #222; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.fvn-dash-action:hover, .fvn-dash-action:focus-visible { transform: translateY(-2px); border-color: var(--fvn-accent); box-shadow: 0 8px 22px rgba(82, 161, 63, .15); color: #222; text-decoration: none; }
.fvn-dash-action-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--fvn-accent-soft); color: var(--fvn-accent); }
.fvn-dash-action-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.fvn-dash-action-text span { font-size: .8rem; color: var(--fvn-muted); }
.fvn-dash-action-plus { flex: none; color: var(--fvn-accent); }

.fvn-dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fvn-dash-stat { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "num icon" "label label" "note note"; padding: 18px 18px 16px; border-radius: 14px; background: #f6f8f5; color: #222; text-decoration: none; transition: background .15s; }
.fvn-dash-stat:hover { background: var(--fvn-accent-soft); color: #222; text-decoration: none; }
.fvn-dash-stat-num { grid-area: num; font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--fvn-accent-dark); font-variant-numeric: tabular-nums; }
.fvn-dash-stat-icon { grid-area: icon; justify-self: end; color: var(--fvn-accent); }
.fvn-dash-stat-label { grid-area: label; margin-top: 8px; font-weight: 600; }
.fvn-dash-stat-note { grid-area: note; font-size: .82rem; color: var(--fvn-muted); }
.fvn-dash-stat--warn .fvn-dash-stat-note { color: #b3261e; font-weight: 600; }

.fvn-dash-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fvn-dash-cols:empty { display: none; }
.fvn-dash-panel { display: flex; flex-direction: column; padding: 20px 22px; border: 1px solid var(--fvn-border); border-radius: 14px; background: #fff; }
.fvn-dash-list { margin: 0 0 8px; padding: 0; list-style: none; }
.fvn-dash-list li + li { border-top: 1px solid #f0f0f0; }
.fvn-dash-list a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: #222; text-decoration: none; }
.fvn-dash-list a:hover { color: var(--fvn-accent); text-decoration: none; }
.fvn-dash-list a > span:last-child { min-width: 0; display: flex; flex-direction: column; font-weight: 600; line-height: 1.3; }
.fvn-dash-list small { font-weight: 400; color: var(--fvn-muted); }
.fvn-dash-date { flex: none; display: flex; flex-direction: column; align-items: center; width: 46px; padding: 4px 0; border-radius: 8px; background: var(--fvn-accent-soft); color: var(--fvn-accent-dark); font-size: .7rem; text-transform: uppercase; line-height: 1.1; }
.fvn-dash-date strong { font-size: 1.15rem; }
.fvn-dash-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fvn-accent); }
.fvn-dash-empty { color: var(--fvn-muted); }
.fvn-dash-more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding-top: 6px; font-weight: 600; }
.fvn-dash-new { background: linear-gradient(180deg, #f3f9f1, #fff 60%); }
.fvn-dash-new .ck-content ul { padding-left: 1.2em; }
.fvn-dash-new .ck-content li { margin-bottom: 6px; }
.fvn-dash-hints .ck-content h3, .fvn-dash-hints .ck-content h4 { margin: 14px 0 4px; font-size: 1rem; }
.fvn-dash-hints .ck-content > :first-child { margin-top: 0; }

@media (max-width: 959px) {
    .fvn-dash-actions, .fvn-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fvn-dash-cols { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
    .fvn-dash-hero { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .fvn-dash-actions { grid-template-columns: 1fr; }
    .fvn-dash-stat-num { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .fvn-dash-hero, .fvn-dash-ball, .fvn-dash-notice-icon { animation: none; }
    .fvn-dash-action { transition: none; }
}

/* ===== Anmeldung (Kreis-Login) ===== */
.fvn-login { --fvn-accent: #52a13f; --fvn-accent-soft: #eef5ec; position: relative; display: grid; min-height: 560px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "side card"; max-width: 1040px; margin: 24px auto 48px; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .1); }
.fvn-login-pitch, .fvn-login-info { grid-area: side; }
.fvn-login-pitch { position: relative; overflow: hidden; background: linear-gradient(160deg, #2f7a22, #52a13f 55%, #6db45a); }
.fvn-login-pitch::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 60px, transparent 60px 120px); }
.fvn-login-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.fvn-login-circle { transform-origin: 200px 300px; animation: fvn-login-pulse 4s ease-in-out infinite; }
.fvn-login-ball { position: absolute; left: 22%; top: 20%; width: 30px; height: 30px; margin: -15px 0 0 -15px; background: url("fussball.svg") center / contain no-repeat; filter: drop-shadow(3px 5px 3px rgba(0, 0, 0, .35)); animation: fvn-login-pass 11s infinite; }
@keyframes fvn-login-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: .5; } }
/* Pässe: schnell gespielt, rollt aus (abbremsend), liegt kurz, nächster Pass; Drehung passend zur Strecke */
@keyframes fvn-login-pass {
    0% { left: 22%; top: 20%; transform: rotate(0deg); animation-timing-function: cubic-bezier(.12, .8, .3, 1); }
    11% { left: 72%; top: 32%; transform: rotate(540deg); }
    25% { left: 72%; top: 32%; transform: rotate(540deg); animation-timing-function: cubic-bezier(.12, .8, .3, 1); }
    35% { left: 38%; top: 48%; transform: rotate(900deg); }
    50% { left: 38%; top: 48%; transform: rotate(900deg); animation-timing-function: cubic-bezier(.12, .8, .3, 1); }
    61% { left: 80%; top: 13%; transform: rotate(1400deg); }
    75% { left: 80%; top: 13%; transform: rotate(1400deg); animation-timing-function: cubic-bezier(.12, .8, .3, 1); }
    88% { left: 22%; top: 20%; transform: rotate(1800deg); }
    100% { left: 22%; top: 20%; transform: rotate(1800deg); }
}
.fvn-login-info { position: relative; z-index: 1; align-self: end; padding: 48px 44px; color: #fff; }
.fvn-login-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.fvn-login .fvn-login-claim { margin: 0 0 10px; color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; text-align: left; }
.fvn-login-info > p { margin: 0 0 18px; opacity: .92; }
.fvn-login-features { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-weight: 600; }
.fvn-login-features li { display: flex; align-items: center; gap: 8px; }
.fvn-login-features [uk-icon] { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.18); }
.fvn-login-card { grid-area: card; padding: 52px 48px; animation: fvn-login-in .5s ease-out both; }
.fvn-login-avatar { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 16px; background: var(--fvn-accent-soft); color: var(--fvn-accent); }
.fvn-login .fvn-login-title { margin: 0; font-size: 1.8rem; color: #222; text-align: left; }
.fvn-login-sub { margin: 4px 0 24px; color: #666; }
.fvn-login .fvn-form-grid { gap: 16px; }
.fvn-login .uk-input { height: 46px; border-radius: 10px; }
.fvn-login .fvn-form-actions { margin-top: 4px; padding-top: 0; border-top: 0; }
.fvn-login .fvn-form-actions .uk-button { width: 100%; height: 48px; border-radius: 10px; font-size: 1rem; }
.fvn-login-help { display: flex; gap: 8px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #eee; font-size: .85rem; color: #666; }
.fvn-login-help [uk-icon] { flex: none; color: var(--fvn-accent); }
@keyframes fvn-login-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 799px) {
    .fvn-login { grid-template-columns: 1fr; grid-template-areas: "side" "card"; min-height: 0; margin-top: 12px; border-radius: 16px; }
    .fvn-login-info { padding: 28px 24px; }
    .fvn-login-card { padding: 28px 22px; }
    .fvn-login-ball { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fvn-login-ball, .fvn-login-circle, .fvn-login-card { animation: none; } }

/* Auswahl-Filter (Jahr, Monat) und Sammel-Aktion */
.fvn-ml-facet { width: auto; min-width: 120px; border-radius: 8px; background-color: #fff; }
.fvn-ml-bulk { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; white-space: nowrap; color: #b3261e; border-color: #f0c8c5; }
.fvn-ml-bulk:hover { background: #fff5f5; color: #8e1d17; border-color: #e0524a; }
@media (max-width: 639px) {
    .fvn-ml-tools { flex-wrap: wrap; }
    .fvn-ml-facet { flex: 1 1 40%; min-width: 0; }
    .fvn-ml-bulk { width: 100%; justify-content: center; }
}

/* Bild zuschneiden (media_crop, assets/image-crop.js) */
.fvn-crop-current { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; padding: 10px; border: 1px solid #e5e5e5; border-radius: 10px; background: #fafbf9; }
.fvn-crop-current img { width: 160px; flex: none; object-fit: cover; border-radius: 6px; }
.fvn-crop-pick .uk-input { padding-left: 40px; background: #fafbf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%2352a13f' stroke-width='1.2' d='M10 13V3M6 7l4-4 4 4M3 13v4h14v-4'/%3E%3C/svg%3E") 12px center no-repeat; border-style: dashed; cursor: pointer; }
.fvn-crop-editor { margin-top: 12px; padding: 12px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fafbf9; }
.fvn-crop-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .85rem; color: #555; }
.fvn-crop-mode { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #d9dcd6; border-radius: 999px; background: #fff; font: inherit; color: #333; cursor: pointer; }
.fvn-crop-mode[aria-pressed="true"] { border-color: #52a13f; background: #52a13f; color: #fff; }
.fvn-crop-bgs { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.fvn-crop-bgs[hidden] { display: none; }
.fvn-crop-bg { width: 24px; height: 24px; padding: 0; border: 2px solid #d9dcd6; border-radius: 50%; background: var(--bg, #fff); cursor: pointer; }
.fvn-crop-bg[aria-pressed="true"] { border-color: #52a13f; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #52a13f; }
.fvn-crop-stage { position: relative; width: 100%; overflow: hidden; border-radius: 8px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 20px 20px; cursor: grab; touch-action: none; user-select: none; outline-offset: 3px; }
.fvn-crop-stage.is-dragging { cursor: grabbing; }
.fvn-crop-stage:focus-visible { outline: 3px solid #52a13f; }
.fvn-crop-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.fvn-crop-badge { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; pointer-events: none; }
.fvn-crop-tools { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #666; }
.fvn-crop-zoom { flex: 1; }
.fvn-crop-tools .uk-button { display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; text-transform: none; }
.fvn-crop-hint { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: .82rem; color: #555; }
.fvn-crop-hint [uk-icon] { flex: none; color: #52a13f; }
.fvn-crop.is-saving .fvn-crop-stage { opacity: .6; }
@media (max-width: 639px) { .fvn-crop-current { flex-direction: column; align-items: flex-start; } .fvn-crop-current img { width: 100%; } .fvn-crop-bgs { margin-left: 0; } }
.fvn-login-avatar--info { background: #fff3d6; color: #8a5a00; }
