/* ============================================================
   Recepty — Inside Premium (SVĚTLÝ styl, ladí s hubem)
   bílé bento karty · klubová zelená #16a34a · jemné stíny · Baloo 2
   ============================================================ */
.rc-wrap {
  --rc-card: #ffffff;
  --rc-card2: hsl(150 30% 97%);
  --rc-green: #16a34a;
  --rc-green-d: #0f7a37;
  --rc-green-t: #15803d;
  --rc-lime: #4cff00;
  --rc-text: #18211c;
  --rc-muted: #6b7280;
  --rc-border: hsl(150 18% 88%);
  --rc-shadow: 0 4px 16px rgba(20,60,40,.08);
  --rc-shadow-h: 0 10px 28px rgba(20,60,40,.16);
  --rc-radius: 18px;
  --rc-gold: #b8860b;
  font-family: 'Baloo 2', system-ui, sans-serif;
  color: var(--rc-text);
  max-width: 1080px;
  margin: 0 auto;
  padding: 4px 0 60px;
}

/* ── Pod-záložky Výživy ── */
.rc-subnav { display:flex; gap:6px; overflow-x:auto; padding:4px 0 12px; -webkit-overflow-scrolling:touch; font-family:'Baloo 2',system-ui,sans-serif; }
.rc-subtab { flex:0 0 auto; padding:9px 16px; border-radius:12px; border:1px solid hsl(150 18% 88%); background:#fff; color:#4b5563; font-family:inherit; font-size:14px; font-weight:700; white-space:nowrap; cursor:pointer; transition:.15s; }
.rc-subtab:hover { border-color:#16a34a; color:#16a34a; }
.rc-subtab.is-active { background:#16a34a; border-color:#16a34a; color:#fff; }

/* ── „Připravujeme" placeholder ── */
.rc-soon { text-align:center; padding:54px 24px; background:#fff; border:1px solid hsl(150 18% 88%); border-radius:18px; box-shadow:0 4px 16px rgba(20,60,40,.08); }
.rc-soon__emo { font-size:50px; }
.rc-soon h2 { margin:8px 0 6px; font-size:22px; color:#18211c; }
.rc-soon p { color:#6b7280; max-width:460px; margin:0 auto; line-height:1.55; }

/* ── Databáze potravin ── */
.rc-foodlist { display:flex; flex-direction:column; gap:8px; }
.rc-food { display:flex; align-items:center; justify-content:space-between; gap:14px; background:#fff; border:1px solid hsl(150 18% 88%); border-radius:14px; padding:12px 16px; box-shadow:0 2px 10px rgba(20,60,40,.05); }
.rc-food__main { min-width:0; }
.rc-food__name { font-weight:700; font-size:15px; }
.rc-food__brand { font-size:11px; font-weight:700; color:#15803d; background:hsl(150 30% 95%); padding:2px 8px; border-radius:999px; }
.rc-food__verify { font-size:11px; color:#b8860b; }
.rc-food__per { font-size:12px; color:#9aa0a6; }
.rc-food__macros { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.rc-food__kcal { font-weight:800; color:#18211c; min-width:62px; text-align:right; }
.rc-food__m { font-size:13px; font-weight:700; padding:2px 8px; border-radius:999px; }
.rc-food__m--c { color:#0f7a37; background:#e6f6ec; }
.rc-food__m--p { color:#b03052; background:#fce8ee; }
.rc-food__m--f { color:#9a7400; background:#fbf2da; }
.rc-irow.is-linked .rc-i-name { border-color:#16a34a; background:#f2fbf5; }

/* ── Můj den ── */
.rc-day-nav { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.rc-day-arrow { width:42px; height:42px; border-radius:12px; border:1px solid hsl(150 18% 88%); background:#fff; color:#18211c; font-size:20px; cursor:pointer; }
.rc-day-arrow:hover { border-color:#16a34a; color:#16a34a; }
.rc-day-label { text-align:center; min-width:120px; }
.rc-day-label b { display:block; font-size:18px; }
.rc-day-label small { color:#9aa0a6; font-size:12px; }
.rc-day-today { margin-left:auto; padding:8px 14px; border-radius:10px; border:1px solid #16a34a; background:#fff; color:#15803d; font-family:inherit; font-weight:700; cursor:pointer; }

.rc-target__row { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.rc-target__set { display:flex; align-items:center; gap:8px; }
.rc-target__set input { width:90px; padding:9px 12px; border-radius:10px; border:1px solid hsl(150 18% 86%); font-family:inherit; font-size:15px; }
.rc-target__presets { margin-top:12px; font-size:13px; color:#6b7280; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }

.rc-dayprog__sub { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:14px 0 6px; font-weight:700; font-size:14px; }
.rc-dayprog__fill.rc-fill--prot { background:linear-gradient(90deg,#ef476f,#f47a96); }
.rc-dayprog__fill.rc-fill--water { background:linear-gradient(90deg,#3a9bdc,#67c7f5); }
.rc-water__btns { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.rc-recents { margin-bottom:12px; }
.rc-recents__h { font-size:13px; font-weight:700; color:#6b7280; margin-bottom:6px; }
.rc-recents__row { display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; -webkit-overflow-scrolling:touch; }
.rc-recent { flex:0 0 auto; display:flex; flex-direction:column; align-items:flex-start; padding:8px 12px; border-radius:12px; border:1px solid hsl(150 18% 86%); background:#f7faf8; cursor:pointer; font-family:inherit; font-size:13px; font-weight:700; color:#18211c; white-space:nowrap; }
.rc-recent:hover { border-color:#16a34a; background:#eef9f1; }
.rc-recent small { font-weight:600; color:#15803d; font-size:11px; }
.rc-day-copy { width:100%; }
.rc-dayprog__top { display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:8px; }
.rc-dayprog__big { font-size:30px; font-weight:800; color:#18211c; }
.rc-dayprog__big small { font-size:15px; color:#9aa0a6; font-weight:600; }
.rc-dayprog__rem { font-weight:700; color:#15803d; }
.rc-dayprog__bar { height:16px; border-radius:999px; background:#eef5f0; overflow:hidden; }
.rc-dayprog__fill { height:100%; background:linear-gradient(90deg,#16a34a,#22c55e); transition:width .35s; }
.rc-dayprog__fill.is-done { background:linear-gradient(90deg,#15803d,#16a34a); }
.rc-day-tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:14px; }
.rc-day-tile { background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:12px; padding:10px 8px; text-align:center; }
.rc-day-tile b { display:block; font-size:17px; }
.rc-day-tile small { color:#9aa0a6; font-size:11px; }

.rc-day-items { display:flex; flex-direction:column; gap:8px; }
.rc-day-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid hsl(150 18% 92%); }
.rc-day-item:last-child { border-bottom:none; }
.rc-day-item__main b { font-weight:700; }
.rc-day-item__main small { display:block; color:#9aa0a6; font-size:12px; }
.rc-day-item__macros { display:flex; align-items:center; gap:10px; }
.rc-day-item__kcal { color:#6b7280; font-size:13px; }
.rc-day-item__del { width:30px; height:30px; border-radius:8px; border:1px solid hsl(150 18% 88%); background:#fff; color:#9aa0a6; cursor:pointer; }
.rc-day-item__del:hover { color:#dc2626; border-color:#dc2626; }

/* Modaly jsou mimo .rc-wrap → musí mít vlastní CSS proměnné (jinak jsou
   tlačítka rc-btn--primary bez barvy = bledá). */
.rc-adm { --rc-green:#16a34a; --rc-green-d:#0f7a37; --rc-green-t:#15803d; --rc-lime:#4cff00; --rc-card:#ffffff; --rc-card2:hsl(150 30% 97%); --rc-border:hsl(150 18% 88%); --rc-text:#18211c; --rc-muted:#6b7280; --rc-shadow:0 4px 16px rgba(20,60,40,.08); --rc-radius:18px; --rc-gold:#b8860b; }

/* 📷 AI foto jídla */
.rc-photo { text-align:center; }
.rc-photo__cta { display:flex; flex-direction:column; align-items:center; gap:8px; width:100%; box-sizing:border-box; padding:26px 16px; margin-bottom:6px; border:2px dashed #16a34a; border-radius:18px; background:#eafaf0; color:#15803d; font-family:inherit; cursor:pointer; transition:.15s; }
.rc-photo__cta:hover { background:#dff5e7; border-color:#15803d; }
.rc-photo__cta:active { transform:scale(.99); }
.rc-photo__cta-ico { font-size:44px; line-height:1; }
.rc-photo__cta-txt { font-size:18px; font-weight:800; }
.rc-photo__intro { color:#33403a; line-height:1.5; margin-bottom:16px; }
.rc-photo__btn { cursor:pointer; }
.rc-photo__load { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:16px; font-weight:700; color:#15803d; }
.rc-photo__err { margin-top:16px; color:#b03052; font-weight:600; line-height:1.5; }
.rc-photo__err .rc-btn { margin-top:10px; }
.rc-photo__head { font-weight:700; margin-bottom:12px; font-size:14px; color:#33403a; }
.rc-photo__list { display:flex; flex-direction:column; gap:8px; margin-bottom:14px; max-height:46vh; overflow-y:auto; }
.rc-photo__item { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid hsl(150 18% 88%); border-radius:12px; }
.rc-photo__item.is-off { opacity:.45; }
.rc-photo__chk input { width:20px; height:20px; }
.rc-photo__main { flex:1; min-width:0; text-align:left; }
.rc-photo__main b { font-size:14px; }
.rc-photo__macros { font-size:12px; color:#15803d; font-weight:600; }
.rc-photo__amt { display:flex; align-items:center; gap:5px; flex:0 0 auto; }
.rc-photo__amt input { width:64px; padding:7px; border-radius:8px; border:1px solid hsl(150 18% 86%); font-family:inherit; font-size:13px; text-align:right; }
.rc-photo__again { width:100%; margin-top:8px; }

/* ⚖️ Energetická bilance */
.rc-balance__btns { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.rc-bal-grid { display:flex; align-items:stretch; gap:8px; margin:6px 0 4px; }
.rc-bal-box { flex:1; background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:12px; padding:12px 6px; text-align:center; display:flex; flex-direction:column; justify-content:center; }
.rc-bal-box b { font-size:20px; font-weight:800; }
.rc-bal-box small { color:#9aa0a6; font-size:11px; }
.rc-bal-op { display:flex; align-items:center; font-size:20px; font-weight:800; color:#9aa0a6; }
.rc-bal-res.rc-bal-ok { background:#e6f6ec; border-color:#16a34a; }
.rc-bal-res.rc-bal-ok b { color:#15803d; }
.rc-bal-res.rc-bal-plus { background:#fbf2da; border-color:#e0b94a; }
.rc-bal-res.rc-bal-plus b { color:#9a7400; }
.rc-bal-res.rc-bal-minus { background:#eaf4fb; border-color:#7bb8e0; }
.rc-bal-res.rc-bal-minus b { color:#2b6da3; }
.rc-reds { margin:10px 0 0; padding:10px 12px; background:#fbeaea; border:1px solid #e0a3a3; border-radius:12px; color:#9a2b2b; font-size:13px; font-weight:600; line-height:1.45; }

/* ⚖️ Bilance dne — dvousloupcový přehled příjem ↔ výdej */
.rc-bal-net { margin-left:auto; font-size:14px; color:#9aa0a6; white-space:nowrap; }
.rc-bal-net b { font-weight:800; font-size:16px; }
.rc-bal-net b.rc-bal-ok { color:#15803d; }
.rc-bal-net b.rc-bal-plus { color:#9a7400; }
.rc-bal-net b.rc-bal-minus { color:#2b6da3; }
.rc-bal-cols { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:4px; }
.rc-bal-col { background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:12px; padding:10px 12px; }
.rc-bal-col--in { background:#eef9f0; border-color:#c6e8d0; }
.rc-bal-col--out { background:#fbf0ef; border-color:#f0cdc9; }
.rc-bal-col__h { font-size:12.5px; font-weight:800; margin-bottom:6px; color:#41504a; }
.rc-bal-row { display:flex; justify-content:space-between; align-items:baseline; gap:8px; font-size:13px; padding:3px 0; color:var(--rc-text); }
.rc-bal-row span:first-child { color:#3a463f; }
.rc-bal-row span:last-child { font-weight:700; white-space:nowrap; font-variant-numeric:tabular-nums; }
.rc-bal-col--in .rc-bal-row span:last-child { color:#15803d; }
.rc-bal-col--out .rc-bal-row span:last-child { color:#b4453b; }
.rc-bal-row--empty span { color:#9aa0a6 !important; font-weight:600 !important; font-style:italic; }
.rc-bal-tot { margin-top:4px; padding-top:7px; border-top:1px solid rgba(0,0,0,.1); font-weight:800; }
.rc-bal-tot span:first-child { color:var(--rc-text) !important; font-weight:800; }
.rc-bal-tot span:last-child { font-size:14px; }
.rc-bal-buf { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:12px; }
.rc-bal-buf__l { font-size:12.5px; color:var(--rc-muted); font-weight:600; margin-right:2px; }
.rc-bal-bufbtn { border:1px solid var(--rc-border); background:#fff; border-radius:999px; padding:5px 12px; font-size:12.5px; font-weight:700; color:#41504a; cursor:pointer; }
.rc-bal-bufbtn.is-on { background:var(--rc-green); border-color:var(--rc-green); color:#fff; }

/* 🌐 Online dohledání potraviny v Databázi */
.rc-db-online { margin-top:12px; }
.rc-db-online__btn { width:100%; }

/* 🍽️ Editace snědeného množství v detailu položky */
.rc-itd-amt { background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:12px; padding:10px 12px; }
.rc-itd-amt__l { display:block; font-size:13px; font-weight:800; color:var(--rc-green-t); margin-bottom:8px; }
.rc-itd-amt__row { display:flex; align-items:center; gap:8px; }
.rc-itd-amt__row input { flex:1; min-width:0; }
.rc-itd-amt__u { font-size:14px; font-weight:700; color:var(--rc-muted); }
.rc-itd-amt__now { margin-top:8px; font-size:13px; font-weight:700; color:var(--rc-text); }

/* 🤖 Doporučený (dynamický) cíl */
.rc-smart { background:linear-gradient(180deg,#e9f7ef 0%,#f4fbf6 100%); border:1px solid #16a34a; }
.rc-smart__badge { font-size:12px; font-weight:700; color:#15803d; background:#d6f0df; border:1px solid #9bd9b1; border-radius:999px; padding:3px 10px; }
.rc-smart__vals { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin:6px 0 4px; }
.rc-smart__big { font-size:30px; font-weight:800; color:#15803d; }
.rc-smart__big small { font-size:15px; color:#5b9472; font-weight:600; }
.rc-smart__sub { font-size:14px; font-weight:600; color:#33403a; }
.rc-smart__manual { margin:8px 0 0; font-size:13px; color:#6b7280; }
.rc-smart__tip { margin:8px 0 0; padding:9px 11px; background:#fff7e0; border:1px solid #e7cd80; border-radius:10px; font-size:13px; color:#7a5d00; line-height:1.45; }

/* P4 — chytré filtry receptů */
.rc-chip--smart { background:#eef7f1; border-color:#9bd9b1; color:#15803d; font-weight:700; }
.rc-chip--smart.is-active { background:#16a34a; border-color:#16a34a; color:#fff; }
.rc-chip--sort { background:#fff4e6; border-color:#f0c58a; color:#b4671a; font-weight:700; }
.rc-chip--sort.is-active { background:#e8850c; border-color:#e8850c; color:#fff; }

/* Můj den — Dnešní přehled (hero karta: cíl + plnění + makra) */
.rc-summary { background:linear-gradient(180deg,#f2fbf5 0%,#ffffff 60%); border:1px solid #b9e4cb; }
.rc-sum__row { margin-top:12px; }
.rc-sum__line { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:5px; }
.rc-sum__lbl { font-weight:700; font-size:14px; color:#18211c; }
.rc-sum__val { font-size:14px; color:#33403a; }
.rc-sum__val b { font-size:20px; font-weight:800; color:#15803d; }
.rc-sum__gkg { color:#9aa0a6; font-size:12.5px; font-weight:600; }
.rc-sum__rem { margin-top:4px; font-size:12px; color:#9aa0a6; font-weight:600; }
.rc-summary .rc-day-tiles { margin-top:14px; }
.rc-day-tile.rc-tile--c { border-bottom:3px solid #16a34a; }
.rc-day-tile.rc-tile--p { border-bottom:3px solid #e0729a; }
.rc-day-tile.rc-tile--f { border-bottom:3px solid #e0b24a; }
/* ⚙️ ruční nastavení cíle (schované v details) */
.rc-goal-edit { margin-top:12px; border-top:1px dashed hsl(150 18% 88%); padding-top:8px; }
.rc-goal-edit > summary { list-style:none; cursor:pointer; font-weight:700; font-size:13px; color:#15803d; padding:4px 0; }
.rc-goal-edit > summary::-webkit-details-marker { display:none; }
.rc-goal-edit__tag { background:#fce7ef; color:#b83280; border-radius:999px; padding:1px 8px; font-size:11px; font-weight:700; }
.rc-goal-edit__l { font-weight:700; font-size:13px; color:#33403a; min-width:80px; }

/* Makra jako kroužky (Yazio-styl) */
.rc-rings { display:flex; gap:10px; justify-content:center; margin-top:12px; }
.rc-ring { flex:1 1 0; max-width:150px; text-align:center; }
.rc-ring__svg { width:100%; max-width:104px; height:auto; }
.rc-ring__bg { fill:none; stroke:#e8efe9; stroke-width:8; }
.rc-ring__fg { fill:none; stroke-width:8; stroke-linecap:round; transform:rotate(-90deg); transform-origin:50% 50%; transition:stroke-dashoffset .55s ease; }
.rc-ring__cur { font-size:21px; font-weight:800; fill:#18211c; text-anchor:middle; font-family:inherit; }
.rc-ring__tgt { font-size:10.5px; fill:#9aa0a6; text-anchor:middle; font-family:inherit; }
.rc-ring__cap { margin-top:4px; font-size:13px; font-weight:700; color:#33403a; }
.rc-ring__cap small { display:block; font-size:11px; color:#9aa0a6; font-weight:600; }
.rc-rings--3 .rc-ring { max-width:118px; }
.rc-rings--3 .rc-ring__svg { max-width:92px; }
.rc-rings--3 .rc-ring__cur { font-size:19px; }
.rc-sum__rem2 { text-align:center; margin-top:8px; font-size:12.5px; color:#9aa0a6; font-weight:600; }
/* kompletní kalorie pod kroužky */
.rc-cal { margin-top:12px; }
.rc-cal__line { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:5px; }
.rc-cal__lbl { font-weight:700; font-size:14px; color:#18211c; }
.rc-cal__val { font-size:14px; color:#33403a; }
.rc-cal__val b { font-size:18px; font-weight:800; color:#c2410c; }
.rc-dayprog__fill.rc-fill--cal { background:linear-gradient(90deg,#f59e0b,#ea580c); }
/* série (streak) */
.rc-head--flex { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.rc-streak { flex:0 0 auto; background:linear-gradient(135deg,#fff1e0,#ffe0c2); border:1px solid #f0b877; border-radius:999px; padding:6px 12px; font-size:13px; font-weight:800; color:#b5540a; white-space:nowrap; }
/* výběr velikosti sklenice */
.rc-glass-size select { border:1px solid hsl(150 18% 86%); border-radius:7px; background:#fff; font-family:inherit; font-size:11.5px; padding:2px 4px; color:#4b5563; cursor:pointer; }
.rc-sum__stat { display:flex; justify-content:center; gap:18px; margin-top:8px; font-size:13px; color:#4b5563; }
.rc-sum__stat b { color:#18211c; font-weight:800; }

/* Rychlé přidání nahoře */
.rc-quickadd { display:flex; gap:8px; margin:0 0 4px; }
.rc-qa { flex:1; padding:12px; border-radius:12px; border:1.5px solid hsl(150 25% 84%); background:#fff; font-family:inherit; font-weight:700; font-size:14px; color:#15803d; cursor:pointer; }
.rc-qa--primary { background:#16a34a; border-color:#16a34a; color:#fff; flex:2; }
.rc-qa:hover { border-color:#16a34a; }
.rc-qa--primary:hover { background:#15803d; }

/* Kompaktní pruhy (bilance, pití) */
.rc-strip__head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.rc-strip__val { margin-left:auto; font-weight:800; font-size:15px; color:#18211c; white-space:nowrap; }
.rc-bal-inline { margin-left:auto; font-size:13px; color:#6b7280; white-space:nowrap; }
.rc-bal-inline b { color:#18211c; font-weight:800; }
.rc-bal-inline b.rc-bal-ok { color:#15803d; }
.rc-bal-inline b.rc-bal-plus { color:#9a7400; }
.rc-bal-inline b.rc-bal-minus { color:#2b6da3; }
.rc-bal-inline small { color:#9aa0a6; }
.rc-balance .rc-link, .rc-strip__head .rc-link { flex:0 0 auto; }
.rc-water__ctrl { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; }
.rc-water__ctrl .rc-water__btns { display:flex; gap:6px; margin:0; }
.rc-water__ctrl .rc-water__weather { margin:0; }
.rc-strip .rc-btn--ghost { padding:6px 10px; font-size:12.5px; }

/* Pití — sklenice, během běhu, test pocení */
.rc-glasses { display:flex; flex-wrap:wrap; gap:5px; margin:2px 0 5px; }
.rc-glass { width:30px; height:34px; padding:0; border:none; background:none; cursor:pointer; color:#d3e6f0; line-height:0; transition:transform .08s ease; }
.rc-glass:active { transform:scale(.88); }
.rc-glass.is-full { color:#3fa7dc; }
.rc-glass--bonus { color:#f0d28a; }
.rc-glass--bonus.is-full { color:#e8a90c; }
.rc-glass__svg { width:26px; height:31px; fill:currentColor; }
.rc-glasses__cap { font-size:11.5px; color:#9aa0a6; font-weight:600; margin-bottom:4px; }
.rc-glasses__bonus { color:#c47f00; font-weight:800; }
.rc-water__msg { margin:8px 0 2px; padding:8px 11px; border-radius:10px; font-size:13px; font-weight:700; line-height:1.4; background:#eef5fb; color:#2b6da3; }
.rc-water__msg--near { background:#fff4e6; color:#b4671a; }
.rc-water__msg--done { background:#e6f6ec; color:#15803d; }
.rc-strip__val--done { color:#15803d; }
.rc-water--done { border-color:#9fdcb4; }
.rc-run-hydr { margin-top:10px; padding:9px 11px; background:#eaf5fb; border:1px solid #b8ddf0; border-radius:10px; font-size:13px; color:#255e80; line-height:1.5; }
.rc-run-hydr small { color:#5a8bab; }
.rc-sweat-btn { margin-top:8px; background:#f2f7f4; border:1px dashed hsl(150 25% 78%); border-radius:10px; padding:9px 12px; font-family:inherit; font-weight:700; font-size:13px; color:#15803d; cursor:pointer; width:100%; }
.rc-sweat-btn:hover { background:#e9f2ec; }

/* Čistší řádek položky jídla */
.rc-meal .rc-day-item { gap:8px; }
.rc-meal .rc-day-item__main { flex:1 1 auto; min-width:0; }
.rc-di__nums { display:flex; flex-direction:column; align-items:flex-end; line-height:1.2; flex:0 0 auto; margin-left:auto; }
.rc-di__kcal { font-weight:800; font-size:13.5px; color:#18211c; }
.rc-di__m { font-size:11px; color:#9aa0a6; font-weight:600; }
.rc-di__act { display:flex; align-items:center; gap:4px; flex:0 0 auto; }
.rc-di__act .rc-meal-move { border:1px solid hsl(150 14% 90%); border-radius:7px; background:#fafbfa; font-size:12px; padding:3px 2px; max-width:38px; color:#9aa0a6; cursor:pointer; }
.rc-di__act .rc-day-item__del { color:#c3c8cc; background:none; border:none; font-size:15px; cursor:pointer; padding:2px 4px; }
.rc-di__act .rc-day-item__del:hover { color:#d05070; }

/* Můj den — jídla (snídaně/oběd/večeře…) */
.rc-meals { padding-top:14px; }
.rc-meal { border:1px solid hsl(150 18% 90%); border-radius:14px; padding:10px 12px; margin-top:10px; background:#fff; }
.rc-meal__head { display:flex; align-items:center; gap:8px; }
.rc-meal__title { font-weight:800; font-size:14.5px; color:#18211c; flex:1; min-width:0; }
.rc-meal__sub { font-size:12px; color:#9aa0a6; font-weight:600; white-space:nowrap; }
/* 5 segmentů v okně přidávání — ať se vejdou na úzký mobil */
.rc-add-seg { gap:5px; }
.rc-add-seg .rc-add-segbtn { padding:8px 4px; font-size:12px; }
.rc-meal__save { flex:0 0 auto; width:30px; height:30px; border-radius:9px; border:1px solid hsl(150 18% 88%); background:#fff; font-size:14px; line-height:1; cursor:pointer; }
.rc-meal__save:hover { background:#f2f7f4; }
.rc-meal__add { flex:0 0 auto; width:30px; height:30px; border-radius:9px; border:none; background:#16a34a; color:#fff; font-size:18px; font-weight:700; line-height:1; cursor:pointer; }
.rc-meal__add:hover { background:#15803d; }
.rc-meal__nudge { margin:8px 0 4px; padding:8px 10px; background:#fff7e0; border:1px solid #e7cd80; border-radius:10px; font-size:12.5px; color:#7a5d00; line-height:1.45; }
.rc-meal .rc-day-items { margin-top:8px; }
.rc-meal__sugg { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:8px; }
.rc-meal__sugg-l { font-size:12px; color:#9aa0a6; font-weight:600; }
.rc-sugg-chip { background:#eef7f1; border:1px solid #bfe3cd; border-radius:999px; padding:5px 11px; font-family:inherit; font-size:12.5px; font-weight:600; color:#15803d; cursor:pointer; }
.rc-sugg-chip:hover { background:#dff0e6; }
.rc-sugg-chip small { color:#5b9472; font-weight:700; }
.rc-meal-move { border:1px solid hsl(150 18% 86%); border-radius:8px; background:#fff; font-family:inherit; font-size:13px; padding:3px 4px; max-width:52px; cursor:pointer; color:#4b5563; }

/* Čárový kód + externí databáze + ověřeno */
.rc-scan-cta { width:100%; background:#16a34a; color:#fff; border:none; border-radius:12px; padding:13px; font-family:inherit; font-weight:800; font-size:15px; cursor:pointer; margin-bottom:12px; }
.rc-scan-cta:hover { background:#15803d; }
.rc-scan { background:#000; border-radius:12px; overflow:hidden; aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.rc-scan video { width:100%; height:100%; object-fit:cover; }
.rc-scan-found { font-size:14px; margin-bottom:8px; color:#15803d; font-weight:600; }
.rc-verif { font-size:11px; font-weight:700; color:#15803d; background:#e6f6ec; border:1px solid #9bd9b1; border-radius:6px; padding:1px 6px; white-space:nowrap; }
.rc-ext-src { color:#2b6da3; font-weight:600; }
.rc-online-btn { color:#2b6da3 !important; }
.rc-online-h { font-size:12.5px; color:#9aa0a6; font-weight:600; margin:10px 0 6px; }
.rc-af--chk { display:flex; align-items:flex-end; }
.rc-chk { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:#33403a; cursor:pointer; }
.rc-chk input { width:18px; height:18px; }

/* Poznámka od trenéra k výživě */
.rc-coachnote { background:#eaf5fb; border:1px solid #b8ddf0; color:#255e80; font-size:13.5px; line-height:1.5; }
.rc-coach-card:hover { border-color:#16a34a; }

/* Detail položky — editace (tužtička) + moje DB */
.rc-itd-foot { display:flex; justify-content:flex-end; margin-top:12px; }
.rc-itd-pencil { background:#16a34a; color:#fff; border:none; border-radius:10px; padding:10px 16px; font-family:inherit; font-weight:800; font-size:14px; cursor:pointer; }
.rc-itd-pencil:hover { background:#15803d; }
.rc-mine { font-size:11px; font-weight:700; color:#4b5bd6; background:#eef0fc; border:1px solid #c3caf0; border-radius:6px; padding:1px 6px; white-space:nowrap; margin-right:4px; }

/* Detail položky v Můj den (hodnoty na 100 g) */
.rc-day-item__main--tap { cursor:pointer; }
.rc-day-item__i { color:#b8bec3; font-size:12px; font-weight:400; }
.rc-nut { width:100%; border-collapse:collapse; font-size:14px; margin:2px 0 6px; }
.rc-nut td { padding:9px 4px; border-bottom:1px solid hsl(150 18% 92%); color:#33403a; }
.rc-nut td:last-child { text-align:right; font-weight:800; color:#18211c; white-space:nowrap; }
.rc-nut tr.rc-nut__sub td:first-child { padding:4px 4px 9px 22px; color:#9aa0a6; font-size:12.5px; }
.rc-nut tr.rc-nut__sub td:last-child { font-weight:600; color:#6b7280; }

/* AI foto — editovatelný výsledek */
.rc-photo__name { width:100%; box-sizing:border-box; border:1px solid hsl(150 18% 86%); border-radius:8px; padding:7px 9px; font-family:inherit; font-size:14px; font-weight:600; color:#18211c; }
.rc-photo__del { background:none; border:none; color:#c3c8cc; font-size:16px; cursor:pointer; padding:2px 4px; flex:0 0 auto; align-self:center; }
.rc-photo__del:hover { color:#d05070; }
.rc-photo__tools { display:flex; gap:8px; margin:10px 0; }
.rc-photo__tools .rc-btn { flex:1; padding:10px 8px; font-size:13px; }
.rc-photo__add { background:#f6faf7; border:1px solid hsl(150 18% 90%); border-radius:12px; padding:12px; margin-bottom:10px; }
/* AI foto — míra jistoty odhadu */
.rc-conf { font-size:11px; font-weight:700; border-radius:6px; padding:1px 6px; margin-left:6px; white-space:nowrap; }
.rc-conf--lo { background:#fde7cf; color:#a9600a; }
.rc-conf--mid { background:#eef1f3; color:#9aa0a6; }

/* P2 — časování sacharidů kolem tréninku */
.rc-pw__list { display:flex; flex-direction:column; gap:2px; }
.rc-pw__row { display:flex; gap:10px; align-items:flex-start; padding:10px 8px; border-top:1px solid hsl(150 18% 92%); }
.rc-pw__row:first-child { border-top:none; }
.rc-pw__ico { font-size:20px; line-height:1.3; flex:0 0 auto; }
.rc-pw__body { min-width:0; }
.rc-pw__body b { display:block; font-size:14px; color:#18211c; }
.rc-pw__body small { color:#6b7280; font-size:12.5px; line-height:1.45; }

/* P5 — Databáze: oblíbené + mikroživiny */
.rc-foodfav { background:none; border:none; cursor:pointer; font-size:18px; line-height:1; padding:0 8px 0 0; flex:0 0 auto; }
.rc-food__micro { display:block; font-size:11px; color:#9aa0a6; margin-top:2px; }

/* P3 — počasí přepínač u pití */
.rc-water__weather { display:flex; gap:6px; margin:4px 0 10px; flex-wrap:wrap; }

/* P6 — periodizace 7 dní */
.rc-perio { display:flex; flex-direction:column; gap:2px; }
.rc-perio__head, .rc-perio__row { display:grid; grid-template-columns:48px 1fr 1.2fr 48px; gap:6px; align-items:center; padding:7px 8px; font-size:13px; }
.rc-perio__head { color:#9aa0a6; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; }
.rc-perio__row { border-top:1px solid hsl(150 18% 92%); }
.rc-perio__day { font-weight:700; color:#33403a; }
.rc-perio__type { color:#4b5563; }
.rc-perio__carb { font-weight:600; color:#18211c; }
.rc-perio__pct { text-align:right; font-weight:800; color:#9aa0a6; }
.rc-perio__pct.is-ok { color:#15803d; }
.rc-perio__pct.is-low { color:#b8860b; }

/* přidávací modal */
.rc-add-seg { display:flex; gap:6px; margin-bottom:14px; }
.rc-add-segbtn { flex:1; padding:9px; border-radius:10px; border:1px solid hsl(150 18% 88%); background:#fff; color:#4b5563; font-family:inherit; font-weight:700; font-size:13px; cursor:pointer; }
.rc-add-segbtn.is-on { background:#16a34a; border-color:#16a34a; color:#fff; }
.rc-add-list { display:flex; flex-direction:column; gap:6px; max-height:48vh; overflow-y:auto; }
.rc-add-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; border:1px solid hsl(150 18% 90%); border-radius:10px; }
.rc-add-row__main { min-width:0; }
.rc-add-row__main b { font-size:14px; }
.rc-add-row__main small { display:block; color:#9aa0a6; font-size:12px; }
.rc-add-row__act { display:flex; align-items:center; gap:6px; flex:0 0 auto; }
.rc-add-amt { width:58px; padding:7px; border-radius:8px; border:1px solid hsl(150 18% 86%); font-family:inherit; font-size:13px; }
.rc-add-go { padding:7px 12px; font-size:13px; }

/* ── 📈 Progres ── */
.rc-wt-set { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.rc-wt-set input { width:110px; padding:11px 14px; border-radius:12px; border:1px solid hsl(150 18% 86%); font-family:inherit; font-size:20px; font-weight:800; }
.rc-wt-trend { margin-top:14px; }
.rc-spark { width:100%; height:70px; display:block; }
.rc-wt-stats { display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; }
.rc-wt-stats > div { display:flex; flex-direction:column; }
.rc-wt-stats b { font-size:18px; font-weight:800; }
.rc-wt-stats small { color:#9aa0a6; font-size:11px; }
.rc-delta { font-size:18px; font-weight:800; }
.rc-delta.rc-down { color:#16a34a; }
.rc-delta.rc-up { color:#e0883a; }
.rc-wkbars { display:flex; align-items:flex-end; gap:8px; height:130px; margin-bottom:4px; }
.rc-wkbar { flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; height:100%; }
.rc-wkbar__col { flex:1; width:100%; display:flex; align-items:flex-end; background:hsl(150 30% 96%); border-radius:8px 8px 0 0; overflow:hidden; }
.rc-wkbar__fill { width:100%; background:#9bd3ad; border-radius:8px 8px 0 0; transition:height .3s; }
.rc-wkbar__fill.is-hit { background:linear-gradient(180deg,#22c55e,#16a34a); }
.rc-wkbar small { font-size:11px; color:#9aa0a6; }
.rc-wkbar span { font-size:11px; font-weight:700; color:#15803d; }
.rc-wk-axis { text-align:center; font-size:11px; color:#9aa0a6; margin:0 0 12px; }

/* ── Závodní plán ── */
.rc-fuel { display:flex; flex-direction:column; gap:14px; margin-top:4px; }
.rc-fuel__phase { border-radius:16px; padding:18px 20px; border:1px solid hsl(150 18% 88%); background:#fff; box-shadow:0 4px 16px rgba(20,60,40,.06); border-left:5px solid #16a34a; }
.rc-fuel__phase--pre { border-left-color:#f6c453; }
.rc-fuel__phase--race { border-left-color:#16a34a; }
.rc-fuel__phase--post { border-left-color:#4aa3df; }
.rc-fuel__h { font-size:16px; font-weight:800; margin-bottom:6px; }
.rc-fuel__phase p { margin:6px 0; line-height:1.5; color:#33403a; }
.rc-fuel__big { font-size:26px; font-weight:800; color:#15803d; margin:8px 0; }
.rc-fuel__sched { font-size:14px; }
.rc-fuel__note { font-size:13px; color:#6b7280 !important; }
/* výběr více produktů na trať */
.rc-fp-sum { font-size:15px; font-weight:700; margin:6px 0 10px; padding:10px 12px; border-radius:12px; background:#f7faf8; border:1px solid hsl(150 18% 90%); }
.rc-fp-ok { color:#15803d; }
.rc-fp-low { color:#b8860b; }
.rc-fp-list { display:flex; flex-direction:column; gap:6px; }
.rc-fp-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 12px; border:1px solid hsl(150 18% 90%); border-radius:12px; background:#fff; }
.rc-fp-row.is-on { border-color:#16a34a; background:#f2fbf5; }
.rc-fp-main { min-width:0; font-weight:700; font-size:14px; }
.rc-fp-main small { display:block; color:#9aa0a6; font-weight:600; font-size:12px; }
.rc-fp-step { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.rc-fp-step span { min-width:18px; text-align:center; font-weight:800; font-size:16px; }
.rc-fp-btn { width:34px; height:34px; border-radius:9px; border:1px solid hsl(150 18% 84%); background:#eef5f0; color:#15803d; font-size:20px; font-weight:800; cursor:pointer; line-height:1; }
.rc-fp-btn:hover { border-color:#16a34a; background:#e2f3e8; }
/* tempo + splity */
.rc-pace { background:#0f3a25; border-radius:14px; padding:12px 14px; margin-bottom:12px; color:#fff; }
.rc-pace__top { font-size:15px; font-weight:700; }
.rc-pace__top b { color:#7fe6a3; }
.rc-pace__splits { display:flex; gap:8px; overflow-x:auto; margin-top:10px; padding-bottom:2px; }
.rc-pace__s { flex:0 0 auto; background:rgba(255,255,255,.1); border-radius:10px; padding:6px 10px; text-align:center; font-size:12px; color:#cfe9da; }
.rc-pace__s b { display:block; color:#fff; font-size:15px; }
.rc-pace__s small { display:block; color:#7fe6a3; font-weight:700; }
.rc-tl__row--pre { background:#eef9f1; border-radius:10px; }
.rc-tl__row--pre .rc-tl__t { color:#0f7a37; }
.rc-tl__row--caf { background:#fdf5e9; border-radius:10px; }
.rc-tl__row--caf .rc-tl__t { color:#b45309; }
.rc-tl__split { display:flex; align-items:center; gap:10px; margin:8px 2px 2px; color:#6b8478; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; }
.rc-tl__split::before, .rc-tl__split::after { content:""; flex:1; height:1px; background:hsl(150 18% 88%); }
.rc-iontak { margin-top:12px; background:#f2f8fb; border-color:#cfe0ea; }
.rc-iontak .rc-tl__h { color:#2b6da3; }
.rc-fp-ultra { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:#4b5563; margin:0 0 10px; cursor:pointer; }
.rc-fp-ultra input { width:17px; height:17px; }
/* eshop CTA — dokup gely u Davida */
.rc-eshop { margin:14px 0 4px; background:#f0f8f3; border:1px solid #cfe9da; border-radius:14px; padding:14px 16px; }
.rc-eshop__head { font-weight:800; color:#0f3a25; font-size:1.02rem; margin-bottom:4px; }
.rc-eshop__txt { margin:0 0 11px; font-size:0.9rem; color:#4b5f54; line-height:1.5; }
.rc-eshop__btn { display:inline-block; background:#16a34a; color:#fff; font-weight:800; font-size:0.95rem; padding:10px 22px; border-radius:10px; text-decoration:none; }
.rc-eshop__btn:hover { background:#15803d; }
.rc-eshop__hint { margin:11px 0 0; font-size:0.85rem; color:#4b5f54; }
.rc-eshop__more { display:inline-block; margin-left:12px; font-size:0.85rem; color:#15803d; font-weight:700; text-decoration:underline; }
.rc-eshop__rec { display:flex; align-items:center; gap:8px; font-size:0.85rem; font-weight:600; color:#4b5f54; margin:0 0 10px; cursor:pointer; }
.rc-eshop__rec input { width:17px; height:17px; }
.rc-eshop__promo { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:12px; background:#fff7e6; border:1px dashed #e6c34d; border-radius:10px; padding:10px 13px; font-size:0.88rem; color:#7a5a10; line-height:1.45; }
.rc-eshop__copy { background:#f59e0b; color:#fff; border:none; font-weight:800; font-size:0.82rem; padding:8px 13px; border-radius:8px; cursor:pointer; white-space:nowrap; }
.rc-eshop__copy:hover { background:#d97f08; }
/* timeline „kdy co" */
.rc-tl { margin-top:14px; background:#fff; border:1px solid hsl(150 18% 90%); border-radius:14px; padding:12px 14px; }
.rc-tl__head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.rc-tl__h { font-weight:800; font-size:14px; }
.rc-tl__mode { display:flex; gap:4px; }
.rc-tl__modebtn { padding:5px 11px; border-radius:9px; border:1px solid hsl(150 18% 86%); background:#fff; color:#4b5563; font-family:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.rc-tl__modebtn.is-on { background:#16a34a; border-color:#16a34a; color:#fff; }
.rc-tl__row { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px dashed hsl(150 18% 90%); }
.rc-tl__row:last-of-type { border-bottom:none; }
.rc-tl__t { flex:0 0 56px; font-weight:800; color:#15803d; font-variant-numeric:tabular-nums; }
.rc-tl__a { flex:1; font-weight:600; font-size:14px; }
.rc-tl__a small { color:#9aa0a6; font-weight:600; }
.rc-tl__c { flex:0 0 auto; color:#6b7280; font-size:13px; font-weight:700; }

/* ── „Vařilo se tento týden" zeď ── */
.rc-wall { margin-bottom:18px; }
.rc-wall__h { font-size:17px; font-weight:800; margin:0 0 10px; }
.rc-wall__strip { display:flex; gap:12px; overflow-x:auto; padding-bottom:6px; -webkit-overflow-scrolling:touch; }
.rc-wall__card { flex:0 0 160px; background:#fff; border:1px solid hsl(150 18% 88%); border-radius:14px; overflow:hidden; box-shadow:0 3px 12px rgba(20,60,40,.07); cursor:pointer; text-align:left; padding:0; font-family:inherit; }
.rc-wall__card[role="button"]:hover { border-color:#16a34a; }
.rc-wall__img { height:90px; background-size:cover; background-position:center; background:linear-gradient(135deg,#d7f0e0,#eef5f0); display:flex; align-items:center; justify-content:center; font-size:32px; }
.rc-wall__body { padding:8px 10px 10px; }
.rc-wall__top { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
.rc-wall__top .rc-cmt__av { width:24px; height:24px; font-size:12px; }
.rc-wall__top b { font-size:12px; }
.rc-wall__title { font-size:14px; font-weight:800; line-height:1.2; }
.rc-wall__body small { color:#9aa0a6; font-size:11px; }

/* ── Přání na recepty ── */
.rc-req-list { display:flex; flex-direction:column; gap:8px; max-height:50vh; overflow-y:auto; }
.rc-req { display:flex; gap:10px; align-items:flex-start; padding:10px; border:1px solid hsl(150 18% 90%); border-radius:12px; }
.rc-req.is-done { opacity:.6; }
.rc-req__vote { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:46px; padding:6px; border-radius:10px; border:1px solid hsl(150 18% 86%); background:#fff; color:#6b7280; font-family:inherit; font-size:12px; cursor:pointer; line-height:1.1; }
.rc-req__vote b { font-size:15px; color:#18211c; }
.rc-req__vote.is-voted { background:#e6f6ec; border-color:#16a34a; color:#15803d; }
.rc-req__vote.is-voted b { color:#15803d; }
.rc-req__text { font-weight:600; line-height:1.4; }
.rc-req__body small { color:#9aa0a6; font-size:12px; }

/* ── Rozbalovací vysvětlivka (rollup) ── */
.rc-help { background:#f4faf6; border:1px solid hsl(150 22% 88%); border-radius:14px; margin-bottom:16px; overflow:hidden; }
.rc-help summary { cursor:pointer; padding:12px 15px; font-weight:700; font-size:14px; color:#15803d; list-style:none; user-select:none; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.rc-help summary::-webkit-details-marker { display:none; }
.rc-help summary::after { content:'▾'; color:#9aa0a6; font-size:13px; transition:transform .2s; }
.rc-help[open] summary::after { transform:rotate(180deg); }
.rc-help__body { padding:0 15px 13px; }
.rc-help__list { margin:0; padding-left:18px; }
.rc-help__list li { margin:6px 0; line-height:1.55; color:#33403a; font-size:14px; }
.rc-help__body p { margin:6px 0; line-height:1.55; color:#33403a; font-size:14px; }

/* ── Hlavička ── */
.rc-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.rc-title { font-size:28px; font-weight:800; margin:0; letter-spacing:-.02em; }
.rc-sub { color:var(--rc-muted); margin:4px 0 0; font-size:14px; }

/* ── Admin bar ── */
.rc-adminbar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }

/* ── Recept týdne (banner) ── */
.rc-feature {
  position:relative; display:flex; gap:18px; align-items:stretch; margin-bottom:18px;
  background:linear-gradient(120deg, #ffffff, var(--rc-card2)); border:1px solid var(--rc-border);
  border-radius:var(--rc-radius); overflow:hidden; cursor:pointer; box-shadow:var(--rc-shadow); transition:.18s;
}
.rc-feature:hover { box-shadow:var(--rc-shadow-h); transform:translateY(-2px); }
.rc-feature__img { width:200px; flex:0 0 200px; background-size:cover; background-position:center; background-color:#eef5f0; }
.rc-feature__img--ph { display:flex; align-items:center; justify-content:center; font-size:60px; background:linear-gradient(135deg,#d7f0e0,#eef5f0); }
.rc-feature__body { padding:18px 20px; display:flex; flex-direction:column; gap:6px; justify-content:center; }
.rc-feature__kicker { color:var(--rc-green); font-weight:800; font-size:13px; letter-spacing:.04em; text-transform:uppercase; }
.rc-feature__title { font-size:24px; font-weight:800; margin:0; }
.rc-feature__desc { color:var(--rc-muted); margin:0; font-size:14px; line-height:1.45; }
.rc-feature__meta { display:flex; gap:14px; font-size:13px; color:var(--rc-muted); margin-top:6px; }

/* ── Toolbar (hledání + kategorie) ── */
.rc-toolbar { margin-bottom:18px; }
.rc-search {
  width:100%; box-sizing:border-box; padding:13px 16px; border-radius:14px;
  background:var(--rc-card); border:1px solid var(--rc-border); color:var(--rc-text);
  font-size:15px; font-family:inherit; margin-bottom:12px; box-shadow:var(--rc-shadow);
}
.rc-search:focus { outline:none; border-color:var(--rc-green); }
.rc-chips { display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; -webkit-overflow-scrolling:touch; }
.rc-chips + .rc-chips { margin-top:8px; }
.rc-chip {
  flex:0 0 auto; padding:8px 14px; border-radius:999px; cursor:pointer;
  background:var(--rc-card); border:1px solid var(--rc-border); color:var(--rc-muted);
  font-family:inherit; font-size:13px; font-weight:600; white-space:nowrap; transition:.15s;
}
.rc-chip:hover { color:var(--rc-text); border-color:var(--rc-green); }
.rc-chip.is-active { background:var(--rc-green); border-color:var(--rc-green); color:#fff; }
.rc-chip--runner.is-active { background:var(--rc-green-t); border-color:var(--rc-green-t); }
.rc-chips-label { font-size:12px; font-weight:700; color:var(--rc-muted); margin:0 0 6px; }

/* ── Bento grid ── */
.rc-grid {
  display:grid; gap:16px;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
}
.rc-card {
  position:relative; text-align:left; cursor:pointer; overflow:hidden;
  background:var(--rc-card); border:1px solid var(--rc-border); border-radius:var(--rc-radius);
  padding:0; color:var(--rc-text); font-family:inherit;
  box-shadow:var(--rc-shadow); transition:transform .18s, border-color .18s, box-shadow .18s;
  display:flex; flex-direction:column;
}
.rc-card:hover { transform:translateY(-3px); border-color:var(--rc-green); box-shadow:var(--rc-shadow-h); }
.rc-card:focus-visible { outline:2px solid var(--rc-green); outline-offset:2px; }
.rc-card__cover { position:relative; }
.rc-card__img { height:150px; background-size:cover; background-position:center; background-color:#eef5f0; }
.rc-card__img--ph {
  display:flex; align-items:center; justify-content:center; font-size:54px;
  background:linear-gradient(135deg, #d7f0e0, #eef5f0);
}
.rc-card__body { padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.rc-card__cat { font-size:12px; color:var(--rc-green-t); font-weight:800; }
.rc-card__title { font-size:18px; font-weight:800; margin:0; line-height:1.2; }
.rc-card__desc { font-size:13px; color:var(--rc-muted); margin:0; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rc-card__meta { display:flex; gap:12px; font-size:13px; color:var(--rc-muted); margin-top:auto; padding-top:6px; align-items:center; flex-wrap:wrap; }
.rc-card__rating { color:var(--rc-gold); font-weight:700; }
.rc-card__cooked { color:var(--rc-green-t); font-weight:700; }
.rc-card__tags { display:flex; gap:6px; flex-wrap:wrap; }
.rc-tag { font-size:11px; padding:3px 8px; border-radius:999px; background:var(--rc-card2); color:var(--rc-green-t); border:1px solid var(--rc-border); font-weight:600; }

/* ── Odznaky na kartě (uvnitř .rc-card__cover = relativně k obrázku) ── */
.rc-badge { position:absolute; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:800; box-shadow:0 2px 6px rgba(0,0,0,.12); }
.rc-badge--pin { top:10px; left:10px; background:var(--rc-green-t); color:#fff; }
.rc-badge--draft { top:10px; left:10px; background:#fde68a; color:#7a5a00; }
.rc-badge--lock { bottom:10px; left:10px; background:linear-gradient(135deg,#e9c46a,#f6e27a); color:#5a4500; }
.rc-badge--free { bottom:10px; left:10px; background:var(--rc-green); color:#fff; }
.rc-fav-btn { position:absolute; top:8px; right:8px; width:34px; height:34px; border-radius:50%; border:none; background:rgba(255,255,255,.92); color:#bbb; font-size:17px; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.15); z-index:2; line-height:34px; }
.rc-fav-btn.is-fav { color:#e63946; }

/* ── Prázdný stav ── */
.rc-empty { text-align:center; padding:60px 20px; color:var(--rc-muted); }
.rc-empty-emoji { font-size:52px; margin-bottom:10px; }

/* ── Tlačítka ── */
/* Tlačítka — natvrdo barvy (NEzávislé na CSS proměnných), ať jsou vidět
   všude včetně modalů. */
.rc-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:10px 16px; border-radius:12px; cursor:pointer; font-family:inherit;
  font-size:14px; font-weight:700; border:1px solid hsl(150 18% 86%);
  background:#ffffff; color:#18211c; transition:.15s;
}
.rc-btn:hover { border-color:#16a34a; }
.rc-btn--primary { background:#16a34a; border-color:#16a34a; color:#fff; }
.rc-btn--primary:hover { background:#0f7a37; box-shadow:0 4px 14px rgba(22,163,74,.3); }
.rc-btn--ghost { background:hsl(150 30% 97%); }
.rc-btn--lg { padding:14px 22px; font-size:16px; width:100%; }
.rc-link { background:none; border:none; color:#15803d; cursor:pointer; font-family:inherit; font-size:13px; font-weight:700; padding:4px 8px; }
.rc-link--danger { color:#dc2626; }
.rc-muted { color:var(--rc-muted); }

/* ════ DETAIL ════ */
.rc-detail { padding-top:0; }
.rc-back { background:none; border:none; color:var(--rc-muted); cursor:pointer; font-family:inherit; font-size:14px; font-weight:600; padding:10px 0; }
.rc-back:hover { color:var(--rc-green-t); }
.rc-detail__cover { position:relative; height:230px; border-radius:var(--rc-radius); background-size:cover; background-position:center; background-color:#eef5f0; margin-bottom:18px; box-shadow:var(--rc-shadow); }
.rc-detail__cover--ph { display:flex; align-items:center; justify-content:center; font-size:80px; background:linear-gradient(135deg,#d7f0e0,#eef5f0); }
.rc-cover-upl { position:absolute; right:12px; bottom:12px; z-index:2; border:none; border-radius:999px; padding:9px 16px; font-size:14px; font-weight:700; cursor:pointer; background:rgba(0,0,0,.62); color:#fff; backdrop-filter:blur(4px); box-shadow:0 2px 10px rgba(0,0,0,.25); }
.rc-cover-upl:hover { background:rgba(0,0,0,.78); }
.rc-cover-upl:disabled { opacity:.7; cursor:default; }
.rc-detail__head { margin-bottom:18px; }
.rc-detail__title { font-size:30px; font-weight:800; margin:8px 0 6px; letter-spacing:-.02em; }
.rc-detail__tagline { color:var(--rc-muted); font-size:15px; margin:0 0 10px; line-height:1.5; }
.rc-detail__meta { display:flex; gap:16px; flex-wrap:wrap; font-size:14px; color:var(--rc-muted); align-items:center; }
.rc-detail__actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }

/* Hvězdy + uvařeno */
.rc-rating { display:inline-flex; align-items:center; gap:8px; }
.rc-stars { display:inline-flex; gap:2px; }
.rc-star { cursor:pointer; font-size:22px; color:#d6d6d6; background:none; border:none; padding:0; line-height:1; }
.rc-star.is-on { color:var(--rc-gold); }
.rc-rating__num { font-size:13px; color:var(--rc-muted); }

/* Porce stepper */
.rc-portions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; background:var(--rc-card); border:1px solid var(--rc-border); border-radius:14px; padding:12px 16px; margin-bottom:14px; box-shadow:var(--rc-shadow); }
.rc-portions__label { font-weight:700; }
.rc-stepper { display:flex; align-items:center; gap:4px; }
.rc-step-btn { width:38px; height:38px; border-radius:10px; border:1px solid var(--rc-border); background:var(--rc-card2); color:var(--rc-text); font-size:22px; cursor:pointer; font-family:inherit; line-height:1; }
.rc-step-btn:hover { border-color:var(--rc-green); color:var(--rc-green-t); }
.rc-stepper__val { min-width:44px; text-align:center; font-size:20px; font-weight:800; }
.rc-reset { background:none; border:none; color:var(--rc-muted); cursor:pointer; font-family:inherit; font-size:13px; }
.rc-portions__shop { margin-left:auto; }

/* Timing chip */
.rc-timing { display:inline-flex; align-items:center; gap:6px; background:var(--rc-card2); border:1px solid var(--rc-border); border-radius:999px; padding:5px 12px; font-size:13px; font-weight:700; color:var(--rc-green-t); }

/* Sekce */
.rc-sec { background:var(--rc-card); border:1px solid var(--rc-border); border-radius:var(--rc-radius); padding:18px 20px; margin-bottom:16px; box-shadow:var(--rc-shadow); }
.rc-sec__h { font-size:18px; font-weight:800; margin:0 0 14px; display:flex; align-items:center; justify-content:space-between; gap:10px; }

.rc-ings { list-style:none; margin:0; padding:0; }
.rc-ing { display:flex; gap:12px; padding:9px 0; border-bottom:1px dashed var(--rc-border); align-items:center; cursor:pointer; }
.rc-ing:last-child { border-bottom:none; }
.rc-ing__chk { width:20px; height:20px; flex:0 0 auto; border:2px solid var(--rc-border); border-radius:6px; display:inline-flex; align-items:center; justify-content:center; font-size:13px; color:#fff; }
.rc-ing.is-done .rc-ing__chk { background:var(--rc-green); border-color:var(--rc-green); }
.rc-ing.is-done .rc-ing__name, .rc-ing.is-done .rc-ing__amt { text-decoration:line-through; opacity:.5; }
.rc-ing__amt { min-width:92px; font-weight:800; color:var(--rc-green-t); }
.rc-ing__name { color:var(--rc-text); }

.rc-steps { list-style:none; margin:0; padding:0; }
.rc-step { display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--rc-border); }
.rc-step:last-child { border-bottom:none; }
.rc-step__num { flex:0 0 auto; width:30px; height:30px; border-radius:50%; background:var(--rc-green); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; }
.rc-step__title { font-weight:800; font-size:16px; margin-bottom:4px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.rc-step__text { margin:0; line-height:1.55; color:#33403a; }
.rc-step-timer { font-size:12px; font-weight:700; color:var(--rc-green-t); background:var(--rc-card2); padding:2px 9px; border-radius:999px; border:1px solid var(--rc-border); }

.rc-tips .rc-tip { margin-bottom:14px; }
.rc-tips .rc-tip:last-child { margin-bottom:0; }
.rc-tip h3 { font-size:15px; margin:0 0 6px; }
.rc-tip p { margin:0; color:#3a463f; line-height:1.55; }

/* Nutrice + makra */
.rc-nutri__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:16px; }
.rc-nutri__box { background:var(--rc-card2); border:1px solid var(--rc-border); border-radius:12px; padding:12px 8px; text-align:center; }
.rc-nutri__emo { display:block; font-size:20px; }
.rc-nutri__box b { display:block; font-size:20px; font-weight:800; margin:2px 0; }
.rc-nutri__box small { color:var(--rc-muted); font-size:11px; }
.rc-macrobar { display:flex; height:14px; border-radius:999px; overflow:hidden; margin:4px 0 8px; border:1px solid var(--rc-border); }
.rc-macrobar__seg { height:100%; }
.rc-macro--p { background:#ef476f; }
.rc-macro--c { background:#16a34a; }
.rc-macro--f { background:#f6c453; }
.rc-macro-legend { display:flex; gap:16px; flex-wrap:wrap; font-size:13px; color:var(--rc-muted); }
.rc-macro-legend i { width:10px; height:10px; border-radius:3px; display:inline-block; margin-right:5px; }
.rc-carbkg { margin-top:14px; padding-top:14px; border-top:1px solid var(--rc-border); display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:14px; }
.rc-carbkg input { width:70px; padding:7px 10px; border-radius:9px; border:1px solid var(--rc-border); font-family:inherit; font-size:14px; }
.rc-carbkg__val { font-weight:800; color:var(--rc-green-t); }
.rc-carbkg__hint { font-size:12px; color:var(--rc-muted); flex-basis:100%; }

.rc-cook-cta { margin-bottom:16px; }
.rc-edit { margin-top:8px; }

/* ── Paywall (nečlen) ── */
.rc-paywall { text-align:center; background:linear-gradient(160deg,#eafaf0,#ffffff); border:1px solid var(--rc-green); border-radius:var(--rc-radius); padding:40px 24px; box-shadow:var(--rc-shadow); }
.rc-paywall__crown { font-size:52px; }
.rc-paywall h2 { font-size:22px; margin:8px 0; }
.rc-paywall p { color:var(--rc-muted); max-width:420px; margin:0 auto 20px; line-height:1.5; }

/* ── Komentáře ── */
.rc-comments { }
.rc-cmt-form { display:flex; gap:10px; margin-bottom:16px; }
.rc-cmt-form textarea { flex:1; padding:10px 12px; border-radius:12px; border:1px solid var(--rc-border); font-family:inherit; font-size:14px; resize:vertical; min-height:42px; }
.rc-cmt { display:flex; gap:10px; padding:12px 0; border-top:1px solid var(--rc-border); }
.rc-cmt__av { width:36px; height:36px; border-radius:50%; background:var(--rc-card2); flex:0 0 auto; display:flex; align-items:center; justify-content:center; font-weight:800; color:var(--rc-green-t); background-size:cover; }
.rc-cmt__body { flex:1; }
.rc-cmt__head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.rc-cmt__name { font-weight:800; font-size:14px; }
.rc-cmt__time { font-size:12px; color:var(--rc-muted); }
.rc-cmt__text { margin:3px 0 6px; line-height:1.5; }
.rc-cmt__like { background:none; border:none; cursor:pointer; color:var(--rc-muted); font-family:inherit; font-size:13px; font-weight:700; padding:0; }
.rc-cmt__like.is-liked { color:#e63946; }
.rc-cmt__del { background:none; border:none; cursor:pointer; color:var(--rc-muted); font-size:13px; margin-left:10px; }

/* ════ COOKING MODE (fullscreen, SVĚTLÝ) ════ */
.rc-cook {
  position:fixed; inset:0; z-index:9000; background:#f7faf8;
  display:flex; flex-direction:column;
  font-family:'Baloo 2', system-ui, sans-serif; color:#18211c;
  padding-top:env(safe-area-inset-top, 0px); padding-bottom:env(safe-area-inset-bottom, 0px);
}
.rc-cook__bar { height:6px; background:#e3ece7; }
.rc-cook__progress { height:100%; background:linear-gradient(90deg,#16a34a,#22c55e); transition:width .3s; }
.rc-cook__top { display:flex; align-items:center; gap:12px; padding:14px 20px; border-bottom:1px solid #e3ece7; background:#fff; }
.rc-cook__count { font-weight:800; color:#16a34a; }
.rc-cook__recipe { color:#6b7280; font-size:14px; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rc-cook__close { width:40px; height:40px; border-radius:10px; border:none; background:#eef5f0; color:#18211c; font-size:24px; cursor:pointer; line-height:1; }
.rc-cook__main { flex:1; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:24px clamp(20px,6vw,80px); overflow-y:auto; }
.rc-cook__title { font-size:clamp(26px,5vw,42px); font-weight:800; margin:0 0 22px; }
.rc-cook__text { font-size:clamp(19px,3vw,28px); line-height:1.55; max-width:760px; margin:0; color:#2a352f; }
.rc-cook__done-chk { margin-top:24px; }
.rc-cook__done-chk button { background:#eef5f0; border:1px solid #d3e6db; border-radius:12px; padding:12px 20px; font-family:inherit; font-size:16px; font-weight:700; cursor:pointer; color:#15803d; }
.rc-cook__done-chk button.is-done { background:#16a34a; color:#fff; border-color:#16a34a; }
.rc-cook__timer { margin-top:28px; display:flex; flex-direction:column; align-items:center; gap:14px; }
.rc-cook__timer-disp { font-size:clamp(40px,9vw,72px); font-weight:800; font-variant-numeric:tabular-nums; color:#16a34a; }
.rc-cook__timer-disp.is-done { color:#16a34a; }
.rc-cook__nav { display:flex; gap:12px; padding:16px 20px; border-top:1px solid #e3ece7; background:#fff; }
.rc-cook__navbtn { flex:1; padding:18px; border-radius:14px; border:1px solid #d3e6db; background:#eef5f0; color:#18211c; font-family:inherit; font-size:17px; font-weight:800; cursor:pointer; }
.rc-cook__navbtn:disabled { opacity:.4; cursor:default; }
.rc-cook__navbtn--next, .rc-cook__navbtn--done { background:#16a34a; border-color:#16a34a; color:#fff; }
.rc-cook__navbtn--next:hover, .rc-cook__navbtn--done:hover { background:#0f7a37; }
.rc-cook__wake { margin:0 20px 14px; padding:10px; border-radius:12px; border:1px dashed #cdddd4; background:none; color:#6b7280; font-family:inherit; font-size:13px; cursor:pointer; }

/* ════ ADMIN modal (světlý) ════ */
.rc-adm { position:fixed; inset:0; z-index:9100; display:none; }
.rc-adm.is-open { display:block; }
.rc-adm__backdrop { position:absolute; inset:0; background:rgba(20,40,30,.45); }
.rc-adm__dialog {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(640px, 94vw); max-height:92vh; overflow:hidden;
  background:#fff; border:1px solid var(--rc-border, hsl(150 18% 88%)); border-radius:18px;
  display:flex; flex-direction:column; color:#18211c; font-family:'Baloo 2',system-ui,sans-serif;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  padding-top:env(safe-area-inset-top, 0px);
}
.rc-adm__head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid hsl(150 18% 90%); font-size:17px; font-weight:800; }
.rc-adm__x { width:36px; height:36px; border-radius:9px; border:none; background:#eef5f0; color:#18211c; font-size:22px; cursor:pointer; line-height:1; }
.rc-adm__body { padding:18px 20px; overflow-y:auto; -webkit-overflow-scrolling:touch; }

.rc-af { margin-bottom:12px; }
.rc-af label { display:block; font-size:13px; font-weight:700; color:#4b5563; margin-bottom:5px; }
.rc-af input, .rc-af select, .rc-af textarea {
  width:100%; box-sizing:border-box; padding:10px 12px; border-radius:10px;
  background:#fff; border:1px solid hsl(150 18% 86%); color:#18211c; font-family:inherit; font-size:14px;
}
.rc-af input:focus, .rc-af select:focus, .rc-af textarea:focus { outline:none; border-color:#16a34a; }
.rc-af-row { display:flex; gap:12px; }
.rc-af-row > .rc-af { flex:1; }
.rc-af-row--4 { flex-wrap:wrap; }
.rc-af-row--4 > .rc-af { flex:1 1 calc(50% - 6px); }
.rc-af-status { font-size:12px; color:#15803d; }
.rc-af-h { font-size:15px; font-weight:800; margin:20px 0 8px; display:flex; align-items:center; justify-content:space-between; }
.rc-af-add { background:#16a34a; border:none; color:#fff; border-radius:8px; padding:5px 12px; font-family:inherit; font-size:13px; font-weight:700; cursor:pointer; }
/* ── Prominentní karta „cílový čas + vzdálenost" v závodním plánu ── */
.rc-race { background:linear-gradient(135deg,#f0f9f3,#eafaf0); border:1.5px solid #bfe6cf; border-radius:16px; padding:16px; margin:0 0 14px; }
.rc-race__grid { display:flex; gap:16px; flex-wrap:wrap; }
.rc-race__col { flex:1 1 240px; min-width:0; }
.rc-race__lab { display:block; font-size:12px; font-weight:800; color:#0f3a25; margin-bottom:8px; text-transform:uppercase; letter-spacing:0.03em; }
.rc-time { display:flex; align-items:flex-start; gap:10px; }
.rc-tp { display:flex; flex-direction:column; align-items:center; gap:4px; }
.rc-tp__box { display:flex; flex-direction:column; align-items:center; width:72px; background:#fff; border:1.5px solid #cfe9da; border-radius:12px; overflow:hidden; }
.rc-tp__box:focus-within { border-color:#16a34a; box-shadow:0 0 0 3px rgba(22,163,74,.15); }
.rc-tp__arr { width:100%; border:none; background:#f4faf6; color:#15803d; font-size:13px; padding:11px 0; cursor:pointer; line-height:1; user-select:none; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.rc-tp__arr:hover { background:#dcf0e3; }
.rc-tp__arr:active { background:#16a34a; color:#fff; }
.rc-tp__in { width:100%; box-sizing:border-box; text-align:center; border:none; background:transparent; color:#0f3a25; font-family:inherit; font-size:25px; font-weight:800; padding:7px 0; -moz-appearance:textfield; }
.rc-tp__in::-webkit-outer-spin-button, .rc-tp__in::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.rc-tp__in:focus { outline:none; }
.rc-tp__u { font-size:12px; font-weight:800; color:#5b7567; text-transform:uppercase; letter-spacing:0.04em; }
.rc-dist__chip--custom { color:#0f3a25; border-style:dashed; }
.rc-dist__in { width:100%; box-sizing:border-box; padding:12px; border-radius:12px; background:#fff; border:1.5px solid #cfe9da; color:#0f3a25; font-family:inherit; font-size:22px; font-weight:800; text-align:center; -moz-appearance:textfield; }
.rc-dist__in::-webkit-outer-spin-button, .rc-dist__in::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.rc-dist__in:focus { outline:none; border-color:#16a34a; box-shadow:0 0 0 3px rgba(22,163,74,.15); }
.rc-dist__presets { display:flex; gap:6px; margin-top:8px; flex-wrap:wrap; }
.rc-dist__chip { flex:1 1 auto; padding:9px 8px; border-radius:10px; background:#fff; border:1.5px solid #cfe9da; color:#15803d; font-family:inherit; font-size:12.5px; font-weight:800; cursor:pointer; white-space:nowrap; }
.rc-dist__chip:hover { border-color:#16a34a; }
.rc-dist__chip.is-on { background:#16a34a; border-color:#16a34a; color:#fff; }
.rc-race__pace { margin-top:14px; padding:12px 16px; border-radius:12px; background:#fff; border:1px dashed #cfe9da; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.rc-race__pace.is-on { background:#0f3a25; border:1px solid #0f3a25; }
.rc-race__pace-big { font-size:25px; font-weight:900; color:#fff; font-family:inherit; line-height:1; }
.rc-race__pace-sub { font-size:13px; font-weight:700; color:#7fe6a3; }
.rc-race__pace-hint { font-size:13px; color:#5b7567; font-weight:600; }
.rc-af-hint { font-size:12px; color:#6b7280; margin:0 0 10px; line-height:1.4; }
.rc-af-hint code { background:#eef5f0; padding:1px 5px; border-radius:5px; color:#15803d; }
.rc-af-chk { display:flex; align-items:center; gap:8px; margin:14px 0; font-size:14px; cursor:pointer; }
.rc-af-chk input { width:18px; height:18px; }
.rc-af-pills { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.rc-af-pill { padding:7px 12px; border-radius:999px; border:1px solid hsl(150 18% 86%); background:#fff; color:#4b5563; font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.rc-af-pill.is-on { background:#16a34a; border-color:#16a34a; color:#fff; }

.rc-af-rows { display:flex; flex-direction:column; gap:8px; }
.rc-irow { display:grid; grid-template-columns:1fr 90px 80px 70px 34px 34px; gap:6px; align-items:center; }
.rc-irow input, .rc-irow select { padding:8px; border-radius:8px; background:#fff; border:1px solid hsl(150 18% 86%); color:#18211c; font-family:inherit; font-size:13px; box-sizing:border-box; width:100%; }
.rc-irow__del, .rc-irow__up { height:34px; border-radius:8px; border:1px solid hsl(150 18% 86%); background:#eef5f0; color:#6b7280; cursor:pointer; font-size:13px; }
.rc-irow__del:hover { color:#dc2626; }

.rc-srow { background:#f7faf8; border:1px solid hsl(150 18% 88%); border-radius:10px; padding:10px; }
.rc-srow__top { display:grid; grid-template-columns:26px 1fr 110px 34px 34px; gap:6px; align-items:center; margin-bottom:6px; }
.rc-srow__n { font-weight:800; color:#15803d; font-size:13px; }
.rc-srow input { padding:8px; border-radius:8px; background:#fff; border:1px solid hsl(150 18% 86%); color:#18211c; font-family:inherit; font-size:13px; box-sizing:border-box; width:100%; }
.rc-srow textarea { width:100%; box-sizing:border-box; padding:8px; border-radius:8px; background:#fff; border:1px solid hsl(150 18% 86%); color:#18211c; font-family:inherit; font-size:13px; resize:vertical; }
.rc-srow__del, .rc-srow__up { height:34px; border-radius:8px; border:1px solid hsl(150 18% 86%); background:#eef5f0; color:#6b7280; cursor:pointer; font-size:13px; }
.rc-srow__del:hover { color:#dc2626; }

.rc-adm-rows { display:flex; flex-direction:column; gap:8px; }
.rc-adm-row { display:flex; align-items:center; justify-content:space-between; gap:10px; background:#f7faf8; border:1px solid hsl(150 18% 88%); border-radius:10px; padding:10px 14px; }
.rc-adm-row__btns { display:flex; gap:4px; flex:0 0 auto; }

/* ── Nákupní seznam / sdílení modal (reuse rc-adm) ── */
.rc-shop-list { list-style:none; margin:0 0 14px; padding:0; }
.rc-shop-item { display:flex; gap:10px; align-items:center; padding:9px 0; border-bottom:1px solid hsl(150 18% 90%); cursor:pointer; }
.rc-shop-item__chk { width:20px; height:20px; border:2px solid hsl(150 18% 80%); border-radius:6px; display:inline-flex; align-items:center; justify-content:center; color:#fff; font-size:13px; flex:0 0 auto; }
.rc-shop-item.is-done .rc-shop-item__chk { background:#16a34a; border-color:#16a34a; }
.rc-shop-item.is-done .rc-shop-item__txt { text-decoration:line-through; opacity:.5; }
.rc-shop-item__amt { font-weight:800; color:#15803d; min-width:80px; }

/* ── Mobil ── */
@media (max-width:640px) {
  .rc-feature { flex-direction:column; }
  .rc-feature__img { width:100%; flex:0 0 150px; height:150px; }
}
@media (max-width:560px) {
  .rc-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .rc-card__img { height:120px; }
  .rc-card__title { font-size:15px; }
  .rc-nutri__grid { grid-template-columns:1fr 1fr; }
  .rc-irow { grid-template-columns:1fr 70px 64px 34px 34px; }
  .rc-irow .rc-i-id { display:none; }
  .rc-srow__top { grid-template-columns:22px 1fr 34px 34px; }
  .rc-srow__top .rc-s-timer { display:none; }
}
@media (max-width:560px) {
  .rc-food { flex-direction:column; align-items:flex-start; gap:8px; }
  .rc-food__macros { flex-wrap:wrap; }
  .rc-food__kcal { min-width:0; text-align:left; }
}
@media (max-width:380px) {
  .rc-grid { grid-template-columns:1fr; }
}

/* 💚 Davidova filozofie výživy — sbalitelná karta */
.rc-philo { background:linear-gradient(135deg,#effaf1,#f6fbf4); border:1px solid #bfe6cb; padding:0; overflow:hidden; }
.rc-philo__sum { list-style:none; cursor:pointer; padding:15px 18px; font-weight:800; font-size:16px; color:var(--rc-green-t); display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; }
.rc-philo__sum::-webkit-details-marker { display:none; }
.rc-philo__sum::after { content:'▾'; margin-left:auto; transition:transform .2s; color:var(--rc-green); font-size:14px; }
.rc-philo[open] .rc-philo__sum::after { transform:rotate(180deg); }
.rc-philo__hint { font-weight:600; font-size:12.5px; color:var(--rc-muted); }
.rc-philo__body { padding:2px 18px 16px; }
.rc-philo__body p { margin:0 0 11px; font-size:14px; line-height:1.6; color:var(--rc-text); }
.rc-philo__body p:last-child { margin-bottom:0; }
.rc-philo__body b { color:var(--rc-green-d); }
.rc-philo__foot { background:#fff; border:1px dashed #bfe6cb; border-radius:12px; padding:10px 12px; margin-top:4px !important; }
.rc-philo__foot b { color:var(--rc-text); }
.rc-philo__basics { margin-top:14px; padding-top:14px; border-top:1px solid #cdead6; }
.rc-philo__basics-h { font-weight:800; font-size:14px; color:var(--rc-green-t); margin-bottom:8px; }
.rc-philo__list { margin:0; padding-left:2px; list-style:none; }
.rc-philo__list li { font-size:13.5px; line-height:1.55; color:var(--rc-text); margin-bottom:8px; }
.rc-philo__list li:last-child { margin-bottom:0; }
.rc-philo__list b { color:var(--rc-green-d); }
.rc-cal__note { margin-top:7px; font-size:11.5px; line-height:1.45; color:var(--rc-muted); }
.rc-sub--note { font-size:12.5px !important; color:var(--rc-green-t) !important; font-weight:600; margin-top:6px !important; }

/* ── Design review 5. 7. 2026 — Můj den 2 sloupce, váha výzva, DB stránkování ── */
/* Můj den na desktopu: přehled+bilance vlevo, sacharidy kolem tréninku+pití vpravo */
.rc-day-cols, .rc-day-col { display: contents; } /* mobil: sekce tečou pod sebou beze změny */
@media (min-width: 1000px) {
  .rc-day-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
  .rc-day-col { display: block; min-width: 0; }
}
/* Výzva k zápisu váhy (graf až od 3 zápisů) */
.rc-wt-challenge { margin-top: 12px; padding: 12px 14px; background: hsl(142 55% 96%); border: 1px dashed hsl(142 45% 70%); border-radius: 12px; font-size: 13.5px; line-height: 1.55; color: hsl(150 25% 22%); }
/* Databáze: tlačítko „Zobrazit dalších X" */
.rc-food-more { display: block; width: 100%; margin-top: 10px; text-align: center; }
/* Podřazená řada chipů „Kdy jíst" */
.rc-chips--sub { margin-top: 8px; }

/* ── Proužek plnění v Periodizaci (Progres) ── */
.rc-perio__bar { display:block; height:5px; margin-top:4px; background:var(--rc-card2); border-radius:999px; overflow:hidden; }
.rc-perio__bar span { display:block; height:100%; border-radius:999px; }
.rc-perio__bar .is-ok  { background:#16a34a; }
.rc-perio__bar .is-mid { background:#f59e0b; }
.rc-perio__bar .is-low { background:#dc2626; }

/* ============================================================
   🌙 TMAVÁ VÝŽIVA (design review 5. 7. 2026)
   Jádro = přepnutí --rc-* tokenů; níže dočištění míst,
   která měla barvy natvrdo (bílé podklady, šedé texty).
   ============================================================ */
body.mu-dark .rc-wrap,
body.mu-dark .rc-adm {
  --rc-card: hsl(158 26% 9%);
  --rc-card2: hsl(158 30% 12%);
  --rc-green-t: hsl(142 70% 62%);
  --rc-text: hsl(150 20% 96%);
  --rc-muted: hsl(150 10% 64%);
  --rc-border: hsl(155 18% 16%);
  --rc-shadow: none;
  --rc-shadow-h: 0 10px 28px rgba(0,0,0,.45);
  --rc-gold: hsl(42 85% 62%);
}

/* Bílé podklady → karta */
body.mu-dark .rc-subtab, body.mu-dark .rc-search, body.mu-dark .rc-chip, body.mu-dark .rc-btn,
body.mu-dark .rc-add-segbtn, body.mu-dark .rc-af-pill, body.mu-dark .rc-bal-bufbtn,
body.mu-dark .rc-cook__nav, body.mu-dark .rc-cook__top, body.mu-dark .rc-day-arrow,
body.mu-dark .rc-day-item__del, body.mu-dark .rc-day-today, body.mu-dark .rc-dist__chip,
body.mu-dark .rc-dist__in, body.mu-dark .rc-food, body.mu-dark .rc-fp-row,
body.mu-dark .rc-fuel__phase, body.mu-dark .rc-glass-size, body.mu-dark .rc-irow,
body.mu-dark .rc-meal, body.mu-dark .rc-meal-move, body.mu-dark .rc-meal__save,
body.mu-dark .rc-philo__foot, body.mu-dark .rc-qa, body.mu-dark .rc-race__pace,
body.mu-dark .rc-req__vote, body.mu-dark .rc-smart__tip, body.mu-dark .rc-soon,
body.mu-dark .rc-srow, body.mu-dark .rc-tl, body.mu-dark .rc-tl__modebtn,
body.mu-dark .rc-tp__box, body.mu-dark .rc-wall__card, body.mu-dark .rc-card,
body.mu-dark .rc-af input, body.mu-dark .rc-af select, body.mu-dark .rc-af textarea,
body.mu-dark .rc-day-item, body.mu-dark .rc-add-row, body.mu-dark .rc-eshop__promo {
  background: var(--rc-card);
  border-color: var(--rc-border);
  color: var(--rc-text);
}
/* Světle tónované podklady → karta2 */
body.mu-dark .rc-adm-row, body.mu-dark .rc-bal-box, body.mu-dark .rc-bal-col,
body.mu-dark .rc-day-tile, body.mu-dark .rc-help, body.mu-dark .rc-recent,
body.mu-dark .rc-tp__arr, body.mu-dark .rc-wkbar__col, body.mu-dark .rc-di__act,
body.mu-dark .rc-eshop, body.mu-dark .rc-eshop__copy, body.mu-dark .rc-fp-sum,
body.mu-dark .rc-goal-edit__tag, body.mu-dark .rc-photo__add, body.mu-dark .rc-sweat-btn,
body.mu-dark .rc-meal__nudge, body.mu-dark .rc-btn--ghost, body.mu-dark .rc-day-nav {
  background: var(--rc-card2);
  border-color: var(--rc-border);
  color: var(--rc-text);
}
/* Aktivní/značkové stavy zůstávají zelené s bílým textem */
body.mu-dark .rc-subtab.is-active, body.mu-dark .rc-chip.is-active,
body.mu-dark .rc-af-pill.is-on, body.mu-dark .rc-dist__chip.is-on,
body.mu-dark .rc-add-segbtn.is-on, body.mu-dark .rc-bal-bufbtn.is-on,
body.mu-dark .rc-btn--primary {
  background: #16a34a; border-color: #16a34a; color: #fff;
}
/* Texty, které měly šedou natvrdo */
body.mu-dark .rc-sec__h, body.mu-dark .rc-title, body.mu-dark .rc-meal__title,
body.mu-dark .rc-card__title, body.mu-dark .rc-feature__title,
body.mu-dark .rc-day-item__main b, body.mu-dark .rc-add-row__main b { color: var(--rc-text); }
body.mu-dark .rc-af label, body.mu-dark .rc-race__lab, body.mu-dark .rc-chips-label,
body.mu-dark .rc-meal__sub, body.mu-dark .rc-wk-axis, body.mu-dark .rc-af-hint,
body.mu-dark .rc-muted, body.mu-dark .rc-food__per, body.mu-dark .rc-food__micro { color: var(--rc-muted); }
/* Zelené informační boxy (nudge, výzva k váze, souhrn) */
body.mu-dark .rc-wt-challenge, body.mu-dark .rc-coachnote, body.mu-dark .rc-iontak,
body.mu-dark .rc-reds { background: hsl(150 35% 11%); border-color: hsl(150 30% 22%); color: hsl(150 15% 86%); }
/* Feature banner receptu týdne (gradient z bílé) */
body.mu-dark .rc-feature { background: linear-gradient(120deg, var(--rc-card), var(--rc-card2)); border-color: var(--rc-border); }
/* Placeholder obrázku receptu */
body.mu-dark .rc-card__img { background-color: var(--rc-card2); }
/* Modal (admin i členské dialogy) */
body.mu-dark .rc-adm__dialog { background: var(--rc-card); border-color: var(--rc-border); color: var(--rc-text); }
body.mu-dark .rc-adm__x { background: var(--rc-card2); color: var(--rc-text); }
/* Tabulky (periodizace, nutriční hodnoty v detailu) */
body.mu-dark .rc-perio__row, body.mu-dark .rc-perio__head { border-color: var(--rc-border); }
body.mu-dark .rc-nut__sub td { color: var(--rc-muted); }

/* 🌙 Tmavá Výživa — dočištění textů a speciálních karet */
body.mu-dark .rc-ring__bg { stroke: hsl(155 18% 18%); }
body.mu-dark .rc-ring__cur { fill: var(--rc-text); }
body.mu-dark .rc-ring__cap { color: var(--rc-text); }
body.mu-dark .rc-bal-col__h, body.mu-dark .rc-bal-inline, body.mu-dark .rc-cal__lbl,
body.mu-dark .rc-cal__val, body.mu-dark .rc-chk, body.mu-dark .rc-dayprog__big,
body.mu-dark .rc-di__kcal, body.mu-dark .rc-food__kcal, body.mu-dark .rc-goal-edit__l,
body.mu-dark .rc-help__body, body.mu-dark .rc-help__list, body.mu-dark .rc-nut,
body.mu-dark .rc-perio__carb, body.mu-dark .rc-perio__day, body.mu-dark .rc-perio__type,
body.mu-dark .rc-photo__head, body.mu-dark .rc-photo__intro, body.mu-dark .rc-photo__name,
body.mu-dark .rc-pw__body, body.mu-dark .rc-ring__cap, body.mu-dark .rc-smart__sub,
body.mu-dark .rc-step__text, body.mu-dark .rc-strip__val, body.mu-dark .rc-sum__lbl,
body.mu-dark .rc-sum__stat, body.mu-dark .rc-sum__val, body.mu-dark .rc-fp-ultra,
body.mu-dark .rc-af { color: var(--rc-text); }
body.mu-dark .rc-adm__x, body.mu-dark .rc-cook__close, body.mu-dark .rc-cook__navbtn,
body.mu-dark .rc-day-arrow, body.mu-dark .rc-meal-move, body.mu-dark .rc-subtab,
body.mu-dark .rc-add-segbtn, body.mu-dark .rc-af-pill, body.mu-dark .rc-bal-bufbtn,
body.mu-dark .rc-glass-size, body.mu-dark .rc-irow, body.mu-dark .rc-recent,
body.mu-dark .rc-req__vote, body.mu-dark .rc-soon, body.mu-dark .rc-srow,
body.mu-dark .rc-tl__modebtn, body.mu-dark .rc-fuel__phase { color: var(--rc-text); }
/* Karta „Jak to myslím" (philosophy) — zelený gradient → tmavě zelený */
body.mu-dark .rc-philo { background: linear-gradient(135deg, hsl(150 35% 10%), hsl(148 30% 12%)); border-color: hsl(150 30% 22%); }
body.mu-dark .rc-philo__foot { background: var(--rc-card); border-color: hsl(150 30% 24%); }
body.mu-dark .rc-philo__basics { border-top-color: hsl(150 30% 20%); }
/* Kalorie hodnota (oranžová) — světlejší pro kontrast na tmavé */
body.mu-dark .rc-cal__val b { color: hsl(24 90% 62%); }
/* 🌙 Tmavá Výživa — závodní formulář (zelený box s časem a vzdáleností) */
body.mu-dark .rc-race { background: linear-gradient(135deg, hsl(150 35% 10%), hsl(148 30% 12%)); border-color: hsl(150 30% 22%); }
body.mu-dark .rc-tp__in { color: var(--rc-text); }
body.mu-dark .rc-race__lab { color: var(--rc-muted); }
body.mu-dark .rc-wt-set input { background: var(--rc-card); border-color: var(--rc-border); color: var(--rc-text); }
body.mu-dark .rc-card__img--ph { background: linear-gradient(135deg, hsl(150 35% 12%), hsl(148 30% 15%)); }

/* ── 🥣 Složit vlastní jídlo z potravin (zpětná vazba člena 5. 7. 2026) ── */
.rc-compose-list { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.rc-compose-row { display:flex; align-items:center; gap:10px; background:var(--rc-card2); border:1px solid var(--rc-border); border-radius:12px; padding:9px 12px; }
.rc-compose-row__main { flex:1; min-width:0; }
.rc-compose-row__main b { display:block; font-size:14px; color:var(--rc-text); }
.rc-compose-row__main small { color:var(--rc-muted); font-size:12px; }
.rc-compose-row__act { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.rc-compose-row__act .rc-add-amt { width:64px; }
.rc-compose-tot { background:linear-gradient(135deg,#f0f9f3,#eafaf0); border:1.5px solid #bfe6cf; border-radius:14px; padding:12px 14px; margin-bottom:6px; }
.rc-compose-tot__h { font-weight:800; font-size:14px; color:var(--rc-green-t); margin-bottom:8px; }
.rc-compose-tot__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; text-align:center; }
.rc-compose-tot__grid b { display:block; font-size:18px; font-weight:800; color:var(--rc-text); }
.rc-compose-tot__grid small { font-size:11px; color:var(--rc-muted); }
.rc-compose-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.rc-compose-actions .rc-btn { flex:1; min-width:150px; }
.rc-compose-search { margin-top:6px; padding-top:12px; border-top:1px dashed var(--rc-border); }
body.mu-dark .rc-compose-tot { background:linear-gradient(135deg,hsl(150 35% 10%),hsl(148 30% 12%)); border-color:hsl(150 30% 22%); }
