/* ══════════════════════════════════════════════════════════════
   Collrd — Navigation
   Sidebar Sub-Links, Bell, Notifications, Lang-Switch,
   Switch-Context, Accordion (Navigation)
   ══════════════════════════════════════════════════════════════ */

.punishment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.punishment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}

.punishment-card:hover {
  border-color: var(--border-strong);
}

.punishment-card-archived {
  opacity: 0.5;
}

.punishment-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.punishment-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.punishment-title {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

/* .punishment-description — moved to modules.css (F5 RED-M01) */

.punishment-card-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* ── Schweregrad Badge ─────────────────────────────────── */
.severity-badge {
  font-size: 12px;
  border: 1px solid;
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 500;
}

/* ── Sidebar Unterpunkte ───────────────────────────────── */
.nav-sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
  margin-bottom: 4px;
  padding-left: 30px; /* align under text: icon 20px + gap 10px */
}

.nav-sub-visible {
  display: flex;
}

.nav-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 10px;
  min-height: 44px; /* F6b: Touch-Target */
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

/* Sub-nav Phosphor icon */
.nav-sub-link > i.ph {
  font-size: 16px;
  width: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.nav-sub-link:hover:not(.nav-sub-disabled) {
  color: var(--text-secondary);
  background: var(--bg-elevated);
}

.nav-sub-link.active {
  color: var(--neon-magenta);
}

.nav-sub-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-sub-soon {
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--border-default);
  border-radius: 4px;
  padding: 1px 5px;
}

/* ── Nav Toggle (Dom-Kategorien) ───────────────────────── */
.nav-link-toggle {
  cursor: pointer;
  user-select: none;
}

/* ── Accordion ─────────────────────────────────────────── */
.punishment-card-header {
  cursor: pointer;
  user-select: none;
}

.accordion-arrow {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), background 0.15s, border-color 0.15s;
}
.accordion-arrow i { font-size: 14px; color: var(--text-secondary); }
.punishment-card-header:hover .accordion-arrow {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-strong);
}

.accordion-arrow-open {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
}
.punishment-accordion.open .accordion-content {
  max-height: 400px;
}
.accordion-content-inner {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-actions {
  display: flex;
  gap: 8px;
}

/* ── Schweregrad Filter ────────────────────────────────────*/
.severity-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* .severity-filter-btn styles consolidated above in "Filter-Buttons" block */

/* ── Verhängte Strafen ─────────────────────────────────── */
.due-badge {
  font-size: 12px;
  border-radius: 20px;
  padding: 2px 10px;
  border: 1px solid;
  font-weight: 500;
}

.due-badge-ok {
  color: var(--gold);
  border-color: rgba(201,168,76,0.3);
}

.due-badge-warning {
  color: var(--status-warning);
  border-color: rgba(230,126,34,0.3);
}

.due-badge-urgent {
  color: var(--status-error);
  border-color: rgba(255,77,106,0.25);
}

.due-badge-expired {
  color: var(--text-secondary);
  border-color: var(--border-default);
}

.due-badge-violet {
  background: rgba(168,85,247,0.15);
  color: var(--neon-violet);
  border-color: rgba(168,85,247,0.3);
}

.punishment-card-expired {
  opacity: 0.75;
  border-left: 3px solid var(--border-strong);
}

.assignment-meta {
  font-size: 14px;
  color: var(--text-tertiary);
}
/* ── Reschedule Modal ──────────────────────────────────── */
.reschedule-info {
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.reschedule-info-text {
  font-size: 14px;
  color: var(--neon-violet);
  line-height: 1.5;
}

.reschedule-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* .reschedule-tab styles consolidated above in "Filter-Buttons" block */

.reschedule-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.reschedule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s;
}

.reschedule-item:hover {
  border-color: var(--text-tertiary);
}

.reschedule-item-selected {
  border-color: var(--neon-violet);
  background: rgba(168,85,247,0.10);
}

.reschedule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.reschedule-item-title {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
}
/* ── Redemption Strafe ─────────────────────────────────── */
.punishment-card-redemption {
  background: rgba(168,85,247,0.05);
}

.redemption-badge {
  font-size: 12px;
  color: var(--neon-violet);
  border: 1px solid rgba(168,85,247,0.30);
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 500;
}
/* ── Büßen Checkbox ────────────────────────────────────── */
.penance-checkbox-wrap {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(231,76,60,0.06);
  border: 1px solid rgba(255,77,106,0.15);
  border-radius: var(--radius-md);
}

.penance-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--status-error);
  font-weight: 500;
}

