
/* FitCalcly v16 cohesive result and content layer */
.fc-summary{margin:20px 0 4px;border:1px solid var(--line,#dce6e3);border-radius:15px;background:#fff;padding:16px;box-shadow:0 8px 24px rgba(15,60,90,.06);overflow:hidden;max-width:100%}
.fc-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.fc-summary-head h3{font-size:1.02rem!important;line-height:1.25;margin:0!important;color:var(--ink,#16302b)}.fc-summary-kicker{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:var(--accent-dark,#127a4e);font-weight:850;margin-bottom:3px}.fc-summary-intro{font-size:.82rem;color:var(--ink-soft,#4a6560);line-height:1.52;margin:0 0 12px}.fc-summary-live{background:linear-gradient(135deg,#eff6ff,#ecfdf5);border:1px solid #bae6d3;border-radius:10px;padding:10px 12px;font-size:.8rem;color:var(--ink-soft,#4a6560);margin:0 0 13px}.fc-summary-live strong{color:var(--ink,#16302b)}
.fc-summary-visual{height:48px;min-width:150px;max-width:190px;flex:0 0 175px}.fc-summary-visual svg{width:100%;height:100%;display:block}.fc-track{fill:none;stroke:#dfeae7;stroke-width:8;stroke-linecap:round}.fc-path{fill:none;stroke:url(#fcSummaryGradient);stroke-width:8;stroke-linecap:round;stroke-dasharray:260;stroke-dashoffset:260}.result.show .fc-path,.result[style*="display: block"] .fc-path{animation:fcDraw .8s cubic-bezier(.2,.75,.2,1) .08s forwards}.fc-node{transform-origin:center;opacity:.55}.result.show .fc-node{animation:fcNode .38s ease forwards}.result.show .fc-node:nth-of-type(2){animation-delay:.2s}.result.show .fc-node:nth-of-type(3){animation-delay:.4s}.result.show .fc-node:nth-of-type(4){animation-delay:.62s}
.fc-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fc-summary-panel{border-radius:13px;padding:13px;border:1px solid var(--line,#dce6e3);min-width:0}.fc-summary-panel.good{background:#f0fdf4;border-color:#bbf7d0}.fc-summary-panel.watch{background:#fff7ed;border-color:#fed7aa}.fc-summary-panel h4{font-size:.86rem;margin:0 0 9px;color:var(--ink,#16302b)}.fc-summary-list{display:grid;gap:8px}.fc-summary-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start;background:rgba(255,255,255,.86);border:1px solid rgba(148,163,184,.26);border-radius:10px;padding:9px;opacity:0;transform:translateY(7px);min-width:0}.result.show .fc-summary-item,.result[style*="display: block"] .fc-summary-item{animation:fcRise .42s ease forwards}.result.show .fc-summary-item:nth-child(2){animation-delay:.06s}.result.show .fc-summary-item:nth-child(3){animation-delay:.12s}.result.show .fc-summary-item:nth-child(4){animation-delay:.18s}.fc-summary-icon{width:34px;height:34px;border-radius:9px;background:#fff;display:grid;place-items:center;font-size:1.05rem;box-shadow:inset 0 0 0 1px rgba(148,163,184,.18)}.fc-summary-item strong{display:block;font-size:.79rem;line-height:1.25;color:var(--ink,#16302b)}.fc-summary-item span:last-child{display:block;font-size:.72rem;line-height:1.4;color:var(--ink-soft,#4a6560);margin-top:2px;overflow-wrap:anywhere}
.fc-guide{margin:28px 0 18px;border-top:1px solid var(--line,#dce6e3);padding-top:4px}.fc-guide>h2{margin-bottom:12px!important}.fc-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fc-guide-card{border:1px solid var(--line,#dce6e3);border-radius:12px;background:linear-gradient(180deg,#fff,#fbfefd);padding:14px;box-shadow:0 5px 18px rgba(15,60,90,.045)}.fc-guide-card h3{font-size:.93rem!important;margin:0 0 7px!important}.fc-guide-card p{font-size:.84rem;margin:0!important;line-height:1.58}.fc-extra-faq .a{line-height:1.65}
/* modern, lightweight graphics used by the eight new tools */
.fc-realistic-visual{background:radial-gradient(circle at 50% 25%,#fff 0,#f8fffc 48%,#f2f8fb 100%)!important}.fc-realistic-visual svg{filter:drop-shadow(0 7px 13px rgba(15,60,90,.08))}.fc-breathe{transform-origin:center;animation:fcBreathe 4.2s ease-in-out 3}.fc-float{transform-origin:center;animation:fcFloat 3.6s ease-in-out 3}.fc-flow-dot{opacity:0}.result.show .fc-flow-dot{animation:fcFlow 2.4s ease-in-out 3}.result.show .fc-flow-dot:nth-child(2){animation-delay:.25s}.result.show .fc-flow-dot:nth-child(3){animation-delay:.5s}.result.show .fc-flow-dot:nth-child(4){animation-delay:.75s}.fc-shimmer{opacity:.3;animation:fcShimmer 2.8s ease-in-out 3}.fc-pulse-ring{transform-origin:center;animation:fcPulse 2.8s ease-in-out 3}.fc-run-shadow{transition:transform 1.2s cubic-bezier(.2,.75,.2,1)}
/* make old and new recommendation groups visually identical */
.food-section{margin-top:18px}.food-section>h3{font-size:1rem;margin:0 0 5px}.food-section>.fc-food-intro{font-size:.78rem;color:var(--ink-soft,#4a6560);margin:0 0 10px}.food-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.food-group{border-radius:13px;padding:14px;border:1px solid var(--line,#dce6e3)}.food-group.good{background:#f0fdf4;border-color:#bbf7d0}.food-group.limit{background:#fff7ed;border-color:#fed7aa}.food-group h4{font-size:.88rem;margin:0 0 10px}.food-list{display:grid;gap:8px}.food-card{display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:start;background:rgba(255,255,255,.84);border:1px solid rgba(148,163,184,.25);border-radius:10px;padding:9px}.food-icon{width:34px;height:34px;border-radius:9px;background:#fff;display:grid;place-items:center}.food-icon svg{width:27px;height:27px}.food-card strong{display:block;font-size:.8rem}.food-card span{display:block;font-size:.73rem;color:var(--ink-soft,#4a6560);line-height:1.38;margin-top:1px}
/* preserve ad space and prevent layout shifts */
.adbox{min-height:120px!important;contain:layout paint}.adbox ins{min-height:100px!important;width:100%}
@keyframes fcDraw{to{stroke-dashoffset:0}}@keyframes fcNode{to{opacity:1;transform:scale(1.05)}}@keyframes fcRise{to{opacity:1;transform:none}}@keyframes fcBreathe{50%{transform:scale(1.025)}}@keyframes fcFloat{50%{transform:translateY(-3px)}}@keyframes fcFlow{0%{opacity:0;transform:translateY(7px)}35%,70%{opacity:1}100%{opacity:0;transform:translateY(-9px)}}@keyframes fcShimmer{50%{opacity:.75}}@keyframes fcPulse{50%{transform:scale(1.035);opacity:.8}}
@media(max-width:700px){.fc-summary-head{display:block}.fc-summary-visual{max-width:100%;width:100%;height:42px;margin:8px 0 2px}.fc-guide-grid{grid-template-columns:1fr}.fc-summary-grid{grid-template-columns:1fr}}
@media(max-width:420px){.fc-summary{padding:13px}.fc-summary-item{grid-template-columns:31px minmax(0,1fr)}.fc-summary-icon{width:31px;height:31px}.food-columns{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.fc-path,.fc-node,.fc-summary-item,.fc-breathe,.fc-float,.fc-flow-dot,.fc-shimmer,.fc-pulse-ring{animation:none!important;opacity:1!important;transform:none!important;stroke-dashoffset:0!important}}
@media print{.fc-summary-item{opacity:1!important;transform:none!important}.fc-path{stroke-dashoffset:0!important}.fc-summary-visual{display:none}.fc-guide{display:none}}
/* Cohesive mobile header and narrow-content safeguards */
@media(max-width:600px){
  header.site .wrap{padding-left:12px!important;padding-right:12px!important;gap:8px;min-width:0}
  header.site .logo{flex:0 0 auto;white-space:nowrap}
  .nav2{gap:2px!important;min-width:0;justify-content:flex-end}
  .nav2>a:not(.cta-pill){display:none!important}
  .mega-btn{padding:7px 8px!important;font-size:.8rem!important;white-space:nowrap}
  .cta-pill{padding:7px 9px!important;font-size:.76rem!important;white-space:nowrap;box-shadow:0 3px 10px rgba(16,185,129,.25)}
  .mega-panel{max-width:calc(100vw - 24px)!important;left:auto!important;right:0!important}
  main,.wrap,.calc,.result,article,.fc-summary,.fc-summary-panel,.fc-guide-card,.food-group,.food-card{min-width:0;max-width:100%}
  article table,.result table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Keep decorative motion informative and inexpensive on lower-power devices. */
.ldot,.hbeat,.hbeat2,.pulseLine,.ecg path,.blink{animation-iteration-count:3!important}
.result svg{max-width:100%;height:auto}
@media(max-width:600px){.result svg{filter:none}}
