:root {
  --ink: #352d2a;
  --muted: #776d68;
  --paper: #fffdfa;
  --canvas: #f8f1ec;
  --rose: #b36c72;
  --rose-soft: #f2dfe0;
  --terracotta: #c57b5d;
  --terracotta-soft: #f7e5d9;
  --sage: #668978;
  --sage-soft: #dfece4;
  --sand: #eee2d6;
  --line: #eaded6;
  --danger: #b84f52;
  --shadow: 0 10px 30px rgba(81, 56, 45, .08);
  --radius: 18px;
  --radius-sm: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
textarea { min-height: 94px; resize: vertical; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); padding: .68rem .75rem; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(179,108,114,.16); }
label { display: grid; gap: .35rem; color: var(--ink); font-size: .92rem; font-weight: 650; }
small { color: var(--muted); }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); line-height: 1.15; margin-bottom: .1rem; }
h2 { font-size: 1.3rem; line-height: 1.25; margin-bottom: .75rem; }
h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.app-shell { display: grid; grid-template-columns: 236px minmax(0,1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: #f1e5dc; padding: 1.45rem 1rem; display: flex; flex-direction: column; border-right: 1px solid rgba(126,93,74,.11); }
.brand { display: flex; align-items: center; gap: .7rem; padding: .45rem .5rem 1.8rem; font-weight: 760; letter-spacing: -.02em; font-size: 1.12rem; }
.brand small { display: block; color: var(--muted); font-size: .67rem; font-weight: 500; letter-spacing: 0; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #fff; font-size: .75rem; letter-spacing: .03em; }
.nav-links { display: grid; gap: .3rem; }
.nav-links a { display: flex; align-items: center; gap: .7rem; border-radius: 10px; color: #5f504a; padding: .72rem .75rem; font-weight: 620; }
.nav-links a span { font-size: 1.15rem; width: 1.25rem; text-align: center; color: var(--terracotta); }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.65); color: var(--ink); }
.sidebar-footer { margin-top: auto; padding: .75rem; font-size: .85rem; color: var(--muted); }
.sidebar-footer a:hover { color: var(--ink); }
.main-content { width: min(1180px, 100%); margin: 0 auto; padding: 1.2rem clamp(1rem, 3.5vw, 3.5rem) 4.5rem; }
.topbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: .3rem 0 2rem; }
.eyebrow { margin-bottom: .28rem; color: var(--terracotta); font-size: .72rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.top-actions, .inline-form, .action-row, .month-nav { display: flex; align-items: center; gap: .5rem; }
.text-button { padding: .35rem .35rem; border: 0; color: var(--rose); background: none; font-size: .88rem; font-weight: 700; }
.text-button:hover { color: #854d54; text-decoration: underline; }
.danger { color: var(--danger); }
.notification-link { position: relative; display: grid; place-items: center; width: 39px; height: 39px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 50%; font-size: 1.25rem; }
.notification-link span { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 99px; background: var(--rose); color: #fff; font-size: .64rem; font-weight: 700; }
.flash { margin: 0 0 1rem; border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .93rem; }
.flash ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.flash-success { background: var(--sage-soft); color: #345543; border: 1px solid #c1dbc9; }
.flash-error { background: #f9e0df; color: #813d3d; border: 1px solid #ecc3c2; }
.welcome, .calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.2rem; }
.welcome h2, .calendar-heading h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 39px; padding: .58rem .9rem; border: 1px solid transparent; border-radius: 10px; font-weight: 720; font-size: .9rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--rose); color: #fff; box-shadow: 0 6px 14px rgba(179,108,114,.22); }
.button-primary:hover { background: #9f5f66; }
.button-soft { background: var(--terracotta-soft); color: #7b4d3b; border-color: #ecd4c7; }
.button-outline { background: transparent; color: var(--rose); border-color: var(--rose); }
.button-quiet { background: rgba(255,255,255,.65); color: var(--muted); border-color: var(--line); }
.panel, .feeling-card, .item-hero { background: rgba(255,253,250,.88); border: 1px solid rgba(214,195,184,.65); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: .9rem; margin-bottom: 1rem; }
.panel-heading h2 { margin: 0; }
.panel-heading a { color: var(--rose); font-size: .85rem; font-weight: 700; }
.feeling-grid, .dashboard-grid, .two-column, .split-layout, .info-grid { display: grid; gap: 1.1rem; }
.feeling-grid { grid-template-columns: repeat(2, minmax(0,1fr)); margin-bottom: 1.1rem; }
.feeling-card { min-height: 130px; background: #fffaf6; position: relative; overflow: hidden; }
.feeling-card::after { content: ""; position: absolute; width: 95px; height: 95px; background: var(--rose-soft); right: -34px; bottom: -40px; border-radius: 50%; }
.feeling-card.mine { background: #fbf2ed; }
.feeling-card p { margin-bottom: .3rem; color: var(--muted); font-size: .85rem; }
.feeling-card h3 { font-size: 1.45rem; color: var(--rose); margin-bottom: .25rem; }
.feeling-card time { display: block; margin-top: .65rem; font-size: .76rem; color: var(--muted); }
.dashboard-grid, .two-column { grid-template-columns: repeat(2, minmax(0,1fr)); }
.compact-list { display: grid; gap: .45rem; }
.compact-item { display: flex; align-items: center; gap: .65rem; padding: .68rem; border-radius: 11px; background: #fff; border: 1px solid #f1e6df; }
a.compact-item:hover { border-color: #dfbeb8; background: #fffaf7; }
.compact-item > span:first-child { color: var(--terracotta); font-size: 1.1rem; }
.compact-item > span:nth-child(2) { flex: 1; min-width: 0; }
.compact-item strong, .compact-item small { display: block; }
.compact-item strong { font-size: .91rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-item small { font-size: .73rem; }
.compact-item b { color: var(--rose); font-size: 1.25rem; }
.compact-item.static { cursor: default; }
.status-dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; }
.status-open { background: var(--terracotta); color: #8d543e; }
.status-working { background: #d0a445; color: #85672a; }
.status-done { background: var(--sage); color: #456755; }
.cycle-preview { background: linear-gradient(135deg, #fffaf5, #f8eee7); }
.cycle-date { font-size: 1.55rem; font-weight: 760; color: var(--terracotta); margin: .45rem 0 .1rem; }
.muted, .empty { color: var(--muted); }
.empty { font-size: .91rem; margin-bottom: 0; }
.pause-banner, .private-banner { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 0 0 1.1rem; padding: .85rem 1rem; border-radius: 12px; background: #fbefe7; color: #73513e; border-left: 4px solid var(--terracotta); }
.private-banner { background: #ece9f2; border-left-color: #81759a; color: #4e475b; }
.split-layout { grid-template-columns: 1.25fr .85fr; }
.stack-form { display: grid; gap: .85rem; }
.compact-form { margin-bottom: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1/-1; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; display: grid; gap: .7rem; }
legend { padding: 0 .4rem; font-weight: 760; color: var(--terracotta); }
.radio-line { display: flex; gap: .45rem; align-items: start; font-size: .82rem; font-weight: 600; }
.radio-line input { width: auto; margin-top: .25rem; }
.form-actions { display: flex; justify-content: end; }
.feeling-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .45rem; }
.feeling-option { position: relative; display: block; }
.feeling-option input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.feeling-option span { display: block; padding: .6rem .65rem; text-align: center; font-weight: 650; font-size: .87rem; color: #625650; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.feeling-option input:checked + span { border-color: var(--rose); background: var(--rose-soft); color: #7e474d; }
.timeline { display: grid; gap: .95rem; border-left: 2px solid var(--rose-soft); margin-left: .35rem; padding-left: 1.1rem; }
.timeline > div { position: relative; }
.timeline-mark { position: absolute; left: -1.48rem; top: .32rem; width: .65rem; height: .65rem; background: var(--rose); border: 3px solid #fffaf6; border-radius: 50%; }
.timeline strong, .timeline small { display: block; }
.timeline p { margin: .22rem 0; font-size: .9rem; }
.action-row { margin-bottom: 1.1rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; }
.item-card { display: block; padding: 1rem; min-height: 165px; background: #fff; border: 1px solid #eee2db; border-radius: 13px; transition: transform .15s ease, border-color .15s ease; }
.item-card:hover { transform: translateY(-2px); border-color: #d8aaa6; }
.item-card > div { display: flex; justify-content: space-between; gap: .4rem; margin-bottom: .8rem; }
.item-card p { margin-bottom: .75rem; color: var(--muted); font-size: .86rem; }
.item-card small { font-size: .7rem; }
.chip, .status-badge { display: inline-flex; align-items: center; border-radius: 99px; padding: .24rem .48rem; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.chip { background: var(--terracotta-soft); color: #87563e; }
.status-badge.status-open { background: #f7e4da; }
.status-badge.status-working { background: #f7efd7; }
.status-badge.status-done { background: var(--sage-soft); }
.appreciation-list { display: grid; gap: .6rem; margin-bottom: 1rem; }
.appreciation-list > div { padding: .65rem .75rem; background: #fffaf1; border-radius: 10px; border: 1px solid #f1e4c9; }
.appreciation-list strong, .appreciation-list small { display: block; }
.appreciation-list strong { font-size: .9rem; }
.checkin { border-top: 1px solid var(--line); padding: .72rem 0; }
.checkin summary { cursor: pointer; font-weight: 700; color: #5d514c; }
.checkin p { margin: .6rem 0; font-size: .88rem; }
dialog { max-width: min(620px, calc(100vw - 2rem)); width: 100%; padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(42,28,21,.25); background: var(--paper); }
dialog::backdrop { background: rgba(57,42,35,.42); backdrop-filter: blur(2px); }
.dialog form { padding: 1.3rem; }
.dialog h2 { margin: 0; }
.dialog-actions { display: flex; justify-content: end; gap: .6rem; margin-top: .2rem; }
.back-link { display: inline-block; margin: -1rem 0 1rem; color: var(--rose); font-size: .88rem; font-weight: 700; }
.item-hero { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: 1rem; }
.item-hero h2 { margin: .5rem 0; font-size: 1.7rem; }
.item-meta { display: flex; gap: .4rem; }
.status-form { display: flex; align-items: end; gap: .55rem; min-width: 240px; }
.status-form label { flex: 1; }
.status-form select { padding: .5rem; }
.info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 1rem; }
.info-grid .panel p:last-child { margin-bottom: 0; }
.space-top { margin-top: 1rem; }
.conversation { padding: .85rem 0; border-top: 1px solid var(--line); }
.conversation:first-of-type { border-top: 0; }
.conversation > div { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.conversation > div small { font-size: .72rem; }
.conversation p, .commitment p { font-size: .9rem; margin: .55rem 0; }
.commitment { display: flex; justify-content: space-between; gap: .75rem; padding: .78rem 0; border-top: 1px solid var(--line); }
.commitment:first-of-type { border-top: 0; }
.commitment strong { display: inline-block; margin-left: .4rem; }
.inline-status { display: flex; gap: .25rem; align-items: center; }
.inline-status select { min-width: 0; padding: .35rem; font-size: .78rem; }
.calendar-panel { padding: 1rem; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 1rem; padding: .1rem .15rem .85rem; font-size: .8rem; color: var(--muted); }
.calendar-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.calendar-legend i { display: block; width: 16px; height: 16px; border-radius: 5px; }
.legend-actual { background: var(--rose); }
.legend-predicted { border: 2px dashed var(--terracotta); background: #fff6f0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; background: #f4ebe5; border: 1px solid #f1e4dc; border-radius: 12px; overflow: hidden; }
.calendar-grid > div { min-height: 83px; padding: .45rem; background: #fffdfb; font-weight: 730; font-size: .82rem; }
.calendar-grid > div:nth-child(-n+7) { min-height: auto; padding: .45rem; text-align: center; color: var(--muted); font-size: .7rem; background: #f8f2ed; }
.calendar-day { position: relative; }
.calendar-day.actual { background: var(--rose-soft); color: #7f4349; }
.calendar-day.predicted { background: repeating-linear-gradient(135deg,#fff8f3,#fff8f3 5px,#faebdf 5px,#faebdf 8px); outline: 2px dashed var(--terracotta); outline-offset: -3px; color: #80503b; }
.calendar-day small { display: block; position: absolute; left: .45rem; bottom: .35rem; font-size: .62rem; }
.calendar-day.today > span { display: grid; place-items: center; width: 25px; height: 25px; background: var(--ink); color: #fff; border-radius: 50%; }
.calendar-day.blank { background: #faf6f2; }
.notice-panel { margin-top: 1rem; background: #fbf7ff; border-color: #e3dce9; }
.wish-list { display: grid; gap: .65rem; }
.wish-card { background: #fff8f1; border: 1px solid #f0dfce; border-radius: 12px; padding: .85rem; }
.wish-card h3 { margin-bottom: .25rem; }
.wish-card p { color: var(--muted); font-size: .88rem; margin-bottom: .55rem; }
.partner-wish { background: #f8fbf7; border-color: #dceadf; }
.private-list { display: grid; gap: .6rem; }
.private-list article { padding: .75rem; border-radius: 11px; background: #faf9fc; border: 1px solid #e9e5ef; }
.private-list strong, .private-list small { display: block; }
.private-list p { color: #5b5562; font-size: .88rem; margin: .45rem 0 0; }
.mood-score { float: right; padding: .2rem .35rem; border-radius: 7px; background: #eae5f0; color: #625873; font-size: .72rem; font-weight: 750; }
.notification-list { display: grid; gap: .35rem; }
.notification-list a { display: flex; gap: .75rem; align-items: start; padding: .8rem; background: #fff; border: 1px solid #f0e5de; border-radius: 11px; font-size: .92rem; }
.notification-list a:hover { border-color: #dcafaa; }
.notice-icon { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); }
.notification-list small { display: block; margin-top: .18rem; font-size: .72rem; }
.login-wrap, .setup-body { display: grid; place-items: center; min-height: 100vh; padding: 1rem; background: radial-gradient(circle at 12% 15%, #f1dad8, transparent 30%), radial-gradient(circle at 90% 85%, #efd7c6, transparent 28%), var(--canvas); }
.login-card, .setup-card { width: min(460px, 100%); padding: clamp(1.4rem, 5vw, 2.3rem); border-radius: 24px; background: rgba(255,253,250,.94); border: 1px solid rgba(218,195,183,.75); box-shadow: 0 18px 48px rgba(94,65,49,.15); }
.login-card h1, .setup-card h1 { font-size: 2.2rem; color: var(--rose); margin-bottom: .2rem; }
.lead { color: var(--muted); margin-bottom: 1.5rem; }
.setup-wrap { width: min(1020px, 100%); }
.setup-card { width: 100%; }
.small { font-size: .76rem; }
.mobile-nav { display: none; }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; } .sidebar { display: none; } .main-content { padding-bottom: 6.2rem; } .mobile-nav { display: grid; grid-template-columns: repeat(5,1fr); gap: .1rem; position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; padding: .45rem .25rem max(.45rem, env(safe-area-inset-bottom)); background: rgba(255,253,250,.96); border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(59,43,35,.08); } .mobile-nav a { display: grid; justify-items: center; gap: .15rem; color: var(--muted); font-size: .61rem; font-weight: 650; padding: .15rem; } .mobile-nav a span { font-size: 1rem; color: var(--terracotta); } .mobile-nav a.active { color: var(--rose); } .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .main-content { padding: 1rem 1rem 6.2rem; } .topbar { margin-bottom: 1.35rem; } .welcome, .calendar-heading, .item-hero { align-items: start; flex-direction: column; } .feeling-grid, .dashboard-grid, .two-column, .split-layout, .info-grid { grid-template-columns: 1fr; } .card-grid { grid-template-columns: 1fr; } .item-hero { padding: 1rem; } .status-form { width: 100%; min-width: 0; } .calendar-grid > div { min-height: 57px; padding: .32rem; } .calendar-day small { display: none; } .form-grid { grid-template-columns: 1fr; } .panel, .feeling-card { padding: 1rem; } .feeling-options { grid-template-columns: 1fr 1fr; } .conversation > div { align-items: start; flex-direction: column; gap: .12rem; } }

.withdraw-form { margin: -0.35rem 0 1rem; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.privacy-actions form { margin: 0; }
@media (max-width: 680px) { .privacy-actions { display: grid; } .privacy-actions .button { width: 100%; } }

/* Überarbeitung: klare Gefühlszuordnung und robuste Mobilansicht */
.main-content, .panel, .feeling-card, .item-card, .compact-item, .stack-form, .stack-form > *, .two-column > *, .dashboard-grid > *, .split-layout > * { min-width: 0; }

.feeling-card { display: flex; flex-direction: column; gap: .1rem; }
.feeling-card::after { display: none; }
.feeling-card.mine { background: linear-gradient(135deg, #fff0f2, #fbe7e8); border-color: #eccbd0; }
.feeling-card.partner { background: linear-gradient(135deg, #edf4fb, #e5eef8); border-color: #cddceb; }
.feeling-card-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .2rem; }
.feeling-role { display: inline-flex; align-items: center; min-height: 24px; padding: .22rem .52rem; border-radius: 999px; background: rgba(255,255,255,.72); color: #705552; font-size: .72rem; font-weight: 760; }
.feeling-symbol { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: rgba(255,255,255,.75); color: var(--rose); font-size: 1.16rem; font-weight: 700; }
.feeling-card.partner .feeling-symbol { color: #546f94; }
.feeling-card.mine h3 { color: #a85d6a; }
.feeling-card.partner h3 { color: #4f688d; }

@media (max-width: 680px) {
  html, body { max-width: 100%; overflow-x: clip; }
  body { font-size: 16px; }
  .main-content { width: 100%; padding: .85rem .82rem 6.65rem; overflow-x: clip; }
  .topbar { align-items: flex-start; gap: .7rem; margin: .15rem 0 1.15rem; }
  .topbar h1 { font-size: 1.65rem; }
  .top-actions { gap: .15rem; }
  .notification-link { width: 36px; height: 36px; flex: 0 0 36px; font-size: .98rem; }
  .notification-link span { min-width: 17px; height: 17px; font-size: .58rem; }
  .text-button { max-width: 100%; white-space: normal; text-align: left; line-height: 1.2; }
  .welcome, .calendar-heading { gap: .75rem; margin-bottom: .85rem; }
  .welcome h2, .calendar-heading h2 { font-size: 1.48rem; }
  .welcome .button { width: 100%; }
  .panel, .feeling-card, .item-hero { width: 100%; max-width: 100%; padding: .95rem; border-radius: 15px; box-shadow: 0 6px 18px rgba(81,56,45,.06); }
  .dashboard-grid, .two-column, .split-layout, .info-grid { gap: .82rem; }
  .two-column { margin-bottom: .82rem; }
  .panel-heading { gap: .65rem; align-items: flex-start; margin-bottom: .72rem; }
  .panel-heading h2 { font-size: 1.18rem; }
  .eyebrow { font-size: .64rem; letter-spacing: .085em; }
  .muted, .empty { font-size: .86rem; }
  .private-banner, .pause-banner { gap: .35rem; padding: .72rem .78rem; font-size: .83rem; }
  .stack-form { gap: .62rem; }
  .stack-form label { gap: .25rem; font-size: .78rem; line-height: 1.25; }
  input, textarea, select { max-width: 100%; min-width: 0; padding: .52rem .6rem; font-size: 16px; border-radius: 9px; }
  textarea { min-height: 82px; }
  .stack-form textarea { min-height: 88px; }
  .button { min-height: 38px; padding: .54rem .7rem; font-size: .83rem; white-space: normal; text-align: center; line-height: 1.18; }
  .action-row { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: .55rem; margin-bottom: .85rem; }
  .action-row .button { width: 100%; }
  .feeling-grid { gap: .7rem; margin-bottom: .82rem; }
  .feeling-card { min-height: 142px; padding: .88rem; }
  .feeling-card p { font-size: .8rem; margin: .05rem 0 .1rem; }
  .feeling-card h3 { font-size: 1.34rem; line-height: 1.16; overflow-wrap: anywhere; }
  .feeling-card time { margin-top: auto; font-size: .72rem; }
  .feeling-symbol { width: 31px; height: 31px; flex-basis: 31px; font-size: 1.04rem; }
  .feeling-role { font-size: .67rem; }
  .card-grid { gap: .7rem; }
  .item-card { min-height: auto; padding: .86rem; }
  .item-card > div { align-items: flex-start; flex-wrap: wrap; margin-bottom: .58rem; }
  .item-card h3 { overflow-wrap: anywhere; }
  .compact-list { gap: .5rem; }
  .compact-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: .42rem .58rem; padding: .65rem; }
  .compact-item > span:first-child { grid-column: 1; grid-row: 1; }
  .compact-item > span:nth-child(2) { grid-column: 2; grid-row: 1; width: 100%; }
  .compact-item > b { display: none; }
  .compact-item form.inline-form { grid-column: 2; grid-row: 2; width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .compact-item .text-button { padding-left: 0; }
  .conversation-draft .inline-form { margin-top: .1rem; }
  .appreciation-list { gap: .45rem; }
  .checkin { padding: .65rem 0; }
  .checkin summary { font-size: .86rem; }
  .checkin p { font-size: .82rem; }
  .item-hero h2 { font-size: 1.4rem; overflow-wrap: anywhere; }
  .status-form { display: grid; grid-template-columns: 1fr; gap: .45rem; }
  .calendar-panel { padding: .72rem; }
  .calendar-grid { gap: 2px; }
  .calendar-grid > div { min-height: 45px; padding: .25rem; font-size: .72rem; }
  .calendar-grid > div:nth-child(-n+7) { padding: .3rem .1rem; font-size: .62rem; }
  .calendar-day.today > span { width: 22px; height: 22px; }
  .calendar-legend { gap: .6rem; font-size: .72rem; }
  .wish-list { gap: .55rem; }
  .wish-card { padding: .75rem; }
  .private-list { gap: .5rem; }
  .private-list article { padding: .65rem; }
  .dialog { max-width: calc(100vw - 1rem); border-radius: 14px; }
  .dialog form { padding: 1rem; }
  .dialog-actions { display: grid; grid-template-columns: 1fr; gap: .45rem; }
  .dialog-actions .button { width: 100%; }
  .mobile-nav { min-height: 62px; gap: 0; padding: .35rem .14rem max(.4rem, env(safe-area-inset-bottom)); }
  .mobile-nav a { min-width: 0; min-height: 48px; align-content: center; font-size: .57rem; line-height: 1.08; text-align: center; overflow-wrap: anywhere; }
  .mobile-nav a span { font-size: 1.14rem; line-height: 1; }
}

@media (max-width: 380px) {
  .main-content { padding-left: .65rem; padding-right: .65rem; }
  .mobile-nav a { font-size: .52rem; }
  .mobile-nav a span { font-size: 1.05rem; }
  .feeling-card h3 { font-size: 1.2rem; }
}

/* Persönliche Zuordnung: Christoph blau, Sabrina rosa */
.feeling-card.christoph { background: linear-gradient(135deg, #edf5ff, #e2eefb); border-color: #c7d9ed; }
.feeling-card.sabrina { background: linear-gradient(135deg, #fff0f3, #fbe5e8); border-color: #efc9d1; }
.feeling-card.christoph h3 { color: #476b96; }
.feeling-card.sabrina h3 { color: #aa5a6b; }
.feeling-card.christoph .feeling-symbol { color: #476b96; background: rgba(255,255,255,.88); }
.feeling-card.sabrina .feeling-symbol { color: #aa5a6b; background: rgba(255,255,255,.88); }
.feeling-person { display: inline-flex; align-items: center; min-width: 0; gap: .52rem; }
.profile-avatar { display: block; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; object-fit: cover; object-position: center; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 2px 7px rgba(68,50,43,.15); }
.feeling-person > span { min-width: 0; display: grid; gap: .05rem; }
.feeling-person strong { color: #544541; font-size: .79rem; line-height: 1.08; }
.feeling-person small { color: var(--muted); font-size: .64rem; line-height: 1.08; }
.feeling-symbol { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.38rem; line-height: 1; }

@media (max-width: 680px) {
  .profile-avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .feeling-person strong { font-size: .76rem; }
  .feeling-person small { font-size: .61rem; }
  .feeling-symbol { width: 39px; height: 39px; flex-basis: 39px; font-size: 1.42rem; }
}