.penance-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--status-error);
  cursor: pointer;
}

.penance-checkbox-text {
  user-select: none;
}
/* ── Buß-Strafe ────────────────────────────────────────── */
.punishment-card-penance {
  background: rgba(231,76,60,0.05);
}

.penance-badge {
  font-size: 12px;
  color: var(--status-error);
  border: 1px solid rgba(255,77,106,0.35);
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 500;
}

/* ── Gelockte Strafe ───────────────────────────────────── */
.punishment-card-locked {
  opacity: 0.6;
  border-left: 3px solid var(--border-strong);
}

.locked-badge {
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 2px 10px;
}
/* ── Rewards / Shop ─────────────────────────────────────── */
.reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.reward-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.reward-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.reward-card-header {
  padding: 20px;
}

.reward-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.reward-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  min-width: 120px;
}

.reward-category-badge {
  font-size: 14px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.reward-card-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ── Reward Flat List (Option C) ────────────────────────── */
.reward-list {
  display: flex;
  flex-direction: column;
}

.reward-row {
  border-bottom: 1px solid var(--border-default);
  transition: background 0.15s;
}
.reward-row:last-child {
  border-bottom: none;
}
.reward-row:hover { background: rgba(255,255,255,0.025); }

.reward-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 48px;
}

/* Expand-Toggle: 44px Touch-Target (F6b) */
.reward-row-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.reward-row-arrow:hover { background: rgba(255,255,255,0.08); }
.reward-row-arrow i {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: transform 0.2s, color 0.15s;
}
.reward-row-arrow:hover i { color: var(--text-secondary); }
.reward-row.expanded .reward-row-arrow i { transform: rotate(90deg); color: var(--text-primary); }
.reward-row-arrow-spacer { width: 44px; flex-shrink: 0; }

.reward-row-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 80px;
}

.reward-row-meta {
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.reward-row-action {
  padding: 4px 6px;
  font-size: 14px;
  flex-shrink: 0;
}
.reward-row-action-danger:hover {
  color: var(--status-error);
}

/* .reward-row-desc — moved to modules.css (F5 RED-M01) */

/* ── Tribute Banner ─────────────────────────────────────── */
.tribute-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tribute-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 12px;
}

.tribute-balance {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--neon-cyan);
}

.tribute-banner-left {
  display: flex;
  align-items: center;
}

/* ── Wishlist ────────────────────────────────────────────── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.wishlist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.wishlist-card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}

.wishlist-card-affordable {
  border-color: var(--gold)44;
}

.wishlist-card-affordable:hover {
  border-color: var(--gold);
}

.wishlist-image-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-card-body {
  padding: 16px 20px;
  flex: 1;
}

.wishlist-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.wishlist-costs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.wishlist-product-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}

.wishlist-product-link:hover {
  color: var(--gold);
}

.wishlist-card-actions {
  padding: 12px 20px;
  border-top: 1px solid var(--border-default);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
Gut — ich habe den vollen CSS-Stand. Die Templates nutzen zwei neue Klassen die noch nicht existieren: .task-list, .task-item, .task-item-info, .task-item-title, .task-item-desc und .task-item-actions. Alles andere (punishment-card, accordion-*, modal-*, btn-*, xp-badge etc.) ist bereits vorhanden.
Füge am Ende der main.css folgendes hinzu:
css/* ── Aufgaben — Task-Liste ─────────────────────────────── */
.task-list {
  display: flex;
  flex-direction: column;
}

.task-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid var(--border-default);
  transition: background 0.15s;
}
.task-item:last-child { border-bottom: none; }
.task-item:hover { background: rgba(255,255,255,0.025); }

.task-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 48px;
}

