/* Gestaltung der einzelnen Module */

/* ---------- Dashboard: Hero mit Bildwelt ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl);
  min-height: clamp(220px, 30vw, 300px);
  background: var(--leeway-forest-deep) var(--brand-hero-image) 60% 62% / cover no-repeat;
  color: var(--leeway-natural);
  display: flex; align-items: flex-start;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(20, 36, 27, .88) 0%, rgba(20, 36, 27, .55) 42%, rgba(20, 36, 27, 0) 72%),
    linear-gradient(0deg, rgba(20, 36, 27, .55) 0%, rgba(20, 36, 27, 0) 45%);
}
.hero-content { padding: clamp(22px, 4vw, 36px); max-width: 640px; }
.hero h1 { color: var(--leeway-natural); font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 4.6vw, 48px); }
.eyebrow.on-image { color: var(--leeway-sand); }
.hero-date { color: rgba(238, 234, 224, .8); margin-top: 6px; font-size: 15.5px; }
.hero-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px; border-radius: var(--radius-l);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .15s var(--ease), border-color .15s;
}
.stat:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.stat-value { font-family: var(--font-display); font-weight: 300; font-size: 38px; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.stat-label { font-weight: 600; font-size: 14px; }
.stat-hint { color: var(--text-faint); font-size: 12.5px; }
.stat.tone-warn .stat-value { color: var(--warn); }
.stat.tone-danger .stat-value { color: var(--danger); }
.stat.tone-good .stat-value { color: var(--good); }

.dash-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-bottom: 20px; }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; } }
.dash-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.welcome { margin-bottom: 20px; position: relative; overflow: hidden; isolation: isolate; }
/* Höhenlinien + Pfad zum Ziel – Motive aus dem Keyvisual */
.welcome::before, .planned-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--brand-topo-image) 30% 40% / 520px auto no-repeat; opacity: .14;
}
.welcome::after {
  content: ""; position: absolute; right: 18px; top: 14px; width: 66px; height: 110px; z-index: -1;
  background: var(--brand-trail-image) center / contain no-repeat; opacity: .75;
}
:root[data-theme="light"] .welcome::before, :root[data-theme="light"] .planned-hero::before { opacity: .3; filter: brightness(.55); }

/* Markenkopf auf dem iPhone (dort gibt es keine Seitenleiste) */
.mobile-brand { display: flex; align-items: center; gap: 12px; margin: 2px 0 16px; }
.mobile-brand img { width: 52px; height: auto; }
.mobile-brand .on-light, :root[data-theme="light"] .mobile-brand .on-dark { display: none; }
:root[data-theme="light"] .mobile-brand .on-light { display: block; }
.mobile-brand .wordmark { color: var(--text); font-size: 14px; }
.mobile-brand small { display: block; font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 13px; margin-top: 3px; }
@media (min-width: 760px) { .mobile-brand { display: none; } }

