/* Build your plate (Health rubric) */
.pl-head { position: relative; overflow: hidden; padding-bottom: 54px; }
.pl-head__bg { position: absolute; inset: 0; background: url('/images/plate-hero.webp') center / cover no-repeat; opacity: .32; }
.pl-head__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.55), rgba(11,11,11,.92)); }
.pl-head__in { position: relative; max-width: 820px; margin: 0 auto; }
.pl-eyebrow { display: inline-block; font-family: var(--display); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #D6BE8D; text-decoration: none; margin-bottom: 16px; }
.pl-title { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 7vw, 84px); color: #F3EEE8; line-height: 1; margin: 0 0 18px; }
.pl-lead { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: rgba(243,238,232,.82); max-width: 660px; margin: 0 auto 26px; }
.pl-presets { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.pl-presets__l { font-family: var(--serif); font-style: italic; font-size: 18px; color: #D6BE8D; margin-right: 4px; }
.pl-preset { font-family: var(--display); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #F3EEE8; background: transparent; border: 1px solid rgba(214,190,141,.5); border-radius: 40px; padding: 11px 18px; cursor: pointer; transition: background .2s, color .2s; }
.pl-preset:hover, .pl-preset:focus-visible { background: #D6BE8D; color: #0B0B0B; }
.pl-main { background: var(--bg, #F8F6F1); padding: 56px 20px 70px; }
.pl-wrap { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 46px; align-items: start; }
@media (min-width: 901px) and (min-height: 880px) { .pl-left { position: sticky; top: 92px; } }
.pl-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pl-plate { position: relative; width: min(420px, 86vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #E9E2D6; box-shadow: 0 0 0 14px #fff, 0 0 0 15px rgba(139,0,0,.12), 0 26px 60px rgba(60,40,30,.22); margin: 16px 0 6px; }
.pl-sec { position: absolute; display: flex; flex-direction: column; gap: 3px; color: #8a7d78; transition: background .35s, color .35s; }
.pl-sec b { font-family: var(--display); font-weight: 400; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; }
.pl-sec small { font-family: var(--serif); font-size: 22px; line-height: 1; opacity: .8; }
.pl-sec ul { list-style: none; margin: 4px 0 0; padding: 0; font-family: var(--serif); font-size: clamp(14px, 1.6vw, 17px); line-height: 1.3; }
.pl-sec--veg { left: 0; top: 0; width: 50%; height: 100%; background: #E5EADB; border-right: 3px solid #fff; justify-content: center; align-items: flex-end; text-align: right; padding: 0 18px 0 34px; }
.pl-sec--grain { right: 0; top: 0; width: 50%; height: 50%; background: #F2E9D6; border-bottom: 3px solid #fff; justify-content: flex-end; padding: 0 30px 20px 18px; }
.pl-sec--prot { right: 0; bottom: 0; width: 50%; height: 50%; background: #F1E0DD; padding: 20px 30px 0 18px; }
.pl-sec--veg.is-full { background: #6F7F5A; color: #F8F6F1; }
.pl-sec--grain.is-full { background: #B8924F; color: #F8F6F1; }
.pl-sec--prot.is-full { background: #8B2A2A; color: #F8F6F1; }
.pl-side { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pl-badge { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 40px; padding: 8px 16px 8px 10px; box-shadow: 0 6px 18px rgba(60,40,30,.08); color: #8a7d78; }
.pl-badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pl-badge span { display: flex; flex-direction: column; }
.pl-badge b { font-family: var(--display); font-weight: 400; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.pl-badge em { font-family: var(--serif); font-style: normal; font-size: 16px; color: #1C1515; }
.pl-badge.is-full { color: #B8924F; }
.pl-score { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 22px 0 10px; }
.pl-score span { font-family: var(--serif); font-size: 40px; color: #1C1515; line-height: 1; }
.pl-score small { font-family: var(--display); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #8a7d78; }
.pl-checks { list-style: none; margin: 0 auto; padding: 0; max-width: 380px; display: grid; gap: 7px; }
.pl-checks li { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 17px; color: #8a7d78; }
.pl-checks i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c8bdb2; flex: 0 0 auto; position: relative; }
.pl-checks li.ok { color: #1C1515; }
.pl-checks li.ok i { background: #6F7F5A; border-color: #6F7F5A; }
.pl-checks li.ok i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pl-tip { text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.5; color: #5a4f4b; min-height: 54px; margin: 16px auto 18px; max-width: 420px; }
.is-balanced .pl-tip { color: #6F7F5A; }
.pl-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pl-actions .jp-btn { min-height: 44px; padding: 0 18px; }
.pl-clear { border-color: transparent; color: #8a7d78; }
.pl-group { background: #fff; border-radius: 16px; padding: 22px 22px 20px; margin-bottom: 16px; box-shadow: 0 6px 24px rgba(60,40,30,.06); }
.pl-group__t { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 4px; color: #1C1515; }
.pl-group__t em { font-style: normal; color: var(--red, #8B0000); margin-left: 4px; }
.pl-group__rule { font-family: var(--serif); font-style: italic; font-size: 16px; color: #6b605c; margin: 0 0 14px; line-height: 1.45; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chip { font-family: var(--serif); font-size: 17px; color: #1C1515; background: #F8F6F1; border: 1px solid rgba(28,21,21,.14); border-radius: 40px; padding: 8px 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pl-chip:hover { border-color: rgba(28,21,21,.4); }
.pl-chip:focus-visible, .pl-preset:focus-visible, .pl-day__x:focus-visible { outline: 2px solid #b7904f; outline-offset: 2px; }
.pl-group--veg .pl-chip[aria-pressed="true"] { background: #6F7F5A; border-color: #6F7F5A; color: #fff; }
.pl-group--grain .pl-chip[aria-pressed="true"] { background: #B8924F; border-color: #B8924F; color: #fff; }
.pl-group--prot .pl-chip[aria-pressed="true"] { background: #8B2A2A; border-color: #8B2A2A; color: #fff; }
.pl-group--fat .pl-chip[aria-pressed="true"], .pl-group--drink .pl-chip[aria-pressed="true"] { background: #1C1515; border-color: #1C1515; color: #fff; }
.pl-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: 12px; background: #1C1515; color: #F3EEE8; border-radius: 40px; padding: 8px 10px 8px 8px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.pl-bar[hidden] { display: none; }
.pl-bar__plate { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #F8F6F1; flex: 0 0 auto; }
.pl-bar__t { display: flex; flex-direction: column; line-height: 1.1; }
.pl-bar__t b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.pl-bar__t small { font-family: var(--display); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.pl-bar__go { margin-left: auto; font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: #D6BE8D; color: #0B0B0B; border: 0; border-radius: 40px; padding: 12px 16px; cursor: pointer; }
.pl-sub { text-align: center; font-family: var(--serif); font-style: italic; font-size: 19px; color: #6b605c; max-width: 620px; margin: -6px auto 26px; }
.pl-empty { text-align: center; font-family: var(--serif); font-size: 18px; color: #8a7d78; }
.pl-saved { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.pl-day { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 12px 12px 12px 14px; box-shadow: 0 6px 20px rgba(60,40,30,.06); }
.pl-day__plate { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(28,21,21,.12); flex: 0 0 auto; }
.pl-day__t { font-family: var(--serif); font-size: 15px; line-height: 1.35; color: #5a4f4b; }
.pl-day__t b { display: block; font-family: var(--display); font-weight: 400; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--red, #8B0000); margin-bottom: 2px; }
.pl-day__x { margin-left: auto; background: none; border: 0; font-size: 24px; line-height: 1; color: #8a7d78; cursor: pointer; padding: 4px 8px; }
.pl-shop { background: #fff; border-radius: 16px; padding: 24px 24px 22px; box-shadow: 0 6px 24px rgba(60,40,30,.06); }
.pl-shop__t { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 14px; text-align: center; }
#plShop { columns: 2; column-gap: 34px; }
.pl-shop__g { break-inside: avoid; margin-bottom: 16px; }
.pl-shop__g h4 { font-family: var(--display); font-weight: 400; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--red, #8B0000); margin: 0 0 8px; }
.pl-shop__g ul { list-style: none; margin: 0; padding: 0; }
.pl-shop__g li { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; padding: 3px 0; }
.pl-shop__g li i { width: 14px; height: 14px; border: 1.5px solid #c8bdb2; border-radius: 3px; flex: 0 0 auto; }
.pl-shop__g small { color: #8a7d78; font-size: 14px; }
.pl-shop__act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; }
.pl-ok { font-family: var(--serif); color: #6F7F5A; font-size: 16px; }
.pl-how { background: #F0EDE4; }
.pl-how__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 34px; margin-bottom: 30px; }
.pl-how__grid h3, .pl-faq__t { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 6px; color: #1C1515; }
.pl-how__grid p, .pl-faq { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: #4a3f3c; margin: 0; }
.pl-faq { margin-bottom: 26px; }
.pl-src { font-family: var(--serif); font-size: 15px; color: #6b605c; line-height: 1.6; }
.pl-src a { color: var(--red, #8B0000); }
@media (max-width: 900px) {
  .pl-wrap { grid-template-columns: 1fr; gap: 30px; }
  .pl-left { position: static; }
  .pl-saved, .pl-how__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pl-main { padding: 40px 14px 60px; }
  .pl-sec--veg { padding: 0 12px 0 22px; }
  .pl-sec--grain { padding: 0 18px 14px 12px; }
  .pl-sec--prot { padding: 14px 18px 0 12px; }
  .pl-group { padding: 18px 16px 16px; }
  .pl-chip { font-size: 16px; padding: 7px 13px; }
  #plShop { columns: 1; }
}
@media print {
  body.pl-printing > *:not(.pl-week) { display: none !important; }
  body.pl-printing .pl-week { padding: 0; background: #fff; }
  body.pl-printing .pl-saved, body.pl-printing .pl-sub, body.pl-printing .pl-shop__act, body.pl-printing .pl-empty { display: none !important; }
  body.pl-printing .pl-shop { box-shadow: none; }
}