.task-item-expand {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.task-item-expand:hover { background: rgba(255,255,255,0.08); }
.task-item-expand i {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: transform 0.2s, color 0.15s;
}
.task-item-expand:hover i { color: var(--text-secondary); }
.task-item.expanded .task-item-expand i { transform: rotate(90deg); color: var(--text-primary); }
.task-item-expand-spacer { width: 44px; flex-shrink: 0; }

.task-item-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.task-item-title {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.task-item-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
  opacity: 0;
  padding: 0 14px 0 56px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.task-item.expanded .task-item-desc {
  max-height: 200px;
  opacity: 1;
  padding: 4px 14px 10px 56px;
}

.task-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
/* ── FAB Aufgaben ───────────────────────────────────────── */
.fab-task-category-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-default);
  transition: background 0.2s;
}

.fab-task-category-header:hover {
  background: rgba(255,255,255,0.03);
}

.fab-task-category-title {
  flex: 1;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.fab-task-category-count {
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 1px 8px;
}

.fab-task-accordion-arrow {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

.fab-task-accordion-content {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
}

.fab-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--bg-elevated);
  flex-wrap: wrap;
}

.fab-task-item:last-child {
  border-bottom: none;
}

.fab-task-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.fab-task-item-title {
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ── FAB Task Complete Button ───────────────────────────── */
.fab-task-complete-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(46,204,113,0.4);
  background: rgba(46,204,113,0.08);
  color: var(--status-success);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.fab-task-complete-btn:hover {
  background: rgba(46,204,113,0.2);
  border-color: var(--status-success);
  transform: scale(1.1);
}

.fab-task-complete-btn-disabled {
  border-color: var(--border-default);
  background: transparent;
  color: var(--border-strong);
  cursor: not-allowed;
}
Super. ✅ Jetzt fehlt noch das CSS für das Journal — Schritt 8. Füge folgende Klassen ans Ende der main.css an:
css/* ══════════════════════════════════════════════════════════
   Journal
   ══════════════════════════════════════════════════════════ */

/* ── Tabs ─────────────────────────────────────────────── */
.tabs {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-default);
}

/* .tab-btn and .tab-count styles consolidated above */

/* ── Mood Skala ───────────────────────────────────────── */
.mood-scale {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mood-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  transition: border-color 0.2s, background 0.2s;
  flex: 1;
  min-width: 70px;
}

.mood-option input[type="radio"] {
  display: none;
}

.mood-option:hover {
  border-color: var(--gold);
  background: var(--bg-elevated);
}

.mood-option.mood-selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.mood-emoji {
  font-size: 26px;
}

.mood-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* ── Journal Textarea ─────────────────────────────────── */
.journal-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  padding: 12px;
  resize: vertical;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.journal-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.journal-textarea[readonly] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Wortzähler ───────────────────────────────────────── */
.wordcount-display {
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: right;
  margin-top: 4px;
}

/* ── Journal Footer ───────────────────────────────────── */
.journal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-default);
}

.journal-total-words {
  font-size: 14px;
  color: var(--text-secondary);
}

.journal-locked-hint {
  font-size: 14px;
  color: var(--text-tertiary);
}

/* ── Hint Banner ──────────────────────────────────────── */
.journal-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gold);
  gap: 12px;
}

.journal-hint a {
  color: var(--gold);
  white-space: nowrap;
  text-decoration: underline;
}

/* ── Einträge Liste ───────────────────────────────────── */
.journal-entries-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.journal-entry-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.journal-entry-item:hover {
  border-color: var(--border-strong);
}

.journal-entry-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}

