/* Gym — design tokens. One accent (volt lime), calm neutrals, generous radius. */
:root {
  --bg: #0b0c0e;
  --bg-elev: #141519;
  --card: #15171b;
  --card-2: #1f2228;
  --line: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.1);
  --text: #f4f5f7;
  --muted: #8b909a;
  --accent: #4da3ff;
  --brand: #4da3ff;
  --on-accent: #0b0c0e;
  --green: #3ddc84;
  --red: #ff5a5f;
  --orange: #ff9f43;
  --radius: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01", "tnum";
  letter-spacing: -0.01em;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}
#app { display: flex; flex-direction: column; height: 100dvh; max-width: 560px; margin: 0 auto; position: relative; }
::selection { background: var(--brand); color: var(--on-accent); }

/* ---- icons ---- */
.ico { display: inline-flex; align-items: center; justify-content: center; vertical-align: -0.17em; line-height: 1; }
.ico svg { width: 1.2em; height: 1.2em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .ico, .tag .ico, .seg .ico, .section-title .ico { margin-right: 2px; }
.hero-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); color: var(--brand); font-size: 20px; }

/* ---- header ---- */
.appbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 12px;
  background: linear-gradient(180deg, var(--bg) 70%, rgba(11,12,14,0));
}
.appbar h1 { font-size: 26px; font-weight: 800; margin: 0; letter-spacing: -0.04em; }
.appbar .logo { width: 32px; height: 32px; border-radius: 9px; display: block; }
.appbar .spacer { flex: 1; }
.appbar .date-pill { font-size: 13px; color: var(--muted); font-weight: 600; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--card-2); color: var(--text); font: 700 14px/1 inherit; font-family: inherit;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2);
}
.avatar:active { transform: scale(.94); }

