/* #EVENTS — Design System
   Pink-Identität behalten, aber moderner und ruhiger eingesetzt.
*/

:root {
  /* Brand pink — softer than the original #D6006C, calibrated for a11y */
  --accent: #D6006C;
  --accent-50: #FFF1F8;
  --accent-100: #FFE3F0;
  --accent-200: #FFC3DD;
  --accent-300: #FF8FBE;
  --accent-400: #EF4A99;
  --accent-500: #D6006C;
  --accent-600: #B00057;
  --accent-700: #8B0045;

  /* Dark navy from original (#1D3D9A ungefähr) */
  --ink-900: #0E1A3A;
  --ink-800: #1D2B55;
  --ink-700: #2B3B6B;
  --ink-600: #445181;
  --ink-500: #6B7399;
  --ink-400: #9AA0BB;
  --ink-300: #C2C6D9;
  --ink-200: #E0E2EC;
  --ink-100: #EFF0F5;
  --ink-50: #F7F8FB;

  /* Neutrals */
  --bg: #FAFAFB;
  --surface: #FFFFFF;
  --border: #E8E8EE;
  --border-strong: #D4D4DC;

  /* Semantics */
  --success: #06A77D;
  --warn: #EA580C;
  --danger: #DC2626;

  /* Tag tones */
  --tag-pink: #D6006C;
  --tag-violet: #7B2CBF;
  --tag-green: #06A77D;
  --tag-rose: #9D174D;
  --tag-blue: #1E40AF;
  --tag-orange: #EA580C;
  --tag-teal: #0F766E;

  /* Radii — tweakable */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Density — tweakable */
  --density: 1;          /* 0.8 = kompakt, 1 = standard, 1.15 = komfortabel */
  --row-h: calc(48px * var(--density));
  --pad: calc(16px * var(--density));

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14, 26, 58, 0.05);
  --shadow: 0 4px 12px rgba(14, 26, 58, 0.06), 0 1px 3px rgba(14, 26, 58, 0.04);
  --shadow-lg: 0 12px 40px rgba(14, 26, 58, 0.10), 0 2px 8px rgba(14, 26, 58, 0.05);
  --shadow-accent: 0 8px 24px rgba(214, 0, 108, 0.18);

  /* Type */
  --font-sans: "Instrument Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.45;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; }

/* Scrollbars */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 10px; border: 2px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: var(--ink-300); }
*::-webkit-scrollbar-track { background: transparent; }

/* =============== App Shell =============== */
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--bg);
}
.app-shell.no-sidebar {
  grid-template-columns: 1fr;
}


/* Sidebar (desktop) */
.sidebar {
  position: sticky; top: 0;
  height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 24px 18px;
  gap: 18px;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand-mark {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: grid; place-items: center;
  color: white; font-weight: 700; font-size: 20px;
  box-shadow: var(--shadow-accent);
}
.sidebar-brand-name {
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.sidebar-brand-sub {
  font-size: 11px; color: var(--ink-500); margin-top: 2px; letter-spacing: 0.02em;
}

.sidebar-section-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-500); font-weight: 600;
  padding: 0 8px 6px;
}

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink-700);
  cursor: pointer; transition: background .15s, color .15s;
  width: 100%; text-align: left;
}
.nav-item:hover { background: var(--ink-50); color: var(--ink-900); }
.nav-item.active { background: var(--accent-50); color: var(--accent-700); font-weight: 600; }
.nav-item.active .nav-icon { color: var(--accent); }
.nav-icon { width: 18px; height: 18px; color: var(--ink-500); flex-shrink: 0; }

.sidebar-user {
  margin-top: auto;
  padding: 12px; border-radius: var(--radius);
  background: var(--ink-50);
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-700));
  color: white; display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
  flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.user-role { font-size: 11px; color: var(--ink-500); margin-top: 2px; }

/* Main */
.main {
  display: flex; flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.main-topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky; top: 0; z-index: 30;
  flex-wrap: nowrap;
  min-width: 0;
}
.topbar-title-wrap { min-width: 0; }
.topbar-title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink-900);
}
.topbar-sub {
  font-size: 13px; color: var(--ink-500); margin-top: 2px;
}
.topbar-spacer { flex: 1; }

