:root {
  --bg: #E6E6E6;
  --magenta: #C43BAA;
  --blue: #1434A4;
  --yellow: #F6CB46;
  --green: #57BD4F;
  --darkgreen: #3E8F3C;
  --orange: #EE6E2C;
  --red: #E8483B;
  --greige: #CEC5BB;
  --white: #FFFFFF;
  --spring: cubic-bezier(.2, 1.35, .35, 1);
  --smooth: cubic-bezier(.22, 1, .36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; color: #000;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input, textarea { font: inherit; }

#app { max-width: 430px; margin: 0 auto; padding: calc(var(--safe-top) + 34px) 16px calc(var(--safe-bottom) + 40px); }

/* Farben: Fläche + Schrift */
.c-magenta { background: var(--magenta); color: #000; }
.c-blue { background: var(--blue); color: #fff; }
.c-yellow { background: var(--yellow); color: #000; }
.c-green { background: var(--green); color: #fff; }
.c-darkgreen { background: var(--darkgreen); color: #fff; }
.c-orange { background: var(--orange); color: #000; }
.c-red { background: var(--red); color: #000; }
.c-greige { background: var(--greige); color: #000; }
.c-white { background: var(--white); color: #000; }
.card.c-yellow { color: #fff; }

/* ---------- Kopf ---------- */
.top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; padding: 0 8px; }
.greet { font-size: 30px; letter-spacing: -.02em; margin: 0; min-height: 36px; line-height: 1.15; }
.greet .caret { display: inline-block; width: 3px; height: 26px; background: #000; margin-left: 2px; vertical-align: -3px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.date { color: #A3A3A3; font-size: 17px; margin-top: 2px; opacity: 0; transform: translateY(6px); transition: all .5s var(--smooth) .2s; }
.date.show { opacity: 1; transform: none; }
.menu-btn { font-size: 26px; line-height: 1; padding: 6px 4px 6px 12px; letter-spacing: 1px; }

/* ---------- Kreise ---------- */
.bubble {
  border-radius: 50%; display: grid; place-items: center; aspect-ratio: 1; width: 100%;
  transition: transform .35s var(--spring); user-select: none; -webkit-user-select: none;
  font-size: 44px; line-height: 1;
}
.bubble:active { transform: scale(.88); }
.bubble svg { display: block; }
.bubble.emoji { font-size: 40px; }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.pop-in { animation: popIn .6s var(--spring) both; }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Jarvis-Icon: statisch */
.bars { display: flex; gap: 4px; align-items: center; height: 50%; }
.bars i { display: block; width: 4px; border-radius: 3px; background: #000; }

/* ---------- Karten (Listen) ---------- */
.stack { position: relative; margin-bottom: 22px; }
.card {
  position: relative; border-radius: 22px; padding: 18px 16px 34px;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform .3s var(--smooth), box-shadow .3s;
}
#stack .card + .card { margin-top: -26px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; cursor: pointer; }
.card-title { font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.card-effort { font-size: 19px; white-space: nowrap; }
.card-proj { font-size: 13px; opacity: .75; margin-top: 4px; }
.card-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--smooth); }
.card.open .card-body { grid-template-rows: 1fr; }
.card-inner { overflow: hidden; min-height: 0; }
.items { list-style: none; margin: 12px 0 0; padding: 0; }
.items li { font-size: 17px; line-height: 1.25; padding: 4px 0; cursor: pointer; text-align: left; transition: opacity .35s; }
.items li > span { position: relative; display: inline-block; }
.items li > span::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--smooth);
}
.items li.done { opacity: .55; }
.items li.done > span::after { transform: scaleX(1); }
.items li.pop > span { animation: itemPop .4s var(--spring); }
@keyframes itemPop { 40% { transform: scale(1.06); } }
.card-tools { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip-btn { background: rgba(255,255,255,.28); border-radius: 99px; padding: 8px 14px; font-size: 14px; transition: transform .3s var(--spring); }
.c-white .chip-btn, .c-greige .chip-btn, .c-yellow:not(.card) .chip-btn, .c-orange .chip-btn, .c-red .chip-btn, .c-magenta .chip-btn { background: rgba(0,0,0,.1); }
.chip-btn.on { background: #000; color: #fff; }
.chip-btn:active { transform: scale(.9); }
.add-inline { margin-top: 10px; }
.add-inline input { width: 100%; border: 0; border-radius: 14px; padding: 11px 13px; font-size: 16px; font-weight: 700; background: rgba(255,255,255,.3); color: inherit; outline: none; }
.add-inline input::placeholder { color: inherit; opacity: .7; }
.c-white .add-inline input, .c-greige .add-inline input { background: rgba(0,0,0,.06); }
.card.dragging { z-index: 50; box-shadow: 0 18px 40px rgba(0,0,0,.25); transition: box-shadow .3s; }
.card.finish { animation: finish .7s var(--smooth) forwards; }
@keyframes finish { 30% { transform: scale(1.04) rotate(-1deg); } 100% { transform: translateX(120%) rotate(8deg); opacity: 0; } }
.card.new { animation: cardIn .7s var(--spring) both; }
@keyframes cardIn { from { transform: translateY(-40px) scale(.8); opacity: 0; } }
/* Einblenden */
.card.enter { animation: cardEnter .75s var(--spring) both; }
@keyframes cardEnter { from { transform: translateY(46px) scale(.92); opacity: 0; } }
.items li.reveal { animation: itemIn .5s var(--spring) both; animation-delay: calc(var(--i, 0) * 55ms + var(--d, .08s)); }
@keyframes itemIn { from { opacity: 0; transform: translateX(-16px); } }
.enter-soft { animation: fadeUp .55s var(--smooth) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
/* Beleg */
.field > .photo-btn { display: flex; margin: 0; color: #000; font-size: 16px; }
.field > .photo-btn.on { color: #fff; }
.photo-btn { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 14px 16px; font-size: 16px; cursor: pointer; transition: transform .3s var(--spring), background .25s; }
.photo-btn:active { transform: scale(.97); }
.photo-btn.on { background: var(--green); color: #fff; }
.photo-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.photo-prev { display: block; max-width: 140px; max-height: 180px; border-radius: 14px; margin-top: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.photo-prev.pop { animation: popIn .55s var(--spring); }
.photo-full { display: block; width: 100%; border-radius: 18px; background: #fff; }
.tx .ic.photo { overflow: hidden; padding: 0; border: 2px solid #000; }
.tx .ic.photo img { width: 100%; height: 100%; object-fit: cover; }
.stack-empty { text-align: center; padding: 30px 10px; color: #9a9a9a; font-size: 18px; }

/* ---------- Kontostand ---------- */
.balance {
  display: block; width: 100%; text-align: left; border-radius: 22px; padding: 20px 16px;
  font-size: 40px; letter-spacing: -.03em; position: sticky; top: calc(var(--safe-top) + 10px); z-index: 20;
  transition: transform .35s var(--spring); font-variant-numeric: tabular-nums;
}
.balance:active { transform: scale(.97); }
.balance.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.04); } }

/* ---------- Projekt-Raster ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; margin-top: 22px; }

/* ---------- Sheets ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.28); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 80; }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-width: 430px; margin: 0 auto;
  background: var(--bg); border-radius: 30px 30px 0 0; padding: 12px 18px calc(var(--safe-bottom) + 24px);
  transform: translateY(105%); transition: transform .5s var(--smooth); max-height: 88vh; overflow-y: auto;
}
.sheet.show { transform: none; }
.grabber { width: 40px; height: 5px; border-radius: 3px; background: #bdbdbd; margin: 0 auto 16px; }
.sheet h2 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 18px; }
.add-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
.add-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; color: #7a7a7a; margin-bottom: 8px; }
.text-in { width: 100%; border: 0; border-radius: 18px; padding: 15px 16px; font-size: 19px; background: #fff; outline: none; font-weight: 700; }
.amount-in { font-size: 52px; letter-spacing: -.03em; padding: 6px 16px; background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 99px; padding: 9px 14px; background: #fff; font-size: 15px; transition: transform .3s var(--spring), background .2s; }
.chip:active { transform: scale(.9); }
.chip.on { background: #000; color: #fff; }
.chip.color { width: 38px; height: 38px; padding: 0; border: 3px solid transparent; }
.chip.color.on { border-color: #000; }
.big-btn { display: block; width: 100%; border-radius: 22px; padding: 18px; font-size: 22px; background: #000; color: #fff; margin-top: 8px; transition: transform .3s var(--spring); }
.big-btn:active { transform: scale(.96); }
.seg { display: flex; background: #fff; border-radius: 99px; padding: 4px; margin-bottom: 18px; }
.seg button { flex: 1; padding: 10px; border-radius: 99px; font-size: 16px; }
.seg button.on { background: #000; color: #fff; }
.menu-list { display: flex; flex-direction: column; gap: 8px; }
.menu-row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 15px 16px; font-size: 18px; text-align: left; transition: transform .3s var(--spring); }
.menu-row:active { transform: scale(.97); }
.menu-row .sp { flex: 1; }
.toggle { width: 50px; height: 30px; border-radius: 99px; background: #d0d0d0; position: relative; transition: background .25s; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .35s var(--spring); }
.toggle.on { background: var(--green); }
.toggle.on::after { transform: translateX(20px); }

/* ---------- Screens ---------- */
.screen { position: fixed; inset: 0; z-index: 70; background: var(--bg); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--smooth); }
.screen.show { transform: none; }
.screen-inner { max-width: 430px; margin: 0 auto; padding: calc(var(--safe-top) + 20px) 16px calc(var(--safe-bottom) + 60px); }
.screen-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; transition: transform .3s var(--spring); }
.round-btn:active { transform: scale(.88); }
.hero { display: flex; align-items: center; gap: 16px; margin: 8px 4px 18px; }
.hero .bubble { width: 96px; flex-shrink: 0; font-size: 46px; }
.hero h1 { font-size: 32px; letter-spacing: -.02em; margin: 0; line-height: 1.05; }
.focus-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; border-radius: 22px; padding: 20px; font-size: 24px; letter-spacing: -.01em; margin-bottom: 10px; transition: transform .3s var(--spring); }
.focus-btn:active { transform: scale(.97); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.stat { background: #fff; border-radius: 20px; padding: 14px 12px; }
.stat .v { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 12px; color: #8a8a8a; margin-top: 3px; }
.next { background: #000; color: #fff; border-radius: 22px; padding: 18px; margin-bottom: 6px; }
.next .l { font-size: 13px; opacity: .6; }
.next .t { font-size: 24px; letter-spacing: -.02em; margin: 6px 0 14px; line-height: 1.15; }
.next .row { display: flex; gap: 8px; }
.next .row button { border-radius: 99px; padding: 10px 16px; font-size: 15px; background: #fff; color: #000; transition: transform .3s var(--spring); }
.next .row button.ghost { background: rgba(255,255,255,.15); color: #fff; }
.next .row button:active { transform: scale(.9); }
.section-t { display: flex; justify-content: space-between; align-items: center; font-size: 22px; margin: 26px 4px 10px; letter-spacing: -.01em; }
.section-t .small-btn { font-size: 14px; background: #fff; border-radius: 99px; padding: 8px 13px; }
.lists .card { margin-bottom: 10px; padding-bottom: 18px; }
.pill { border-radius: 22px; padding: 16px; margin-bottom: 10px; }
.pill .lbl { font-size: 14px; opacity: .8; }
.pill .val { font-size: 28px; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.pill.muted { opacity: .45; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.money-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.money-btns button { border-radius: 18px; padding: 15px; font-size: 18px; transition: transform .3s var(--spring); }
.money-btns button:active { transform: scale(.95); }
.tx { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 14px; margin-bottom: 8px; }
.tx .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--bg); flex-shrink: 0; }
.tx .mid { flex: 1; min-width: 0; }
.tx .t1 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx .t2 { font-size: 12px; color: #8a8a8a; margin-top: 2px; }
.tx .amt { font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pos { color: var(--darkgreen); }
.notes { width: 100%; min-height: 110px; border: 0; border-radius: 20px; padding: 16px; font-size: 17px; font-weight: 700; background: #fff; outline: none; resize: vertical; line-height: 1.35; }
.empty-note { color: #9a9a9a; font-size: 16px; padding: 6px 4px; }
.close-proj { display: block; width: 100%; margin-top: 30px; border-radius: 22px; padding: 18px; font-size: 18px; background: #fff; transition: transform .3s var(--spring); }
.close-proj:active { transform: scale(.97); }

/* ---------- Wohnung ---------- */
.round-btn.back { padding-right: 2px; }
.round-btn.back:active { transform: scale(.88) translateX(-3px); }
.bullet { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.bullet.sm { width: 26px; height: 26px; font-size: 13px; }
.room { display: block; width: 100%; text-align: left; background: #fff; border-radius: 22px; padding: 16px; margin-bottom: 10px; transition: transform .3s var(--spring); }
.room:active { transform: scale(.97); }
.room-top { display: flex; gap: 12px; align-items: center; }
.room-mid { min-width: 0; }
.rt { font-size: 20px; letter-spacing: -.01em; }
.rs { font-size: 13px; color: #8a8a8a; margin-top: 3px; }
.progress { height: 8px; background: #ececec; border-radius: 99px; overflow: hidden; margin: 14px 0 10px; }
.progress div { height: 100%; background: #000; border-radius: 99px; }
.room-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.badge { display: inline-block; border-radius: 99px; padding: 6px 11px; font-size: 13px; white-space: nowrap; }
.badge.red { background: var(--red); }
.badge.orange { background: var(--orange); }
.badge.green { background: var(--green); color: #fff; }
.badge.grey { background: #ddd; }
.tl { background: #fff; border-radius: 22px; padding: 14px 12px 10px; }
.tl-months { display: grid; grid-template-columns: 34px repeat(12, 1fr); font-size: 11px; color: #9a9a9a; margin-bottom: 4px; }
.tl-row { display: grid; grid-template-columns: 34px 1fr; align-items: center; height: 40px; }
.tl-track { position: relative; height: 28px; background: repeating-linear-gradient(to right, #eee 0 1px, transparent 1px calc(100% / 12)); }
.tl-bar { position: absolute; top: 0; bottom: 0; border-radius: 99px; font-size: 12px; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.tl-today { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #000; border-radius: 2px; }
.pay-chip { border-radius: 99px; padding: 9px 14px; font-size: 14px; background: var(--red); transition: transform .3s var(--spring), background .25s; }
.pay-chip.on { background: var(--green); color: #fff; }
.pay-chip:active { transform: scale(.9); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; font-size: 17px; margin: 0; }
.kv dt { color: #8a8a8a; font-size: 15px; }
.kv dd { margin: 0; }

/* ---------- Fokus ---------- */
.focus {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--safe-top) + 20px) 22px calc(var(--safe-bottom) + 28px);
  opacity: 0; transform: scale(1.04); pointer-events: none; transition: opacity .4s, transform .5s var(--smooth);
}
.focus.show { opacity: 1; transform: none; pointer-events: auto; }
.focus .bar { width: 100%; max-width: 400px; display: flex; justify-content: space-between; align-items: center; }
.focus .round-btn { background: rgba(255,255,255,.35); color: inherit; }
.focus .proj { font-size: 16px; opacity: .75; }
.f-label { font-size: 15px; opacity: .7; margin-top: 30px; }
.f-task { font-size: 36px; letter-spacing: -.03em; line-height: 1.08; margin: 10px 0 4px; max-width: 380px; min-height: 80px; display: flex; align-items: center; justify-content: center; position: relative; }
.f-task span { position: relative; }
.f-task span::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 4px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--smooth); }
.f-task.struck span::after { transform: scaleX(1); }
.f-task.out { animation: taskOut .45s var(--smooth) forwards; }
.f-task.in { animation: taskIn .55s var(--spring); }
@keyframes taskOut { to { transform: translateY(-30px); opacity: 0; } }
@keyframes taskIn { from { transform: translateY(30px); opacity: 0; } }
.f-list { font-size: 14px; opacity: .65; }
.ring { position: relative; width: 210px; height: 210px; margin: 26px 0 14px; cursor: pointer; transition: transform .35s var(--spring); }
.ring:active { transform: scale(.95); }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: rgba(0,0,0,.12); }
.ring .prog { stroke: currentColor; transition: stroke-dashoffset 1s linear; }
.ring .time { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ring .hint { position: absolute; left: 0; right: 0; bottom: 52px; font-size: 13px; opacity: .65; }
.f-durs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.f-durs button { border-radius: 99px; padding: 8px 14px; font-size: 14px; background: rgba(255,255,255,.35); }
.f-durs button.on { background: #000; color: #fff; }
.f-actions { margin-top: auto; width: 100%; max-width: 400px; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.f-actions button { border-radius: 22px; padding: 20px; font-size: 21px; transition: transform .3s var(--spring); }
.f-actions button:active { transform: scale(.95); }
.f-done { background: #000; color: #fff; }
.f-later { background: rgba(255,255,255,.4); }
.f-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; max-width: 300px; }
.f-progress i { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.18); transition: background .3s, transform .4s var(--spring); }
.f-progress i.on { background: currentColor; transform: scale(1.2); }
.f-empty { margin: auto 0; }
.focus { overflow-y: auto; }
.focus .round-btn.on { background: #000; color: #fff; }
.ring svg { width: 100%; height: 100%; }
.focus.with-list .f-label { display: none; }
.focus.with-list .f-task { font-size: 28px; min-height: 0; margin-top: 18px; }
.focus.with-list .ring { width: 150px; height: 150px; margin: 14px 0 10px; }
.focus.with-list .ring .time { font-size: 34px; }
.focus.with-list .ring .hint { bottom: 34px; font-size: 11px; }
.f-custom { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -6px 0 16px; animation: fadeUp .4s var(--smooth); }
.f-custom > button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.45); font-size: 24px; transition: transform .3s var(--spring); }
.f-custom > button:active { transform: scale(.88); }
.f-custom label { display: flex; align-items: baseline; gap: 6px; background: rgba(255,255,255,.45); border-radius: 99px; padding: 6px 16px; font-size: 16px; }
.f-custom input { width: 64px; border: 0; background: transparent; font-size: 26px; font-weight: 700; text-align: center; color: inherit; outline: none; -moz-appearance: textfield; }
.f-custom input::-webkit-inner-spin-button { -webkit-appearance: none; }
.f-panel { width: 100%; max-width: 400px; background: rgba(255,255,255,.4); border-radius: 22px; padding: 6px; margin-bottom: 14px; max-height: 34vh; overflow-y: auto; text-align: left; }
.f-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 16px; animation: fadeUp .4s var(--smooth) both; transition: opacity .3s; }
.f-row.cur { background: rgba(255,255,255,.55); }
.f-check { width: 28px; height: 28px; border-radius: 50%; border: 3px solid currentColor; flex-shrink: 0; transition: transform .35s var(--spring), background .2s; }
.f-check:active { transform: scale(.85); }
.f-row.done { opacity: .5; }
.f-row.done .f-check { background: currentColor; transform: scale(1.15); }
.f-row-t { flex: 1; min-width: 0; text-align: left; font-size: 17px; }
.f-row-t span { position: relative; }
.f-row-t span::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--smooth); }
.f-row.done .f-row-t span::after { transform: scaleX(1); }
.f-row-t small { display: block; font-size: 12px; opacity: .6; margin-top: 2px; }
.f-empty .big { font-size: 40px; letter-spacing: -.03em; margin-bottom: 10px; }

/* ---------- Jarvis ---------- */
.jarvis {
  position: fixed; inset: 0; z-index: 100; background: var(--yellow); display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 24px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.jarvis.show { opacity: 1; pointer-events: auto; }
.jarvis .close { align-self: flex-end; font-size: 34px; line-height: 1; padding: 4px 8px; }
.jarvis .bars { height: 110px; gap: 7px; margin: 40px 0 20px; }
.jarvis .bars i { width: 8px; border-radius: 5px; }
.j-status { font-size: 26px; letter-spacing: -.02em; text-align: center; min-height: 32px; }
.j-heard { font-size: 18px; text-align: center; color: rgba(0,0,0,.55); margin-top: 10px; min-height: 22px; }
.j-answer { margin-top: 24px; background: #000; color: #fff; border-radius: 22px; padding: 16px 18px; font-size: 19px; max-width: 360px; opacity: 0; transform: translateY(10px); transition: all .45s var(--spring); }
.j-answer.show { opacity: 1; transform: none; }
.j-bottom { margin-top: auto; width: 100%; max-width: 400px; }
.j-examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.j-examples .chip { background: rgba(255,255,255,.6); }
.j-input { display: flex; gap: 8px; }
.j-input input { flex: 1; border: 0; border-radius: 99px; padding: 14px 18px; font-size: 17px; outline: none; font-weight: 700; }
.j-input button { width: 52px; height: 52px; border-radius: 50%; background: #000; color: #fff; font-size: 22px; }
.j-mic { width: 84px; height: 84px; border-radius: 50%; background: #000; color: #fff; margin: 0 auto 18px; display: grid; place-items: center; transition: transform .35s var(--spring); }
.j-mic.rec { background: var(--red); }

/* ---------- Toast & Konfetti ---------- */
.toast {
  position: fixed; left: 50%; top: calc(var(--safe-top) + 14px); z-index: 200; transform: translate(-50%, -150%);
  background: #000; color: #fff; border-radius: 99px; padding: 13px 20px; font-size: 16px; transition: transform .5s var(--spring);
  white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis;
}
.toast.show { transform: translate(-50%, 0); }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 150; }
.proto-note { text-align: center; color: #a5a5a5; font-size: 12px; margin-top: 28px; font-weight: 400; }

/* ================= Echte App: Ergänzungen ================= */
.login { position: fixed; inset: 0; z-index: 300; background: var(--yellow); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 30px; text-align: center; }
.login.show { display: flex; }
.login h1 { font-size: 44px; letter-spacing: -.03em; margin: 0; }
.login p { font-size: 17px; margin: 0; max-width: 300px; opacity: .75; }
.login .big-btn { max-width: 320px; }
.login .err { color: #000; background: rgba(255,255,255,.6); border-radius: 14px; padding: 10px 14px; font-size: 14px; max-width: 320px; }
.login .err:empty { display: none; }
.del-btn { display: block; width: 100%; border-radius: 22px; padding: 16px; font-size: 17px; background: #fff; color: var(--red); margin-top: 10px; }
.ghost-btn { display: block; width: 100%; border-radius: 22px; padding: 16px; font-size: 17px; background: #fff; margin-top: 10px; }
.field textarea.text-in { min-height: 90px; resize: vertical; line-height: 1.3; }
.edit-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 12px 10px 16px; margin-bottom: 6px; font-size: 16px; }
.edit-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.edit-row button { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); font-size: 16px; flex-shrink: 0; }
.tx { width: 100%; text-align: left; }
button.tx { transition: transform .3s var(--spring); }
button.tx:active { transform: scale(.98); }
.tx .rcpt { font-size: 12px; margin-left: 6px; }
.sync { position: fixed; right: 12px; bottom: calc(var(--safe-bottom) + 10px); z-index: 60; font-size: 11px; background: #000; color: #fff; border-radius: 99px; padding: 6px 10px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.sync.show { opacity: .75; }
.reading { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-top: 10px; }
.reading i { width: 10px; height: 10px; border-radius: 50%; background: #000; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }
.f-break { font-size: 15px; opacity: .8; margin-top: 30px; }
.room.free { opacity: .7; }
.hint-card { background: #fff; border-radius: 22px; padding: 16px; font-size: 16px; line-height: 1.35; margin-bottom: 10px; }