/* ---- main scroll ---- */
main {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 4px 16px calc(var(--nav-h) + var(--safe-b) + 28px);
}
#view { display: flex; flex-direction: column; gap: 12px; animation: viewIn .28s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- bottom nav ---- */
nav.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  max-width: 560px; margin: 0 auto;
  display: flex; justify-content: space-around;
  background: rgba(14,15,18,0.86);
  backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-top: 1px solid var(--line);
  padding: 0 6px var(--safe-b);
  height: calc(var(--nav-h) + var(--safe-b));
}
.nav-item {
  flex: 1; background: none; border: 0; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; font-weight: 600; cursor: pointer; padding: 8px 0; min-width: 0;
  transition: color .2s; font-family: inherit; letter-spacing: 0;
}
.nav-item .nav-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nav-item .nav-icon {
  display: grid; place-items: center; position: relative;
  width: 52px; height: 30px; border-radius: 999px; transition: background .25s var(--ease), color .2s;
}
.nav-item .nav-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav-item.active { color: var(--text); }
.nav-item.active .nav-icon { background: var(--brand); color: var(--on-accent); }
.nav-item.active .nav-icon svg { stroke-width: 2.2; }
.nav-item:active .nav-icon { transform: scale(.92); }
.nav-item .nav-badge {
  position: absolute; top: -4px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 17px;
  text-align: center; color: #fff;
  box-shadow: 0 0 0 2px #0e0f12;
}
.nav-item .nav-badge.red { background: var(--red); color: #fff; }
.nav-item .nav-badge.green { background: var(--green); color: #06210f; }
.nav-item .nav-badge[hidden] { display: none; }

/* ---- cards ---- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.card.tight { padding: 14px; }
.card.tap, .stat.tap { cursor: pointer; transition: transform .12s var(--ease), background .15s; }
.card.tap:active, .stat.tap:active { transform: scale(.985); background: var(--card-2); }
.hero {
  background: radial-gradient(120% 140% at 0% 0%, rgba(77,163,255,0.10), transparent 55%), var(--card);
}
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em;
  margin: 10px 2px 0;
}
.card > .section-title:first-child { margin-top: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.section-title button { background: none; border: 0; color: var(--brand); font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; }

/* ---- stats grid ---- */
.grid { display: grid; gap: 12px; }
.grid.c2 { grid-template-columns: 1fr 1fr; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 15px; display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.stat-val { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.stat-unit { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stat-ico {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 16px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
}

/* ---- rings & dashboard hero ---- */
.rings { display: flex; gap: 8px; align-items: center; justify-content: space-around; flex-wrap: wrap; }
.ring-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ring-wrap .rl { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---- lists ---- */
.list { display: flex; flex-direction: column; gap: 8px; }
.li {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
}
.li .li-main { flex: 1; min-width: 0; }
.li .li-title { font-weight: 600; font-size: 15px; }
.li .li-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.li .li-val { font-weight: 700; font-size: 15px; text-align: right; white-space: nowrap; }
.li .li-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--card-2); color: var(--text); font-size: 17px; font-weight: 700; flex-shrink: 0;
}
.li .li-icon .ico svg { width: 20px; height: 20px; }
.li.tap { cursor: pointer; transition: background .12s, transform .12s var(--ease); }
.li.tap:active { background: var(--card-2); transform: scale(.99); }
.chip { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--card-2); color: var(--muted); font-weight: 600; }

/* ---- progress bar ---- */
.pbar { height: 6px; background: rgba(255,255,255,0.07); border-radius: 999px; overflow: hidden; }
.pbar-fill { height: 100%; border-radius: 999px; transition: width .45s var(--ease); }

/* ---- buttons ---- */
.btn {
  appearance: none; border: 0; border-radius: 14px; padding: 14px 16px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; letter-spacing: -0.01em;
  background: var(--brand); color: var(--on-accent); flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: filter .12s, transform .1s var(--ease), opacity .15s;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .5; }
.btn.ghost { background: var(--card-2); color: var(--text); }
.btn.danger { background: var(--red); color: #fff; }
.btn.green { background: var(--green); color: #06210f; }
.btn.sm { padding: 9px 12px; font-size: 13px; flex: none; border-radius: 11px; }

/* ---- fab ---- */
.fab {
  position: fixed; right: max(18px, calc(50% - 280px + 18px)); bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
  z-index: 25; width: 58px; height: 58px; border-radius: 20px; border: 0;
  background: var(--brand); color: var(--on-accent);
  font-size: 26px; font-weight: 400; line-height: 1; cursor: pointer;
  box-shadow: 0 10px 30px rgba(77,163,255,0.28), 0 2px 8px rgba(0,0,0,.4); display: grid; place-items: center;
  transition: transform .12s var(--ease);
}
.fab .ico svg { stroke-width: 2.4; }
.fab:active { transform: scale(0.92); }

/* ---- rows ---- */
.row { display: flex; align-items: center; }
.row.gap { gap: 10px; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.muted { color: var(--muted); }
.mini { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 700; color: var(--text); }
.right { text-align: right; }
.center { text-align: center; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,159,67,0.45); } 50% { box-shadow: 0 0 0 6px rgba(255,159,67,0); } }
.spinner { display: inline-block; width: 38px; height: 38px; border: 4px solid rgba(77,163,255,0.2); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- forms ---- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.input {
  background: var(--card-2); border: 1px solid transparent; color: var(--text);
  border-radius: 13px; padding: 13px 14px; font-size: 16px; font-family: inherit; width: 100%;
  outline: none; transition: border-color .15s, background .15s;
}
.input::placeholder { color: #5f646d; }
.input:focus { border-color: var(--brand); background: var(--bg-elev); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b909a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* segmented control */
.seg { display: flex; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button {
  flex: 1; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13px;
  padding: 9px 6px; border-radius: 10px; cursor: pointer; font-family: inherit;
  transition: background .2s var(--ease), color .2s;
}
.seg button.on { background: var(--card-2); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.35); }

/* ---- empty ---- */
.empty { text-align: center; color: var(--muted); padding: 32px 16px; font-size: 14px; line-height: 1.5; }

/* ---- sheet ---- */
.sheet-overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .22s;
}
.sheet-overlay.open { opacity: 1; }
.sheet {
  width: 100%; max-width: 560px; background: var(--bg-elev);
  border-radius: 26px 26px 0 0; max-height: 90dvh; overflow-y: auto;
  border-top: 1px solid var(--line-2);
  transform: translateY(100%); transition: transform .28s var(--ease);
  padding-bottom: calc(var(--safe-b) + 18px);
}
.sheet::before { content: ''; display: block; width: 38px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin: 8px auto 0; }
.sheet-overlay.open .sheet { transform: translateY(0); }

/* centered popup variant (a real dialog in the middle of the screen) */
.sheet-overlay.modal { align-items: center; justify-content: center; padding: 16px; }
.sheet-overlay.modal .sheet {
  width: 100%; max-width: 460px; border-radius: 24px; border: 1px solid var(--line-2);
  max-height: calc(100dvh - 32px); padding-bottom: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  transform: translateY(0) scale(.94); opacity: 0;
  transition: transform .22s var(--ease), opacity .22s;
}
.sheet-overlay.modal .sheet::before { display: none; }
.sheet-overlay.modal.open .sheet { transform: translateY(0) scale(1); opacity: 1; }

.sheet-head { position: sticky; top: 0; z-index: 2; background: var(--bg-elev); display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 10px; }
.sheet-head h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.sheet-x { background: var(--card-2); border: 0; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; cursor: pointer; display: inline-grid; place-items: center; flex-shrink: 0; transition: color .15s, background .15s; }
.sheet-x:active { background: #2a2e35; color: var(--text); }
.sheet-x .ico { vertical-align: 0; }
.sheet-x .ico svg { width: 16px; height: 16px; }
.sheet-body { padding: 8px 20px 4px; }

/* ---- charts ---- */
.chart { width: 100%; display: block; }
.ring { display: block; }

/* ---- toast ---- */
.toast {
  position: fixed; bottom: calc(var(--nav-h) + var(--safe-b) + 24px); left: 50%; transform: translateX(-50%) translateY(20px);
  background: #f4f5f7; color: #0b0c0e; font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: 14px; z-index: 60; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .25s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.45);
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- barcode scanner ---- */
.scan-wrap { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 3 / 4; }
.scan-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 18% 12%; border: 3px solid rgba(255,255,255,0.85); border-radius: 16px; box-shadow: 0 0 0 100vmax rgba(0,0,0,0.35); }
.scan-frame::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: scanline 1.8s ease-in-out infinite; }
@keyframes scanline { 0%,100% { transform: translateY(-46px); } 50% { transform: translateY(46px); } }

/* ---- exercise sets & video ---- */
.set-box { margin-bottom: 7px; }
.ex-video { width: 100%; border-radius: 14px; background: #000; margin-top: 8px; max-height: 240px; }
.video-btn { display: inline-flex; align-items: center; gap: 6px; }
.upload-prog { height: 6px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.upload-prog > div { height: 100%; background: var(--brand); width: 0; transition: width .15s; }

/* ---- körper records ---- */
.rec-media { width: 100%; border-radius: 14px; background: #000; max-height: 280px; object-fit: contain; display: block; }
img.rec-media { cursor: zoom-in; }
.pdf-card { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.pdf-card .li-sub { color: var(--brand); }
textarea.input { line-height: 1.45; }

/* ---- auth gate ---- */
.auth-gate {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  background: radial-gradient(90% 60% at 50% 0%, rgba(77,163,255,0.12), transparent 70%), var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: calc(env(safe-area-inset-top,0px) + 24px) 22px calc(env(safe-area-inset-bottom,0px) + 24px);
}
.auth-card { width: 100%; max-width: 380px; }
.auth-logo { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 18px; display: block; box-shadow: 0 18px 40px rgba(77,163,255,.16); }
.auth-title { text-align: center; font-size: 34px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.05em; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 26px; line-height: 1.5; }
.auth-card .seg { margin-bottom: 16px; }
.auth-card .btn { width: 100%; margin-top: 4px; }
.auth-err { color: var(--red); font-size: 13px; font-weight: 600; min-height: 18px; margin-bottom: 6px; text-align: center; }
.auth-switch { display: block; width: 100%; background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 13.5px; margin-top: 18px; cursor: pointer; font-family: inherit; }

/* tap targets / misc */
button { touch-action: manipulation; }
.divider { height: 1px; background: var(--line); margin: 4px 0; }
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 13px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; font-weight: 600; font-family: inherit; transition: background .15s, color .15s; }
.tag.on { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---- Lebensmittel: Pills & Bestandstabelle ---- */
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.tbl { border-collapse: collapse; width: 100%; font-size: 12.5px; white-space: nowrap; }
.tbl th, .tbl td { padding: 9px 11px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; background: var(--bg-elev); position: sticky; top: 0; }
.tbl th.num, .tbl td.num { text-align: right; }
.tbl td.name { font-weight: 600; font-size: 13.5px; position: sticky; left: 0; background: var(--card); }
.tbl tbody tr { cursor: pointer; }
.tbl tbody tr:active td, .tbl tbody tr:active td.name { background: var(--card-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }

/* ---- Rezeptansicht: kompakt, damit viel auf den Schirm passt ---- */
.rec-head { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 14px 0 4px; }
.rec-head:first-child { margin-top: 2px; }
.rec-ing { display: flex; gap: 10px; align-items: baseline; padding: 5px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.rec-ing:last-child { border-bottom: 0; }
.rec-ing .n { flex: 1; min-width: 0; }
.rec-ing .a { color: var(--muted); font-weight: 700; white-space: nowrap; }
.rec-step { display: flex; gap: 9px; align-items: flex-start; padding: 6px 2px; cursor: pointer; }
.rec-step .num {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  background: var(--card-2); color: var(--orange); font-size: 11px; font-weight: 800; margin-top: 1px;
}
.rec-step .tx { font-size: 13px; line-height: 1.45; }
.rec-step.done .num { background: var(--green); color: #06281a; }
.rec-step.done .tx { text-decoration: line-through; opacity: .45; }
.rec-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.rec-tool { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: var(--card-2); color: var(--text); }
.rec-time { display: inline-block; font-size: 11px; font-weight: 800; color: var(--orange); background: rgba(255,138,61,.14); padding: 1px 6px; border-radius: 6px; margin-right: 6px; white-space: nowrap; }
.rec-step.done .rec-time { color: var(--muted); background: rgba(255,255,255,.07); }
.rec-step.active { background: rgba(255,138,61,.12); border-radius: 10px; }
.rec-step.active .num { background: var(--orange); color: #1a1205; }
.rec-time.live { font-size: 13px; font-variant-numeric: tabular-nums; padding: 2px 8px; }
.rec-bar { height: 5px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; margin: 4px 0 8px 29px; }
.rec-bar > div { height: 100%; background: var(--orange); transition: width .5s linear; }

/* ---- Gerichte: kompaktere Darstellung fürs Handy ---- */
.dish-list { gap: 6px; }
.dish-li { padding: 8px 10px; gap: 9px; border-radius: 12px; }
.dish-li .li-icon { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
.dish-li .li-title { font-size: 13.5px; font-weight: 650; line-height: 1.25; }
.dish-li .li-sub { font-size: 10.5px; line-height: 1.4; margin-top: 2px; display: flex; flex-direction: column; }
.dish-li .dish-macros { opacity: .75; }
.dish-li .li-val { font-size: 14px; line-height: 1.1; }
.dish-li .li-val .mini { font-size: 9px; }
.dish-li .btn.sm { padding: 6px 9px; font-size: 12px; border-radius: 9px; }
.dish-li .sheet-x { width: 27px; height: 27px; font-size: 12px; }
.dish-chips .tag { font-size: 11.5px; padding: 6px 10px; border-radius: 9px; }
.rec-ing { cursor: pointer; }
.rec-ing .box {
  flex: 0 0 auto; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: 10px; font-weight: 800; color: transparent; margin-right: 2px;
}
.rec-ing.done .box { background: var(--green); border-color: var(--green); color: #06281a; }
.rec-ing.done .n { text-decoration: line-through; opacity: .45; }
.rec-ing.done .a { opacity: .45; }

/* ---- Gym: compact dashboard tiles, nav sub-tabs with icons ---- */
.stat.tap .stat-val { font-size: 20px; line-height: 1.15; }
.seg button { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); width: 18px; height: 18px; }

/* ---- live workout sheet ---- */
.ws-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ws-name { flex: 1; background: transparent; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--muted); border-radius: 0; border: 0; border-bottom: 1px dashed var(--line-2); }
.ws-name:focus { background: transparent; color: var(--text); border-color: var(--brand); }
.ws-clock { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: color-mix(in srgb, var(--green) 12%, transparent); color: var(--green); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }
.ws-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ws-pulse 1.6s ease-in-out infinite; }
@keyframes ws-pulse { 50% { opacity: .35; } }

.ws-ex { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 12px; margin-bottom: 12px; }
.ws-ex-top { display: flex; align-items: center; gap: 6px; }
.ws-nav { width: 36px; height: 36px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.ws-nav:active { background: var(--card-2); color: var(--text); }
.ws-nav:disabled { opacity: .2; }
.ws-nav .ico svg { width: 22px; height: 22px; }
.ws-ex-title { flex: 1; min-width: 0; background: none; border: 0; color: inherit; font: inherit; text-align: center; cursor: pointer; padding: 2px 0; }
.ws-ex-kicker { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ws-ex-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-target { display: flex; align-items: center; gap: 10px; height: 28px; margin: 10px 4px 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.ws-target > span:last-child { flex: none; }
.ws-progress { flex: 1; display: flex; gap: 4px; }
.ws-progress span { flex: 1; height: 5px; border-radius: 5px; background: var(--card-2); transition: background .2s; }
.ws-progress span.on { background: var(--green); }

.ws-sets { border-top: 1px solid var(--line); height: 231px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.ws-sets::-webkit-scrollbar { display: none; }
/* one grid for every row → numbers, units and buttons line up in columns */
.ws-set { display: grid; grid-template-columns: 26px 1fr 10px 1fr 76px; align-items: center; gap: 6px; height: 46px; padding: 0 2px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ws-set.ws-thead { height: 26px; margin-top: 8px; border-bottom: 0; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.ws-thead span:first-child { text-align: left; font-size: 9.5px; letter-spacing: .02em; }
.ws-act { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.ws-set:last-child { border-bottom: 0; }
.ws-set.empty { opacity: .35; }
.ws-set.empty .ws-num { background: transparent; border: 1px dashed var(--line-2); }
.ws-num { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--card-2); color: var(--text); flex: none; }
.ws-num.done { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
button.ws-num { border: 0; font-family: inherit; cursor: pointer; padding: 0; }
button.ws-num:active { transform: scale(.9); }
.ws-num.warmup { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); }
.ws-num.drop { background: color-mix(in srgb, #b18cff 20%, transparent); color: #b18cff; }
.ws-type { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-bottom: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-family: inherit; text-align: left; cursor: pointer; }
.ws-type.active { border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.ws-type .ws-num { width: 30px; height: 30px; font-size: 13px; }
.ws-type-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ws-type-txt b { font-size: 15px; }
.ws-type-txt small { font-size: 12px; color: var(--muted); }
.ws-type > .ico { color: var(--brand); }
.ws-x { color: var(--muted); font-size: 13px; text-align: center; }
.ws-in { height: 36px; padding: 0 6px; text-align: center; font-size: 16px; font-weight: 700; border-radius: 10px; background: color-mix(in srgb, var(--card-2) 45%, transparent); }
.ws-in:focus { background: var(--bg-elev); }
.ws-set.entry .ws-in { background: var(--card-2); }
.ws-set.entry .ws-in:focus { background: var(--bg-elev); }
/* not-yet-done set: greyed out until it's ticked off */
.ws-set.entry .ws-in { color: var(--muted); font-weight: 600; }
.ws-set.entry .ws-in:focus { color: var(--text); }
.ws-set.entry .ws-num { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.ws-in::-webkit-outer-spin-button, .ws-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ws-in { -moz-appearance: textfield; }
/* weight-steps editor in the exercise sheet */
.wstep { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.wstep .tagrow { align-items: center; }
.wstep-in { width: 84px; height: 32px; padding: 0 10px; font-size: 13px; text-align: center; border-radius: 999px; }
.wstep-hint { margin-top: 4px; }
/* coach hint under the set table: one fixed-height, ellipsised line */
.ws-coach { display: flex; align-items: center; gap: 6px; height: 30px; margin-top: 6px; padding: 0 10px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--text); font-size: 12.5px; font-weight: 600; overflow: hidden; }
.ws-coach > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ws-coach .ico { color: var(--brand); flex: none; }
.ws-coach .ico svg { width: 14px; height: 14px; }
.ws-coach.idle { background: transparent; color: var(--muted); }
.ws-coach.go { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.ws-coach.go .ico { color: var(--green); }
.ws-coach.idle .ico { color: var(--muted); }
.ws-vid { color: var(--green); flex: none; width: 20px; height: 34px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.ex-video.popup { max-height: 70vh; margin-top: 0; }
.ws-vid .ico svg { width: 15px; height: 15px; }
.ws-del, .ws-ok, .sheet-x.ws-vbtn { width: 34px; height: 34px; border-radius: 10px; border: 0; display: grid; place-items: center; flex: none; cursor: pointer; background: transparent; color: var(--muted); }
.ws-del:active { color: var(--red); background: var(--card-2); }
.sheet-x.ws-vbtn { background: var(--card-2); }
.ws-ok { background: var(--green); color: #06210f; }
.ws-del .ico svg, .ws-ok .ico svg { width: 16px; height: 16px; }
.ws-ok .ico svg { stroke-width: 2.6; }

.ws-rest { display: inline-flex; align-items: center; gap: 6px; }
.ws-rest-time { display: inline-flex; align-items: center; color: var(--green); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 4px; }
.ws-rest-time .ico svg { width: 15px; height: 15px; }
.ws-chip { height: 26px; padding: 0 10px; border-radius: 999px; border: 0; background: var(--card-2); color: var(--text); font: 600 12px inherit; font-family: inherit; cursor: pointer; }

.ws-links { display: flex; gap: 8px; margin: 14px 0 10px; }
.ws-link { flex: 1; min-width: 0; height: 46px; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 10px; background: none; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--muted); font: 600 14px inherit; font-family: inherit; cursor: pointer; }
.ws-link:active { color: var(--text); }
.ws-add { margin: 14px 0 10px; height: 46px; align-items: center; }
.ws-link.hot { border-style: solid; border-color: color-mix(in srgb, var(--green) 45%, transparent); color: var(--green); }
.ws-link.ws-link-sq { flex: none; width: 46px; padding: 0; }
/* exercise overview sheet: fixed-height rows, number | name | sets */
.ws-ovw { display: grid; gap: 6px; }
.ws-ovw-row { display: grid; grid-template-columns: 28px 1fr 64px; align-items: center; gap: 10px; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); font: 600 14px inherit; font-family: inherit; text-align: left; cursor: pointer; }
.ws-ovw-row.cur { border-color: var(--brand); }
.ws-ovw-row.done { color: var(--muted); }
.ws-ovw-no { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--card-2); font-size: 12px; font-weight: 800; }
.ws-ovw-row.done .ws-ovw-no { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.ws-ovw-no .ico svg { width: 14px; height: 14px; }
.ws-ovw-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-ovw-sets { text-align: right; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ws-ovw-row.cur .ws-ovw-sets { color: var(--brand); }
.ws-link-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-link .ico svg { width: 16px; height: 16px; }
.ws-finish { width: 100%; background: transparent; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.ws-hint { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 4px; opacity: .8; }

/* =====================================================================
   Ordnung — app-wide structure layer (2026-10-26)
   Lists are grouped tables: one card, hairline rows, single-line text,
   right-aligned value column. Sections share one header style.
   ===================================================================== */
.section-title { margin: 22px 4px 8px; min-height: 22px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.section-title button { text-transform: none; letter-spacing: -0.01em; font-size: 13.5px; }
.card > .section-title:first-child { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.list:has(> .li) { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.list:has(> .li) > .li { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; min-height: 60px; }
.list:has(> .li) > .li:last-child { border-bottom: 0; }
.list:has(> .li) > .li.tap:active { transform: none; background: var(--card-2); }
.li .li-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.li .li-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; margin-top: 2px; }
.li .li-icon { width: 36px; height: 36px; border-radius: 11px; }
.li .li-icon .ico svg { width: 18px; height: 18px; }
.li .li-val { min-width: 58px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.li .li-val .mini, .li .li-val small { display: block; font-weight: 500; color: var(--muted); }
.li.due { box-shadow: inset 3px 0 0 var(--orange); }
.dish-li .li-sub { white-space: normal; }

.stat { padding: 14px; }
.stat-val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.grid.c3 .stat-val { font-size: 20px; }
.grid.c3 .stat-unit { font-size: 12px; }
.stat-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* filter toolbar: scrolling chips + one trailing control */
.toolbar { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; min-height: 36px; }
.chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 600 13px inherit; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.chip-btn.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip-btn.toggle.on { background: color-mix(in srgb, var(--brand) 18%, transparent); border-color: color-mix(in srgb, var(--brand) 45%, transparent); color: var(--brand); }
.chip-count { font-size: 11px; font-weight: 700; opacity: .65; font-variant-numeric: tabular-nums; }
.chip-btn .ico svg { width: 14px; height: 14px; }
/* round row action (fixed column at the right edge of a list row) */
.li-act { width: 36px; height: 36px; border-radius: 11px; border: 0; flex: none; display: grid; place-items: center; cursor: pointer; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.li-act:active { transform: scale(.92); }
.li-act .ico svg { width: 18px; height: 18px; stroke-width: 2.4; }
.li-act.ghost { background: var(--card-2); color: var(--muted); }
.li-act + .li-act { margin-left: -4px; }

/* key/value table inside a card */
.card.kv { padding: 6px 16px 16px; }
.card.kv > canvas { margin-top: 10px !important; }
.kv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv-row > span:first-child { color: var(--muted); font-weight: 600; }
.kv-row .mono { font-size: 13px; }
.kv-status { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; }
.btn.danger-text { color: var(--red); }

/* shared day navigator */
.daynav { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; margin: 0 0 12px; }
.daynav-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.daynav-btn:active { background: var(--card-2); color: var(--text); }
.daynav-btn .ico svg { width: 18px; height: 18px; }
.daynav-label { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 700 14.5px inherit; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-variant-numeric: tabular-nums; }
.daynav-reset { font-size: 11px; font-weight: 700; color: var(--brand); padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); }
.grid.actions { gap: 8px; margin-bottom: 10px; }
.grid.actions .btn { width: 100%; height: 40px; }
.grid.actions.c4 { gap: 6px; }
.grid.actions.c4 .btn { padding: 0 4px; font-size: 12.5px; white-space: nowrap; min-width: 0; overflow: hidden; }
/* KI-Schätzung: Foto-Zeile mit fester Vorschaugröße */
.ai-photo-row { display: grid; grid-template-columns: 56px 1fr 44px; gap: 8px; align-items: center; }
.ai-photo-row .btn { width: 100%; height: 40px; }
.ai-thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--card-2); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 20px; }
.ai-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* chips everywhere share one look (.tag = legacy name of .chip-btn) */
.tag { height: 32px; padding: 0 12px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: transparent; color: var(--muted); }
.tag.on { color: var(--bg); }
.tagrow.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tagrow.scroll::-webkit-scrollbar, .dish-chips::-webkit-scrollbar { display: none; }
.tagrow.scroll .tag { flex: none; }

/* in-app APK update banner (Android app only) */
.apkbar { position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 900; display: grid; grid-template-columns: 1fr auto 32px; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 14px; border-radius: 14px; background: var(--card); border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.apkbar-txt { min-width: 0; display: grid; gap: 2px; font-size: 13px; }
.apkbar-txt b { color: var(--text); }
.apkbar-txt span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apkbar-btn { height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: 700 13px inherit; font-family: inherit; cursor: pointer; }
.apkbar-btn:disabled { opacity: .6; }
.apkbar-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }

/* ---- Körper: due checklist (2026-10-29) ---- */
/* progress card: fixed height, text left, toggle right, bar underneath */
.due-sum { display: grid; gap: 12px; padding: 14px 16px; margin-bottom: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.due-sum-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
.due-sum-txt { display: grid; gap: 2px; min-width: 0; }
.due-sum-txt b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.due-sum-txt span { font-size: 12.5px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.due-sum.all .due-sum-txt b { color: var(--green); }
.due-bar { height: 6px; border-radius: 6px; background: var(--card-2); overflow: hidden; }
.due-bar > div { height: 100%; border-radius: 6px; background: var(--green); transition: width .4s var(--ease); }
.due-count { font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* one grid per row: icon | name | value/deadline | action */
.list:has(> .li) > .li.due-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 76px 36px; gap: 12px; height: 60px; min-height: 0; padding: 0 12px 0 14px; }
.li.due-row.due, .li.due-row { box-shadow: none; }
.due-val { display: grid; gap: 1px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.due-val span { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.due-val small { font-size: 11px; font-weight: 600; color: var(--muted); }
.due-val span:empty, .due-val small:empty { display: none; }
.due-row:not(.done) .due-val span { color: var(--muted); }
.due-row.late .due-val span, .due-row.late .due-val small { color: var(--red); }
.due-row.done .li-icon, .due-row.done .li-title { opacity: .5; }
.due-row.done .li-sub { opacity: .7; }
.due-state { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--green); }
.due-state .ico svg { width: 18px; height: 18px; stroke-width: 2.6; }
.due-state.skip { color: var(--muted); }
.due-state.skip .ico svg { width: 15px; height: 15px; stroke-width: 2.2; }

/* ---- Körper: entry sheet ---- */
.entry-ctx { font-size: 13px; color: var(--muted); font-weight: 600; margin: -2px 0 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* number: [−] [ value unit ] [+] */
.entry-num { display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; height: 72px; margin-bottom: 12px; }
.entry-step { border: 0; border-radius: 16px; background: var(--card-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.entry-step:active { transform: scale(.94); background: #2a2e35; }
.entry-step .ico svg { width: 22px; height: 22px; stroke-width: 2.4; }
.entry-num-box { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); cursor: text; transition: border-color .15s; }
.entry-num-box:focus-within { border-color: var(--brand); }
.entry-num-in { width: 100%; min-width: 0; flex: 1; align-self: center; background: none; border: 0; outline: none; color: var(--text); font-family: inherit; font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; padding: 0; }
.entry-num-in::placeholder { color: #4a4f58; }
.entry-unit { flex: none; align-self: center; min-width: 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.entry-num-box:not(:has(.entry-unit)) .entry-num-in { text-align: center; }
/* shrink the field to its content so value + unit sit centred together */
@supports (field-sizing: content) { .entry-num-in { field-sizing: content; flex: 0 1 auto; width: auto; min-width: 1.5ch; } }
/* bool: two big tiles */
.entry-bool { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 72px; margin-bottom: 12px; }
.entry-bool button { border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); color: var(--muted); font-family: inherit; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.entry-bool button .ico svg { width: 20px; height: 20px; stroke-width: 2.4; }
.entry-bool button.yes.on { background: color-mix(in srgb, var(--green) 16%, transparent); border-color: color-mix(in srgb, var(--green) 50%, transparent); color: var(--green); }
.entry-bool button.no.on { background: color-mix(in srgb, var(--red) 14%, transparent); border-color: color-mix(in srgb, var(--red) 45%, transparent); color: var(--red); }
/* date + note as a two-row table */
.entry-meta { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; overflow: hidden; }
.entry-meta-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; height: 50px; padding: 0 6px 0 14px; border-bottom: 1px solid var(--line); }
.entry-meta-row:last-child { border-bottom: 0; }
.entry-meta-row > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.entry-meta-row .input { height: 38px; padding: 0 10px; font-size: 15px; background: transparent; border-radius: 10px; color-scheme: dark; }
.entry-meta-row .input:focus { background: var(--card-2); }
.entry-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.entry-actions > .btn { height: 52px; padding: 0 12px; }
.entry-actions > .btn:only-child { grid-column: 1 / -1; }
.entry-actions > .entry-del { color: var(--red); }
.entry-actions:has(> .entry-del) { grid-template-columns: 52px 1fr; }