/* Search */
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink-50);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  width: 320px;
  transition: background .15s, border-color .15s;
}
.search:focus-within { background: white; border-color: var(--accent-300); box-shadow: 0 0 0 4px var(--accent-50); }
.search input { border: none; background: none; outline: none; flex: 1; font-size: 14px; }
.search input::placeholder { color: var(--ink-500); }
.search-icon { color: var(--ink-500); width: 16px; height: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px;
  transition: transform .08s, background .15s, box-shadow .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--accent-600); }
.btn-secondary {
  background: var(--surface); color: var(--ink-800);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--ink-50); border-color: var(--ink-300); }
.btn-ghost { color: var(--ink-600); padding: 8px 12px; }
.btn-ghost:hover { background: var(--ink-50); color: var(--ink-900); }
.btn-icon {
  width: 36px; height: 36px; padding: 0;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--ink-600);
}
.btn-icon:hover { background: var(--ink-50); color: var(--ink-900); }
.btn-icon.danger:hover { background: #FEE2E2; color: var(--danger); }

/* Content area */
.content {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.content > * { min-width: 0; }

/* Intermediate layout: stack day panel below calendar when narrow */
@media (max-width: 1200px) {
  .content { grid-template-columns: 1fr; }
  .day-panel { position: static; }
}
@media (max-width: 1100px) {
  .sidebar { width: 220px; }
  .app-shell { grid-template-columns: 220px 1fr; }
  .search { width: 220px; }
}
@media (max-width: 1000px) {
  .search { width: 180px; }
  .topbar-sub { display: none; }
  .btn-label-hide-md { display: none; }
  .btn-primary.compact-md { padding: 10px; width: 40px; }
}

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
}
.card-pad { padding: 24px; }

/* =============== Calendar =============== */
.cal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px 16px;
}
.cal-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400; letter-spacing: -0.02em;
  color: var(--ink-900);
  flex: 1;
}
.cal-title b { font-weight: 400; color: var(--accent); font-style: italic; }

.cal-nav { display: flex; gap: 4px; align-items: center; }
.cal-today-btn {
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius-full);
  background: var(--ink-50); color: var(--ink-700);
  border: 1px solid var(--border);
  margin-right: 4px;
}
.cal-today-btn:hover { background: var(--ink-100); }

.view-switch {
  display: inline-flex; background: var(--ink-50);
  padding: 3px; border-radius: var(--radius-full);
  border: 1px solid var(--border);
}
.view-switch button {
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; color: var(--ink-600);
}
.view-switch button.active { background: white; color: var(--ink-900); box-shadow: var(--shadow-sm); }

/* Tag pills */
.tag-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 8px 24px 18px;
}
.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
  background: var(--ink-50); color: var(--ink-700);
  border: 1px solid var(--border);
  transition: all .15s;
  white-space: nowrap;
}
.tag-pill:hover { background: var(--ink-100); }
.tag-pill.active {
  background: var(--accent); color: white; border-color: var(--accent);
}
.tag-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: .7;
}
.tag-pill.active .dot { background: white; opacity: 1; }

/* Calendar grid */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.cal-weekday {
  padding: 10px 8px;
  text-align: center;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600;
  color: var(--ink-500);
  background: var(--ink-50);
  border-right: 1px solid var(--border);
}
.cal-weekday:last-child { border-right: none; }

