:root {
  color-scheme: dark;
  --bg: #1d2125;
  --surface: #22272b;
  --list-bg: #101204;
  --border: #38414a;
  --text: #b6c2cf;
  --muted: #8c9bab;
  --accent: #e50c7e;
  --accent-dark: #b30a63;
  --danger: #f87168;
  --warning: #f5cd47;
  --success: #4bce97;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3 { color: #fff; }
a { color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),
textarea,
select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--muted); }

button {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  cursor: pointer;
}
button:hover { background: rgba(255,255,255,.14); }
button:disabled { opacity: .5; cursor: not-allowed; }

button.primary {
  padding: 10px 16px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}
button.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
button.primary:disabled:hover { background: var(--accent); }

button.danger { background: none; border-color: var(--danger); color: var(--danger); }
button.danger:hover { background: rgba(248,113,104,.14); }

.icon-button {
  background: none;
  border: none;
  color: var(--text);
  padding: 4px 8px;
  font-size: 16px;
  line-height: 1;
}
.icon-button:hover { background: rgba(255,255,255,.14); }

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  background: var(--surface);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  width: 100%;
  max-width: 360px;
}
.auth-card h1 { font-size: 20px; margin: 0 0 20px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; margin-bottom: 4px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; }

.brand-logo { display: block; height: 32px; width: auto; }
.auth-card .brand-logo { height: 28px; margin: 0 auto 20px; }

.error-message {
  background: rgba(248,113,104,.14);
  color: var(--danger);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}

.hint-link { font-size: 13px; margin-top: 14px; text-align: center; color: var(--muted); }
.hint-link a { color: var(--text); }

.divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Google-Button: Googles dunkle Branding-Variante (farbiges G aus google-g.svg bleibt). */
.google {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: #131314;
  color: #e3e3e3;
  border: 1px solid #8e918f;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.google:hover { background: #1f1f20; }
.google img { width: 18px; height: 18px; flex: none; }

.button-link {
  display: block;
  text-align: center;
  padding: 10px 16px;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.button-link.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.button-link.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
button.button-block { width: 100%; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.64);
  display: flex; align-items: center; justify-content: center;
  z-index: 40; padding: 16px;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  width: 360px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.modal h2 { font-size: 16px; margin: 0 0 12px; }
.modal input[type=text] { width: 100%; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.muted { color: var(--muted); font-size: 13px; }

img.avatar { object-fit: cover; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }
.settings-image-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.settings-image-actions { display: flex; gap: 8px; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Vorlagen: Badge auf Vorlagen-Kacheln/-Karten, Reiter im Erstellen-Popover, Auswahl-Dialog */
.template-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.14);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.template-picker-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.template-picker-tabs button {
  flex: 1 1 auto;
  padding: 6px 8px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  font-weight: 600;
}
.template-picker-tabs button:hover { background: rgba(255,255,255,.08); }
.template-picker-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }

.template-picker-dialog { width: 420px; }
.template-picker-group { margin-bottom: 16px; }
.template-picker-group:last-child { margin-bottom: 0; }
.template-picker-group h3 { font-size: 13px; margin: 0 0 8px; color: var(--muted); }
.template-picker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.template-picker-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: left;
}
.template-picker-card:hover { border-color: var(--accent); }
.template-picker-swatch { display: block; width: 100%; height: 40px; border-radius: 4px; }
.template-picker-name { font-size: 13px; font-weight: 600; }

@media (max-width: 480px) {
  .template-picker-grid { grid-template-columns: 1fr; }
}

/* Posteingang: Schnellerfassung, Item-Liste, Board-Auswahl-Kette */
.inbox-capture { display: flex; gap: 8px; margin-bottom: 20px; max-width: 480px; }
.inbox-capture input { flex: 1 1 auto; }

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 480px;
}
.inbox-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.inbox-item-handle { flex: 0 0 auto; color: var(--muted); cursor: grab; }
.inbox-item-title { flex: 1 1 auto; overflow-wrap: anywhere; }
.inbox-item-action { flex: 0 0 auto; }
.inbox-item.sortable-ghost { opacity: .4; }
.inbox-empty { color: var(--muted); font-size: 14px; padding: 4px 0; }