.journal-entry-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.journal-entry-date {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.journal-entry-mood {
  font-size: 16px;
}

.journal-entry-locked {
  font-size: 14px;
  opacity: 0.5;
}

.journal-entry-preview {
  flex: 1;
  font-size: 14px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.journal-entry-arrow {
  font-size: 16px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 0.25s ease;
}
.journal-entry-item.open .journal-entry-arrow,
.journal-entry-arrow.accordion-arrow-open {
  transform: rotate(90deg);
}

.journal-entry-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  border-top: 1px solid var(--bg-elevated);
}
.journal-entry-item.open .journal-entry-body {
  max-height: 3000px;
  padding: 0 16px 16px;
}

.journal-entry-mood-full {
  font-size: 16px;
  color: var(--gold);
  padding: 12px 0 8px;
}

.journal-answer-block {
  margin-top: 12px;
}

.journal-answer-question {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.journal-answer-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.journal-individual-block {
  border-top: 1px solid var(--bg-elevated);
  padding-top: 12px;
  margin-top: 16px;
}

.journal-entry-stats {
  font-size: 14px;
  color: var(--border-strong);
  text-align: right;
  margin-top: 12px;
}

/* ── Verwaltung Fragen ────────────────────────────────── */
.question-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.question-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.question-text {
  font-size: 16px;
  color: var(--text-secondary);
  flex: 1;
}

.question-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* ── Empty State ──────────────────────────────────────── */
/* .empty-state — consolidated in components.css (F5 STATE-M01) */
.page-header .btn {
  width: auto;
}
/* ── Sidebar Widget ───────────────────────────────────────── */


/* ══════════════════════════════════════════════════════════════
   F6c — BOTTOM BAR (Mobile < 768px)
   Docked Bar, volle Breite, 56px + safe-area.
   Sub-Kontext: 5 Items (Dashboard, Routinen, FAB, Journal, Menü)
   Dom-Kontext: 5 Items (Keuschheit, Journals, Dashboard, Kontakte, Menü)
   ══════════════════════════════════════════════════════════════ */

.bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  .bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    overflow: visible; /* F6c fix: FAB ragt über die Bar hinaus */
  }

  /* ── Tab Item ──────────────────────────────────────── */
  .bottom-bar-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    min-height: 48px;
    padding: 6px 0;
    background: none;
    border: none;
    color: var(--text-tertiary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .bottom-bar-tab i {
    font-size: 22px;
    line-height: 1;
  }

  /* ── Active State ──────────────────────────────────── */
  .bottom-bar-tab.active {
    color: var(--neon-magenta);
  }
  .bottom-bar-tab.active i {
    filter: drop-shadow(0 0 6px var(--neon-magenta-glow));
  }

  /* ── Badge ─────────────────────────────────────────── */
  .bottom-bar-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(14px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-full);
    background: var(--neon-magenta);
    color: white;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
  }

  /* ── FAB Button (Sub-Kontext, zentraler Tab) ───────── */
  .bottom-bar-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--neon-magenta);
    border: 3px solid var(--bg-card);
    color: white;
    cursor: pointer;
    box-shadow: 0 0 16px var(--neon-magenta-glow);
    margin-top: -20px;
    flex: 0 0 auto;
    z-index: 2;
    transition: background 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .bottom-bar-fab i {
    font-size: 24px;
    line-height: 1;
  }
  .bottom-bar-fab:active {
    background: #e0266b;
    transform: scale(0.95);
  }

  /* ── Floating FAB ausblenden (in Bottom Bar integriert) ── */
  #fab {
    display: none !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   F6c — SIDEBAR DRAWER (Mobile < 768px)
   Slide-in von links. Backdrop mit blur.
   z-index 1100/1150 (über Bottom Bar 1000).
   ══════════════════════════════════════════════════════════════ */

.sidebar-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
}

@media (max-width: 1024px) {
  .sidebar {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    height: 100%;
    height: 100dvh;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 1150;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar.drawer-open {
    transform: translateX(0);
  }
}


/* ══════════════════════════════════════════════════════════════
   F6c — SUB-PICKER MODAL (Dom-only, Mobile-only)
   Bottom-Sheet für Sub-Auswahl bei Journal/Mantras/Keuschheit/Notizen.
   ══════════════════════════════════════════════════════════════ */

.sub-picker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-6);
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 70vh;
  max-height: 70dvh;
  overflow-y: auto;
  animation: modalSlideUp 0.2s ease;
}

.sub-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.sub-picker-header h3 {
  font-family: var(--font-display);
  font-size: var(--type-heading-md);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.sub-picker-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  min-height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}

.sub-picker-row:active {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
}

.sub-picker-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
}


/* ══════════════════════════════════════════════════════════════
   F6d — RESPONSIVE LAYOUTS (Navigation / Module pages)
   ══════════════════════════════════════════════════════════════ */

/* ── Button-Gruppen wrappen auf Phone ────────────────────── */
@media (max-width: 480px) {
  .punishment-card-actions,
  .reward-card-actions,
  .wishlist-card-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  /* Reward-Row: Meta + Actions wrappen */
  .reward-row-main {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ── Mood-Options: wrappen statt quetschen ────────────────── */
@media (max-width: 480px) {
  .mood-scale {
    flex-wrap: wrap;
    justify-content: center;
  }
  .mood-option {
    min-width: 60px;
  }
}