.cal-day {
  min-height: calc(108px * var(--density));
  height: calc(148px * var(--density));
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6px 4px 4px;
  background: var(--surface);
  cursor: pointer;
  transition: background .12s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  position: relative;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day:hover { background: var(--ink-50); }
.cal-day.other-month { background: #FCFCFD; }
.cal-day.other-month .cal-day-num { color: var(--ink-400); }
.cal-day.selected { background: var(--accent-50); }
.cal-day.selected .cal-day-num { color: var(--accent); }
.cal-day.today .cal-day-num {
  background: var(--accent); color: white;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600;
}
.cal-day.weekend { background: var(--ink-50); }
.cal-day.weekend.other-month { background: #F5F5F8; }

.cal-day-num {
  font-size: 13px; font-weight: 600;
  color: var(--ink-800);
  line-height: 1;
  width: 100%;
  margin-bottom: 4px;
}

.cal-event {
  padding: 4px 6px 4px 8px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  width: 84%;
  max-width: 84%;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  position: relative;
  background: #FEFAE8 !important;
  background-image: none !important;
  filter: none !important;
  border-left: 3px solid var(--postit-accent, #888);
  box-shadow: 1px 2px 6px rgba(0,0,0,.13), 3px 5px 14px rgba(0,0,0,.07);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  margin-bottom: 0;
}
.cal-day { gap: 0 !important; }

/* Left Post-it */
.cal-event.postit-left {
  align-self: flex-start;
  margin-left: 2px;
  transform: rotate(-1.4deg);
}
/* Right Post-it */
.cal-event.postit-right {
  align-self: flex-end;
  margin-right: 2px;
  transform: rotate(1.6deg);
}
.cal-event:last-child { margin-bottom: 0 !important; }
.cal-event:hover {
  transform: rotate(0deg) translateY(-2px) scale(1.04);
  box-shadow: 2px 4px 12px rgba(0,0,0,.2), 5px 10px 24px rgba(0,0,0,.1);
  z-index: 10;
}
.cal-event::after { display: none; }
.cal-event::before { display: none; }
.cal-event-dot { display: none; }
.cal-event.more {
  background: transparent !important;
  background-image: none !important;
  color: var(--ink-500); font-weight: 600;
  font-size: 9px;
  border-left: none;
  border: none;
  box-shadow: none;
  transform: none;
  filter: none !important;
  height: auto; min-height: unset;
  padding: 0 6px;
  margin-top: 1px;
  cursor: pointer;
}
.cal-event.more::after { display: none; }
.cal-event.more::before { display: none; }

/* =============== Day panel (right) =============== */
.day-panel {
  position: sticky; top: 100px;
}
.day-panel-head {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--border);
}
.day-panel-date {
  font-size: 13px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.day-panel-day {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 400; letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 4px;
  color: var(--ink-900);
}
.day-panel-weekday {
  color: var(--accent); font-style: italic;
}
.day-panel-list {
  padding: 12px 12px 16px;
  max-height: 520px; overflow-y: auto;
}
.day-event {
  padding: 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .12s, transform .08s;
  display: flex; gap: 12px;
  align-items: stretch;
}
.day-event:hover { background: var(--ink-50); }
.day-event:active { transform: scale(.99); }
.day-event-stripe {
  width: 3px; border-radius: 3px; flex-shrink: 0;
  background: var(--accent);
}
.day-event-time {
  font-size: 13px; font-weight: 700; color: var(--ink-800); font-variant-numeric: tabular-nums;
}
.day-event-title {
  font-size: 14px; font-weight: 600; color: var(--ink-900);
  margin-top: 2px;
  line-height: 1.3;
}
.day-event-meta {
  font-size: 12px; color: var(--ink-500);
  margin-top: 6px;
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.day-event-tag {
  font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: var(--radius-full);
  background: var(--accent-50); color: var(--accent-700);
}
.day-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-500);
  font-size: 13px;
}
.day-empty-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--ink-50);
  display: grid; place-items: center;
  color: var(--ink-400);
}

/* =============== Mini-cal (sidebar in mobile?) =============== */

/* =============== List view =============== */
.list-head {
  padding: 20px 24px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.list-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 180px 120px 40px;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}
.list-row:hover { background: var(--ink-50); }
.list-row:last-child { border-bottom: none; }
.list-date-box {
  text-align: center;
  padding: 10px 0;
  background: var(--ink-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.list-date-month { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--accent); }
.list-date-day { font-family: var(--font-display); font-size: 26px; line-height: 1; margin: 2px 0; font-weight: 400; }
.list-date-weekday { font-size: 10px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; }

.list-title { font-size: 15px; font-weight: 600; color: var(--ink-900); }
.list-desc { font-size: 13px; color: var(--ink-500); margin-top: 4px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.list-tags { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.list-time { font-size: 13px; color: var(--ink-700); font-variant-numeric: tabular-nums; font-weight: 500;}
.list-venue { font-size: 12px; color: var(--ink-500); margin-top: 2px;}
.list-capacity {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.cap-bar {
  width: 100%; height: 5px; background: var(--ink-100);
  border-radius: 3px; overflow: hidden;
}
.cap-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.cap-fill.full { background: var(--warn); }
.cap-label { font-size: 11px; color: var(--ink-500); font-weight: 500; font-variant-numeric: tabular-nums; }

.list-group-header {
  padding: 24px 24px 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; color: var(--ink-500);
  background: var(--ink-50);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 5;
}

/* =============== Tag chip (colored) =============== */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
  color: white;
  white-space: nowrap;
}
.chip.outline {
  background: transparent;
  border: 1px solid currentColor;
  color: var(--tag-pink);
}

/* =============== Modal =============== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 26, 58, 0.45);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fadeIn .18s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; }}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); }}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 720px; width: 100%;
  max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideUp .22s ease-out;
}
.modal-hero {
  padding: 28px 32px 24px;
  background: linear-gradient(135deg, var(--accent-50), white);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%; background: white;
  display: grid; place-items: center;
  color: var(--ink-600);
  border: 1px solid var(--border);
  transition: all .15s;
}
.modal-close:hover { color: var(--ink-900); transform: rotate(90deg); }
.modal-body {
  padding: 24px 32px 32px;
  overflow-y: auto;
  flex: 1;
}
.modal-foot {
  padding: 16px 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
  background: var(--ink-50);
}

/* Form controls */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: 12px; font-weight: 600; color: var(--ink-700);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.field-label .req { color: var(--accent); margin-left: 3px; }
.input, .textarea, .select {
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 14px; color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-50);
}
.textarea { resize: vertical; min-height: 96px; font-family: inherit; line-height: 1.5; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 3px;
  background: var(--ink-100);
  border-radius: var(--radius-full);
  width: 42px; height: 22px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.toggle-knob {
  width: 16px; height: 16px; border-radius: 50%;
  background: white;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.toggle.on { background: var(--accent); }
.toggle.on .toggle-knob { transform: translateX(20px); }

.switch-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.switch-field-label { font-size: 13px; font-weight: 500; color: var(--ink-800); }

/* =============== Event detail (inside modal) =============== */
.detail-title {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink-900); font-weight: 400;
  margin-bottom: 10px;
}
.detail-meta-row {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px;
}
.detail-where {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.detail-where dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; color: var(--ink-500); align-self: center;}
.detail-where dd { margin: 0; font-size: 14px; color: var(--ink-900); font-weight: 500; }
.detail-desc {
  font-size: 14px; line-height: 1.6; color: var(--ink-700);
  margin-top: 8px;
}
.detail-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.detail-section-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; color: var(--ink-500);
  margin-bottom: 10px;
}
.detail-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--ink-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  color: var(--ink-800);
  text-decoration: none;
  transition: all .15s;
  margin-right: 6px; margin-bottom: 6px;
}
.detail-link:hover { background: var(--accent-50); border-color: var(--accent-300); color: var(--accent-700); }

.rsvp-card {
  margin-top: 20px;
  padding: 16px;
  background: var(--ink-50);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 16px;
}
.rsvp-card-progress { flex: 1; }
.rsvp-progress-label {
  font-size: 12px; color: var(--ink-500); font-weight: 600;
  margin-bottom: 6px; display: flex; justify-content: space-between;
}

/* =============== Feedback =============== */
.stars { display: inline-flex; gap: 3px; }
.star {
  width: 28px; height: 28px;
  cursor: pointer;
  color: var(--ink-200);
  transition: color .12s, transform .12s;
}
.star.filled { color: var(--accent); }
.star:hover { transform: scale(1.15); color: var(--accent); }
.star.readonly { cursor: default; width: 16px; height: 16px; }
.star.readonly:hover { transform: none; color: var(--ink-200); }
.star.readonly.filled { color: var(--accent); }
.star.readonly.filled:hover { color: var(--accent); }

.feedback-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.feedback-row:last-child { border-bottom: none; }
.feedback-rating-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.feedback-text { font-size: 13px; color: var(--ink-700); line-height: 1.5; }
.feedback-anon { font-size: 11px; color: var(--ink-500); }

/* =============== Tweaks panel =============== */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 320px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 200;
  overflow: hidden;
  animation: slideUp .25s ease-out;
}
.tweaks-head {
  padding: 14px 18px;
  background: var(--ink-900);
  color: white;
  display: flex; align-items: center; justify-content: space-between;
}
.tweaks-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.tweaks-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; max-height: 60vh; overflow-y: auto; }
.tweak-group-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--ink-500); }
.tweak-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.tweak-swatches { display: flex; gap: 6px; }
.tweak-swatch {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid white; box-shadow: 0 0 0 1px var(--border);
  cursor: pointer; transition: transform .12s;
}
.tweak-swatch.active { box-shadow: 0 0 0 2px var(--ink-900); transform: scale(1.12); }
.segmented {
  display: inline-flex; background: var(--ink-50);
  padding: 2px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 12px;
}
.segmented button {
  padding: 5px 10px; border-radius: 5px; font-weight: 600; color: var(--ink-600);
}
.segmented button.active { background: white; color: var(--ink-900); box-shadow: var(--shadow-sm); }