.mini-projects { display: flex; flex-direction: column; gap: 6px; }
.mini-project {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px; border-radius: var(--radius-m);
  background: var(--bg-elev); border: 1px solid transparent;
  transition: border-color .15s, background .15s;
}
.mini-project:hover { border-color: var(--border-strong); }
.mini-project-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-title { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-cat { font-size: 12.5px; color: var(--text-faint); margin-top: -4px; }

.deadlines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.deadlines a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--tap); padding: 6px 0; border-bottom: 1px solid var(--border); }
.deadlines li:last-child a { border-bottom: 0; }
.deadlines a span:first-child { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.workshop { margin-top: 0; }
.workshop-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.workshop-tile {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: var(--radius-m); background: var(--bg-elev);
  border: 1px dashed var(--border-strong);
  transition: border-color .15s;
}
.workshop-tile:hover { border-color: var(--gold); }
.workshop-tile > .icon { width: 26px; height: 26px; color: var(--gold); }
.workshop-tile span:not(.soon) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.workshop-tile strong { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.workshop-tile small { color: var(--text-faint); font-size: 12.5px; }
.workshop-tile .soon { color: var(--gold); border-color: var(--border-strong); }

/* ---------- Aufgaben-Zeilen ---------- */
.task-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.task-row {
  display: flex; align-items: flex-start; gap: 4px;
  padding: 4px 12px 4px 2px; border-radius: var(--radius-m);
  background: var(--bg-elev); border: 1px solid transparent;
  transition: border-color .15s, background .15s, opacity .2s;
}
.view-tasks .task-row { background: var(--surface); border-color: var(--border); }
.task-row:hover { border-color: var(--border-strong); }
.check { flex: none; width: var(--tap); height: var(--tap); display: grid; place-items: center; margin-top: 2px; }
.check-box {
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  border: 1.8px solid var(--text-faint); color: transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.check-box .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.check:hover .check-box { border-color: var(--gold); }
.task-row.is-done .check-box { background: var(--leeway-olive); border-color: var(--leeway-olive); color: var(--leeway-natural); }
.task-body { flex: 1; min-width: 0; padding: 9px 0 9px; display: flex; flex-direction: column; gap: 6px; }
.task-title { text-align: left; font-weight: 500; line-height: 1.35; min-height: 26px; overflow-wrap: anywhere; }
.task-title:hover { color: var(--gold); }
.task-row.is-done .task-title { color: var(--text-faint); text-decoration: line-through; text-decoration-color: var(--text-faint); }
.task-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.task-meta:empty { display: none; }
.task-row.is-done .task-meta { opacity: .6; }
.task-group + .task-group { margin-top: 22px; }
.group-title { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin: 0 0 10px 4px; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.done-group { margin-top: 14px; }
.done-group summary { cursor: pointer; color: var(--text-muted); font-weight: 600; font-size: 14px; min-height: var(--tap); display: flex; align-items: center; list-style: none; }
.done-group summary::before { content: "›"; display: inline-block; margin-right: 8px; transition: transform .15s; font-size: 18px; }
.done-group[open] summary::before { transform: rotate(90deg); }
.done-group summary::-webkit-details-marker { display: none; }

/* ---------- Board ---------- */
.board {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 16px;
}
@media (min-width: 760px) { .board { margin: 0; padding-left: 0; padding-right: 0; } }
.board-col { scroll-snap-align: start; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.board-col header { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 4px; }
.board-col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.status-col-doing h2 { color: var(--gold); }
.board-cards { display: flex; flex-direction: column; gap: 8px; }
.board-empty { color: var(--text-faint); text-align: center; padding: 20px 0; }
.board-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 12px 12px 6px 14px; display: flex; flex-direction: column; gap: 8px;
  border-left: 3px solid var(--surface-2);
}
.prio-edge-critical { border-left-color: var(--signal-rust); }
.prio-edge-high { border-left-color: var(--leeway-sand); }
.prio-edge-medium { border-left-color: var(--leeway-olive); }
.board-card-title { text-align: left; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; min-height: 26px; }
.board-card-move { display: flex; justify-content: space-between; margin: 0 -6px; }
.board-card-move .btn { padding: 0 8px; gap: 4px; font-size: 12.5px; }
.board-card-move .icon { width: 16px; height: 16px; }

/* ---------- Projekte ---------- */
.project-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.project-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 18px 16px; border-radius: var(--radius-l);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .18s var(--ease), border-color .18s, box-shadow .18s;
}
.project-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cat, var(--leeway-olive)); opacity: .9; }
.project-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.project-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.project-card p { color: var(--text-muted); font-size: 14.5px; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-card-top .eyebrow { margin: 0; font-size: 10.5px; }
.project-card-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.cat-software { --cat: var(--leeway-sand); }
.cat-game { --cat: #B9915C; }
.cat-pedagogy { --cat: var(--leeway-olive); }
.cat-experience { --cat: #6F8B6B; }
.cat-product { --cat: #A7A27F; }
.cat-other { --cat: var(--text-faint); }

.detail-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); } }
.detail-badges { margin-bottom: 12px; }
.prose { white-space: pre-wrap; line-height: 1.6; max-width: 70ch; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.big-number { font-family: var(--font-display); font-weight: 300; font-size: 52px; line-height: 1; margin: 4px 0 14px; color: var(--gold); }
.big-number small { font-size: 24px; margin-left: 2px; color: var(--text-muted); }

/* ---------- Vorbereitete Module ---------- */
.planned-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .planned-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.planned-hero { position: relative; overflow: hidden; isolation: isolate; }
.planned-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--gold); margin-bottom: 14px; }
.planned-icon .icon { width: 28px; height: 28px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list .icon { color: var(--leeway-olive); margin-top: 2px; width: 18px; height: 18px; }
.planned-grid .panel p + p { margin-top: 10px; }

/* ---------- Daten ---------- */
.data-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .span-2 { grid-column: 1 / -1; } }
.count-list { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 16px; }
.count-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.count-list span { color: var(--text-muted); }
.import-preview { margin-top: 14px; padding: 14px; border-radius: var(--radius-m); background: var(--bg-elev); border: 1px solid var(--border); }
.import-choice { display: grid; gap: 6px; margin-top: 8px; }
.import-choice .btn { justify-self: start; }
.import-choice p { margin-bottom: 8px; }
.explain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text-muted); }
.explain strong { color: var(--text); }

