.pallet-page .page-hero h1 { font-size: clamp(2.65rem, 5.3vw, 4.65rem); }
.pallet-hero-grid, .pallet-ht-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}
.pallet-hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 42px #102b2c22;
}
.pallet-heat-treat { scroll-margin-top: 6rem; }
.pallet-ht-grid { align-items: start; }
.pallet-ht-grid p:not(.eyebrow) { margin-top: 0.3rem; }
.pallet-workflows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.pallet-workflows article {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.pallet-workflows h3 { margin: 0 0 0.65rem; font-size: 1.25rem; line-height: 1.25; }
.pallet-workflows p { margin: 0; }
.pallet-source-note { margin-top: 1.2rem; }
@media (max-width: 860px) {
  .pallet-hero-grid, .pallet-ht-grid { grid-template-columns: minmax(0, 1fr); }
  .pallet-workflows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pallet-workflows { grid-template-columns: minmax(0, 1fr); }
}


.pallet-examples { scroll-margin-top: 6rem; }
.pallet-examples > .container > p { color: #39584c; }
.pallet-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.pallet-example {
  --report-green: #16453c;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 3.3vw, 2rem);
  border: 1px solid #cadcd3;
  border-radius: 16px;
  background: #f7faf7;
  box-shadow: 0 14px 34px #102b2c0a;
}
.pallet-example figcaption .eyebrow { margin: 0 0 0.6rem; color: #386654; }
.pallet-example h3 { margin: 0; font-size: clamp(1.27rem, 2.6vw, 1.75rem); line-height: 1.15; }
.pallet-example figcaption p:not(.eyebrow) { margin: 0.6rem 0 0; color: #405d52; }
.pallet-example .pallet-chart-action {
  margin: auto 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #ccdcd4;
  color: #385549;
  font-size: 0.9rem;
}
.pallet-example--heat {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.25rem, 3.5vw, 3.5rem);
  border: 1px solid #1d4a3f;
  background: #142f2b;
  color: #f5fbf5;
}
.pallet-example--heat h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); color: #fff; }
.pallet-example--heat figcaption .eyebrow { color: #d6ee8d; }
.pallet-example--heat figcaption p:not(.eyebrow) { color: #d1e4da; }
.pallet-example--heat figcaption .pallet-chart-action { margin-top: 1.1rem; border-color: #526e62; }
.pallet-heat-data {
  display: grid;
  grid-template-columns: minmax(125px, 0.8fr) minmax(165px, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}
.pallet-donut {
  display: grid;
  place-items: center;
  width: min(100%, 13rem);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: conic-gradient(#cde884 0 80.25%, #66ae97 80.25% 95%, #e9ac66 95% 100%);
}
.pallet-donut-total {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 73%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #142f2b;
  color: #fff;
}
.pallet-donut-total strong { font-size: clamp(1.25rem, 3.2vw, 2.15rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pallet-donut-total span { margin-top: 0.3rem; color: #d1e4da; font-size: 0.7rem; }
.pallet-heat-legend { margin: 0; }
.pallet-heat-legend div { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.65rem 0; border-bottom: 1px solid #526e62; }
.pallet-heat-legend div:last-child { border-bottom: 0; }
.pallet-heat-legend dt { display: flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: #f2f8f2; }
.pallet-heat-legend dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.pallet-dot { flex: 0 0 0.55rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; }
.pallet-dot--wpm { background: #cde884; }
.pallet-dot--dunnage { background: #66ae97; }
.pallet-dot--non-ht { background: #e9ac66; }
.pallet-example-kpi strong { margin-right: 0.2rem; color: #17473c; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.pallet-aging { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); margin: 1.5rem 0 2rem; }
.pallet-aging-axis { position: relative; height: 8rem; color: #49665b; font-size: 0.75rem; }
.pallet-aging-axis span { position: absolute; right: 0.4rem; transform: translateY(-50%); }
.pallet-aging-axis span:nth-child(1) { top: 0; }
.pallet-aging-axis span:nth-child(2) { top: 50%; }
.pallet-aging-axis span:nth-child(3) { top: 100%; }
.pallet-aging-plot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  height: 8rem;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #95ad9e;
  background: linear-gradient(to bottom, #cddbd2 1px, transparent 1px) top / 100% 50%;
}
.pallet-aging-plot li { position: relative; min-width: 0; text-align: center; }
.pallet-aging-bar {
  position: absolute;
  bottom: 0;
  inset-inline: 20%;
  height: var(--bar-length);
  border-radius: 7px 7px 0 0;
  background: var(--bar-color);
}
.pallet-aging-amount { position: absolute; bottom: calc(var(--bar-length) + 0.18rem); left: 0; right: 0; color: #213d32; font-size: 0.76rem; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pallet-aging-period { position: absolute; top: calc(100% + 0.28rem); inset-inline: 0; color: #405d52; font-size: 0.73rem; white-space: nowrap; }
.pallet-stages { margin: 1.3rem 0 1.5rem; padding: 0; list-style: none; }
.pallet-stages li { position: relative; display: grid; grid-template-columns: 1rem minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; min-height: 2.9rem; padding-inline: 0.3rem; color: #264539; }
.pallet-stages li + li { border-top: 1px solid #e0ebe3; }
.pallet-stages li:last-child { border-radius: 7px; background: #f5ead6; color: #49391f; }
.pallet-stages strong { padding-right: 0.55rem; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.pallet-stage-marker { z-index: 1; width: 0.65rem; height: 0.65rem; margin: auto; border: 2px solid #397566; border-radius: 50%; background: #f7faf7; }
.pallet-stages li:nth-child(2) .pallet-stage-marker { background: #397566; }
.pallet-stages li:last-child .pallet-stage-marker { border-color: #9c641f; background: #9c641f; }
.pallet-stages li:not(:last-child)::after { position: absolute; content: ""; left: calc(0.8rem - 1px); top: 50%; bottom: -50%; border-left: 2px solid #a0b8a9; }
@media (max-width: 860px) {
  .pallet-example--heat { grid-template-columns: minmax(0, 1fr); }
  .pallet-heat-data { max-width: 34rem; }
}
@media (max-width: 640px) {
  .pallet-example-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .pallet-heat-data { grid-template-columns: minmax(0, 1fr); }
  .pallet-donut { width: 9.8rem; }
  .pallet-aging-period { font-size: 0.68rem; }
}