/* =============== Empty/placeholder helpers =============== */
.kbd {
  font-family: ui-monospace, monospace;
  font-size: 11px; padding: 2px 6px;
  background: var(--ink-100);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--ink-700);
}

/* =============== Mobile =============== */
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .card { border-radius: 0; border-left: none; border-right: none; }
  .main-topbar { padding: 14px 16px; }
  .topbar-title { font-size: 18px; }
  .search { width: auto; flex: 1; padding: 7px 14px; }
  .search input { font-size: 13px; }
  .topbar-sub { display: none; }
  .day-panel { position: static; }
  .cal-head { padding: 16px 16px 12px; flex-wrap: wrap; }
  .cal-title { font-size: 22px; flex: 1 0 100%; order: -1; }
  .tag-pills { padding: 6px 16px 14px; }
  .cal-day { min-height: calc(64px * var(--density)); padding: 4px 3px; }
  .cal-day-num { font-size: 11px; }
  .cal-event { font-size: 9px; padding: 2px 4px; }
  .cal-weekday { padding: 8px 2px; font-size: 10px; }
  .list-row { grid-template-columns: 64px 1fr 40px; row-gap: 6px; padding: 12px 16px; }
  .list-row > .list-time-col, .list-row > .list-cap-col { display: none; }
  .day-panel-head { padding: 14px 16px 10px;}
  .day-panel-day { font-size: 28px; }
  .tweaks-panel { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .modal { max-height: 100vh; border-radius: 0; }
  .row-2 { grid-template-columns: 1fr; }
  .row-3 { grid-template-columns: 1fr; }
  .detail-where { grid-template-columns: 1fr; gap: 4px 0; }
  .detail-where dt { padding-top: 10px; }
}

