/* flog.day/catalog: "how many calories in X" answer pages. Own file; shares only tokens and the header/footer of site.css. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumbs { font-size: .84rem; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- answer page: first screen ---------- */
.ctop { padding: 18px 0 8px; }
.cgrid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 980px) {
  .cgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "main port" "cmp port"; gap: 28px 32px; } .ctop { padding-top: 30px; }
  .cmain { grid-area: main; } .cport { grid-area: port; } .ccmpw { grid-area: cmp; }
}
.ccmpw { margin-top: 10px; }
.ctitle { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.ctitle h1 { font-size: clamp(1.9rem, 5.4vw, 3.1rem); line-height: 1.02; }
.cthumb { width: 76px; height: 76px; object-fit: cover; border-radius: 18px; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 980px) { .cthumb { width: 104px; height: 104px; border-radius: 22px; } }
.caka { margin-top: 6px; color: var(--muted); font-size: .9rem; font-weight: 600; }

.cans { background: var(--forest); color: #eaf5e3; border-radius: 24px; padding: 16px 16px 14px; }
@media (min-width: 560px) { .cans { padding: 22px 22px 18px; } }
.cans-k { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.cans-k b { font-size: clamp(3rem, 12vw, 5rem); font-weight: 800; letter-spacing: -.05em; color: var(--lime); }
.cans-k span { font-size: 1.3rem; font-weight: 800; color: var(--lime); }
.cans-p { margin-top: 4px; font-size: 1.12rem; font-weight: 700; }
.cans-g { color: #b9cdb4; font-weight: 600; }
.cans-pc { margin-top: 8px; font-size: .95rem; color: #cfe0c9; line-height: 1.4; }
.cans-pc b { color: var(--lime); }
.cans-100 { margin-top: 8px; font-size: .98rem; color: #cfe0c9; }
.cans-100 b { color: #fff; }
.cmacros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.cmacros div { background: var(--forest-2); border-radius: 14px; padding: 8px 10px; }
.cmacros b { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cmacros small { font-size: .7em; margin-left: 2px; color: #b9cdb4; }
.cmacros span { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: #b9cdb4; text-transform: uppercase; }
.csplit { margin-top: 12px; }
.csplit svg { display: block; width: 100%; height: 8px; border-radius: 99px; overflow: hidden; }
.mp { fill: var(--yolk); background: var(--yolk); }
.mc { fill: var(--lime); background: var(--lime); }
.mf { fill: var(--amber); background: var(--amber); }
.clegend { list-style: none; padding: 0; margin: 7px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: #cfe0c9; font-weight: 600; }
.clegend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.cans-src { margin-top: 12px; font-size: .82rem; color: #b9cdb4; line-height: 1.45; }
.cans-src a { color: #fff; }

.cport-h { font-size: 1.05rem; letter-spacing: -.01em; margin: 2px 0 8px; }
.ctable-wrap { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ctable { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.ctable th, .ctable td { padding: 9px 8px; text-align: right; border-bottom: 1px solid var(--line); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }
.ctable td { white-space: nowrap; }
.ctable thead th { background: var(--lime-soft); color: var(--ink-2); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.ctable th:first-child, .ctable td:first-child { text-align: left; padding-left: 14px; }
.ctable td:last-child, .ctable th:last-child { padding-right: 14px; }
.ctable tbody th { font-weight: 700; line-height: 1.3; }
.ctable tbody th small { display: block; font-weight: 600; color: var(--muted); font-size: .82em; }
.ctable td b { font-weight: 800; }
@media (max-width: 560px) {
  .ctable { font-size: .8rem; } .ctable thead th { font-size: .64rem; letter-spacing: .02em; }
  .ctable th, .ctable td { padding: 7px 4px; } .ctable th:first-child { padding-left: 10px; } .ctable td:last-child, .ctable th:last-child { padding-right: 10px; }
}
.ccalc { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--card); border-radius: 18px; padding: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.ccalc[hidden] { display: none; }
.ccalc input, .ccalc select { font: inherit; font-weight: 700; font-size: 1rem; color: var(--ink); border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); min-height: 44px; padding: 0 12px; }
.ccalc input { width: 5.2em; }
.ccalc select { flex: 1 1 10em; min-width: 0; max-width: 100%; }
.ccalc output { flex: 1 0 100%; font-weight: 700; color: var(--ink-2); padding: 2px 4px 0; }
.ccalc output b { color: var(--ink); font-size: 1.2rem; }
@media (min-width: 560px) { .ccalc output { flex: 1 0 auto; } }

/* ---------- sections ---------- */
.csec { margin-top: 44px; }
.csec h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); margin-bottom: 8px; }
.csub { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.crich { max-width: 44em; font-size: 1.02rem; }
.crich b { font-weight: 800; }
.cfull { margin-top: 14px; max-width: 760px; }
.cfull summary { cursor: pointer; font-weight: 800; padding: 10px 0; }
.cfull .ctable .grp th { background: var(--paper); text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 9px 14px; }
.cfull .ctable .nsub th { font-weight: 500; color: var(--muted); padding-left: 28px; }
.cnote { margin-top: 10px; color: var(--muted); font-size: .84rem; }
.ccmp { list-style: none; padding: 0; margin: 0; max-width: 640px; display: grid; gap: 4px; }
.ccmp li { display: grid; grid-template-columns: minmax(0, 11em) 1fr 3.2em; gap: 10px; align-items: center; padding: 4px 0; font-size: .95rem; }
.cshares li { grid-template-columns: minmax(0, 11em) 1fr 3.2em 2.6em; }
.ccmp li small { color: var(--muted); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ccmp-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ccmp-n a { text-decoration: none; border-bottom: 1px solid var(--line); }
.ccmp-n a:hover { border-color: currentColor; }
.ccmp svg { width: 100%; height: 10px; }
.ccmp rect { fill: var(--green); }
.ccmp .cme rect { fill: var(--amber); }
.ccmp .cme .ccmp-n { color: var(--ink); }
.ccmp b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .ccmp li { grid-template-columns: minmax(0, 8.5em) 1fr 2.8em; gap: 8px; font-size: .88rem; } .cshares li { grid-template-columns: minmax(0, 7.5em) 1fr 2.8em 2.4em; } }
.cmore { margin-top: 16px; }
.cfaq { max-width: 44em; }
.cfaq h3 { font-size: 1.02rem; letter-spacing: -.01em; margin: 16px 0 4px; line-height: 1.3; }
.cfaq p { color: var(--ink-2); }
#source p { max-width: 44em; color: var(--ink-2); font-size: .95rem; }
#source p + p { margin-top: 10px; }
.cupd { color: var(--muted) !important; font-size: .84rem !important; }
.ccta { margin: 52px 0 0; background: var(--lime-soft); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.ccta h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); margin-bottom: 6px; }
.ccta p { color: var(--ink-2); max-width: 36em; }
.ccta .btn { justify-self: start; }
@media (min-width: 760px) { .ccta { grid-template-columns: 1fr auto; } }
.cnext { margin-bottom: 64px; }

/* ---------- search ---------- */
.csearch { position: relative; max-width: 640px; }
.csearch form { margin: 0; }
.csearch input {
  width: 100%; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; color: var(--ink);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); -webkit-appearance: none; appearance: none;
}
.csearch-big input { min-height: 58px; font-size: 1.06rem; box-shadow: 0 14px 28px -20px rgba(22, 48, 31, .55), inset 0 0 0 1px var(--line); }
.csearch input::placeholder { color: var(--muted); font-weight: 600; opacity: 1; }
.csearch input:focus { outline: 0; box-shadow: inset 0 0 0 3px var(--green); }
.cresults { margin-top: 8px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; }
.cresults[hidden] { display: none; }
.cresults ul { list-style: none; margin: 0; padding: 4px 0; }
.cresults a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; text-decoration: none; }
.cresults a:hover, .cresults a:focus { background: var(--lime-soft); outline: 0; }
.cresults small { color: var(--muted); font-weight: 600; white-space: nowrap; }
.cresults p { padding: 14px 18px; color: var(--muted); }

/* ---------- index ---------- */
.chead { padding: 22px 0 10px; }
.chead h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.chead-lede { margin: 6px 0 14px; color: var(--ink-2); font-weight: 600; font-size: 1.02rem; }
@media (min-width: 980px) { .chead { padding-top: 38px; } }
.cindex { padding-bottom: 56px; }
.cindex section + section { margin-top: 40px; }
.csec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.csec-head h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.csec-head a { font-weight: 800; font-size: .92rem; }
.cindex .csub { margin-top: 2px; }
.cgroups { display: grid; gap: 22px 28px; margin-top: 10px; }
.cgroups > *, .cgrid > * { min-width: 0; }
@media (min-width: 760px) { .cgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cgroups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cgroup h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px; }
.crows { list-style: none; margin: 0; padding: 0; }
.crow { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 48px; }
.crow:hover .crow-t b { text-decoration: underline; }
.crow img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; flex: none; }
.crow-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.crow-t b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow-t small { color: var(--muted); font-weight: 600; font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow-k { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.crow-k { font-size: 1.02rem; }
.crow-k small { color: var(--muted); font-weight: 700; font-size: .72rem; margin-left: 3px; }
.cgroup-more { margin-top: 8px; font-weight: 800; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 7px 13px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 700; font-size: .86rem; line-height: 1.3; }
.chip small { color: var(--muted); font-weight: 700; }
.chip:hover { background: var(--lime-soft); }
.cjump { margin: 10px 0 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cjump::-webkit-scrollbar { display: none; }
.cjump .chip { flex: none; }
.cgroup { scroll-margin-top: 90px; }
.cindex .ccta { margin-top: 48px; }

/* right column extras (dish energy by ingredient, food "rich in") */
.cside { margin-top: 22px; }
.cside .csub { margin-bottom: 6px; }
.cside .ccmp { max-width: none; }
.cshares .ccmp-n, .crich-l .ccmp-n { white-space: normal; line-height: 1.25; }
.crich-l li { grid-template-columns: minmax(0, 11em) 1fr 3.2em; }
.cside .cmore { margin-top: 12px; }