.board-picker {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 35;
  width: 260px;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  text-align: left;
}
.board-picker-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.board-picker-title { flex: 1 1 auto; font-size: 13px; font-weight: 600; color: var(--text); }
.board-picker-list { display: flex; flex-direction: column; gap: 2px; }
.board-picker-list button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 13px;
}
.board-picker-list button:hover { background: rgba(255,255,255,.1); }
.board-picker-empty { margin: 0; padding: 8px; color: var(--muted); font-size: 13px; }

@media (max-width: 767px) {
  .inbox-capture, .inbox-list { max-width: none; }
  .board-picker {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100vh - 96px);
  }
}

/* Planer: Verbinden-Hinweis, Gruppen-Überschriften, Agenda-Zeilen */
.planer-banner {
  margin: 0 0 20px;
  padding: 10px 12px;
  background: rgba(245,205,71,.14);
  color: var(--warning);
  border: 1px solid var(--warning);
  border-radius: 4px;
  font-size: 13px;
}
.planer-banner a { color: var(--warning); font-weight: 600; }

.planer-group { max-width: 640px; margin-bottom: 20px; }
.planer-group-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  margin: 0 0 8px;
}

.planer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.planer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.planer-item-title { flex: 1 1 auto; overflow-wrap: anywhere; text-decoration: none; font-weight: 600; }
.planer-item-title:hover { text-decoration: underline; }
.planer-item-board { flex: 0 0 auto; color: var(--muted); font-size: 13px; }
.planer-item-date { flex: 0 0 auto; }
.planer-empty { color: var(--muted); font-size: 14px; padding: 4px 0; }

@media (max-width: 767px) {
  .planer-group { max-width: none; }
  .planer-item { flex-wrap: wrap; }
  .planer-item-board { order: 3; width: 100%; }
}

.invite-dialog .invite-usage {
  display: flex;
  gap: 16px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.invite-dialog .invite-usage legend { padding: 0 4px; }
.invite-dialog label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.invite-result { display: flex; gap: 8px; margin-top: 12px; }
.invite-result input { flex: 1 1 auto; min-width: 0; }

.app-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  padding: 14px 16px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.app-footer a { color: var(--muted); text-decoration: underline; }
.app-footer a:hover { color: var(--text); }
.app-shell .app-footer { margin-left: 260px; transition: margin-left .15s ease-out; }
body.sidebar-collapsed .app-footer { margin-left: 0; }
@media (max-width: 767px) { .app-shell .app-footer { margin-left: 0; } }
body.app-shell { display: flex; flex-direction: column; }
body.app-shell .app-main { flex: 1 0 auto; }
body.board-page { display: flex; flex-direction: column; }
body.board-page .board-view { flex: 1 0 auto; }

/* Ungelesen-Punkt: rot = Änderungen anderer seit dem letzten Besuch, grün = alles gesehen. */
.unread-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--success);
  cursor: default;
  flex: 0 0 auto;
}
.unread-dot.is-unread { background: var(--danger); box-shadow: 0 0 0 3px rgba(248, 113, 104, 0.25); cursor: pointer; }