/* =============== Stats =============== */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-card {
  padding: 20px;
  border-radius: var(--radius);
  background: white; border: 1px solid var(--border);
}
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); font-weight: 600; }
.stat-value { font-family: var(--font-display); font-size: 38px; line-height: 1; margin: 10px 0 4px; color: var(--ink-900); }
.stat-hint { font-size: 12px; color: var(--success); font-weight: 500; }

.bar-chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px; align-items: end;
  height: 180px;
}
.bar {
  background: var(--accent-100);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: background .15s;
  cursor: pointer;
}
.bar:hover { background: var(--accent-300); }
.bar.current { background: var(--accent); }
.bar-month { text-align: center; font-size: 10px; color: var(--ink-500); font-weight: 600; margin-top: 6px; text-transform: uppercase; }
.bar-value { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 600; color: var(--ink-700); }

.tag-bar-row {
  display: grid; grid-template-columns: 160px 1fr 40px; gap: 10px; align-items: center;
  padding: 8px 0;
}
.tag-bar-track { height: 8px; background: var(--ink-100); border-radius: 4px; overflow: hidden; }
.tag-bar-fill { height: 100%; background: var(--accent); border-radius: 4px; }
.tag-bar-count { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Confetti-ish details */
.pill-counter {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-50); color: var(--accent-700);
  padding: 3px 9px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700;
}