/* ---------- Einstellungen ---------- */
.settings-list { display: grid; gap: 16px; max-width: 760px; }
.settings-list .panel > p.small { margin-top: 10px; }
.sub-head { font-size: 14px; color: var(--text-muted); margin: 22px 0 10px; font-weight: 600; }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; flex-wrap: wrap; }
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--text-muted); }
.kv strong { font-weight: 600; text-align: right; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.danger-zone .btn { margin-top: 14px; }

/* ---------- Dashboard-Variante „Keyvisual“: vollständiges Bild ---------- */
.kv-hero { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-bottom: 20px; align-items: start; }
.kv-image {
  margin: 0; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--leeway-forest-deep); box-shadow: var(--shadow-lift);
  aspect-ratio: 1080 / 1350; max-width: 100%;
}
.kv-image img { width: 100%; height: 100%; object-fit: cover; }
.kv-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kv-greeting { position: relative; padding: 4px 2px 0; }
.kv-greeting h1 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 4.4vw, 50px); }
.kv-date { color: var(--text-muted); margin-top: 6px; font-size: 15.5px; }
.kv-side .stats { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kv-side .welcome { margin: 0; }
@media (min-width: 760px) {
  .kv-hero { grid-template-columns: minmax(250px, 40%) minmax(0, 1fr); align-items: stretch; }
  .kv-side { justify-content: space-between; padding: 8px 0; }
}
@media (min-width: 1100px) { .kv-hero { grid-template-columns: 400px minmax(0, 1fr); gap: 28px; } }
@media (min-width: 1400px) { .kv-side .stats { gap: 14px; } }

/* =====================================================================
   Ideenwerkstatt
   ===================================================================== */
.capture {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
  padding: 18px 18px 14px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.capture::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--brand-topo-image) 80% 30% / 560px auto no-repeat; opacity: .08;
}
.capture-field { display: flex; align-items: flex-start; gap: 10px; }
.capture-input {
  flex: 1; min-width: 0; resize: none; border: 0; background: transparent; color: var(--text);
  font: 400 20px/1.45 var(--font-ui); padding: 6px 2px; min-height: 64px;
}
.capture-input::placeholder { color: var(--text-faint); }
.capture-input:focus { outline: none; }
.capture-field.is-plain { background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: 12px; padding: 6px 6px 6px 12px; }
.capture-field.is-plain:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--accent-soft); }
.capture-field.is-plain textarea { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 400 16px/1.5 var(--font-ui); resize: none; padding: 7px 0; min-height: 40px; }
.capture-field.is-plain textarea:focus { outline: none; }
.capture-hint { display: flex; align-items: center; gap: 6px; color: var(--text-faint); font-size: 12.5px; margin-top: 6px; }
.capture-hint .icon { width: 14px; height: 14px; }
.capture-hint b { color: var(--text-muted); font-weight: 700; }
.capture-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.capture-count { color: var(--text-muted); font-size: 13.5px; }

