/* Die originale Timerdatei wird absichtlich nicht überschrieben. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); }
button,input,select,textarea { font: inherit; }
button { cursor:pointer; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
input,textarea { caret-color: var(--accent); }
a { color:var(--accent); text-underline-offset:4px; }
button:disabled { cursor:default; opacity:.5; }
button:not(.pausentimer-knopf) { transition: background .15s, border-color .15s; }
.preview-note { height:36px; display:flex; align-items:center; justify-content:center; gap:5px; padding:0 20px; background:var(--surface-2); color:var(--text-2); font-size: 0.75rem; }
.preview-note a { margin-left:20px; color:inherit; }
.app-header { height:86px; max-width:1120px; padding:0 32px; margin:auto; display:flex; justify-content:space-between; align-items:center; }
.brand { display:flex; gap:10px; align-items:center; color:var(--text); text-decoration:none; font-size: 1.125rem; font-weight:750; letter-spacing:-.5px; }
.brand svg { width:29px; height:29px; fill:var(--accent); }
.profile { border:0; background:none; display:flex; align-items:center; gap:9px; min-height:44px; font-size: 0.875rem; color:var(--text-2); }
.avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--surface-2); color:var(--text-2); font-weight:700; }
body.shellnav-room { padding-top:0; padding-bottom:80px; }
.shellnav { background:#fff; backdrop-filter:none; }
.shellnav a { font-size: 0.75rem; min-height:68px; }
main { max-width:1056px; margin:24px auto 60px; outline:none!important; }
.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:28px; }
h1,h2,h3,p { margin:0; }
h1 { font-size: 2.375rem; line-height:1.15; letter-spacing:-1.2px; font-weight:730; }
h2 { font-size: 1.3125rem; line-height:1.3; letter-spacing:-.4px; }
h3 { font-size: 1.0625rem; letter-spacing:-.2px; }
.sub { color:var(--text-2); margin-top:8px; font-size: 0.875rem; }
.muted { color:var(--text-2); }
.small { font-size: 0.8125rem; }
.grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr); gap:24px; align-items:start; }
.stack { display:grid; gap:24px; }
.panel { padding:28px; border:1px solid var(--line-strong); border-radius:18px; background:var(--surface); }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:22px; }
.section-head .text-btn { margin:-8px; }
.btn { min-height:48px; padding:10px 18px; border:1px solid var(--line-strong); background:var(--surface); color:var(--text); border-radius:11px; display:inline-flex; align-items:center; justify-content:center; gap:9px; font-size: 0.9375rem; font-weight:650; text-decoration:none; }
.btn:hover { background:var(--surface-2); border-color:var(--line-strong); }
.btn.primary { background:var(--accent); border-color:var(--accent); color:white; }
.btn.primary:hover { background:var(--accent); border-color:var(--accent); }
.btn.soft { background:var(--accent-soft); border-color:transparent; color:var(--accent); }
.btn.wide { width:100%; }
.btn svg,.text-btn svg,.icon { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.text-btn { border:0; background:transparent; color:var(--accent); font-weight:600; font-size: 0.875rem; min-height:44px; padding:8px; display:inline-flex; align-items:center; gap:6px; }
.text-btn:hover { background:var(--accent-soft); border-radius:8px; }
.actions { display:flex; gap:10px; margin-top:24px; }
.actions>* { flex:1; }
.tag { display:inline-flex; align-items:center; gap:6px; color:var(--ok); background:#edf5ef; border-radius:6px; padding:4px 8px; font-size: 0.75rem; font-weight:600; white-space:nowrap; }
.tag.neutral { background:#f1eeea; color:#635b51; }
.tag.warm { background:#f9eee3; color:#845119; }
.nutrition-top { display:flex; gap:28px; align-items:center; margin:4px 0 22px; }
.ring { width:154px; height:154px; position:relative; flex-shrink:0; }
.ring svg { width:100%; height:100%; transform:rotate(-90deg); }
.ring circle { fill:none; stroke-width:9; }
.ring .track { stroke:#f1eeea; }
.ring .value { stroke:var(--accent); stroke-linecap:round; stroke-dasharray:260 377; }
.ring-text { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ring-text strong { font-size: 2.0rem; letter-spacing:-1px; line-height:1.2; font-variant-numeric:tabular-nums; }
.ring-text span { color:var(--text-2); font-size: 0.75rem; }
.nutrition-copy strong { font-size: 1.4375rem; letter-spacing:-.6px; }
.nutrition-copy p { font-size: 0.875rem; color:var(--text-2); margin-top:4px; }
.macro { margin-top:14px; }
.macro-label { display:flex; justify-content:space-between; font-size: 0.875rem; margin-bottom:7px; }
.macro-label span:last-child { color:var(--text-2); font-variant-numeric:tabular-nums; }
.bar { height:7px; background:#f0eeeb; border-radius:4px; overflow:hidden; }
.bar i { display:block; height:100%; width:70%; background:#557451; border-radius:4px; }
details { margin-top:10px; }
summary { cursor:pointer; color:var(--text-2); font-size: 0.8125rem; min-height:40px; padding:10px 0; }
.rule { border:0; height:1px; background:var(--line); margin:22px 0; }
.routine-visual { height:106px; margin:20px 0; background:#f4f1eb; border-radius:10px; display:flex; align-items:center; justify-content:center; }
.routine-visual svg { width:140px; height:74px; stroke:#8b7059; fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.routine-meta { display:flex; gap:18px; color:var(--text-2); font-size: 0.8125rem; margin:8px 0 20px; }
.list-row { display:flex; gap:14px; align-items:center; padding:17px 0; border-bottom:1px solid var(--line); }
.list-row:first-child { padding-top:0; }
.list-row:last-child { border-bottom:0; padding-bottom:0; }
.list-row .grow { flex:1; min-width:0; }
.list-row .detail { font-size: 0.8125rem; color:var(--text-2); margin-top:3px; }
.list-row strong { font-weight:600; font-size: 0.9375rem; }
.list-row .value { font-size: 0.875rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.food-icon { width:42px; height:42px; flex-shrink:0; border-radius:12px; background:var(--surface-2); display:grid; place-items:center; color:var(--text-2); }
.food-icon svg { width:25px; height:25px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round; }
.weight-line { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.weight-number { font-size: 1.75rem; font-weight:700; letter-spacing:-.8px; }
.weight-number small { font-size: 0.9375rem; font-weight:400; }
.notice { display:flex; align-items:flex-start; gap:12px; padding:20px 0 0; font-size: 0.875rem; color:var(--text-2); }
.notice .icon { color:var(--text-2); margin-top:2px; }
.day-strip { display:flex; align-items:center; gap:8px; }
.day-strip .btn { min-width:44px; padding:8px; }
.day-strip strong { padding:0 8px; font-size: 0.875rem; }
.meal-heading { display:flex; justify-content:space-between; align-items:center; margin-top:24px; margin-bottom:10px; }
.meal-heading:first-child { margin-top:0; }
.meal-group { padding:0 0 20px; border-bottom:1px solid var(--line); }
.meal-group:last-child { border:0; padding:0; }
.empty-meal { color:var(--text-2); padding:12px 0; font-size: 0.875rem; }
input[type=checkbox] { accent-color:var(--accent); width:20px; height:20px; margin:1px 0; flex-shrink:0; }
.metric-pair { display:flex; justify-content:space-between; gap:10px; }
.metric-pair strong { font-size: 1.75rem; letter-spacing:-.8px; }
.metric-pair small { display:block; font-size: 0.8125rem; color:var(--text-2); font-weight:400; }
.training-layout { grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr); }
.session-line { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size: 0.8125rem; margin-bottom:18px; }
.session-line .muted { display:flex; gap:6px; align-items:center; }
.exercise-head { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.exercise-head h2 { font-size: 1.5625rem; }
.set-table { width:100%; border-collapse:collapse; margin:24px 0 14px; table-layout:fixed; }
.set-table th { font-size: 0.75rem; color:var(--text-2); text-align:left; font-weight:500; padding:8px 7px; border-bottom:1px solid var(--line); }
.set-table th:first-child { width:44px; }
.set-table th:last-child { width:55px; text-align:right; }
.set-table td { padding:10px 7px; font-size: 1.0625rem; font-variant-numeric:tabular-nums; }
.set-table .done { color:var(--text-2); }
.set-table .current { background:var(--accent-soft); }
.set-table .current td:first-child { border-radius:9px 0 0 9px; font-weight:700; }
.set-table .current td:last-child { border-radius:0 9px 9px 0; }
.set-table input { width:100%; min-width:0; height:46px; border:1px solid var(--line-strong); background:var(--surface); border-radius:7px; padding:8px; font-weight:700; }
.set-table .tick { text-align:right; color:var(--ok); }
.set-table .tick svg { width:20px; height:20px; }
.set-note { display:flex; align-items:center; justify-content:space-between; font-size: 0.8125rem; color:var(--text-2); }
.set-note .text-btn { font-size: 0.8125rem; }
.session-exercises { margin-top:2px; }
.exercise-row { display:flex; align-items:center; gap:12px; padding:17px 0; border-bottom:1px solid var(--line); width:100%; border-left:0; border-right:0; border-top:0; text-align:left; background:none; color:var(--text); }
.exercise-row:last-child { border-bottom:0; }
.exercise-row .order { width:30px; height:30px; display:grid; place-items:center; border:1px solid var(--line-strong); border-radius:50%; font-size: 0.8125rem; flex-shrink:0; }
.exercise-row.active .order { background:var(--accent); border-color:var(--accent); color:white; }
.exercise-row .grow { flex:1; }
.exercise-row strong { font-size: 0.875rem; font-weight:600; }
.exercise-row small { display:block; font-size: 0.75rem; color:var(--text-2); }
.switch-row { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size: 0.875rem; margin:22px 0; }
.timer-demo { padding-top:20px; margin-top:20px; border-top:1px solid var(--line); }
.timer-demo p { margin-top:8px; font-size: 0.8125rem; color:var(--text-2); }
.week-days { display:grid; grid-template-columns:repeat(7,1fr); margin:22px 0; gap:10px; }
.week-day { text-align:center; font-size: 0.75rem; color:var(--text-2); }
.day-dot { margin:8px auto 0; width:32px; height:32px; border:1px dashed var(--line-strong); border-radius:50%; display:grid; place-items:center; }
.day-dot.complete { color:var(--ok); background:var(--ok-soft); border:0; }
.day-dot svg { width:17px; height:17px; }
.trend-tabs { display:flex; gap:8px; margin-bottom:22px; flex-wrap:wrap; }
.trend-tabs button { border:1px solid var(--line-strong); background:var(--surface); color:var(--text-2); border-radius:8px; padding:9px 16px; min-height:44px; font-size: 0.875rem; }
.trend-tabs button[aria-pressed=true] { border-color:var(--text); background:var(--text); color:white; }
.chart { display:block; width:100%; height:auto; margin:18px 0 6px; }
.chart text { fill:var(--text-2); font-size: 0.75rem; font-family:var(--font); }
.chart .gridline { stroke:var(--line); stroke-dasharray:3 4; }
.chart .trend { stroke:var(--accent); stroke-width:3; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.chart .measurement { fill:var(--surface); stroke:var(--accent); stroke-width:2; }
.chart-legend { font-size: 0.75rem; color:var(--text-2); }
.goal-row { display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); font-size: 0.875rem; }
.goal-row:last-child { border:0; }
.goal-row strong { font-weight:650; }
.photo-empty { padding:32px 16px; text-align:center; background:var(--surface-2); border-radius:12px; }
.photo-empty svg { width:54px; height:54px; margin:0 auto 16px; display:block; stroke:var(--text-2); }
.photo-empty p { margin:8px 0 20px; font-size: 0.875rem; color:var(--text-2); }
#dialog { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); margin:0; z-index:300; border:1px solid var(--line-strong); border-radius:20px; padding:0; max-width:520px; width:calc(100% - 32px); max-height:85dvh; color:var(--text); box-shadow:0 24px 90px #21180f33; }
body.dialog-open::after { content:""; position:fixed; inset:0; background:#211b1355; z-index:290; }
body.dialog-open { overflow:hidden; }
#dialog::backdrop { background:#211b1355; }
.dialog-head { display:flex; justify-content:space-between; align-items:center; padding:24px 24px 16px; gap:12px; }
.dialog-body { padding:0 24px 24px; }
.close-btn { border:0; background:var(--surface-2); color:var(--text-2); width:44px; height:44px; border-radius:50%; display:grid; place-items:center; flex-shrink:0; }
.field { display:grid; gap:7px; margin:18px 0; font-size: 0.875rem; font-weight:600; }
.field input,.field select,.field textarea { min-width:0; width:100%; border:1px solid var(--line-strong); border-radius:9px; padding:12px; color:var(--text); background:var(--surface); min-height:48px; font-weight:400; }
.field textarea { min-height:100px; resize:vertical; }
.field input:focus,.field textarea:focus { border-color:var(--accent); }
.field-hint { font-size: 0.75rem; font-weight:400; color:var(--text-2); }
.dialog-body .trend-tabs { margin:8px 0 16px; gap:6px; }
.dialog-body .trend-tabs button { padding:8px 12px; flex:1; }
.food-choice { display:flex; gap:12px; align-items:center; text-align:left; width:100%; background:var(--surface); border:0; border-bottom:1px solid var(--line); padding:15px 0; color:var(--text); min-height:74px; }
.food-choice:hover { background:var(--surface-2); }
.food-choice .grow { flex:1; }
.food-choice strong { display:block; font-size: 0.9375rem; font-weight:600; }
.food-choice small { color:var(--text-2); font-size: 0.75rem; }
.draft-product { padding:16px 0; border-bottom:1px solid var(--line); }
.draft-product .field { grid-template-columns:1fr 110px; align-items:center; margin:14px 0 4px; }
.draft-product .field input { padding:9px; }
.draft-product p { font-size: 0.75rem; color:var(--text-2); }
.draft-total { display:flex; justify-content:space-between; margin:22px 0; font-size: 0.9375rem; }
.error { color:var(--warn); font-size: 0.8125rem; margin:10px 0; }
.toast { position:fixed; z-index:600; left:50%; bottom:100px; transform:translateX(-50%); padding:12px 18px; border-radius:10px; background:#292720; color:white; max-width:calc(100% - 32px); width:max-content; font-size: 0.875rem; box-shadow:0 8px 24px #1a191822; pointer-events:none; opacity:0; transition:opacity .2s; }
.toast.visible { opacity:1; }
.picker-strip { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:20px 0; }
.drum-demo { height:154px; overflow:auto; scroll-snap-type:y mandatory; border:1px solid var(--line-strong); border-radius:12px; padding:52px 0; background:var(--surface-2); }
.drum-demo button { display:block; scroll-snap-align:center; width:100%; min-height:48px; border:0; background:none; font-size: 1.375rem; color:var(--text-2); }
.drum-demo button[aria-pressed=true] { color:var(--accent); background:var(--accent-soft); font-weight:750; }
@media(min-width:768px) {
  .shellnav { position:static; border:0; padding:0; background:none; box-shadow:none; gap:8px; justify-content:flex-start; max-width:1056px; margin:0 auto; }
  .shellnav a { min-height:44px; padding:0 18px; font-size: 0.875rem; }
  .shellnav a[aria-current=page] { background:var(--surface); color:var(--accent); box-shadow:0 2px 4px #211a0f08; }
  .shellnav a[aria-current=page]::before { display:none; }
  .toast { bottom:80px; }
}
@media(max-width:1120px) and (min-width:768px) { main,.shellnav { margin-left:32px; margin-right:32px; } }
@media(max-width:767px) {
  .preview-note { height:30px; padding:0 16px; justify-content:space-between; font-size: 0.625rem; }
  .preview-note span { display:none; }
  .preview-note a { font-size: 0.6875rem; }
  .app-header { height:68px; padding:0 20px; }
  .brand { font-size: 1.0rem; }
  .brand svg { width:24px; height:24px; }
  .profile { gap:6px; font-size: 0.75rem; }
  .avatar { width:28px; height:28px; }
  main { margin:20px 20px 40px; }
  h1 { font-size: 1.9375rem; letter-spacing:-1px; }
  h2 { font-size: 1.1875rem; }
  .page-heading { margin-bottom:24px; align-items:center; }
  .page-heading .sub { font-size: 0.8125rem; }
  .page-heading>.tag { display:none; }
  .grid { grid-template-columns:1fr; gap:20px; }
  .stack { gap:20px; }
  .panel { padding:22px; border-radius:16px; }
  .nutrition-top { gap:20px; margin:0 0 18px; }
  .ring { width:120px; height:120px; }
  .ring-text strong { font-size: 1.6875rem; }
  .nutrition-copy strong { font-size: 1.25rem; }
  .nutrition-copy p { font-size: 0.75rem; }
  .section-head { margin-bottom:18px; }
  .today-grid>.stack:last-child { display:contents; }
  .today-grid>.stack:first-child { display:contents; }
  .today-training { order:1; }
  .today-meals { order:3; }
  .today-weight { order:2; }
  .today-hint { order:4; }
  .routine-visual { display:none; }
  .routine-meta { margin-bottom:18px; }
  .today-training .section-head { margin-bottom:14px; }
  .today-training .routine-meta { margin:6px 0 16px; }
  .actions { gap:8px; margin-top:20px; }
  .btn { padding:10px 13px; font-size: 0.875rem; }
  .actions .btn { padding:10px 8px; }
  .set-table td,.set-table th { padding-left:5px; padding-right:5px; }
  .set-table th:first-child { width:34px; }
  .set-table th:last-child { width:30px; }
  .set-note { align-items:flex-start; gap:10px; }
  .set-note span { padding-top:12px; }
  .session-line { align-items:flex-start; }
  .exercise-head h2 { font-size: 1.4375rem; }
  .day-strip { gap:0; }
  .day-strip strong { font-size: 0.75rem; padding:0 4px; }
  .day-strip .btn { min-width:38px; }
  .food-layout>.stack { order:1; }
  .food-layout>.panel { order:0; }
  .week-days { gap:4px; }
  #dialog { border-radius:18px; width:calc(100% - 20px); max-height:90dvh; }
  .dialog-head { padding:20px 20px 14px; }
  .dialog-body { padding:0 20px 24px; }
}
@media(prefers-reduced-motion:reduce) { button:not(.pausentimer-knopf),.toast { transition:none; } }
/* Funktionsansichten der echten App. */
[hidden]{display:none!important}.profile{text-decoration:none}.preview-note{font-size: 0.75rem}.nutrition-copy{min-width:0}.nutrition-top{flex-wrap:wrap}.text-btn.danger{color:var(--warn)}.status-note{padding:14px 16px;border:1px solid #d5c6ac;border-radius:10px;background:var(--warning-soft);font-size: 0.875rem;margin-bottom:20px}.error-panel{border-color:#c8594b}.empty{padding:24px 0;color:var(--text-2);font-size: 0.875rem}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-fields .field{margin:8px 0}.dialog-body form>p{margin:12px 0}.dialog-body .field:first-child{margin-top:4px}.dialog-body input:invalid:not(:placeholder-shown){outline-color:var(--warn)}.source-row{display:flex;gap:10px;align-items:center;font-size: 0.75rem;color:var(--text-2);margin-top:8px}.source-row select{max-width:160px;min-height:36px;background:var(--surface);border:1px solid var(--line-strong);border-radius:6px;padding:4px;font-size: 0.75rem}.draft-product h3{font-size: 1.0rem}.draft-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.draft-title button{flex-shrink:0}.draft-top{margin-top:16px}.draft-amount{display:flex;gap:12px;align-items:end}.draft-amount .field{flex:1}.draft-amount input{max-width:150px}.draft-amount .tag{margin-bottom:18px}.food-choice small{display:block}.food-choice .star{color:var(--accent)}.recipe-row{display:flex;gap:12px;align-items:center}.recipe-row>.food-choice{flex:1}.recipe-row>.text-btn{flex-shrink:0}.saved-draft{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line)}.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.photo-grid figure{margin:0}.photo-grid img{width:100%;height:260px;object-fit:contain;background:var(--surface-2);border-radius:10px}.photo-grid figcaption{font-size: 0.8125rem;color:var(--text-2);padding:8px 0}.photo-grid select{width:100%;min-height:44px;margin-bottom:12px;padding:8px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface)}.full-photo{display:block;max-height:65vh;width:100%;object-fit:contain}.metric-pair strong{font-size: 1.625rem}.stat-table{width:100%;border-collapse:collapse;margin-top:20px;font-size: 0.875rem}.stat-table th,.stat-table td{padding:10px 4px;text-align:left;border-bottom:1px solid var(--line)}.stat-table th{font-weight:600;color:var(--text-2)}.inline-select{min-height:44px;border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;padding:8px;font-size: 0.875rem;max-width:100%}.chart{overflow:visible}.chart .measurement{r:3}.goal-summary{font-size: 0.8125rem;margin-top:12px;color:var(--text-2)}.loading{color:var(--text-2);padding:20px 0}.busy{pointer-events:none;opacity:.65}.search-row{display:flex;gap:10px}.search-row>.field{flex:1}.page-footer{margin-top:30px;font-size: 0.8125rem;color:var(--text-2)}.page-footer a{margin-right:18px}.saving-msg{color:var(--text-2);font-size: 0.8125rem;margin:10px 0}.field input,.field select,.field textarea{font-size: 1.0rem}.food-layout .meal-group .list-row{align-items:flex-start}.food-layout .list-row .value{display:block}.food-layout .entry-actions{display:flex;align-items:center;gap:3px}.food-layout .entry-actions .text-btn{font-size: 0.8125rem}.food-layout .meal-heading{margin-bottom:4px}.food-layout .meal-group{padding-bottom:16px}.recipe-name{margin:14px 0}.compact-details .field{margin:10px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-wrap:wrap}#dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:300}#dialog::backdrop{background:#211b1355}body.dialog-open::after{display:none}body.dialog-open{overflow:hidden}.btn:focus-visible,.text-btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.food-grid{display:grid;gap:12px}.request-error{white-space:pre-wrap;overflow-wrap:anywhere}.pending-draft{border:1px solid #b79563;background:var(--warning-soft);border-radius:10px;padding:14px;margin:16px 0}.pending-draft p{font-size: 0.8125rem;margin-bottom:12px}
@media(max-width:767px){.nutrition-top{flex-wrap:nowrap;gap:12px}.ring{width:112px;height:112px}.nutrition-copy strong{font-size: 1.1875rem}.food-layout .panel{padding:20px}.food-layout .entry-actions{flex-direction:column;align-items:flex-end}.food-layout .entry-actions .text-btn{min-height:36px;padding:4px}.photo-grid img{height:200px}.photo-grid{gap:10px}.page-heading{align-items:flex-start}.page-heading>.btn{min-width:100px}.section-head{flex-wrap:wrap;gap:8px}.section-head h2{max-width:100%}.goal-row{gap:12px}.goal-row strong{text-align:right}.week-days{gap:4px}.today-grid>.stack{display:grid!important}.today-grid>.stack:first-child{display:contents!important}.today-grid>.stack:last-child{display:contents!important}.today-grid .today-training{order:1}.today-grid .today-weight{order:2}.today-grid .today-meals{order:3}.today-grid .today-hint{order:4}}

/* Kachel "Letztes Workout" (Heute) und Bestwerte je Übung (Fortschritt). */
.workout-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.workout-head h3{font-size:1.125rem}
.workout-rows{margin-top:10px}
.workout-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:9px 0;border-top:1px solid var(--line)}
.workout-row strong{font-size:.9375rem;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workout-row .value{font-size:.8125rem;color:var(--text-2);white-space:nowrap;font-variant-numeric:tabular-nums}
.record-rows{margin-top:14px}
.record-row{display:flex;gap:12px;align-items:center;padding:13px 0;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.record-row:hover strong{color:var(--accent)}
.record-row .grow{flex:1;min-width:0}
.record-row .detail{font-size:.8125rem;color:var(--text-2);margin-top:2px}
.record-value{text-align:right;display:grid;font-variant-numeric:tabular-nums;white-space:nowrap}
.record-value strong{font-size:.9375rem}
@media(max-width:767px){.today-grid .today-last-workout{order:2}.workout-row .value{white-space:normal;text-align:right}}
/* Ein laufendes Training steht auf dem Handy ganz oben, nicht unter dem Essen. */
@media(max-width:767px){.today-grid .today-training.laeuft{order:-1}}

/* Muskel-Heatmap (Fortschritt, Reiter Muskeln). Fünf Stufen derselben
   Akzentfarbe, Stufe 0 ist der neutrale Grund. Nicht-Muskeln (Kopf, Hände,
   Füße) bleiben blasse Silhouette. */
.s0{--c:var(--surface-2)}
.s1{--c:color-mix(in srgb,var(--accent-graphic) 35%,var(--surface-2))}
.s2{--c:color-mix(in srgb,var(--accent-graphic) 60%,var(--surface-2))}
.s3{--c:color-mix(in srgb,var(--accent-graphic) 85%,var(--surface-2))}
.s4{--c:var(--accent-graphic)}
.koerper{display:flex;justify-content:center;gap:0;margin:16px -12px 12px}
.koerper svg{width:52%;max-width:280px;height:auto}
.koerper path{stroke:var(--surface);stroke-width:3;stroke-linejoin:round}
.koerper .m path{fill:var(--c)}
.koerper .k path{fill:color-mix(in srgb,var(--surface-2) 55%,var(--surface))}
.koerper-legende{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;font-size:.75rem;color:var(--text-2)}
.koerper-legende span{display:inline-flex;align-items:center;gap:6px}
.koerper-legende i,.stufe-punkt{display:inline-block;width:12px;height:12px;border-radius:3px;background:var(--c);flex:none}
/* Vier Reiter (Gewicht, Kraft, Muskeln, Fotos) passen sonst auf dem Handy
   nicht in eine Zeile. */
@media (max-width:480px){.trend-tabs{gap:6px}.trend-tabs button{padding:9px 11px}}
.meal-share{display:block;font-size:.75rem;font-weight:400;color:var(--text-2);margin-top:2px}.picker-head{font-size:.8125rem;font-weight:600;color:var(--text-2);margin:18px 0 0}