/* floating action button for mobile */
.fab {
  position: fixed; bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid; place-items: center;
  box-shadow: var(--shadow-accent), var(--shadow-lg);
  z-index: 50;
  display: none;
}
@media (max-width: 900px) {
  .fab { display: grid; }
}

/* week view */
.week-grid {
  display: grid;
  grid-template-columns: 60px repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.week-hour-col { border-right: 1px solid var(--border); }
.week-hour {
  height: 56px; font-size: 11px; color: var(--ink-500); padding: 2px 6px; text-align: right; font-variant-numeric: tabular-nums;
}
.week-day-col { border-right: 1px solid var(--border); position: relative; }
.week-day-col:last-child { border-right: none; }
.week-day-head {
  padding: 10px; text-align: center; border-bottom: 1px solid var(--border);
  background: var(--ink-50);
}
.week-day-weekday { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); font-weight: 600;}
.week-day-num { font-size: 20px; font-weight: 600; margin-top: 2px; font-family: var(--font-display); }
.week-day.today .week-day-num { color: var(--accent); }
.week-hour-row { height: 56px; border-bottom: 1px solid var(--border); }
.week-event {
  position: absolute; left: 4px; right: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-size: 11px; font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(214,0,108,.2);
}
.week-event-time { font-size: 10px; opacity: .9; font-weight: 500; margin-top: 2px; }

/* =============== BOOKING / MAIL / ATTENDEES ================ */

.badge-dot {
  position: absolute; top: -2px; right: -2px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--accent); color: white;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid white;
}

.input-error { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.field-hint { color: var(--ink-500); font-size: 12px; margin-top: 6px; }

.booking-status {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius-sm);
}
.booking-status.full { background: var(--ink-50); border-color: var(--border); color: var(--ink-700); }
.booking-status-num { font-size: 28px; font-weight: 700; color: var(--accent); font-family: var(--font-display); }
.booking-closed { display: flex; gap: 14px; padding: 16px; background: var(--ink-50); border-radius: var(--radius-sm); color: var(--ink-700); }
.booking-success { display: flex; gap: 14px; padding: 6px 0 14px; }
.booking-success-icon { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: white; flex-shrink: 0; }
.booking-mail-hint { margin-top: 10px; padding: 10px 12px; background: var(--ink-50); border-radius: 8px; font-size: 12px; color: var(--ink-600); display: flex; align-items: center; gap: 6px; }
.booking-deadline { margin-top: 10px; font-size: 12px; color: var(--ink-600); display: flex; align-items: center; gap: 6px; }
.booking-privacy { margin-top: 14px; font-size: 11px; color: var(--ink-500); line-height: 1.5; }