/* Benachrichtigungen */
.notif-wrap { position: relative; margin-left: auto; }
.board-header-right .notif-wrap { margin-left: 0; }
.notif-bell {
  position: relative;
  width: auto;
  padding: 4px 10px;
  background: rgba(255,255,255,.08);
  border: 0;
  border-radius: 4px;
  font-size: 17px;
  line-height: 1.3;
  cursor: pointer;
}
.notif-bell:hover { background: rgba(255,255,255,.18); }
.notif-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: 70vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.55);
  font-size: 13px;
  color: var(--text);
}
.notif-panel[hidden] { display: none; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.link-button { width: auto; padding: 0; background: none; border: 0; color: var(--accent); font-size: 12px; cursor: pointer; }
.notif-empty { padding: 14px; margin: 0; }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-item { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px 10px 24px; border-bottom: 1px solid var(--border); cursor: pointer; position: relative; }
.notif-item:hover { background: rgba(255,255,255,.04); }
.notif-item.is-unread::before { content: ''; position: absolute; left: 10px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.notif-item:not(.is-unread) .notif-text { color: var(--muted); }
.notif-meta { color: var(--muted); font-size: 11px; }

/* Suche + Erstellen in der Kopfleiste */
.search-wrap { position: relative; display: flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 8px; }
.board-header-right .search-wrap { margin-left: 0; }
.search-input { width: 220px; height: 34px; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid var(--border); color: var(--text); font-size: 13px; transition: width .15s; }
.search-input:focus { width: 300px; background: var(--surface); }
.search-panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 70; width: 380px; max-height: 70vh; overflow-y: auto; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.search-panel h4 { margin: 6px 8px 4px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.search-panel .muted { margin: 8px; font-size: 13px; }
.search-hit { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; padding: 6px 8px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 13px; }
.search-hit > strong, .search-hit > span { grid-column: 1 / -1; }
.search-hit:has(.search-swatch) > strong, .search-hit:has(.search-swatch) > span { grid-column: 2; }
.search-hit span { color: var(--muted); font-size: 12px; }
.search-hit:hover, .search-hit:focus { background: rgba(255,255,255,.08); }
.search-swatch { grid-row: 1 / 3; width: 32px; height: 24px; border-radius: 4px; align-self: center; }
.create-btn { height: 34px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap; cursor: pointer; }
.create-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 70; width: 290px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.create-menu a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 13px; }
.create-menu a span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.create-menu a:hover { background: rgba(255,255,255,.08); }
@media (max-width: 767px) {
  .search-input, .search-input:focus { width: 130px; }
  .search-panel { position: fixed; left: 8px; right: 8px; width: auto; top: 56px; }
  .create-btn { padding: 0 8px; }
}

/* Posteingang: Filter, Sortierung, Archiv */
.inbox-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; max-width: 720px; }
.inbox-tools input[type=search] { flex: 1 1 200px; width: auto; }
.inbox-tools select { width: auto; }
.inbox-archived-toggle { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.inbox-archived-toggle input { width: auto; margin: 0; }
.inbox-item-date { display: block; color: var(--muted); font-size: 11px; }
.inbox-item-archive { flex: 0 0 auto; }
.inbox-list.is-static .inbox-item-handle { visibility: hidden; }
.inbox-item.is-archived .inbox-item-title { color: var(--muted); }

/* Planer: Werkzeugleiste, Woche/Tag, Ablage */
.planer-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.view-switch { display: inline-flex; padding: 2px; border-radius: 6px; background: rgba(255,255,255,.06); }
.view-switch button { width: auto; padding: 5px 12px; border: 0; border-radius: 4px; background: none; color: var(--text); font-size: 13px; cursor: pointer; }
.view-switch button[aria-selected="true"] { background: rgba(255,255,255,.18); font-weight: 600; }
.planer-nav { display: flex; align-items: center; gap: 6px; }
.planer-nav button { width: auto; padding: 4px 10px; }
.planer-nav strong { margin-left: 6px; }
.planer-options { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 13px; }
.planer-options select { width: auto; }
.planer-options label { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.planer-options input { width: auto; margin: 0; }
.planer-cal { display: grid; grid-template-columns: 220px 1fr; gap: 12px; align-items: start; }
.planer-tray { padding: 10px; border-radius: 8px; background: var(--surface); min-height: 200px; }
.planer-tray .muted { font-size: 12px; margin: 0 0 8px; }
.planer-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.planer-cal.is-day .planer-days { grid-template-columns: 1fr; }
.planer-day { min-height: 320px; padding: 6px; border-radius: 8px; background: var(--surface); }
.planer-day h3 { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.planer-day h3 span { color: var(--text); }
.planer-day.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.planer-day.is-drop, .planer-tray.is-drop { outline: 2px dashed var(--accent); }
.planer-chip { margin-bottom: 6px; padding: 6px 8px; border-radius: 6px; background: #2c333a; cursor: grab; font-size: 12px; border-left: 3px solid transparent; }
.planer-chip.is-overdue { border-left-color: var(--danger); }
.planer-chip a { display: block; color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.planer-chip span { color: var(--muted); font-size: 11px; }
.planer-event { display: block; margin-bottom: 6px; padding: 4px 8px; border-radius: 6px; background: rgba(140,155,171,.18); color: var(--muted); font-size: 12px; text-decoration: none; overflow-wrap: anywhere; }
.planer-event b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .planer-cal { grid-template-columns: 1fr; }
  .planer-days { grid-template-columns: 1fr; }
  .planer-day { min-height: 0; }
  .planer-options { margin-left: 0; }
}

/* Farbenblind-Modus: Muster über der Labelfarbe (Klassen aus labelPattern()) */
.cb-mode .lp-0 { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.45) 0 2px, transparent 2px 6px) !important; }
.cb-mode .lp-1 { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.55) 0 2px, transparent 2px 6px) !important; }
.cb-mode .lp-2 { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 2px, transparent 2px 6px) !important; }
.cb-mode .lp-3 { background-image: radial-gradient(rgba(0,0,0,.55) 1.2px, transparent 1.6px) !important; background-size: 5px 5px !important; }
.cb-mode .lp-4 { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px) !important; }
.cb-mode .lp-5 { background-image: linear-gradient(45deg, rgba(0,0,0,.4) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.4) 75%), linear-gradient(45deg, rgba(0,0,0,.4) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.4) 75%) !important; background-size: 6px 6px !important; background-position: 0 0, 3px 3px !important; }
.cb-mode .card-tile .label-chip { height: 10px; }