/* Mikrofon mit Aufnahme-Puls */
.mic {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--accent-ink); background: var(--accent);
  transition: transform .15s, background .2s;
}
.mic .icon { width: 22px; height: 22px; position: relative; z-index: 1; }
.mic:active { transform: scale(.94); }
.mic-pulse { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.mic.is-listening { background: var(--signal-rust); color: #fff; }
.mic.is-listening .mic-pulse { animation: mic-pulse 1.4s ease-out infinite; box-shadow: 0 0 0 0 rgba(201, 119, 79, .55); }
@keyframes mic-pulse { to { box-shadow: 0 0 0 18px rgba(201, 119, 79, 0); } }
.capture-field.is-plain .mic { width: 40px; height: 40px; }

/* Filter */
.tag-chips { margin-top: 8px; }
.chip-tag { min-height: 34px; font-size: 13px; font-weight: 700; }
.chip-star .icon { width: 17px; height: 17px; }
.chip-star[aria-pressed="true"] .icon { fill: currentColor; }

/* Karten */
.idea-day + .idea-day { margin-top: 24px; }
.idea-grid { columns: 300px; column-gap: 14px; }
.idea-card {
  break-inside: avoid; margin: 0 0 14px; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  border-top: 3px solid var(--stage-color, var(--border-strong));
  transition: border-color .15s, transform .15s var(--ease);
  animation: idea-in .35s var(--ease);
}
@keyframes idea-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.idea-card:hover { transform: translateY(-1px); }
.idea-card.stage-spark { --stage-color: var(--leeway-lightgold); }
.idea-card.stage-sketch { --stage-color: var(--leeway-sand); }
.idea-card.stage-concept { --stage-color: var(--leeway-olive); }
.idea-card.stage-done, .idea-card.stage-archived { --stage-color: var(--border-strong); opacity: .78; }
:root[data-theme="light"] .idea-card.stage-spark { --stage-color: #D8BF86; }
.idea-open { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 8px; }
.idea-stage { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.idea-stage .icon { width: 14px; height: 14px; }
.idea-text { font-size: 16.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.hashtag { color: var(--gold); font-weight: 700; }
.idea-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 0 6px 6px 16px; color: var(--text-faint); font-size: 12.5px; }
.idea-foot .spacer { flex: 1; }
.idea-meta { display: inline-flex; align-items: center; gap: 4px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idea-meta .icon { width: 13px; height: 13px; flex: none; }
.idea-meta.is-done { color: var(--good); }
.star { width: var(--tap); height: var(--tap); display: grid; place-items: center; color: var(--text-faint); border-radius: 12px; }
.star .icon { width: 20px; height: 20px; }
.star:hover { color: var(--gold); }
.star.is-on { color: var(--gold); }
.star.is-on .icon, .is-fav .icon { fill: currentColor; color: var(--gold); }

/* Detail */
.idea-head h1 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.6vw, 36px); overflow-wrap: anywhere; }
.idea-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.idea-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .idea-layout { grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr); align-items: start; } }
.idea-main, .idea-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.idea-edit { font-size: 17px !important; }
.stage-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stage-step {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 12px; border-radius: var(--radius-m); background: var(--bg-elev); border: 1px solid var(--border); min-height: 96px;
}
.stage-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--text-muted); }
.stage-step.is-reached .stage-dot { background: var(--accent); color: var(--accent-ink); }
.stage-step[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--accent-soft); }
.stage-name { font-weight: 700; }
.stage-hint { font-size: 12px; color: var(--text-faint); line-height: 1.35; }
@media (max-width: 520px) { .stage-hint { display: none; } .stage-step { min-height: 0; } }
.stage-final { display: flex; align-items: center; gap: 8px; color: var(--good); font-weight: 700; }
.thought-add { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; flex-wrap: wrap; }
.thought-add .capture-field { flex: 1 1 240px; }
.thoughts { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--border-strong); display: flex; flex-direction: column; gap: 12px; }
.thoughts li { position: relative; padding-right: 40px; }
.thoughts li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.thoughts p { white-space: pre-wrap; overflow-wrap: anywhere; }
.thought-meta { font-size: 12px; color: var(--text-faint); }
.thoughts .btn-tiny { position: absolute; right: 0; top: -6px; }
.concept { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.concept textarea { min-height: 52px !important; }
.convert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.conv-links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.conv-links li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.conv-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; color: var(--gold); }

/* Schnellerfassung (Dialog) */
.sheet-idea .capture-field { background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: 16px; padding: 10px 10px 10px 14px; }
.sheet-idea .capture-field:focus-within { border-color: var(--gold); }
.sheet-idea .capture-input { min-height: 88px; }
.quick-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.quick-count { color: var(--good); font-weight: 700; font-size: 14px; }

/* Dashboard: Ideen */
.mini-ideas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mini-ideas a { display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 8px 12px; border-radius: var(--radius-m); background: var(--bg-elev); }
.mini-ideas a:hover { background: var(--surface-hover); }
.mini-stage { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); min-width: 58px; }
.mini-idea-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Schwebender Knopf „Idee“ – überall außer in der Ideenwerkstatt */
.fab {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(env(safe-area-inset-bottom) + 84px);
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 26px;
  background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 15px; letter-spacing: .02em;
  box-shadow: var(--shadow-lift); transition: transform .15s;
}
.fab .icon { width: 22px; height: 22px; }
.fab:active { transform: scale(.95); }
@media (min-width: 760px) { .fab { bottom: calc(env(safe-area-inset-bottom) + 24px); right: max(24px, env(safe-area-inset-right)); } }
body[data-module="ideas"] .fab { display: none; }
