/*
 * Sitewide visual refresh based on the meal planner reference.
 * Loaded last to reconcile legacy template styles without changing markup.
 */
:root {
  --tpc-accent: #24784c;
  --tpc-accent-light: #e1ecd7;
  --tpc-bg: #f8faf6;
  --tpc-card: #ffffff;
  --tpc-card-2: #eff4e7;
  --tpc-border: #d9e2d4;
  --tpc-text: #20382d;
  --tpc-muted: #627267;
}
body {
  background: var(--tpc-bg);
  color: var(--tpc-text);
  font-size: 16px;
  line-height: 1.65;
}
body p { font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
body h1, body h2, body h3, body h4 { color: var(--tpc-text); }
body h2 { font-size: 30px; line-height: 1.25; margin-bottom: 16px; padding-left: 0; letter-spacing: -.025em; }
body h3 { font-size: 22px; line-height: 1.3; margin: 26px 0 12px; padding-left: 0; letter-spacing: -.02em; }
body h2::before, body h3::before { display: none; }
body .tpc-container, body .tpc-hero .tpc-container { width: min(1120px, calc(100% - 48px)); }
body .tpc-header { top: 0; background: #fff; border-bottom: 1px solid var(--tpc-border); }
body .tpc-header .tpc-container { min-height: 78px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
body .tpc-logo { color: var(--tpc-text); gap: 10px; }
body .tpc-logo-icon { background: var(--tpc-accent); width: 40px; height: 42px; border-radius: 12px; }
body .tpc-logo-text { font-size: 17px; }
body .tpc-menu a, body .tpc-submenu-toggle { font-size: 13px; color: var(--tpc-text); padding-inline: 10px; }
body .tpc-menu-toggle { background: var(--tpc-accent); }
body .tpc-hero { padding: 40px 0 48px; }
body .tpc-hero-card, body .tpc-article-hero { background: var(--tpc-card-2); border: 1px solid var(--tpc-border); border-radius: 20px; box-shadow: none; }
body .tpc-hero-card > .tpc-hero-grid, body .tpc-article-hero > .tpc-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 480px; }
body .tpc-hero-content, body .tpc-article-hero .tpc-hero-content { color: var(--tpc-text); padding: 40px 32px; }
body .tpc-hero-content h1, body .tpc-hero-title, body .tpc-article-hero .tpc-hero-title { font-size: 42px; line-height: 1.12; letter-spacing: -.04em; color: var(--tpc-text); margin: 0 0 20px; }
body .tpc-hero-title span { color: var(--tpc-accent); }
body .tpc-hero-description, body .tpc-hero-excerpt, body .tpc-article-hero .tpc-hero-excerpt { font-size: 16px; line-height: 1.65; color: #50665a; margin: 0 0 22px; }
body .tpc-badge, body .tpc-hero-features span, body .tpc-article-hero .tpc-category-pill, body .tpc-article-hero .tpc-meta-item { color: #315d3c; background: #e1ecd7; border-color: #d4e0ca; font-size: 12px; padding: 7px 12px; }
body .tpc-badge { margin-bottom: 22px; }
body .tpc-hero-features { margin-bottom: 24px; gap: 8px; }
body .tpc-hero-image, body .tpc-article-hero .tpc-hero-image { min-height: 480px; }
body .tpc-hero-image::before, body .tpc-article-hero .tpc-hero-image::before { background: linear-gradient(90deg, #eff4e7, rgba(239,244,231,.65) 18%, transparent 60%); }
body .tpc-hero-image::after, body .tpc-article-hero .tpc-hero-image::after { background: none; }
body .tpc-article-hero .tpc-hero-bg-shape { display: none; }
body .tpc-btn, body .tpc-article-hero .tpc-btn-light, body .primary-btn { min-height: 46px; padding: 12px 22px; background: var(--tpc-accent); color: #fff; font-size: 14px; border-radius: 9px; box-shadow: none; }
body .tpc-btn:hover, body .tpc-article-hero .tpc-btn-light:hover, body .primary-btn:hover { background: #195d3b; color: #fff; }
body .tpc-article-hero { max-width: 1120px; margin: 36px auto; }
body .tpc-article-hero .tpc-hero-meta { margin: 0 0 20px; gap: 8px; }
body .tpc-article-hero .tpc-hero-categories { margin-bottom: 18px; }
body .tpc-article-hero .tpc-hero-actions { margin-top: 0; }
body .tpc-section-title, body .tpc-section-heading { margin: 0 auto 30px; }
body .tpc-section-title h2, body .tpc-section-heading h2, body .tpc-methodology__header h2, body .tpc-pi-title { font-size: 30px; line-height: 1.25; color: var(--tpc-text); margin: 10px 0 14px; }
body .tpc-section-title p, body .tpc-section-subtitle, body .tpc-pi-subtitle, body .tpc-methodology__header p { font-size: 16px; line-height: 1.65; color: var(--tpc-muted); }
body .tpc-section-title span, body .tpc-page-label, body .tpc-eyebrow { color: var(--tpc-accent); }
body .tpc-calculator, body .tpc-about-protein, body .tpc-methodology, body .tpc-pi-section, body .tpc-home-about { padding-block: 48px; }
body .tpc-about-protein, body .tpc-pi-section, body .tpc-guides-page { background: var(--tpc-bg); }
body .tpc-methodology { background: #fff; }
body .tpc-calculator-grid { gap: 24px; }
body .tpc-calculator-title { font-size: 32px; line-height: 1.25; margin-bottom: 12px; }
body .tpc-calculator-subtitle { font-size: 16px; margin-bottom: 28px; }
body .tpc-calculator-card, body .tpc-preview-card, body .tpc-benefit, body .tpc-pi-card, body .tpc-about-content, body .tpc-methodology__card { padding: 28px; border: 1px solid var(--tpc-border); border-radius: 16px; box-shadow: none; }
body .tpc-preview-card { background: var(--tpc-card-2); }
body .tpc-card-header { margin-bottom: 24px; }
body .tpc-card-header h2, body .tpc-preview-card h3 { font-size: 24px; line-height: 1.3; margin: 0 0 12px; color: var(--tpc-text); }
body .tpc-card-header p, body .tpc-preview-card p { font-size: 15px; line-height: 1.6; color: var(--tpc-muted); margin-bottom: 20px; }
body .tpc-input-group { margin-bottom: 18px; }
body .tpc-input-group label { font-size: 14px; margin-bottom: 7px; color: var(--tpc-text); }
body .tpc-input-group input, body .tpc-input-group select { height: 48px; font-size: 16px; padding-inline: 14px; border-radius: 9px; border-color: var(--tpc-border); color: var(--tpc-text); }
body .goal-btn, body .tpc-toggle button { min-height: 46px; height: 46px; padding: 10px 12px; font-size: 14px; border-radius: 9px; background: #f0f3ec; color: #50665a; }
body .goal-btn.active, body .tpc-toggle button.active { background: var(--tpc-accent); color: #fff; }
body .tpc-divider { margin: 28px 0 22px; color: #627267; }
body .tpc-calculate { height: 48px; margin-top: 22px; font-size: 15px; border-radius: 9px; background: var(--tpc-accent); }
body .tpc-preview-number { font-size: 52px; line-height: 1.2; color: var(--tpc-accent); }
body .tpc-preview-badge, body .tpc-note { background: #e1ecd7; color: #315d3c; }
body .tpc-preview-badge { font-size: 11px; padding: 6px 12px; margin-bottom: 18px; }
body .tpc-meals { gap: 10px; margin-bottom: 20px; }
body .tpc-meals div { padding: 12px 14px; border-radius: 10px; }
body .tpc-benefits-grid, body .tpc-pi-grid { gap: 20px; }
body .tpc-benefit h3, body .tpc-pi-card-title, body .tpc-home-about h2 { font-size: 22px; margin: 0 0 12px; color: var(--tpc-text); }
body .tpc-benefit p, body .tpc-pi-card-text, body .tpc-about-content p { font-size: 16px; line-height: 1.65; margin-bottom: 16px; color: var(--tpc-muted); }
body .tpc-icon { width: 48px; height: 48px; font-size: 24px; border-radius: 12px; margin-bottom: 18px; background: var(--tpc-card-2); }
body .pc-faq { gap: 12px; margin-top: 24px; }
body .pc-faq-item { border-radius: 14px; box-shadow: none; border-color: var(--tpc-border); }
body .pc-faq-btn { padding: 18px 22px; font-size: 16px; color: var(--tpc-text); }
body .pc-faq-content p { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; }
body .tpc-article-body { max-width: 760px; width: min(760px, calc(100% - 48px)); margin: 36px auto; }
body .tpc-article-content, body .tpc-single-content { font-size: 16px; line-height: 1.65; color: #40564a; }
body :is(.tpc-article-content, .tpc-single-content, .pc-page-content) p { font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
body :is(.tpc-article-content, .tpc-single-content, .pc-page-content) h2 { font-size: 28px; line-height: 1.3; margin: 36px 0 16px; color: var(--tpc-text); }
body :is(.tpc-article-content, .tpc-single-content, .pc-page-content) h3 { font-size: 22px; line-height: 1.35; margin: 28px 0 12px; color: var(--tpc-text); }
body :is(.tpc-article-content, .tpc-single-content, .pc-page-content) h4 { font-size: 17px; line-height: 1.4; margin: 20px 0 10px; }
body .tpc-article-section { margin: 36px 0; }
body .tpc-article-section:first-child { margin-top: 0; }
body :is(.tpc-article-content, .tpc-single-content) a { color: #24784c; text-underline-offset: 3px; }
body :is(.tpc-article-content, .tpc-single-content) a:hover { color: #195d3b; border-color: #195d3b; }
body :is(.tpc-article-content, .tpc-single-content) :is(ul, ol) { margin: 18px 0; padding-left: 24px; }
body :is(.tpc-article-content, .tpc-single-content) li { margin: 7px 0; line-height: 1.65; }
body :is(.tpc-article-content, .tpc-single-content) .tpc-article-list { padding-left: 24px; list-style: disc; }
body :is(.tpc-article-content, .tpc-single-content) ol.tpc-article-list { list-style: decimal; }
body :is(.tpc-article-content, .tpc-single-content) .tpc-article-list li { padding: 5px 0; margin: 0; border: 0; font-size: 16px; line-height: 1.65; color: #40564a; }
body :is(.tpc-article-content, .tpc-single-content) .tpc-article-list li::before { display: none; }
body :is(.tpc-article-content, .tpc-single-content) .tpc-article-list li:hover { padding-left: 0; background: none; }
body .tpc-article-content :is(.tpc-article-tip, .tpc-article-note, .tpc-article-warning, .tpc-medical-note, .tpc-calculation-card, .tpc-article-highlight) { margin: 24px 0; padding: 22px; border-radius: 14px; box-shadow: none; }
body .tpc-article-content .tpc-article-tip { padding-top: 48px; background: #f0f4e9; border: 1px solid #d6e1cc; border-left: 4px solid var(--tpc-accent); }
body .tpc-article-tip::before { top: 12px; left: 18px; font-size: 11px; padding: 4px 10px; color: #315d3c; border-color: #d6e1cc; }
body .tpc-article-content .tpc-article-highlight { background: #eff4e7; border: 1px solid #d9e2d0; }
body .tpc-article-content .tpc-article-note { background: #f4f6ef; border: 1px solid #d9e2d0; border-left: 4px solid #8b9f70; }
body .tpc-article-content :is(.tpc-article-tip, .tpc-article-highlight, .tpc-article-note, .tpc-article-warning, .tpc-medical-note) p { margin-bottom: 0; font-size: 16px; line-height: 1.65; color: #40564a; }
body .tpc-article-content :is(.tpc-article-tip, .tpc-article-highlight, .tpc-article-note, .tpc-article-warning) p + p { margin-top: 12px; }
body .tpc-article-content .tpc-article-badge { font-size: 11px; padding: 5px 10px; background: #e1ecd7; color: #315d3c; }
body :is(.tpc-article-content, .tpc-single-content) img { border-radius: 16px; margin: 26px 0; box-shadow: none; }
body .tpc-article-content .tpc-article-media { margin: 26px 0; }
body .tpc-article-content .tpc-article-media img { margin-top: 0; }
body .tpc-article-content .tpc-article-table-wrap { overflow-x: auto; border-radius: 12px; margin: 24px 0; }
body :is(.tpc-article-content, .tpc-single-content) table { font-size: 14px; line-height: 1.55; margin: 24px 0; box-shadow: none; border-radius: 12px; }
body .tpc-article-content .tpc-article-table-wrap table { margin: 0; }
body :is(.tpc-article-content, .tpc-single-content) th { background: #24784c; color: #fff; }
body :is(.tpc-article-content, .tpc-single-content) :is(th, td) { padding: 12px 14px; border-bottom-color: var(--tpc-border); }
body .tpc-article-content .tpc-faq-list { margin: 24px 0; }
body .tpc-article-content .tpc-faq-list details { border-radius: 12px; margin: 10px 0; border-color: var(--tpc-border); }
body .tpc-article-content .tpc-faq-list summary { padding: 16px 18px; font-size: 16px; color: var(--tpc-text); }
body .tpc-article-content .tpc-article-answer { padding: 18px 18px 2px; }
body .tpc-article-content .tpc-inline-calculator-cta { margin: 32px 0; padding: 28px; background: #173e2f; border-radius: 16px; box-shadow: none; }
body .tpc-article-content .tpc-inline-calculator-cta h2 { font-size: 26px; color: #fff; margin: 0 0 12px; }
body .tpc-article-content .tpc-inline-calculator-cta p { color: #e1ebdf; }
body .tpc-article-content .tpc-inline-calculator-cta a { color: #195d3b; border-radius: 9px; }
body .tpc-article-content blockquote, body .tpc-article-quote { background: #eff4e7; border-color: #24784c; margin: 24px 0; padding: 24px; border-radius: 14px; }
body .tpc-article-quote p { color: #20382d; font-size: 17px; }
body .tpc-article-quote::before { display: none; }
body .pc-page-hero { padding: 54px 24px 36px; background: var(--tpc-bg); }
body .pc-page-hero h1, body .tpc-guides-hero h1 { font-size: clamp(32px, 4vw, 42px); line-height: 1.15; color: var(--tpc-text); }
body .pc-page-content { max-width: 808px; padding: 36px 24px; }
body .pc-page-content li { font-size: 16px; margin-bottom: 8px; line-height: 1.65; }
body .tpc-guides-hero { padding: 54px 0 40px; background: var(--tpc-card-2); }
body .tpc-guides-hero p { font-size: 16px; }
body .tpc-guide-directory { padding: 40px 0 56px; }
body .tpc-guide-directory-intro h2 { font-size: 30px; }
body .tpc-card, body .tpc-related-card { box-shadow: none; border: 1px solid var(--tpc-border); border-radius: 16px; }
body .card-body, body .tpc-related-content { padding: 20px; }
body .card-body h3, body .tpc-related-content h3 { font-size: 19px; margin: 0 0 12px; }
body .card-body p { font-size: 15px; margin-bottom: 16px; }
body .tpc-author-box { box-sizing: border-box; width: min(880px, calc(100% - 48px)); padding: 24px; margin: 36px auto; box-shadow: none; border-radius: 16px; }
body .tpc-related-posts { margin-top: 40px; }
body .tpc-footer { margin-top: 56px; border-color: var(--tpc-border); }
body .tpc-footer-grid { padding: 40px 0 28px; gap: 32px; }
body .tpc-footer-brand h3 { font-size: 22px; margin: 0 0 12px; color: var(--tpc-text); }
body .tpc-footer-brand p, body .tpc-footer-links a { font-size: 14px; line-height: 1.65; color: var(--tpc-muted); }
body .tpc-footer-links h4 { font-size: 15px; margin-bottom: 14px; }
body .tpc-footer-links li { margin-bottom: 8px; }
body .tpc-footer-bottom { padding: 20px 0; }
body .tpc-footer-bottom p { font-size: 13px; margin: 0; color: var(--tpc-muted); }
@media (max-width: 1024px) {
  body .tpc-hero-card > .tpc-hero-grid, body .tpc-article-hero > .tpc-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  body .tpc-hero-content, body .tpc-article-hero .tpc-hero-content { padding: 32px; text-align: left; }
  body .tpc-hero-image, body .tpc-article-hero .tpc-hero-image { min-height: 300px; }
  body .tpc-hero-image::before, body .tpc-article-hero .tpc-hero-image::before { background: linear-gradient(180deg, #eff4e7, rgba(239,244,231,.5) 20%, transparent 65%); }
  body .tpc-article-hero { margin-inline: 24px; }
}
@media (max-width: 600px) {
  body .tpc-container, body .tpc-hero .tpc-container { width: calc(100% - 32px); }
  body .tpc-header .tpc-container { min-height: 68px; }
  body .tpc-nav { top: 76px; }
  body .tpc-logo-text { font-size: 15px; }
  body .tpc-hero { padding: 24px 0 32px; }
  body .tpc-hero-content, body .tpc-article-hero .tpc-hero-content { padding: 26px 22px; }
  body .tpc-hero-content h1, body .tpc-hero h1, body .tpc-article-hero .tpc-hero-title { font-size: 32px; line-height: 1.15; }
  body .tpc-hero-description, body .tpc-article-hero .tpc-hero-excerpt { font-size: 15px; }
  body .tpc-hero-image, body .tpc-article-hero .tpc-hero-image { min-height: 230px; }
  body .tpc-article-hero { margin: 24px 16px; border-radius: 16px; }
  body .tpc-calculator, body .tpc-about-protein, body .tpc-methodology, body .tpc-pi-section, body .tpc-home-about { padding-block: 32px; }
  body .tpc-section-title h2, body .tpc-section-heading h2, body .tpc-methodology__header h2, body .tpc-pi-title, body .tpc-calculator-title { font-size: 26px; }
  body .tpc-calculator-card, body .tpc-preview-card, body .tpc-benefit, body .tpc-pi-card, body .tpc-about-content { padding: 22px; }
  body .tpc-goals, body .tpc-toggle { gap: 8px; }
  body .goal-btn, body .tpc-toggle button { min-height: 46px; font-size: 14px; }
  body .tpc-preview-number { font-size: 44px; }
  body .tpc-article-body { width: calc(100% - 36px); margin: 28px auto; }
  body .tpc-article-content h2 { font-size: 25px; margin-top: 30px; }
  body .tpc-article-content h3 { font-size: 21px; margin-top: 24px; }
  body .tpc-article-content :is(th, td) { padding: 10px; }
  body .tpc-article-content :is(.tpc-article-tip, .tpc-article-note, .tpc-article-warning, .tpc-medical-note, .tpc-calculation-card, .tpc-article-highlight) { padding: 18px; }
  body .tpc-article-content .tpc-article-tip { padding-top: 46px; }
  body .tpc-article-content .tpc-inline-calculator-cta { padding: 24px 20px; }
  body .pc-faq-btn { padding: 16px 18px; }
  body .pc-page-hero h1, body .tpc-guides-hero h1 { font-size: 32px; }
}
