/* ============================================================
   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 ── */
/* Předěl zón (UX: přehledné rozdělení Dnes / Souvislosti / Navíc) */
.rc-zone { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#16a34a; margin:24px 4px 12px; display:flex; align-items:center; gap:10px; }
.rc-zone::after { content:""; flex:1; height:1px; background:hsl(150 20% 86%); }
body.mu-dark .rc-zone { color:#3ddc84; }
body.mu-dark .rc-zone::after { background:hsl(150 20% 24%); }
/* ── Týdenní pruh „Můj den" (Po–Ne kolečka, Dnes zvýrazněné, tečka = záznam) ── */
.rc-week { margin-bottom:16px; }
.rc-week__top { position:relative; display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:10px; }
.rc-week__nav { width:34px; height:34px; border-radius:10px; border:1px solid hsl(150 18% 88%); background:#fff; color:#18211c; font-size:20px; line-height:1; cursor:pointer; flex:0 0 auto; }
.rc-week__nav:hover { border-color:#16a34a; color:#16a34a; }
.rc-datepill { display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid hsl(150 18% 88%); border-radius:999px; padding:7px 15px; font-size:14px; color:#18211c; cursor:pointer; font-family:inherit; }
.rc-datepill b { font-weight:800; }
.rc-datepill:hover { border-color:#16a34a; color:#16a34a; }
.rc-datepick { position:absolute; inset:auto 0 0 auto; width:1px; height:1px; opacity:0; pointer-events:none; }
.rc-week__days { display:flex; gap:4px; }
.rc-wd { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; gap:6px; background:none; border:none; cursor:pointer; padding:2px 0; font-family:inherit; -webkit-tap-highlight-color:transparent; }
.rc-wd__lbl { font-size:11px; font-weight:700; color:#9aa0a6; }
.rc-wd__num { position:relative; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:700; color:#18211c; background:#eef2f0; transition:transform .1s; }
.rc-wd:active .rc-wd__num { transform:scale(.92); }
.rc-wd.is-today .rc-wd__lbl { color:#16a34a; }
.rc-wd.is-today:not(.is-sel) .rc-wd__num { background:#fff; color:#16a34a; box-shadow:inset 0 0 0 2px #16a34a; }
.rc-wd.is-sel .rc-wd__num { background:#16a34a; color:#fff; box-shadow:0 3px 10px hsla(142,60%,30%,.4); }
.rc-wd__dot { display:none; position:absolute; top:4px; right:7px; width:6px; height:6px; border-radius:50%; background:#f0a020; box-shadow:0 0 0 2px #fff; }
.rc-wd.has-dot .rc-wd__dot { display:block; }
.rc-wd.is-sel.has-dot .rc-wd__dot { background:#fff; box-shadow:0 0 0 2px #16a34a; }
.rc-streak-wrap { display:flex; justify-content:center; margin:-4px 0 14px; }
.rc-streak-wrap:empty { display:none; margin:0; }

.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__at { color:#2b6da3; font-weight:700; border:none; background:hsl(205 60% 95%); font-family:inherit; font-size:12px; padding:1px 7px; border-radius:999px; cursor:pointer; }
.rc-day-item__at:active { background:hsl(205 60% 88%); }
body.mu-dark .rc-day-item__at { color:#8fc4ea; background:hsl(205 40% 18%); }
/* 🔁 Zopakovat včerejšek (prázdný den) */
.rc-repeat-yday { display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:hsl(150 45% 96%); border:1px solid hsl(150 30% 84%); border-radius:14px; padding:14px 16px; margin-bottom:12px; }
.rc-repeat-yday__txt { flex:1; min-width:150px; font-size:14px; color:#33403a; }
.rc-repeat-yday .rc-btn { flex:0 0 auto; }
body.mu-dark .rc-repeat-yday { background:hsl(150 24% 13%); border-color:hsl(150 25% 28%); }
body.mu-dark .rc-repeat-yday__txt { color:#dfe8e3; }
/* Zopakovat včerejší jídlo (prázdné jídlo v částečně zaplněném dni) */
.rc-meal__repeat { display:inline-block; margin:8px 0 2px; padding:6px 12px; font-family:inherit; font-size:12.5px; font-weight:700; color:#15803d; background:hsl(150 50% 96%); border:1px solid hsl(150 35% 82%); border-radius:999px; cursor:pointer; }
.rc-meal__repeat:hover { background:hsl(150 55% 93%); }
.rc-meal__repeat:disabled { opacity:.6; cursor:default; }
body.mu-dark .rc-meal__repeat { color:#8fe3ad; background:hsl(150 24% 15%); border-color:hsl(150 22% 30%); }
.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; }
/* Kompaktní „vyfotit tabulku" tlačítko v editoru potraviny */
.rc-nutscan { flex-direction:row !important; gap:10px !important; padding:14px 16px !important; margin-bottom:8px !important; }
.rc-nutscan .rc-photo__cta-ico { font-size:24px !important; }
.rc-nutscan .rc-photo__cta-txt { font-size:15px !important; }
/* ✍️ Napsat co jsem snědl */
.rc-text-in { width:100%; box-sizing:border-box; padding:12px 13px; border:2px solid #16a34a; border-radius:14px; background:#f6fdf8; font-family:inherit; font-size:15px; line-height:1.5; color:#18211c; resize:vertical; margin-bottom:10px; }
.rc-text-in:focus { outline:none; box-shadow:0 0 0 3px rgba(22,163,74,.15); }
body.mu-dark .rc-text-in { background:hsl(150 20% 12%); border-color:#2f8f52; color:#eef4ef; }
/* Zvýrazněné pole „napiš AI co je na fotce" — ať ho lidi vyplní */
.rc-photo-hintbox { background:#fff8e8; border:2px solid #f0c869; border-radius:14px; padding:12px 14px; margin-bottom:14px; }
.rc-photo-hintbox__h { display:flex; align-items:center; gap:8px; font-weight:800; font-size:14.5px; color:#8a6410; margin-bottom:8px; }
.rc-photo-hintbox__tag { font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:#fff; background:#e0a022; padding:2px 8px; border-radius:999px; }
.rc-photo-hintbox__in { width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid #e6c877; border-radius:10px; background:#fff; font-family:inherit; font-size:14.5px; color:#18211c; }
.rc-photo-hintbox__in:focus { outline:none; border-color:#e0a022; box-shadow:0 0 0 3px rgba(224,160,34,.18); }
.rc-photo-hintbox__note { margin-top:8px; font-size:12px; line-height:1.5; color:#7a5f1f; }
body.mu-dark .rc-photo-hintbox { background:hsl(40 30% 14%); border-color:hsl(40 40% 34%); }
body.mu-dark .rc-photo-hintbox__h { color:#e8c063; }
body.mu-dark .rc-photo-hintbox__in { background:hsl(40 15% 12%); border-color:hsl(40 30% 30%); color:#f0ece2; }
body.mu-dark .rc-photo-hintbox__note { color:#c9b483; }
/* 🔢 Celkový součet nafoceného jídla (kalorie + makra + hmotnost) */
.rc-photo-total { display:flex; flex-direction:column; align-items:center; gap:3px; background:linear-gradient(135deg,hsl(150 55% 96%),hsl(150 50% 92%)); border:1px solid hsl(150 35% 80%); border-radius:14px; padding:12px 14px; margin:0 0 12px; text-align:center; }
.rc-photo-total__k { font-size:15px; color:#33403a; }
.rc-photo-total__k b { font-size:26px; font-weight:800; color:#15803d; letter-spacing:-.02em; }
.rc-photo-total__m { font-size:13px; font-weight:700; color:#18211c; }
.rc-photo-total__wt { font-size:12.5px; color:#4b5563; font-weight:600; }
body.mu-dark .rc-photo-total { background:linear-gradient(135deg,hsl(150 28% 15%),hsl(150 26% 12%)); border-color:hsl(150 25% 28%); }
body.mu-dark .rc-photo-total__k { color:#cbd5cf; }
body.mu-dark .rc-photo-total__k b { color:#3ddc84; }
body.mu-dark .rc-photo-total__m { color:#eef4ef; }
body.mu-dark .rc-photo-total__wt { color:#9db0a6; }
/* Sekce formuláře potraviny (číslované kroky) */
.rc-fd-sec { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin:18px 0 8px; padding-bottom:6px; border-bottom:2px solid hsl(150 30% 90%); font-size:14px; font-weight:800; color:#15803d; }
.rc-fd-sec:first-child { margin-top:2px; }
.rc-fd-sec__hint { font-size:12px; font-weight:600; color:#9aa0a6; }
body.mu-dark .rc-fd-sec { color:#3ddc84; border-color:hsl(150 20% 24%); }
body.mu-dark .rc-fd-sec__hint { color:#9db0a6; }
/* Segmentovaný přepínač jednotky (na váhu / tekutina / na kus) */
.rc-fd-units { display:flex; gap:8px; margin-bottom:10px; }
.rc-fd-unit { flex:1; display:flex; flex-direction:column; align-items:center; gap:1px; padding:10px 6px; border:1.5px solid hsl(150 20% 86%); border-radius:12px; background:#fff; font-family:inherit; font-size:13.5px; color:#4b5563; cursor:pointer; line-height:1.2; }
.rc-fd-unit b { font-weight:800; }
.rc-fd-unit small { font-size:10.5px; color:#9aa0a6; font-weight:600; }
.rc-fd-unit.is-on { border-color:#16a34a; background:hsl(150 60% 96%); color:#15803d; box-shadow:0 0 0 2px hsl(150 60% 88%); }
.rc-fd-unit.is-on small { color:#4a9e6e; }
body.mu-dark .rc-fd-unit { background:hsl(150 20% 13%); border-color:hsl(150 20% 26%); color:#cbd5cf; }
body.mu-dark .rc-fd-unit small { color:#8ba095; }
body.mu-dark .rc-fd-unit.is-on { background:hsl(150 30% 18%); border-color:#3ddc84; color:#eef4ef; box-shadow:0 0 0 2px hsl(150 40% 24%); }
/* 🔎 Živý náhled potraviny (1 kus / porce z hodnot na 100 g) */
.rc-fd-preview { display:flex; flex-direction:column; gap:3px; background:hsl(150 45% 96%); border:1px solid hsl(150 30% 82%); border-radius:12px; padding:10px 13px; margin:2px 0 12px; }
.rc-fd-preview__h { font-size:13px; font-weight:800; color:#15803d; }
.rc-fd-preview__m { font-size:13.5px; font-weight:700; color:#18211c; }
.rc-fd-preview__note { font-size:11.5px; color:#6b7280; font-weight:600; }
body.mu-dark .rc-fd-preview { background:hsl(150 24% 13%); border-color:hsl(150 25% 28%); }
body.mu-dark .rc-fd-preview__h { color:#3ddc84; }
body.mu-dark .rc-fd-preview__m { color:#eef4ef; }
body.mu-dark .rc-fd-preview__note { color:#9db0a6; }
/* Volba velikosti porce po AI odhadu */
.rc-photo-portion { background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:12px; padding:11px 13px; margin-bottom:12px; }
.rc-photo-portion__l { font-size:13px; font-weight:800; color:#18211c; margin-bottom:8px; }
.rc-photo-part { margin-top:10px; }
.rc-photo-part label { font-size:12.5px; color:#4b5563; font-weight:600; display:block; margin-bottom:4px; }
.rc-photo-part b { color:#15803d; }
.rc-photo-part input[type=range] { width:100%; accent-color:#16a34a; }
body.mu-dark .rc-photo-portion { background:hsl(150 20% 13%); border-color:hsl(150 20% 26%); }
body.mu-dark .rc-photo-portion__l { color:#e8ece9; }
.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__errbtns { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.rc-photo__errbtns .rc-btn { margin-top:0; flex:1 1 auto; min-width:120px; }
/* ⏳ Ukazatel průběhu AI (foto/text) */
.rc-aiprog { margin-top:16px; text-align:center; }
.rc-aiprog__msg { font-size:14.5px; font-weight:700; color:#15803d; margin-bottom:10px; min-height:20px; }
.rc-aiprog__bar { height:8px; background:hsl(150 25% 90%); border-radius:999px; overflow:hidden; }
.rc-aiprog__fill { height:100%; width:0; border-radius:999px; background:linear-gradient(90deg,#22c55e,#16a34a); transition:width .35s ease-out; box-shadow:0 0 8px rgba(34,197,94,.5); }
.rc-aiprog__sub { font-size:12px; color:var(--rc-muted); margin-top:8px; }
body.mu-dark .rc-aiprog__msg { color:#8fe3ad; }
body.mu-dark .rc-aiprog__bar { background:hsl(150 18% 22%); }
/* 📌 Fixní spodní lišta focení: výběr jídla + času + velké „Přidat" (zůstává vidět při rolování seznamu) */
.rc-photo-foot { position:sticky; bottom:0; z-index:5; margin:16px -20px -18px; padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px)); background:var(--rc-card,#fff); border-top:1px solid var(--rc-border,#e5e7eb); box-shadow:0 -6px 16px rgba(0,0,0,.07); }
.rc-photo-foot__assign { display:flex; gap:10px; margin-bottom:10px; }
.rc-photo-foot__grp { flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:4px; }
.rc-photo-foot__grp label { font-size:11px; font-weight:800; color:var(--rc-muted); }
.rc-photo-foot__grp select, .rc-photo-foot__grp input[type=time] { width:100%; box-sizing:border-box; padding:10px 12px; font-size:15px; font-family:inherit; border:1.5px solid var(--rc-border,#e5e7eb); border-radius:10px; background:var(--rc-card,#fff); color:var(--rc-text,#111); }
.rc-photo-foot .rc-btn { width:100%; margin:0; }
/* ✅ Obrazovka „přidáno — přidat další" */
.rc-photo-done { text-align:center; padding:28px 8px 12px; }
.rc-photo-done__ico { font-size:44px; line-height:1; }
.rc-photo-done__msg { font-size:16px; font-weight:700; color:var(--rc-text,#111); margin:10px 0 0; }
.rc-photo-done__sub { font-size:13px; font-weight:600; color:var(--rc-muted); margin-top:3px; }
.rc-photo-done__btns { display:flex; flex-direction:column; gap:10px; margin-top:24px; }
.rc-photo-done__btns .rc-btn { width:100%; margin:0; }
.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:14px; margin-top:6px; }
.rc-balance .rc-bal-row { font-size:13.5px; }
.rc-balance .rc-bal-tot span:last-child { font-size:15px; }
.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; flex-wrap:nowrap; }
.rc-itd-amt__row input { flex:1; min-width:0; }
.rc-itd-amt__row input.rc-itd-amt__count { flex:0 0 46px; min-width:46px; text-align:center; padding-left:2px; padding-right:2px; }
.rc-itd-amt__x { font-size:14px; font-weight:800; color:var(--rc-muted); flex:0 0 auto; }
.rc-itd-amt__u { font-size:14px; font-weight:700; color:var(--rc-muted); flex:0 0 auto; }
.rc-itd-amt__hint { margin-top:6px; font-size:11.5px; 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-load { margin:2px 0 14px; padding:12px; background:hsl(150 40% 97%); border:1px solid hsl(150 25% 88%); border-radius:14px; }
.rc-load__lbl { font-size:14px; font-weight:800; color:var(--rc-text); margin-bottom:9px; }
.rc-load__lbl small { display:block; font-size:12px; font-weight:600; color:var(--rc-muted); margin-top:2px; }
.rc-load__pills { display:flex; gap:8px; flex-wrap:wrap; }
.rc-load__pill { flex:1 1 0; min-width:72px; text-align:center; }
body.mu-dark .rc-load { background:hsl(150 18% 15%); border-color:hsl(150 15% 26%); }
.rc-week__plan { width:100%; margin-top:8px; padding:9px; border:1px solid hsl(150 25% 86%); background:hsl(150 40% 97%); color:#15803d; font-family:inherit; font-size:13px; font-weight:800; border-radius:11px; cursor:pointer; }
.rc-week__plan:hover { background:hsl(150 45% 94%); }
body.mu-dark .rc-week__plan { background:hsl(150 18% 15%); border-color:hsl(150 15% 26%); color:#7ee0a3; }
.rc-wp__list { display:flex; flex-direction:column; gap:7px; }
.rc-wp__day { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:11px 12px; border:1px solid var(--rc-border); background:var(--rc-card2); border-radius:12px; font-family:inherit; cursor:pointer; }
.rc-wp__day.is-today { border-color:#16a34a; box-shadow:0 0 0 1px #16a34a inset; }
.rc-wp__d { flex:0 0 58px; font-size:13px; color:var(--rc-muted); }
.rc-wp__d b { color:var(--rc-text); font-size:15px; }
.rc-wp__mid { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
.rc-wp__meals { font-size:13px; color:var(--rc-text); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rc-wp__empty { color:var(--rc-muted); font-weight:400; font-style:italic; }
.rc-wp__kcal { font-size:12px; color:var(--rc-muted); }
.rc-wp__load { flex:0 0 auto; font-size:11px; font-weight:700; color:#15803d; background:#d6f0df; border:1px solid #9bd9b1; border-radius:999px; padding:2px 8px; white-space:nowrap; }
body.mu-dark .rc-wp__load { background:hsl(150 30% 22%); border-color:hsl(150 25% 34%); color:#7ee0a3; }
.rc-wp__go { flex:0 0 auto; color:var(--rc-muted); font-size:20px; font-weight:700; }
.rc-guide__intro { margin:0 0 14px; font-size:14px; color:var(--rc-text); }
.rc-guide__list { display:flex; flex-direction:column; gap:11px; }
.rc-guide__row { display:flex; gap:11px; align-items:flex-start; }
.rc-guide__emo { flex:0 0 auto; font-size:22px; line-height:1.2; width:30px; text-align:center; }
.rc-guide__txt { display:flex; flex-direction:column; gap:1px; }
.rc-guide__txt b { font-size:14px; color:var(--rc-text); }
.rc-guide__txt span { font-size:13px; color:var(--rc-muted); line-height:1.45; }
.rc-guide__foot { margin:16px 0 12px; font-size:13px; color:var(--rc-muted); line-height:1.5; background:hsl(150 40% 97%); border:1px solid hsl(150 25% 88%); border-radius:11px; padding:10px 12px; }
body.mu-dark .rc-guide__foot { background:hsl(150 18% 15%); border-color:hsl(150 15% 26%); }
/* 🎯 Makro pruhy s pásmem „trefa" (Foodcoach-styl) */
.rc-mbars { display:flex; flex-direction:column; gap:13px; margin-top:14px; }
/* Celý pruh je teď <button> (rozklikne rozpad podle jídel) — reset button vzhledu */
.rc-mbar { display:block; width:100%; text-align:left; background:none; border:none; padding:0; margin:0; font-family:inherit; cursor:pointer; border-radius:10px; }
.rc-mbar:hover .rc-mbar__track { filter:brightness(0.97); }
.rc-mbar:focus-visible { outline:2px solid #16a34a; outline-offset:3px; }
.rc-mbar__top { display:flex; align-items:baseline; gap:8px; margin-bottom:6px; flex-wrap:wrap; }
.rc-mbar__lbl { font-size:13.5px; font-weight:800; color:#33403a; }
.rc-mbar__val { font-size:12.5px; color:#6b7280; font-variant-numeric:tabular-nums; }
.rc-mbar__val b { font-size:15px; font-weight:800; color:#18211c; }
.rc-mbar__state { margin-left:auto; font-size:11.5px; font-weight:800; padding:2px 9px; border-radius:999px; }
.rc-mbar__state--ok { color:#15803d; background:hsl(150 60% 92%); }
.rc-mbar__state--low { color:#9a6a00; background:hsl(40 80% 92%); }
.rc-mbar__state--over { color:#b5540a; background:hsl(24 80% 92%); }
.rc-mbar__track { position:relative; height:14px; border-radius:999px; background:hsl(150 8% 90%); }
.rc-mbar__zone { position:absolute; top:0; bottom:0; opacity:.28; border-radius:4px; display:flex; align-items:center; justify-content:center; }
.rc-mbar__zonelbl { font-size:9.5px; font-weight:800; letter-spacing:.03em; color:#0f3a25; opacity:.9; text-transform:uppercase; white-space:nowrap; }
.rc-mbar__tick { position:absolute; top:-3px; bottom:-3px; width:2px; margin-left:-1px; background:#33403a; border-radius:2px; }
.rc-mbar__cur { position:absolute; top:50%; width:15px; height:15px; margin:-7.5px 0 0 -7.5px; border-radius:50%; background:#18211c; border:2.5px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.3); transition:left .5s ease; z-index:2; }
.rc-mbar.is-ok .rc-mbar__cur { background:#15803d; }
.rc-mbar.is-over .rc-mbar__cur { background:#c2410c; }
.rc-mbar__scale { position:relative; height:15px; margin-top:3px; }
.rc-mbar__num { position:absolute; transform:translateX(-50%); font-size:11px; font-weight:700; color:#6b7280; font-variant-numeric:tabular-nums; white-space:nowrap; }
body.mu-dark .rc-mbar__lbl { color:#e8ece9; }
body.mu-dark .rc-mbar__val { color:#9db0a6; }
body.mu-dark .rc-mbar__val b { color:#f0f4f1; }
body.mu-dark .rc-mbar__track { background:hsl(150 12% 22%); }
body.mu-dark .rc-mbar__tick { background:#b7c4bc; }
body.mu-dark .rc-mbar__zonelbl { color:#eef4ef; }
body.mu-dark .rc-mbar__num { color:#9db0a6; }
body.mu-dark .rc-mbar__cur { background:#eef4ef; border-color:hsl(150 20% 12%); }
body.mu-dark .rc-mbar.is-ok .rc-mbar__cur { background:#3ddc84; }
body.mu-dark .rc-mbar.is-over .rc-mbar__cur { background:#e8a063; }
/* 🔎 Rozpad makra podle jídel (modal po ťuknutí na pruh) */
.rc-mbd-row { padding:9px 0; border-bottom:1px solid hsl(150 15% 92%); }
.rc-mbd-row:last-child { border-bottom:none; }
.rc-mbd-row__top { display:flex; align-items:baseline; gap:10px; }
.rc-mbd-row__name { flex:1; min-width:0; font-size:14px; color:#18211c; }
.rc-mbd-row__val { flex:0 0 auto; font-weight:800; font-size:14px; color:#15803d; font-variant-numeric:tabular-nums; }
.rc-mbd-row__sub { display:block; color:#9aa0a6; font-size:11.5px; font-weight:600; margin-top:1px; }
.rc-mbd-row__bar { height:5px; border-radius:99px; background:hsl(150 8% 91%); margin-top:6px; overflow:hidden; }
.rc-mbd-row__fill { height:100%; border-radius:99px; opacity:.65; }
.rc-mbd-total { display:flex; justify-content:space-between; margin-top:10px; padding-top:10px; border-top:2px solid hsl(150 20% 88%); font-size:14px; font-weight:700; color:#33403a; }
.rc-mbd-total b { color:#18211c; font-size:16px; }
body.mu-dark .rc-mbd-row { border-color:hsl(150 15% 20%); }
body.mu-dark .rc-mbd-row__name { color:#eef4ef; }
body.mu-dark .rc-mbd-row__val { color:#3ddc84; }
body.mu-dark .rc-mbd-row__sub { color:#9db0a6; }
body.mu-dark .rc-mbd-row__bar { background:hsl(150 12% 22%); }
body.mu-dark .rc-mbd-total { border-color:hsl(150 20% 26%); color:#dfe8e3; }
body.mu-dark .rc-mbd-total b { color:#eef4ef; }
body.mu-dark .rc-mbar__state--ok { color:#3ddc84; background:hsl(150 30% 18%); }
body.mu-dark .rc-mbar__state--low { color:#e8c063; background:hsl(40 25% 18%); }
body.mu-dark .rc-mbar__state--over { color:#e8a063; background:hsl(24 30% 18%); }
.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; }
/* 🎯 Osobní cíl výživy (nad přehledem) */
.rc-goal { display:flex; align-items:center; gap:12px; width:100%; text-align:left; background:linear-gradient(135deg,hsl(150 55% 96%),hsl(150 50% 93%)); border:1px solid hsl(150 35% 80%); border-radius:14px; padding:12px 14px; margin-bottom:12px; font-family:inherit; cursor:pointer; }
.rc-goal--empty { border-style:dashed; background:hsl(150 40% 97%); }
.rc-goal__ico { font-size:24px; flex:0 0 auto; }
.rc-goal__txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.rc-goal__txt b { font-weight:800; color:#15803d; }
.rc-goal__head { font-size:14.5px; color:#18211c; }
.rc-goal__head b { color:#15803d; }
.rc-goal__txt small { font-size:12.5px; color:#4b5563; line-height:1.35; }
.rc-goal__edit, .rc-goal__chev { flex:0 0 auto; font-size:12.5px; font-weight:700; color:#15803d; }
.rc-goal__chev { font-size:20px; }
.rc-goal__bar { height:7px; border-radius:99px; background:hsl(150 25% 85%); overflow:hidden; margin-top:5px; }
.rc-goal__fill { height:100%; background:linear-gradient(90deg,#22c55e,#15803d); border-radius:99px; }
.rc-goal-types { display:flex; gap:8px; margin-bottom:4px; }
.rc-goal-type { flex:1; padding:12px 6px; border-radius:12px; border:1.5px solid hsl(150 20% 86%); background:#fff; font-family:inherit; font-size:13px; color:#4b5563; cursor:pointer; line-height:1.3; }
.rc-goal-type b { display:block; font-weight:800; margin-top:2px; }
.rc-goal-type.is-on { border-color:#16a34a; background:hsl(150 60% 96%); color:#15803d; box-shadow:0 0 0 2px hsl(150 60% 88%); }
body.mu-dark .rc-goal { background:linear-gradient(135deg,hsl(150 28% 15%),hsl(150 26% 12%)); border-color:hsl(150 25% 28%); }
body.mu-dark .rc-goal--empty { background:hsl(150 22% 13%); }
body.mu-dark .rc-goal__head { color:#eef4ef; }
body.mu-dark .rc-goal__txt b, body.mu-dark .rc-goal__head b, body.mu-dark .rc-goal__edit, body.mu-dark .rc-goal__chev { color:#3ddc84; }
body.mu-dark .rc-goal__txt small { color:#b7c4bc; }
body.mu-dark .rc-goal__bar { background:hsl(150 20% 24%); }
body.mu-dark .rc-goal-type { background:hsl(150 20% 13%); border-color:hsl(150 20% 26%); color:#cbd5cf; }
body.mu-dark .rc-goal-type.is-on { background:hsl(150 30% 18%); border-color:#3ddc84; color:#eef4ef; box-shadow:0 0 0 2px hsl(150 40% 24%); }
/* 🛒 Nákupní seznam z receptů */
.rc-shopbar { margin:0 0 12px; }
.rc-shopbar .rc-btn { width:100%; }
.rc-shop-list { display:flex; flex-direction:column; gap:6px; max-height:46vh; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.rc-shop-row { border:1px solid hsl(150 18% 88%); border-radius:10px; padding:4px 6px 4px 4px; }
.rc-shop-row.is-on { border-color:#16a34a; background:hsl(150 55% 97%); }
.rc-shop-pick { display:flex; align-items:center; gap:8px; width:100%; text-align:left; border:none; background:none; font-family:inherit; font-size:14px; color:#18211c; cursor:pointer; padding:6px 4px; }
.rc-shop-qty { display:flex; align-items:center; gap:10px; justify-content:flex-end; padding:2px 4px 4px; font-size:12.5px; color:#4b5563; font-weight:700; }
.rc-shop-result { display:flex; flex-direction:column; gap:2px; margin-top:4px; }
.rc-shop-item { display:flex; align-items:center; gap:10px; padding:9px 6px; border-bottom:1px solid hsl(150 15% 92%); cursor:pointer; }
.rc-shop-item input { width:20px; height:20px; accent-color:#16a34a; flex:0 0 auto; }
.rc-shop-name { flex:1; font-size:14.5px; color:#18211c; }
.rc-shop-amt { flex:0 0 auto; font-weight:800; color:#15803d; font-variant-numeric:tabular-nums; }
.rc-shop-item.is-checked .rc-shop-name { text-decoration:line-through; color:#9aa0a6; }
.rc-shop-item.is-checked .rc-shop-amt { color:#9aa0a6; }
.rc-shop-foot { display:flex; gap:8px; margin-top:12px; }
.rc-shop-foot .rc-btn { flex:1; }
body.mu-dark .rc-shop-row { border-color:hsl(150 20% 26%); }
body.mu-dark .rc-shop-row.is-on { background:hsl(150 28% 15%); border-color:#3ddc84; }
body.mu-dark .rc-shop-pick, body.mu-dark .rc-shop-name { color:#eef4ef; }
body.mu-dark .rc-shop-qty { color:#b7c4bc; }
body.mu-dark .rc-shop-amt { color:#3ddc84; }
body.mu-dark .rc-shop-item { border-color:hsl(150 15% 20%); }
/* ⚙️ 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) */
/* Velký přehledový kruh (snědeno/cíl kcal + aktivity) */
.rc-hero { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:14px; }
.rc-hero__side { flex:1 1 0; text-align:center; display:flex; flex-direction:column; align-items:center; gap:1px; }
.rc-hero__ico { font-size:20px; line-height:1; }
.rc-hero__side b { font-size:19px; font-weight:800; color:#18211c; }
.rc-hero__side small { font-size:11px; color:#9aa0a6; font-weight:600; }
.rc-hero__ring { flex:0 0 auto; }
.rc-hero__ring svg { width:130px; height:130px; }
.rc-hero__bg { fill:none; stroke:#e8efe9; stroke-width:11; }
.rc-hero__fg { fill:none; stroke:#16a34a; stroke-width:11; stroke-linecap:round; transition:stroke-dashoffset .6s ease; }
.rc-hero__fg.is-done { stroke:#e8a90c; }
.rc-hero__pct { font-size:26px; font-weight:800; fill:#18211c; text-anchor:middle; font-family:inherit; }
.rc-hero__goal { font-size:12px; fill:#9aa0a6; text-anchor:middle; font-family:inherit; }
.rc-hero__note { text-align:center; font-size:10.5px; color:#9aa0a6; font-weight:600; margin-top:-8px; }
.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; }
/* ⚖️ Bilance dne v přehledu (pod kroužky) — klik sroluje na detail níž */
.rc-sum__bal { display:block; margin:4px auto 0; padding:4px 12px; border:none; background:none; font-family:inherit; font-size:12.5px; font-weight:600; color:#9aa0a6; cursor:pointer; }
.rc-sum__bal b { font-weight:800; }
.rc-sum__bal small { font-weight:600; opacity:.9; }
.rc-sum__bal .rc-bal-minus { color:#2b6da3; }
.rc-sum__bal .rc-bal-plus { color:#9a7400; }
.rc-sum__bal .rc-bal-ok { color:#15803d; }
body.mu-dark .rc-sum__bal { color:hsl(150 10% 62%); }
body.mu-dark .rc-sum__bal .rc-bal-minus { color:#7db6e0; }
body.mu-dark .rc-sum__bal .rc-bal-plus { color:#e0c36a; }
body.mu-dark .rc-sum__bal .rc-bal-ok { color:#3ddc84; }
/* ▾ Sbalitelné sekce (pití, bilance) — klik na hlavičku schová tělo, hlavička zůstane jako proužek */
.rc-sec__toggle { cursor:pointer; -webkit-user-select:none; user-select:none; }
.rc-sec__chev { margin-left:2px; flex:0 0 auto; font-size:13px; color:#9aa0a6; transition:transform .18s ease; }
.rc-sec.is-collapsed > .rc-sec__toggle .rc-sec__chev { transform:rotate(-90deg); }
.rc-sec.is-collapsed > .rc-sec__body { display:none; }
.rc-sec.is-collapsed > .rc-strip__head, .rc-sec.is-collapsed > .rc-dayprog__top { margin-bottom:0; }
/* 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; }
/* Streak + štítek dne v hlavičce přehledu (vpravo nahoře, nad kalorie) */
.rc-sum__chips { display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; margin-left:auto; }
.rc-sum__chips .rc-streak { padding:5px 11px; font-size:12.5px; }
/* 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:8px; margin:0; }
.rc-water__ctrl .rc-water__weather { margin:0; }
.rc-strip .rc-btn--ghost { padding:6px 10px; font-size:12.5px; }
/* Zvýrazněná tlačítka pitného režimu (modrá dle skleniček). Prefix .rc-water__btns
   kvůli specificitě — jinak by je přebilo obecné .rc-btn definované níž. */
.rc-water__btns .rc-water-btn { padding:11px 17px; font-size:14px; font-weight:800; border-radius:12px; }
.rc-water__btns .rc-water-btn--main { background:#3fa7dc; border-color:#3fa7dc; color:#fff; box-shadow:0 3px 10px rgba(63,167,220,.32); }
.rc-water__btns .rc-water-btn--main:hover { background:#2e93c8; border-color:#2e93c8; box-shadow:0 5px 16px rgba(63,167,220,.4); }
.rc-water__btns .rc-water-btn--alt { background:#fff; border-color:#3fa7dc; color:#1f6ea0; }
.rc-water__btns .rc-water-btn--alt:hover { background:#eef5fb; border-color:#2e93c8; }
.rc-water__btns .rc-water-btn--sub { background:hsl(150 30% 97%); border-color:hsl(150 18% 88%); color:#6b7280; padding:11px 15px; }
.rc-water__btns .rc-water-btn--sub:hover { border-color:#3fa7dc; color:#1f6ea0; }
body.mu-dark .rc-water__btns .rc-water-btn--alt { background:transparent; color:#7cc5ec; border-color:#3a7ca5; }
body.mu-dark .rc-water__btns .rc-water-btn--sub { background:hsl(150 20% 16%); color:#9aa0a6; border-color:hsl(150 20% 26%); }

/* Pití — sklenice, během běhu, test pocení */
.rc-glasses { display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 6px; }
.rc-glass { width:28px; height:37px; padding:0; border:none; background:none; cursor:pointer; line-height:0; transition:transform .1s ease; }
.rc-glass:hover { transform:translateY(-1px); }
.rc-glass:active { transform:scale(.9); }
.rc-glass__svg { width:100%; height:100%; display:block; }
.rc-glass__cup { fill:#edf3f8; }                         /* prázdná číše (světlé pozadí) */
.rc-glass__rim { fill:none; stroke:#b6d0e0; stroke-width:1.1; }
.rc-glass__water { fill:#4aa7db; transition:y .25s ease, height .25s ease; }
.rc-glass__surface { fill:#7cc0e8; }
.rc-glass__water--bonus { fill:#e6b23f; }
body.mu-dark .rc-glass__cup { fill:hsl(205 25% 20%); }
body.mu-dark .rc-glass__rim { stroke:hsl(205 25% 38%); }
.rc-glasses__cap { display:flex; align-items:center; justify-content:space-between; gap:8px; 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; }
/* ⚙️ Nastavení výživy */
.rc-nset-btn { flex:0 0 auto; width:30px; height:30px; border-radius:9px; border:1px solid hsl(150 18% 88%); background:#fff; font-size:15px; cursor:pointer; line-height:1; }
.rc-nset-btn:hover { border-color:#16a34a; }
.rc-nset-sec { margin-bottom:16px; }
.rc-nset-h { font-size:14.5px; font-weight:800; color:#18211c; margin:0 0 8px; }
.rc-nset-meals { display:flex; flex-direction:column; gap:6px; }
.rc-nset-meal { display:flex; align-items:center; gap:10px; padding:8px 11px; border:1px solid hsl(150 18% 90%); border-radius:10px; background:#fff; cursor:pointer; }
.rc-nset-meal input { width:18px; height:18px; accent-color:#16a34a; flex:0 0 auto; }
.rc-nset-meal__l { font-weight:700; font-size:14px; color:#18211c; flex:1; }
.rc-nset-meal__win { font-size:11.5px; color:#9aa0a6; font-weight:600; }
.rc-nset-row { display:flex; justify-content:space-between; align-items:center; padding:6px 0; font-size:13.5px; color:#4b5563; }
.rc-nset-row b { color:#18211c; font-size:15px; }
.rc-nset-toggle { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; border:1px solid hsl(150 18% 90%); border-radius:12px; background:hsl(150 30% 98%); cursor:pointer; }
.rc-nset-toggle input { width:20px; height:20px; accent-color:#16a34a; flex:0 0 auto; margin-top:1px; }
.rc-nset-toggle span { display:flex; flex-direction:column; gap:2px; }
.rc-nset-toggle small { color:#6b7280; font-size:12px; line-height:1.4; }
.rc-nset-fixed { margin-top:10px; }
.rc-nset-fixed[hidden] { display:none; }
.rc-nset-kcal { margin-top:8px; font-size:13.5px; font-weight:800; color:#15803d; background:#eaf6ee; border:1px solid #b7e4c6; border-radius:9px; padding:9px 12px; }
.rc-nset-kcal__b { display:block; font-size:11.5px; font-weight:600; color:#5a8b6c; margin-top:2px; }
.rc-nset-select { width:100%; padding:9px 10px; border:1px solid hsl(150 18% 86%); border-radius:9px; background:#fff; font-family:inherit; font-size:14px; color:#18211c; }
.rc-nset-gkg { display:flex; flex-wrap:wrap; gap:6px; margin-top:7px; }
.rc-nset-gkg .rc-chip { cursor:pointer; }
body.mu-dark .rc-nset-kcal { background:hsl(150 25% 14%); border-color:hsl(150 25% 26%); color:#7fd8a0; }
body.mu-dark .rc-nset-select { background:hsl(150 20% 14%); border-color:hsl(150 20% 26%); color:#e8ece9; }
body.mu-dark .rc-nset-btn, body.mu-dark .rc-nset-meal { background:hsl(150 20% 14%); border-color:hsl(150 20% 26%); }
body.mu-dark .rc-nset-meal__l, body.mu-dark .rc-nset-row b, body.mu-dark .rc-nset-h { color:#e8ece9; }
body.mu-dark .rc-nset-toggle { background:hsl(150 20% 12%); border-color:hsl(150 20% 26%); }
/* Pití — počasí + HEAT trénink na jednom řádku „Dnešní podmínky" (dřív 2 řádky) */
.rc-water__conditions { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin:10px 0 2px; }
.rc-water__wlabel { font-size:12px; font-weight:700; color:#6b7280; flex:0 0 auto; }
.rc-cond-sep { width:1px; height:18px; background:hsl(150 18% 88%); margin:0 2px; flex:0 0 auto; }
body.mu-dark .rc-cond-sep { background:hsl(150 20% 26%); }
/* Mini vysvětlivka (dřív celá zelená krabice v samostatném řádku) — jen drobný textový odkaz.
   Selektor .rc-help.rc-help--mini (ne jen .rc-help--mini), ať to přebije .rc-help níž v souboru. */
.rc-help.rc-help--mini { background:none; border:none; margin:4px 0 8px; }
.rc-help.rc-help--mini summary { padding:0; font-size:11.5px; font-weight:600; color:#6b7280; justify-content:flex-start; gap:4px; }
.rc-help.rc-help--mini summary:hover { color:#15803d; }
.rc-help.rc-help--mini summary::after { font-size:11px; }
.rc-help.rc-help--mini .rc-help__body { padding:6px 0 0; }
.rc-help.rc-help--mini .rc-help__body p { font-size:12.5px; margin:5px 0; }
body.mu-dark .rc-help.rc-help--mini summary { color:#9aa0a6; }
/* 🥤 Rychlé dlaždice nápojů (počítají se do pití i kalorií) */
.rc-water__drinks { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:8px 0 2px; }
.rc-drink-chip { font-size:12.5px; font-weight:700; padding:6px 11px; border-radius:999px; border:1px solid #cfe6f2; background:#eef6fb; color:#1f6ea0; cursor:pointer; white-space:nowrap; font-family:inherit; }
.rc-drink-chip:hover { background:#e2f0f9; border-color:#3fa7dc; }
.rc-drink-chip--more { background:#fff; border-style:dashed; color:#3fa7dc; }
.rc-drink-pills { flex-wrap:wrap; margin-top:4px; }
.rc-drink-pill { cursor:pointer; }
body.mu-dark .rc-drink-chip { background:hsl(205 25% 14%); border-color:hsl(205 25% 28%); color:#8fc7e8; }
body.mu-dark .rc-drink-chip--more { background:transparent; }
/* Během běhu + test pocení — teď odstavec uvnitř sloučené nápovědy (dřív samostatná modrá krabice) */
.rc-sweat-btn { display:inline-block; margin:0; background:none; border:none; padding:0; font-family:inherit; font-weight:700; font-size:12.5px; color:#15803d; cursor:pointer; width:auto; text-decoration:underline dotted; text-underline-offset:3px; }
.rc-sweat-btn:hover { color:#0f6d33; text-decoration-style:solid; }

/* Č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; }
.rc-day-item__dup { color:#c3c8cc; background:none; border:none; font-size:15px; cursor:pointer; padding:2px 4px; }
.rc-day-item__dup:hover { color:#1b6e45; }

/* 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; background:none; border:none; padding:0; text-align:left; cursor:pointer; font-family:inherit; display:flex; align-items:center; gap:6px; }
.rc-meal__cnt { background:#eef7f1; color:#15803d; border-radius:999px; padding:1px 7px; font-size:11px; font-weight:800; }
.rc-meal__chev { color:#9aa0a6; font-size:12px; transition:transform .2s; }
.rc-meal.is-collapsed .rc-meal__chev { transform:rotate(-90deg); }
.rc-meal.is-collapsed .rc-meal__collapse { display:none; }
.rc-meal__sub { font-size:12px; color:#9aa0a6; font-weight:600; white-space:nowrap; }
.rc-meal__sub--ok { color:#15803d; }
.rc-meal__sub--over { color:#b5540a; }
body.mu-dark .rc-meal__sub--ok { color:#3ddc84 !important; }
body.mu-dark .rc-meal__sub--over { color:#e8a063 !important; }
/* 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 { position:relative; 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; }
/* Naváděcí rámeček — kam namířit čárový kód */
.rc-scan__frame { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:74%; height:40%; border:2px solid rgba(255,255,255,.85); border-radius:10px; box-shadow:0 0 0 2000px rgba(0,0,0,.22); pointer-events:none; }
.rc-scan__frame::after { content:''; position:absolute; left:6%; right:6%; top:50%; height:2px; background:#22c55e; box-shadow:0 0 8px #22c55e; }
.rc-scan__bar { display:flex; justify-content:center; margin:0 0 8px; }
.rc-scan__torch { font-size:13px; padding:7px 14px; }
.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; }
/* Rychlé „✅ Ověřit" tlačítko v řádku databáze (jen David) */
.rc-food__vbtn { flex:0 0 auto; font-size:11.5px; font-weight:700; border-radius:8px; padding:5px 9px; cursor:pointer; white-space:nowrap; border:1px solid hsl(150 30% 78%); background:#fff; color:#15803d; }
.rc-food__vbtn:hover { background:#eefaf1; border-color:#16a34a; }
.rc-food__vbtn.is-on { background:#16a34a; border-color:#16a34a; color:#fff; }
.rc-food__vbtn:disabled { opacity:.5; cursor:default; }
body.mu-dark .rc-food__vbtn { background:hsl(150 20% 14%); border-color:hsl(150 20% 30%); color:#7fd8a0; }
body.mu-dark .rc-food__vbtn.is-on { background:#15803d; color:#fff; }

/* 🥵 HEAT trénink — cílená tepelná aklimatizace, přepínač v řádku „Dnešní podmínky" (odlišná teplá barva) */
.rc-heat-pill.is-on { background:#dc2626; border-color:#dc2626; color:#fff; }
body.mu-dark .rc-heat-pill.is-on { background:#e0533d; border-color:#e0533d; color:#fff; }

/* 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; }
.rc-perio__insight { margin-top:12px; padding:11px 13px; border-radius:12px; background:#fff4e6; border:1px solid #f0c58a; color:#8a5210; font-size:13px; line-height:1.5; }
.rc-perio__insight.is-ok { background:#e6f6ec; border-color:#9fdcb4; color:#15803d; }
.rc-perio__insight b { font-weight:800; }
.rc-perio__kcal { margin:8px 0 0; font-size:12.5px; color:var(--rc-muted); }
.rc-perio__kcal b { color:#b4671a; }

/* 🏃 Karta dnešního tréninku v jídelníčku (napojení jídlo↔výkon) */
.rc-train { background:linear-gradient(135deg,#eaf4fb,#f3f9fd); border:1px solid #bcdff0; }
.rc-train--rest { background:hsl(150 30% 97%); border-color:hsl(150 18% 90%); }
.rc-train__head { display:flex; align-items:center; gap:12px; }
.rc-train__ico { font-size:28px; line-height:1; flex:0 0 auto; }
.rc-train__body { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.rc-train__body b { font-size:16px; font-weight:800; color:#18211c; }
.rc-train__sub { font-size:12.5px; color:#4b5563; }
.rc-train__kcal { color:#b4453b; font-weight:800; }
.rc-train__badge { flex:0 0 auto; background:#fbeceb; color:#b4453b; border-radius:999px; padding:5px 11px; font-size:14px; font-weight:800; white-space:nowrap; }
.rc-train--rest .rc-train__body b { color:#41504a; }
.rc-train__link { margin:10px 0 0; padding:10px 12px; background:#fff; border:1px dashed #bcdff0; border-radius:10px; font-size:13px; line-height:1.5; color:#33403a; }
.rc-train__link b { color:#15803d; }
/* Naplánovaný (ještě neodběhaný) trénink — jantarový nádech + „~" místo „−" */
.rc-train--planned { background:linear-gradient(135deg,#fdf5e6,#fdfaf2); border-color:#f0dcae; }
.rc-train--planned .rc-train__badge { background:#fbf0d6; color:#b07d1a; }
.rc-train--planned .rc-train__kcal { color:#b07d1a; }
.rc-train--planned .rc-train__link { border-color:#f0dcae; }
.rc-train__plan { font-size:11px; font-weight:700; color:#b07d1a; background:#fbf0d6; padding:1px 7px; border-radius:999px; vertical-align:middle; }
.rc-train__hist { color:#8a6d3b; font-weight:600; font-size:11.5px; }
body.mu-dark .rc-train__hist { color:#d6b878; }

/* 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__live { color:#4b5563 !important; font-weight:600; }
.rc-add-row__live b { color:#15803d; font-weight:800; font-size:13.5px; }
body.mu-dark .rc-add-row__live { color:#b7c4bc !important; }
body.mu-dark .rc-add-row__live b { color:#3ddc84; }
.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; }
.rc-add-row--col { flex-direction:column; align-items:stretch; }
.rc-add-row--col .rc-add-row__top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.rc-portn { display:flex; gap:5px; flex-wrap:wrap; margin-top:8px; }
.rc-portn__chip { border:1px solid hsl(150 18% 86%); background:#f4faf6; border-radius:8px; padding:4px 10px; font-size:12.5px; font-weight:700; color:#15803d; cursor:pointer; }
.rc-portn__chip:active { transform:scale(.94); }
.rc-unit-toggle { border:1px solid #bcdff0; background:#eaf5fb; border-radius:8px; padding:6px 8px; font-size:12px; font-weight:800; color:#2b6da3; cursor:pointer; white-space:nowrap; }
.rc-unit-toggle:active { transform:scale(.94); }
/* 🍽️ Pojmenované jídlo (skupina položek pod názvem) */
.rc-dish { border:1px solid #cde3d5; border-radius:12px; background:#f7fbf8; margin:8px 0; padding:8px 10px; }
.rc-dish__head { display:flex; align-items:center; gap:8px; }
.rc-dish__title { flex:1; min-width:0; background:none; border:none; padding:0; text-align:left; cursor:pointer; font-family:inherit; font-weight:800; font-size:14px; color:#15803d; display:flex; align-items:center; gap:6px; }
.rc-dish__sub { font-size:12px; font-weight:700; color:#33403a; white-space:nowrap; }
.rc-dish__act { background:none; border:none; cursor:pointer; font-size:15px; padding:2px 4px; }
.rc-dish.is-collapsed .rc-dish__body { display:none; }
.rc-dish.is-collapsed .rc-meal__chev { transform:rotate(-90deg); }
.rc-dish__body { margin-top:6px; padding-left:8px; border-left:2px solid #cde3d5; }
.rc-dish__body .rc-day-item { padding:8px 0; }
/* 📚 Základy — edukační karty maker */
.rc-macro p { margin:6px 0; font-size:14px; line-height:1.55; }
.rc-macro__ex { margin:8px 0; padding:9px 12px; background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:10px; font-size:13.5px; line-height:1.55; }
.rc-macro__how { background:#eef9f1; border:1px dashed #bfe6cb; border-radius:10px; padding:9px 12px; font-size:13.5px !important; }
/* 💊 Průvodce suplementy */
.rc-supp-g { border-top:1px solid hsl(150 18% 92%); padding:10px 0; }
.rc-supp-g:first-of-type { border-top:none; }
.rc-supp-g__h { font-weight:800; font-size:15px; color:#18211c; margin-bottom:4px; }
.rc-supp-g__b { display:flex; flex-direction:column; gap:4px; font-size:13.5px; line-height:1.5; color:#33403a; }
.rc-supp-g__when { color:#2b6da3; font-weight:600; }
.rc-supp-g__warn { color:#9a2b2b; font-weight:600; background:#fbeaea; border-radius:8px; padding:5px 9px; }
/* 💊 Denní odškrtávání doplňků */
.rc-supps.is-collapsed .rc-meal__collapse { display:none; }
.rc-supps.is-collapsed .rc-meal__chev { transform:rotate(-90deg); }
.rc-supp__list { display:flex; flex-direction:column; gap:2px; margin-top:6px; }
.rc-supp__row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid hsl(150 18% 93%); flex-wrap:wrap; }
.rc-supp__row:last-child { border-bottom:none; }
.rc-supp__name { font-weight:700; font-size:14px; }
.rc-supp__times { display:flex; gap:6px; flex-wrap:wrap; }
.rc-supp__chk { border:1px solid hsl(150 18% 86%); background:#f4faf6; border-radius:999px; padding:5px 11px; font-size:12.5px; font-weight:700; color:#4b5563; cursor:pointer; }
.rc-supp__chk.is-on { background:#e6f6ec; border-color:#9fdcb4; color:#15803d; }
.rc-supp__chk:active { transform:scale(.95); }
.rc-meal__cnt.is-done { background:#16a34a; color:#fff; }
/* editor doplňků */
.rc-supp-e__row { display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid hsl(150 18% 92%); flex-wrap:wrap; }
.rc-supp-e__name { flex:1 1 120px; min-width:0; padding:7px; border-radius:8px; border:1px solid hsl(150 18% 86%); font-family:inherit; font-size:13px; }
.rc-supp-e__times { display:flex; gap:8px; flex-wrap:wrap; }
.rc-supp-e__t { font-size:12.5px; font-weight:600; color:#4b5563; display:flex; align-items:center; gap:3px; }
/* ⚡ Energetická dostupnost (RED-S) */
.rc-ea { margin-top:12px; padding:11px 13px; border-radius:12px; border:1px solid; }
.rc-ea__val { font-size:14px; font-weight:700; }
.rc-ea__val b { font-size:16px; }
.rc-ea__msg { font-size:13px; line-height:1.5; margin-top:4px; }
.rc-ea__note { font-size:11.5px; color:var(--rc-muted); margin-top:6px; }
.rc-ea--low { background:#fbeaea; border-color:#e0a3a3; color:#9a2b2b; }
.rc-ea--mid { background:#fff4e6; border-color:#f0c58a; color:#8a5210; }
.rc-ea--ok { background:#e6f6ec; border-color:#9fdcb4; color:#15803d; }
/* Pokročilé InBody hodnoty */
.rc-ib-adv { margin-top:10px; display:flex; flex-direction:column; gap:6px; }
.rc-ib-adv > div { font-size:13px; line-height:1.5; color:var(--rc-text); background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:10px; padding:8px 11px; }
/* Srovnání InBody měření */
.rc-ib-table { display:flex; flex-direction:column; gap:2px; margin-top:6px; }
.rc-ib-row { display:grid; grid-template-columns:1.3fr 1fr 0.9fr 1fr 1fr; gap:4px; align-items:center; padding:6px 4px; font-size:13px; border-top:1px solid hsl(150 18% 92%); }
.rc-ib-row span:first-child { font-weight:700; color:#33403a; }
.rc-ib-row span:not(:first-child) { text-align:right; font-weight:600; color:#18211c; font-variant-numeric:tabular-nums; }
.rc-ib-head { border-top:none; }
.rc-ib-head span { color:#9aa0a6 !important; font-size:11px !important; font-weight:700 !important; text-transform:uppercase; letter-spacing:.3px; }
.rc-portn-wrap { display:flex; align-items:center; gap:6px; margin-top:8px; font-size:12.5px; color:var(--rc-muted); }
.rc-fwater { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:8px; font-size:12.5px; font-weight:600; color:#1f6ea0; background:#eef6fb; border:1px solid #cfe6f2; border-radius:9px; padding:7px 10px; }
.rc-fwater__in { width:78px; padding:6px 8px; border-radius:8px; border:1px solid #b8ddf0; background:#fff; font-family:inherit; font-size:13px; font-weight:700; color:#18211c; }
.rc-fwater__hint { color:#7aa0b8; font-weight:600; }
body.mu-dark .rc-fwater { background:hsl(205 25% 14%); border-color:hsl(205 25% 28%); color:#8fc7e8; }
body.mu-dark .rc-fwater__in { background:hsl(205 20% 12%); border-color:hsl(205 25% 30%); color:#eef4f8; }
.rc-portn-sel { flex:1; min-width:0; padding:7px 9px; border-radius:9px; border:1px solid hsl(150 18% 86%); background:#f4faf6; font-family:inherit; font-size:13px; font-weight:600; color:#15803d; cursor:pointer; }
.rc-unit-lbl { font-size:13px; font-weight:700; color:var(--rc-muted); min-width:22px; }
.rc-copy-opts { display:flex; flex-direction:column; gap:8px; }
.rc-copy-opts .rc-btn { width:100%; }
/* 📋 Výběr kopírování jídel/položek z jiného dne */
.rc-copy-srcrow { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:12px; }
.rc-copy-date { padding:7px 9px; border:1px solid hsl(150 18% 86%); border-radius:9px; background:#fff; font-family:inherit; font-size:13px; color:#18211c; }
.rc-copy-meals { display:flex; flex-direction:column; gap:10px; max-height:44vh; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.rc-copy-meal { border:1px solid hsl(150 18% 90%); border-radius:12px; padding:8px 10px; background:#fff; }
.rc-copy-mealhead { display:flex; align-items:center; gap:8px; font-size:14px; color:#18211c; cursor:pointer; padding-bottom:6px; border-bottom:1px dashed hsl(150 18% 90%); }
.rc-copy-cnt { margin-left:auto; font-size:11px; font-weight:700; color:#9aa0a6; background:hsl(150 30% 96%); border-radius:999px; padding:1px 8px; }
.rc-copy-item { display:flex; align-items:center; gap:8px; padding:6px 2px 4px; font-size:13.5px; color:#33403a; cursor:pointer; }
.rc-copy-item span { flex:1; min-width:0; }
.rc-copy-item small { color:#9aa0a6; font-weight:600; white-space:nowrap; }
.rc-copy-mealhead input, .rc-copy-item input { width:17px; height:17px; accent-color:#16a34a; flex:0 0 auto; }
body.mu-dark .rc-copy-meal { background:hsl(150 20% 14%); border-color:hsl(150 20% 26%); }
body.mu-dark .rc-copy-mealhead, body.mu-dark .rc-copy-item span { color:#e8ece9; }
body.mu-dark .rc-copy-date { background:hsl(150 20% 14%); border-color:hsl(150 20% 26%); color:#e8ece9; }
/* 🔗 Spojit položky do jednoho pojmenovaného jídla */
.rc-group-list { display:flex; flex-direction:column; gap:2px; max-height:38vh; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.rc-group-item { display:flex; align-items:center; gap:9px; padding:8px 6px; border-radius:9px; font-size:13.5px; color:#33403a; cursor:pointer; }
.rc-group-item.is-on { background:hsl(150 45% 96%); }
.rc-group-item span { flex:1; min-width:0; }
.rc-group-item small { color:#9aa0a6; font-weight:600; white-space:nowrap; }
.rc-group-item input { width:18px; height:18px; accent-color:#16a34a; flex:0 0 auto; }
body.mu-dark .rc-group-item { color:#e8ece9; }
body.mu-dark .rc-group-item.is-on { background:hsl(150 28% 16%); }
body.mu-dark .rc-group-item small { color:#9db0a6; }
.rc-itd-meta { margin-top:10px; padding:12px; background:hsl(150 30% 97%); border:1px solid hsl(150 18% 90%); border-radius:12px; }
.rc-itd-meta__row { display:flex; align-items:center; gap:10px; }
.rc-itd-meta__row label { font-size:13px; font-weight:700; color:#4b5563; }
.rc-itd-meta__row input { width:110px; padding:8px; border-radius:8px; border:1px solid hsl(150 18% 86%); font-family:inherit; font-size:14px; }
/* 🕐 Editace času položky — rychlé chipy + nativní výběr (mobil = žádné psaní dvojtečky) */
.rc-itd-meta__row--time { display:block; }
.rc-itd-meta__row--time > label { display:block; margin-bottom:8px; }
.rc-itd-times { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:9px; }
.rc-itd-tchip { padding:7px 13px; border-radius:999px; border:1.5px solid hsl(150 20% 84%); background:#fff; font-family:inherit; font-size:13.5px; font-weight:700; color:#4b5563; cursor:pointer; font-variant-numeric:tabular-nums; }
.rc-itd-tchip.is-on { border-color:#16a34a; background:hsl(150 60% 95%); color:#15803d; }
.rc-itd-tchip--now { border-color:#16a34a; color:#15803d; background:hsl(150 55% 96%); }
.rc-itd-timeinput { width:100% !important; box-sizing:border-box; font-size:16px !important; padding:11px 12px !important; text-align:center; }
body.mu-dark .rc-itd-tchip { background:hsl(150 20% 13%); border-color:hsl(150 20% 26%); color:#cbd5cf; }
body.mu-dark .rc-itd-tchip.is-on { background:hsl(150 30% 18%); border-color:#3ddc84; color:#eef4ef; }
body.mu-dark .rc-itd-tchip--now { background:hsl(150 28% 16%); border-color:#2f8f52; color:#8fe3ad; }
body.mu-dark .rc-itd-timeinput { background:hsl(150 20% 12%); border-color:hsl(150 20% 28%); color:#eef4ef; }
.rc-day-item__note { color:#8a6d3b !important; font-style:italic; }

/* ── 📈 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__fill--water { background:#bfe0f2; }
.rc-wkbar__fill--water.is-hit { background:linear-gradient(180deg,#5cb8e6,#2b8fca); }
.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; }
.rc-wk-sub { margin-top:14px; padding-top:12px; border-top:1px solid var(--rc-border); }
.rc-wk-sub__h { font-size:14px; font-weight:800; color:#2b6da3; margin:0 0 10px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.rc-wstreak { background:#eaf5fb; border:1px solid #b8ddf0; border-radius:999px; padding:3px 10px; font-size:12px; font-weight:800; color:#2b6da3; white-space:nowrap; }
.rc-dayclosed { margin:2px 0 4px; padding:12px 14px; border-radius:14px; background:linear-gradient(135deg,#e6f6ec,#effaf1); border:1px solid #9fdcb4; color:#15803d; font-size:14px; line-height:1.5; }
.rc-dayclosed b { color:#0f7a37; }
.rc-confetti { position:fixed; inset:0; pointer-events:none; z-index:99999; overflow:hidden; }
.rc-confetti span { position:absolute; top:-14px; width:9px; height:14px; border-radius:2px; opacity:.95; animation-name:rc-confetti-fall; animation-timing-function:cubic-bezier(.3,.6,.5,1); animation-fill-mode:forwards; }
@keyframes rc-confetti-fall { 0%{transform:translate(0,-10px) rotate(0);opacity:1} 100%{transform:translate(var(--rc-tilt,0),105vh) rotate(600deg);opacity:.6} }
@media (prefers-reduced-motion:reduce) { .rc-confetti { display:none; } }
/* Přechod mezi dny — jemné vyjetí ve směru šipky (jen při změně dne, ne při každém překreslení) */
@keyframes rc-day-in-next { from { opacity:0; transform:translateX(10px); } to { opacity:1; transform:none; } }
@keyframes rc-day-in-prev { from { opacity:0; transform:translateX(-10px); } to { opacity:1; transform:none; } }
.rc-day-anim--next { animation:rc-day-in-next .16s ease-out; }
.rc-day-anim--prev { animation:rc-day-in-prev .16s ease-out; }
@media (prefers-reduced-motion:reduce) { .rc-day-anim--next, .rc-day-anim--prev { animation:none; } }

/* ── 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); }

/* 🕐 Záznam pití s časem */
.rc-wlog { margin-top:10px; border-top:1px solid #cfe6f2; padding-top:8px; }
.rc-wlog summary { cursor:pointer; list-style:none; font-size:12.5px; font-weight:700; color:#2b6da3; }
.rc-wlog summary::-webkit-details-marker { display:none; }
.rc-wlog__list { margin-top:8px; display:flex; flex-direction:column; gap:2px; max-height:220px; overflow-y:auto; }
.rc-wlog__row { display:flex; align-items:center; gap:10px; font-size:13px; padding:4px 6px 4px 8px; border-radius:8px; background:#f2f9fd; }
.rc-wlog__row > span:first-child { color:#4b5563; font-weight:600; }
.rc-wlog__amt { margin-left:auto; font-weight:800; color:#2b8fca; font-variant-numeric:tabular-nums; }
.rc-wlog__minus { color:#b4671a !important; }
.rc-wlog__del { flex:0 0 auto; width:24px; height:24px; border-radius:7px; border:none; background:none; color:#b6c3cc; font-size:13px; cursor:pointer; line-height:1; }
.rc-wlog__del:hover { background:#fbe9e7; color:#d05070; }
.rc-wlog__src { flex:0 0 auto; font-size:10px; font-weight:700; color:#7c99a8; background:#e6eff5; padding:2px 7px; border-radius:999px; white-space:nowrap; }
.rc-wlog__row > span:first-child b { color:#2b6da3; font-weight:800; }
.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; }
/* Admin: recept skrytý pro ostatní (bez srdíčka) — zašedlý, ať víš, že ho členové nevidí */
.rc-card--hidden { opacity:0.5; filter:grayscale(0.7); }
.rc-card--hidden:hover { opacity:0.72; }
.rc-card--hidden .rc-fav-btn { opacity:1; filter:none; }
.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%); }
/* Prominentní propojení recept → Můj den (plné zelené, vyskočí mezi ghost tlačítky) */
.rc-btn--day { background:#16a34a; border-color:#16a34a; color:#fff; box-shadow:0 2px 8px rgba(22,163,74,.28); }
.rc-btn--day:hover { background:#0f7a37; border-color:#0f7a37; box-shadow:0 4px 14px rgba(22,163,74,.38); }
.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__head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.rc-nutri__head .rc-sec__h { margin:0; }
.rc-nutri__cap { margin:-6px 0 14px; font-size:13px; line-height:1.45; color:var(--rc-muted); }
.rc-nutri__cap b { color:var(--rc-text); font-weight:800; }
.rc-nutri__toggle { display:inline-flex; background:#eef5f0; border:1px solid hsl(150 18% 86%); border-radius:10px; padding:2px; gap:2px; }
.rc-nutri__tgl { border:none; background:transparent; color:#5b7567; font-family:inherit; font-size:13px; font-weight:800; padding:6px 12px; border-radius:8px; cursor:pointer; }
.rc-nutri__tgl.is-on { background:#16a34a; color:#fff; }
.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-opt { font-weight:600; color:#9aa0a6; font-size:12px; }
.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; }
/* 🍽️ Focení jídla — kam + kdy zařadit */
.rc-photo-assign { margin:12px 0 4px; padding:12px; background:hsl(150 30% 97%); border:1px solid hsl(150 22% 88%); border-radius:14px; }
.rc-photo-assign__l { font-size:13px; font-weight:800; color:#166534; margin-bottom:8px; }
.rc-photo-assign .rc-pmeals { margin-bottom:0; }
.rc-photo-assign .rc-pmeal { font-size:13px; }
body.mu-dark .rc-photo-assign { background:hsl(150 12% 16%); border-color:hsl(150 12% 26%); }
body.mu-dark .rc-photo-assign__l { color:#86efac; }

.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; }
/* Sloučená sekce: „dnešní cíl vychází z…" nad filozofií */
.rc-why-today { margin:2px 0 14px; padding-bottom:14px; border-bottom:1px dashed hsl(150 25% 82%); font-size:14px; color:var(--rc-text); }
.rc-why-today .rc-help__list { margin-top:7px; }
body.mu-dark .rc-why-today { border-bottom-color:hsl(150 22% 26%); }
.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 — váha výzva, DB stránkování ── */
/* 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-hero__bg { stroke: hsl(155 18% 18%); }
body.mu-dark .rc-hero__pct { fill: var(--rc-text); }
body.mu-dark .rc-hero__goal { fill: var(--rc-muted); }
body.mu-dark .rc-hero__side b { color: var(--rc-text); }
body.mu-dark .rc-hero__side small { color: var(--rc-muted); }

/* 🌙 Audit 8. 7. 2026: napevno zapsané tmavé/zelené barvy textu — neupravené
   pro tmavý režim splývaly s tmavým pozadím (stejný typ chyby jako .rc-hero
   výše). Sesbíráno skriptem přes celý recepty.css, viz pravidlo v CLAUDE.md
   „Tmavý režim — barvy vždy přes proměnnou". */
body.mu-dark .rc-food__brand, body.mu-dark .rc-dayprog__rem, body.mu-dark .rc-photo__load,
body.mu-dark .rc-photo__macros, body.mu-dark .rc-bal-res.rc-bal-ok b, body.mu-dark .rc-bal-net b.rc-bal-ok,
body.mu-dark .rc-bal-col--in .rc-bal-row span:last-child, body.mu-dark .rc-smart__big,
body.mu-dark .rc-goal-edit > summary, body.mu-dark .rc-strip__val--done, body.mu-dark .rc-scan-found,
body.mu-dark .rc-perio__pct.is-ok, body.mu-dark .rc-train__link b, body.mu-dark .rc-dish__title,
body.mu-dark .rc-wkbar span, body.mu-dark .rc-dayclosed, body.mu-dark .rc-dayclosed b,
body.mu-dark .rc-fuel__big, body.mu-dark .rc-fp-ok, body.mu-dark .rc-tl__row--pre .rc-tl__t,
body.mu-dark .rc-eshop__more, body.mu-dark .rc-tl__t, body.mu-dark .rc-link,
body.mu-dark .rc-af-status, body.mu-dark .rc-srow__n, body.mu-dark .rc-shop-item__amt {
  color: #3ddc84;
}
body.mu-dark .rc-photo__err, body.mu-dark .rc-link--danger,
body.mu-dark .rc-irow__del:hover, body.mu-dark .rc-srow__del:hover {
  color: #f87171;
}
body.mu-dark .rc-train__body b, body.mu-dark .rc-supp-g__h,
body.mu-dark .rc-ib-row span:not(:first-child), body.mu-dark .rc-eshop__head {
  color: var(--rc-text);
}
body.mu-dark .rc-bal-row span:first-child, body.mu-dark .rc-train__sub,
body.mu-dark .rc-train--rest .rc-train__body b, body.mu-dark .rc-dish__sub,
body.mu-dark .rc-supp-g__b, body.mu-dark .rc-supp-e__t, body.mu-dark .rc-ib-row span:first-child,
body.mu-dark .rc-itd-meta__row label, body.mu-dark .rc-eshop__txt, body.mu-dark .rc-eshop__hint,
body.mu-dark .rc-eshop__rec, body.mu-dark .rc-wlog__row span:first-child, body.mu-dark .rc-tip p {
  color: var(--rc-muted);
}
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-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); }
/* Týdenní pruh — tmavý režim */
body.mu-dark .rc-week__nav, body.mu-dark .rc-datepill { background: var(--rc-card); border-color: hsl(150 30% 24%); color: var(--rc-text); }
body.mu-dark .rc-wd__num { background: hsl(150 20% 16%); color: var(--rc-text); }
body.mu-dark .rc-wd.is-today:not(.is-sel) .rc-wd__num { background: transparent; color: #3ddc84; box-shadow: inset 0 0 0 2px #16a34a; }
body.mu-dark .rc-wd.is-today .rc-wd__lbl { color: #3ddc84; }
body.mu-dark .rc-wd__dot { box-shadow: 0 0 0 2px var(--rc-bg, #10201a); }
/* 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; flex-wrap:wrap; justify-content:flex-end; }
.rc-compose-row__act .rc-add-amt { width:64px; }
.rc-compose-portion { max-width:140px; padding:7px 8px; border-radius:8px; border:1px solid hsl(150 18% 86%); background:#fff; color:#18211c; font-family:inherit; font-size:12.5px; cursor:pointer; }
.rc-compose-portion:focus { outline:none; border-color:#16a34a; }
body.mu-dark .rc-compose-portion { background:hsl(150 20% 14%); border-color:hsl(150 20% 26%); color:#e8ece9; }

/* ── Počítadlo rychlého přidávání (okno se po přidání nezavírá) ── */
.rc-add-tally { display:flex; align-items:center; justify-content:space-between; gap:10px; background:linear-gradient(135deg,#f0f9f3,#eafaf0); border:1.5px solid #bfe6cf; border-radius:12px; padding:9px 12px; margin-bottom:10px; }
.rc-add-tally__txt { font-size:13.5px; color:#15803d; font-weight:600; }
.rc-add-tally__txt b { font-weight:800; }
.rc-add-tally__done { padding:7px 16px; flex-shrink:0; }
body.mu-dark .rc-add-tally { background:hsl(150 30% 16%); border-color:hsl(150 30% 30%); }
body.mu-dark .rc-add-tally__txt { color:#7ee0a3; }

/* ── Plovoucí toast (potvrzení přidání / splnění cíle) ── */
.rc-toast { position:fixed; left:50%; bottom:calc(24px + env(safe-area-inset-bottom,0px)); transform:translate(-50%,16px); z-index:100000; background:#18211c; color:#fff; font-size:13.5px; font-weight:600; padding:10px 16px; border-radius:999px; box-shadow:0 8px 28px rgba(0,0,0,.28); opacity:0; transition:opacity .24s ease, transform .24s ease; pointer-events:none; max-width:88vw; text-align:center; }
.rc-toast.is-in { opacity:1; transform:translate(-50%,0); }
.rc-toast--win { background:linear-gradient(135deg,#16a34a,#12833c); font-size:15px; padding:12px 22px; box-shadow:0 10px 34px rgba(22,163,74,.4); }

/* ── Přesun celého jídla (v menu jídla) ── */
.rc-dish-move { margin:0 0 8px; }
.rc-dish-move__l { display:block; font-size:12.5px; font-weight:700; color:var(--rc-muted); margin:0 0 5px 2px; }

/* ── Hromadný výběr položek → přesun do jiného jídla ── */
.rc-selbar { position:sticky; top:6px; z-index:6; display:flex; align-items:center; gap:8px; background:linear-gradient(135deg,#eef7ff,#eafaf0); border:1.5px solid #bfe0e6; border-radius:12px; padding:8px 10px; margin:0 0 10px; box-shadow:0 4px 14px rgba(0,0,0,.06); }
.rc-selbar__cnt { font-size:13px; font-weight:700; color:#15803d; white-space:nowrap; }
.rc-selbar__sel { flex:1; min-width:0; }
.rc-selbar__done { padding:7px 12px; flex-shrink:0; }
body.mu-dark .rc-selbar { background:hsl(150 22% 16%); border-color:hsl(150 22% 30%); }
body.mu-dark .rc-selbar__cnt { color:#7ee0a3; }
.rc-day-item--sel { cursor:pointer; align-items:center; gap:10px; }
.rc-day-item--sel.is-sel { background:var(--rc-card2); border-radius:10px; }
.rc-di__selbox { font-size:20px; flex-shrink:0; line-height:1; }
.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-tot__wt { text-align:center; margin-top:8px; font-size:12.5px; font-weight:600; 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%); }
