/* Compare → identify → estimate: one reading direction and aligned stages. */
html[data-layout="brand-shapes"] #platform .meal-analysis-grid{
  --analysis-gap:clamp(32px,4vw,64px);
  --analysis-stage-height:360px;
  display:grid;grid-template-columns:1.08fr .92fr 1.12fr;
  gap:var(--analysis-gap);align-items:stretch
}
html[data-layout="brand-shapes"] #platform .analysis-step{
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44px var(--analysis-stage-height);
  grid-column:auto;grid-row:auto;gap:20px;align-self:stretch;position:relative;
  margin:0;padding:20px 0 0;border:0;border-top:1px solid #9bb69f;min-width:0
}
html[data-layout="brand-shapes"] #platform .analysis-step-3:before{display:none}
html[data-layout="brand-shapes"] #platform .analysis-step:not(:last-child):after{
  content:"→";position:absolute;right:calc((var(--analysis-gap) + 28px) / -2);
  top:calc(84px + var(--analysis-stage-height) / 2 - 16px);
  width:28px;color:#00876d;font-size:30px;font-weight:450;line-height:32px;text-align:center
}
html[data-layout="brand-shapes"] #platform .analysis-step-heading{
  display:flex;align-items:center;gap:12px;min-height:44px;margin:0;padding:0
}
html[data-layout="brand-shapes"] #platform .analysis-step-heading>span{
  display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;
  background:#c9dfcf;color:#006e56;font-size:14px;font-weight:700;letter-spacing:0;line-height:1
}
html[data-layout="brand-shapes"] #platform .analysis-step-heading h3{
  font-size:clamp(21px,1.8vw,27px);font-weight:700;line-height:1.25;letter-spacing:-.025em;
  white-space:normal;margin:0
}
html[data-layout="brand-shapes"] #platform .serving-pair{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  height:100%;min-height:0;width:100%;max-width:none;align-content:center;align-items:center;
  margin:0;padding:0;justify-self:stretch
}
html[data-layout="brand-shapes"] #platform .serving-pair figure{
  display:flex;flex-direction:column;align-items:center;gap:14px;margin:0
}
html[data-layout="brand-shapes"] #platform .serving-pair img{
  width:100%;height:auto;max-width:210px;max-height:none;aspect-ratio:1;object-fit:contain
}
html[data-layout="brand-shapes"] #platform .serving-pair figcaption{font-size:14px;line-height:1.5;text-align:center}
html[data-layout="brand-shapes"] #platform .analysis-plate{
  width:100%;max-width:320px;height:auto;min-height:0;aspect-ratio:1;
  align-self:center;justify-self:center;margin:0
}
html[data-layout="brand-shapes"] #platform .analysis-plate .food-label{font-size:13px}
html[data-layout="brand-shapes"] #platform .intake-card{
  width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:20px;
  border:1px solid #9bb69f;border-radius:0 0 40px 0;background:#edf3eb;box-shadow:none
}
html[data-layout="brand-shapes"] #platform .intake-card-title{
  flex-direction:row;align-items:center;gap:8px;margin-bottom:18px
}
html[data-layout="brand-shapes"] #platform .intake-card-title>strong{font-size:16px;line-height:1.4}
html[data-layout="brand-shapes"] #platform .intake-card-title>small{font-size:12px}
html[data-layout="brand-shapes"] #platform .intake-bars{gap:12px;margin-bottom:18px}
html[data-layout="brand-shapes"] #platform .intake-bars>div{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:8px;min-height:25px;margin:0
}
html[data-layout="brand-shapes"] #platform .intake-bars label{font-size:15px;line-height:1.4}
html[data-layout="brand-shapes"] #platform .intake-bars>div>span:last-child{font-size:16px}
html[data-layout="brand-shapes"] #platform .intake-nutrients{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;padding-top:16px
}
html[data-layout="brand-shapes"] #platform .intake-nutrients strong{font-size:27px}
html[data-layout="brand-shapes"] #platform .intake-nutrients small{font-size:13px;margin-top:4px}
@media(min-width:901px) and (max-width:1100px){
  html[data-layout="brand-shapes"] #platform .meal-analysis-grid{--analysis-gap:30px;--analysis-stage-height:375px}
  html[data-layout="brand-shapes"] #platform .analysis-step-heading{gap:8px}
  html[data-layout="brand-shapes"] #platform .analysis-step-heading h3{font-size:21px}
  html[data-layout="brand-shapes"] #platform .intake-card{padding:16px}
  html[data-layout="brand-shapes"] #platform .intake-card-title{flex-direction:column;align-items:flex-start;gap:5px;margin-bottom:14px}
}
@media(max-width:900px){
  html[data-layout="brand-shapes"] #platform .meal-analysis-grid{
    display:grid;grid-template-columns:minmax(0,1fr);gap:52px;--analysis-stage-height:360px
  }
  html[data-layout="brand-shapes"] #platform .analysis-step{max-width:620px;width:100%;margin-inline:auto;gap:16px}
  html[data-layout="brand-shapes"] #platform .analysis-step:not(:last-child):after{
    content:"↓";right:calc(50% - 14px);top:calc(100% + 9px)
  }
  html[data-layout="brand-shapes"] #platform .analysis-step-heading h3{font-size:25px}
  html[data-layout="brand-shapes"] #platform .serving-pair{gap:16px}
  html[data-layout="brand-shapes"] #platform .analysis-plate{max-width:300px}
}
