/* 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: #c6f432;
  --brand: #c6f432;
  --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(198,244,50,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); }
.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(198,244,50,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(198,244,50,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(198,244,50,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(198,244,50,.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; }