/* Tastaturkürzel-Übersicht */
.shortcut-help { width: 460px; max-width: calc(100vw - 32px); }
.shortcut-help h2 { margin: 0; font-size: 18px; }
.shortcut-help table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.shortcut-help th { text-align: left; padding: 12px 0 4px; color: var(--muted); font-size: 12px; }
.shortcut-help td { padding: 4px 0; }
.shortcut-help td:first-child { width: 130px; }
kbd { display: inline-block; min-width: 20px; padding: 1px 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; background: rgba(255,255,255,.06); font: 12px/1.5 ui-monospace, monospace; text-align: center; }

/* Einladen per E-Mail oder Name */
.invite-direct { margin-bottom: 12px; }
.invite-direct-row { display: flex; gap: 6px; margin-top: 4px; }
.invite-direct-row input { flex: 1 1 auto; min-width: 0; }
.invite-direct-row button { width: auto; }
.invite-or { margin: 10px 0 6px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.inbox-item-desc { display: block; color: var(--muted); font-size: 12px; white-space: pre-line; }

/* Update-Hinweis (Update verfuegbar / Seite neu laden) */
.update-bar { position: sticky; top: 0; z-index: 1000; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 16px; background: #f5a623; color: #1d2125; font-size: 14px; }
.update-bar button, .update-bar a { padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(0,0,0,.25); background: rgba(255,255,255,.35); color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.update-bar button.primary { background: #1d2125; color: #fff; border-color: #1d2125; }
.update-bar .update-bar-close { margin-left: auto; border: 0; background: transparent; font-size: 18px; line-height: 1; }

/* „Was ist neu“ nach einem Update (updates.js) */
.whatsnew-overlay { z-index: 1100; }
.whatsnew-dialog { width: 540px; }
.whatsnew-list { margin: 12px 0 0; padding-left: 20px; line-height: 1.5; }
.whatsnew-list li + li { margin-top: 8px; }

/* Anleitung: Versionsverlauf (Kapitel 14) */
.changelog-version { border-top: 1px solid var(--border, rgba(255,255,255,.12)); padding: 10px 0; }
.changelog-version summary { cursor: pointer; }
.changelog-version ul { margin: 8px 0 0 20px; }
.changelog-version li { margin: 4px 0; }
.trial-offer { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(245,166,35,.14); border: 1px solid rgba(245,166,35,.5); }
.trial-countdown { font-variant-numeric: tabular-nums; }