/* Mail inbox */
.mail-inbox { display: grid; grid-template-columns: 280px 1fr; min-height: 420px; max-height: 60vh; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mail-list { border-right: 1px solid var(--border); overflow-y: auto; background: var(--ink-50); }
.mail-item { display: block; width: 100%; text-align: left; padding: 12px 14px; border: none; background: transparent; border-bottom: 1px solid var(--border); cursor: pointer; }
.mail-item:hover { background: white; }
.mail-item.active { background: white; box-shadow: inset 3px 0 0 var(--accent); }
.mail-item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.mail-item-time { font-size: 10px; color: var(--ink-500); }
.mail-item-to { font-size: 12px; font-weight: 500; color: var(--ink-800); margin-bottom: 2px; }
.mail-item-sub { font-size: 11px; color: var(--ink-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-type { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.mail-type-confirmation { background: #DCFCE7; color: #166534; }
.mail-type-waitlist { background: #FEF3C7; color: #92400E; }
.mail-type-promoted { background: #DBEAFE; color: #1E40AF; }
.mail-type-cancelledByAdmin { background: #FEE2E2; color: #991B1B; }
.mail-type-selfCancelled { background: #E5E7EB; color: #374151; }
.mail-type-broadcast { background: var(--accent-100); color: var(--accent-700); }
.mail-body-pane { padding: 16px 18px; overflow-y: auto; }
.mail-headers { padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 14px; font-size: 12px; color: var(--ink-700); display: flex; flex-direction: column; gap: 4px; }
.mail-header-label { color: var(--ink-500); display: inline-block; width: 60px; }
.mail-body-text { font-family: ui-monospace, monospace; font-size: 12px; line-height: 1.6; color: var(--ink-800); white-space: pre-wrap; margin: 0; }
.mail-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 20px; color: var(--ink-500); text-align: center; }

/* Attendees v2 */
.attendee-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.attendee-section { margin-bottom: 22px; }
.attendee-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; gap: 16px; }
.attendee-section-title { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.attendee-section-count { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.capacity-bar { width: 120px; height: 6px; background: var(--ink-100); border-radius: 999px; overflow: hidden; }
.capacity-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.attendee-empty { padding: 18px; text-align: center; color: var(--ink-500); font-size: 13px; background: var(--ink-50); border-radius: 8px; font-style: italic; }
.attendee-list { display: flex; flex-direction: column; }
.attendee-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 6px; background: white; transition: background .15s; }
.attendee-row:hover { background: var(--ink-50); }
.attendee-row.dragging { opacity: 0.4; }
.attendee-row.waitlist { background: #FFFAF0; border-color: #FED7AA; }
.attendee-num { width: 24px; height: 24px; background: var(--accent); color: white; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.attendee-num.waitlist { background: #D97706; }
.attendee-drag { cursor: grab; color: var(--ink-400); display: grid; place-items: center; }
.attendee-drag:active { cursor: grabbing; }
.attendee-main { flex: 1; min-width: 0; }
.attendee-email { font-size: 13px; font-weight: 500; color: var(--ink-800); }
.attendee-meta { font-size: 11px; color: var(--ink-500); margin-top: 2px; }
.attendee-tools { display: flex; gap: 4px; }
.btn-icon.danger:hover { background: #FEE2E2; color: var(--danger); }
.seat-full { color: var(--danger); font-weight: 600; }

.recipient-seg { display: flex; gap: 6px; }
.recipient-seg button { padding: 8px 14px; border: 1px solid var(--border); background: white; border-radius: 8px; font-size: 12px; font-weight: 500; cursor: pointer; color: var(--ink-700); }
.recipient-seg button.active { background: var(--accent); color: white; border-color: var(--accent); }
.recipient-seg button:disabled { opacity: 0.4; cursor: not-allowed; }


/* -------- CERTIFICATE / SELBSTERKLÄRUNG -------- */
.cert-body { padding: 24px !important; background: var(--ink-50); }
.cert-controls { margin-bottom: 20px; padding: 16px 18px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }

.cert-sheet {
  background: white;
  box-shadow: 0 30px 60px rgba(15, 23, 42, .12), 0 4px 12px rgba(15, 23, 42, .06);
  border-radius: 6px;
  aspect-ratio: 1 / 1.414;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.cert-border {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1.5px solid #D6006C;
  padding: 36px 44px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.cert-border::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(214, 0, 108, .2);
  pointer-events: none;
}
.cert-corner {
  position: absolute;
  width: 28px; height: 28px;
  background: #D6006C;
}
.cert-corner.tl { top: -1px; left: -1px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.cert-corner.tr { top: -1px; right: -1px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.cert-corner.bl { bottom: -1px; left: -1px; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.cert-corner.br { bottom: -1px; right: -1px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.cert-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.cert-logo img {
  width: 88px;
  height: auto;
  display: block;
}
.cert-logo-fallback {
  width: 72px; height: 72px;
  background: #D6006C; color: white;
  display: grid; place-items: center;
  font-family: 'Instrument Serif', serif;
  font-size: 36px; font-weight: 700;
  border-radius: 2px;
}
.cert-head-meta {
  text-align: right;
  font-size: 10.5px;
  color: var(--ink-600);
  line-height: 1.55;
  letter-spacing: 0.02em;
}
.cert-head-strong {
  font-weight: 700;
  color: #1b1b1b;
  font-size: 13px;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.cert-kicker {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D6006C;
  font-weight: 600;
  margin-bottom: 6px;
}
.cert-title {
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 44px;
  margin: 0;
  color: #1b1b1b;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.cert-rule {
  width: 64px;
  height: 2px;
  background: #D6006C;
  margin: 14px auto 22px;
}

.cert-intro {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-600);
  line-height: 1.6;
}
.cert-intro-wide { max-width: 420px; margin: 14px auto 6px; }
.cert-email { color: var(--ink-700); }
.cert-sep { margin: 0 8px; color: var(--ink-400); }

.cert-name {
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-size: 34px;
  color: #1b1b1b;
  margin: 8px 0 4px;
  letter-spacing: 0.005em;
}

.cert-hours {
  text-align: center;
  margin: 18px 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}
.cert-hours-num {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  line-height: 1;
  color: #D6006C;
  font-weight: 400;
}
.cert-hours-unit {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 600;
}

.cert-event-card {
  margin: 24px 0 20px;
  padding: 18px 22px;
  background: #fafafa;
  border-left: 3px solid #D6006C;
  border-radius: 0 4px 4px 0;
}
.cert-event-title {
  font-weight: 700;
  font-size: 15px;
  color: #1b1b1b;
  margin-bottom: 10px;
  line-height: 1.35;
}
.cert-event-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 4px 14px;
  font-size: 11.5px;
  margin: 0;
}
.cert-event-grid dt {
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 10px;
  padding-top: 2px;
}
.cert-event-grid dd { margin: 0; color: var(--ink-800); }

.cert-teams-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(214, 0, 108, .25);
}
.cert-team-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  color: var(--ink-800);
}
.cert-team-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--tc, var(--accent));
}

.cert-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  gap: 24px;
  margin-top: auto;
  padding-top: 24px;
}
.cert-sig { text-align: center; }
.cert-sig-line {
  height: 1px;
  background: #1b1b1b;
  margin-bottom: 8px;
}
.cert-sig-label {
  font-size: 12px;
  font-weight: 600;
  color: #1b1b1b;
}
.cert-sig-sub {
  font-size: 10px;
  color: var(--ink-500);
  margin-top: 2px;
}

.cert-stamp {
  display: grid;
  place-items: center;
  padding-bottom: 10px;
}
.cert-stamp-ring {
  width: 94px; height: 94px;
  border-radius: 999px;
  border: 2px solid #D6006C;
  outline: 1px solid #D6006C;
  outline-offset: 3px;
  display: grid; place-items: center;
  transform: rotate(-6deg);
  color: #D6006C;
  background: rgba(214, 0, 108, 0.03);
}
.cert-stamp-inner { text-align: center; line-height: 1.1; }
.cert-stamp-small {
  font-size: 8px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}
.cert-stamp-big {
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  margin: 2px 0;
}

.cert-certno {
  text-align: center;
  margin-top: 14px;
  font-size: 9.5px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
}

/* info-mode CTA card */
.info-cta-card {
  margin-top: 20px;
  padding: 16px 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(214, 0, 108, .06), rgba(214, 0, 108, .02));
  border: 1px solid rgba(214, 0, 108, .22);
  border-radius: var(--radius);
}
.info-cta-text { flex: 1; min-width: 0; }
.info-cta-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.info-cta-title { font-size: 15px; font-weight: 600; color: var(--ink-900); }
.info-cta-sub { font-size: 12px; color: var(--ink-600); margin-top: 2px; line-height: 1.45; }

/* -------- PRINT -------- */
@media print {
  @page { size: A4 portrait; margin: 0; }
  body * { visibility: hidden; }
  #cert-print-target, #cert-print-target * { visibility: visible; }
  #cert-print-target {
    position: fixed !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    max-width: none !important;
    aspect-ratio: unset !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: white;
  }
  .no-print { display: none !important; }
  .modal-backdrop { background: white !important; }
  .modal { box-shadow: none !important; border: none !important; }
}


.cert-selbst-note {
  margin: 0 auto 18px;
  max-width: 520px;
  padding: 10px 14px;
  background: rgba(214, 0, 108, 0.06);
  border: 1px solid rgba(214, 0, 108, 0.2);
  border-radius: 4px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-700);
  text-align: center;
}
.cert-selbst-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #D6006C;
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: 1px;
}
.cert-collab-note {
  margin-top: 10px;
  padding: 10px 16px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--ink-500);
  text-align: center;
  font-style: italic;
  border-top: 1px dashed rgba(214, 0, 108, 0.25);
}
