/* Progressive overload lesson. All rules scoped under .pov-* */
.pov-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pov-note { font-size: 12.5px; color: var(--faint); text-align: center; }
.pov-hero img { width: 240px; max-width: 100%; max-height: 32vh; object-fit: contain; display: block; filter: drop-shadow(0 16px 28px rgba(123,92,253,.3)); }

/* ---------- reps left ---------- */
.pov-tank { width: 100%; max-width: 330px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--surface); }
.pov-tl { font: 700 14px var(--sans); color: var(--text); text-align: center; }
.pov-tb { display: flex; height: 26px; border-radius: 8px; overflow: hidden; background: var(--bg); gap: 2px; }
.pov-tb i { background: var(--gold); }
.pov-tb em { background: repeating-linear-gradient(45deg, rgba(169,155,255,.6) 0 3px, transparent 3px 7px); }
.pov-tc { display: flex; justify-content: space-between; font: 600 13px var(--sans); color: var(--dim); }

/* ---------- the log ---------- */
.pov-log { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 4px; }
.pov-head { display: flex; justify-content: space-between; gap: 8px; font: 600 13.5px var(--sans); color: var(--dim); padding: 0 4px; }
.pov-head b { color: var(--text); }
.pov-chart { width: 100%; height: auto; display: block; overflow: visible; }
.pov-ax { fill: var(--faint); font: 600 13px var(--sans); }
.pov-base { stroke: var(--line-strong); stroke-width: 1.5; }
.pov-done { fill: var(--gold); transition: y .25s, height .25s; }
.pov-rest { fill: url(#povHatch); stroke: rgba(169,155,255,.6); stroke-width: 1; transition: y .25s, height .25s; }
.pov-g { fill: var(--mint); transition: y .25s, height .25s; }
.pov-wk { fill: var(--faint); font: 700 13px var(--sans); text-anchor: middle; }
.pov-col.on .pov-wk { fill: var(--text); }
.pov-col.hit .pov-wk { fill: var(--mint); }
.pov-col.miss .pov-wk { fill: var(--red); }
.pov-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; font: 600 12px var(--sans); color: var(--dim); }
.pov-key i, .pov-key em, .pov-key b { display: inline-block; width: 12px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.pov-key i { background: var(--gold); }
.pov-key em { background: repeating-linear-gradient(45deg, rgba(169,155,255,.7) 0 2px, transparent 2px 4px); }
.pov-key b { background: var(--mint); }

.pov-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.pov-acts .pov-act { min-height: 52px; padding: 0 6px; }

.pov-cmp { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.pov-ct { font-size: 12.5px; color: var(--dim); text-align: center; font-weight: 600; }
.pov-cr { display: grid; grid-template-columns: 80px 1fr; gap: 8px; align-items: center; font: 700 13px var(--sans); color: var(--text); }
.pov-cr i { height: 10px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.pov-cr b { display: block; height: 100%; background: rgba(63,214,154,.45); border-radius: 5px; }
.pov-cr b.me { background: var(--mint); }

/* ---------- weight or reps ---------- */
.pov-two { display: flex; gap: 10px; width: 100%; max-width: 340px; }
.pov-two div { flex: 1; padding: 12px 10px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; text-align: center; }
.pov-two b { font: 700 20px var(--sans); color: var(--gold); }
.pov-two span { font-size: 13px; color: var(--dim); font-weight: 600; line-height: 1.3; }
.pov-bars { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.pov-bt { font-size: 12.5px; color: var(--dim); text-align: center; }
.pov-br { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); }
.pov-br i { height: 10px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.pov-br b { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 5px; transition: width .7s ease-out; }

/* ---------- breaks ---------- */
.pov-tl2 { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 10px; }
.pov-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 8px; font: 700 13px var(--sans); color: var(--text); }
.pov-row { display: flex; }
.pov-row span { width: 92px; flex: none; }
.pov-row i { height: 18px; }
.pov-row i.t { background: var(--gold); border-radius: 4px; }
.pov-row i.o { background: repeating-linear-gradient(45deg, rgba(169,155,255,.35) 0 3px, transparent 3px 7px); }
.pov-tk { display: flex; justify-content: center; gap: 16px; font: 600 12px var(--sans); color: var(--dim); }
.pov-tk i, .pov-tk em { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.pov-tk i { background: var(--gold); }
.pov-tk em { background: repeating-linear-gradient(45deg, rgba(169,155,255,.6) 0 2px, transparent 2px 4px); }

/* ---------- three logs ---------- */
.pov-sets { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.pov-set { display: grid; grid-template-columns: 26px 1fr; row-gap: 4px; column-gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 2px solid transparent; transition: border-color .3s; }
.pov-set > b { grid-row: span 2; align-self: center; font: 700 20px var(--sans); color: var(--text); text-align: center; }
.pov-sl { font: 700 13.5px var(--sans); color: var(--text); }
.pov-sb { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--bg); }
.pov-sb i { background: var(--gold); }
.pov-sb em { background: repeating-linear-gradient(45deg, rgba(169,155,255,.6) 0 3px, transparent 3px 6px); }
.pov-set.lo { border-color: var(--red); }

@media (max-height: 700px) {
  .pov-hero img { max-height: 24vh; }
  .pov-log { max-width: 330px; }
}
