/* 2026-10-10 04:55 IST - Bodybuilding & Posing programme page, BOARD family ("season board"). The family look comes
   from style-board.css (linked first); this sheet only adds the page's own pieces: the phase colours on the season
   board, the chalk phase Gantt on the board panel and the posing-routine board with the eight mandatory poses.
   Every rule is scoped under body.pg-program-bodybuilding-posing.
   Phase palette (off-season #3e96ea, contest prep #cd4805, peak week #b048aa, after the show #19aa8e) validated with
   the dataviz validator, --mode dark --pairs all, on the board #17201c and on #141414 / #1c1c1c: ALL CHECKS PASS
   (worst CVD dE 10.2 deutan). Show day uses the brand --accent; activity rows use neutral chalk. The same hex values
   are written into the Gantt marks by infographics/program_bodybuilding_posing.py. */
body.pg-program-bodybuilding-posing .bb-ph-offseason { --bb-c: #3e96ea; }
body.pg-program-bodybuilding-posing .bb-ph-prep { --bb-c: #cd4805; }
body.pg-program-bodybuilding-posing .bb-ph-peak { --bb-c: #b048aa; }
body.pg-program-bodybuilding-posing .bb-ph-show { --bb-c: var(--accent); }
body.pg-program-bodybuilding-posing .bb-ph-recovery { --bb-c: #19aa8e; }
body.pg-program-bodybuilding-posing .bb-ph-neutral { --bb-c: #c3c2b7; }

/* 2026-10-10 04:55 IST - season board columns: coloured chalk line on top, phase span as a coloured tag */
body.pg-program-bodybuilding-posing .bb-season .cf-lane { border-top: 4px solid var(--bb-c); padding-top: 14px; }
body.pg-program-bodybuilding-posing .cf-tag[class*="bb-ph-"]::before { background: var(--bb-c); }
body.pg-program-bodybuilding-posing .cf-sw[class*="bb-ph-"] { background: var(--bb-c); }
body.pg-program-bodybuilding-posing .bb-season .cf-lane-head h3 { font-size: clamp(28px, 2.2vw, 36px); }

/* 2026-10-10 04:55 IST - the phase Gantt, chalk on the board panel */
body.pg-program-bodybuilding-posing .bb-chart .cf-panel-side { max-width: 980px; }
body.pg-program-bodybuilding-posing .bb-gantt { display: block; width: 100%; height: auto; font-family: var(--body); }
body.pg-program-bodybuilding-posing .bb-gantt--phone { display: none; }
body.pg-program-bodybuilding-posing .bb-gantt--phone .gx-label { font-size: 14px; }
body.pg-program-bodybuilding-posing .bb-gantt--phone .gx-tick, body.pg-program-bodybuilding-posing .bb-gantt--phone .gx-axis-title { font-size: 12.5px; }
body.pg-program-bodybuilding-posing .bb-gantt--phone .gx-foot { font-size: 11.5px; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-grid { stroke: rgba(236,235,228,.1); stroke-width: 1; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-sep { stroke: rgba(236,235,228,.22); stroke-width: 1; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-tick { fill: var(--cf-chalk-2); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-axis-title { fill: var(--cf-chalk-2); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-show { stroke: var(--accent); stroke-width: 2; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-label { fill: var(--cf-chalk); font-size: 13px; font-weight: 600; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-bar { fill: var(--f); transition: opacity .15s; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-bar.is-flex { fill-opacity: .38; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-dot { fill: var(--f); stroke: var(--cf-board); stroke-width: 2; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-in { fill: var(--ink); font-size: 12px; font-weight: 700; pointer-events: none; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-foot { fill: var(--cf-chalk-2); font-size: 11px; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-hit { fill: transparent; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-mark { cursor: default; outline: none; }
body.pg-program-bodybuilding-posing .bb-gantt .gx-mark:focus-visible .gx-hit { stroke: var(--accent); stroke-width: 2; }
body.pg-program-bodybuilding-posing .bb-gantt:hover .gx-mark:not(.is-hot) .gx-bar, body.pg-program-bodybuilding-posing .bb-gantt:hover .gx-mark:not(.is-hot) .gx-dot { opacity: .6; }

/* 2026-10-10 04:55 IST - posing-routine board: eight pose cards drawn in chalk, with a tick box each */
body.pg-program-bodybuilding-posing .bb-pose-board { padding: clamp(18px, 2.4vw, 32px); margin-bottom: 24px; }
body.pg-program-bodybuilding-posing .bb-poses-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--cf-line); }
body.pg-program-bodybuilding-posing .bb-poses-help { margin: 0; color: var(--cf-chalk-2); font-size: 14px; max-width: 70ch; }
body.pg-program-bodybuilding-posing .bb-poses-count { margin: 0; font-weight: 700; font-size: 15px; color: var(--cf-chalk); }
body.pg-program-bodybuilding-posing .bb-poses-count span { color: var(--accent); }
body.pg-program-bodybuilding-posing .bb-poses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.pg-program-bodybuilding-posing .bb-pose { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px clamp(12px, 1.4vw, 20px) 12px; border-top: 1px dashed var(--cf-line); transition: background-color .2s, box-shadow .2s; }
body.pg-program-bodybuilding-posing .bb-pose:nth-child(-n+4) { border-top: 0; }
body.pg-program-bodybuilding-posing .bb-pose:not(:nth-child(4n+1)) { border-left: 1px dashed var(--cf-line); }
body.pg-program-bodybuilding-posing .bb-pose:has(.bb-check-in:checked), body.pg-program-bodybuilding-posing .bb-pose.is-done { background: rgba(236,235,228,.06); box-shadow: inset 3px 0 0 var(--accent); }
body.pg-program-bodybuilding-posing .bb-pose-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
body.pg-program-bodybuilding-posing .bb-pose-no { font: 400 46px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(236,235,228,.45); letter-spacing: .02em; }
body.pg-program-bodybuilding-posing .bb-stage { width: 72px; height: 56px; }
body.pg-program-bodybuilding-posing .bb-stage-floor { fill: none; stroke: rgba(236,235,228,.35); stroke-width: 1.5; stroke-dasharray: 4 4; }
body.pg-program-bodybuilding-posing .bb-stage-spot { fill: none; stroke: var(--cf-chalk); stroke-width: 2; }
body.pg-program-bodybuilding-posing .bb-stage-face { fill: var(--accent); }
body.pg-program-bodybuilding-posing .bb-stage-judges { fill: var(--cf-chalk-2); }
body.pg-program-bodybuilding-posing .bb-pose-name { font-size: 27px; line-height: 1; color: var(--cf-chalk); transform: rotate(-1deg); transform-origin: left; }
body.pg-program-bodybuilding-posing .bb-pose-view { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
body.pg-program-bodybuilding-posing .bb-pose-shows { margin: 0; color: #d6d6d0; font-size: 14px; line-height: 1.55; flex: 1; }
body.pg-program-bodybuilding-posing .bb-pose-shows span { color: var(--cf-chalk-2); font-weight: 700; }
body.pg-program-bodybuilding-posing .bb-pose-learn { margin: 0; font-size: 13px; color: var(--cf-chalk-2); }
body.pg-program-bodybuilding-posing .bb-check { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--cf-line); cursor: pointer; font-weight: 600; font-size: 14px; min-height: 36px; color: var(--cf-chalk); }
body.pg-program-bodybuilding-posing .bb-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }

@media (max-width: 1000px) {
  body.pg-program-bodybuilding-posing .bb-poses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pg-program-bodybuilding-posing .bb-pose:nth-child(n) { border-left: 0; border-top: 1px dashed var(--cf-line); }
  body.pg-program-bodybuilding-posing .bb-pose:nth-child(-n+2) { border-top: 0; }
  body.pg-program-bodybuilding-posing .bb-pose:nth-child(even) { border-left: 1px dashed var(--cf-line); }
}
@media (max-width: 700px) {
  body.pg-program-bodybuilding-posing .bb-gantt--wide { display: none; }
  body.pg-program-bodybuilding-posing .bb-gantt--phone { display: block; }
}
@media (max-width: 560px) {
  body.pg-program-bodybuilding-posing .bb-poses { grid-template-columns: 1fr; }
  body.pg-program-bodybuilding-posing .bb-pose:nth-child(n) { border-left: 0; border-top: 1px dashed var(--cf-line); padding-left: 4px; padding-right: 4px; }
  body.pg-program-bodybuilding-posing .bb-pose:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.pg-program-bodybuilding-posing .bb-pose, body.pg-program-bodybuilding-posing .bb-gantt .gx-bar { transition: none; }
}
