/* Fysigo · www_v2 · "A week, start to finish" on product.html (2026-11-25).
   Parked here from the temp-journey sketch (variant D): one week, day by day —
   devices drop data in, it sorts into lanes, and the training balance tells you
   when to push and when to back off. Sample data. To remove: delete the #week
   section in product.html and the two week.* links. */
:root { --tan: var(--orange); }   /* training balance + Back off: brand orange (was tan #fe8301) */
.wkx .gi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wkx .mini { display: flex; gap: 6px; }
.wkx .mini span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.wkx .mini .yes { background: var(--lime); color: #0f0f0f; }
.wkx .mini .no { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-secondary); }

.jd { padding: clamp(24px, 2.6vw, 36px); overflow: visible; }
.jd:hover { transform: none; }
.wk { position: relative; display: grid; grid-template-columns: minmax(160px, 1.3fr) repeat(7, minmax(0, 1fr)); column-gap: 10px; }
.wk__lab { grid-column: 1; padding-right: 16px; }
.wk__lab .fy-eyebrow { margin: 0 0 6px; }
.wk__lab b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink-primary); }
.wk__day { text-align: center; font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-tertiary); padding-bottom: 14px; transition: color 300ms; }
.wk__day.on { color: var(--ink-primary); }
.wk__row { display: contents; }
.wk__cell { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line-default); min-height: 92px; }
.wk__lab { border-top: 1px solid var(--line-default); padding-top: 16px; padding-bottom: 16px; }
.wk__h .wk__lab, .wk__h .wk__cell { border-top: 0; }
/* collect: icons drop in */
.wk__cell--c { flex-wrap: wrap; align-content: flex-end; }
.wk__cell--c .gi { width: 20px; height: 20px; color: var(--ink-secondary); opacity: 0; transform: translateY(-18px); transition: opacity 300ms, transform 520ms var(--ease-out); }
.wk__cell--c.on .gi { opacity: 1; transform: none; }
.wk__cell--c.on .gi:nth-child(2) { transition-delay: 90ms; } .wk__cell--c.on .gi:nth-child(3) { transition-delay: 180ms; }
/* organize: lanes */
.lanes { display: grid; gap: 6px; width: 100%; max-width: 64px; }
.lane { display: grid; grid-template-columns: 1fr; align-items: end; height: 22px; }
.lane i { display: block; width: 100%; height: calc(var(--h) * 100%); border-radius: 3px; transform: scaleY(0); transform-origin: bottom; transition: transform 520ms var(--ease-out); }
.lane--load i { background: rgb(255 255 255 / .34); }
.lane--sleep i { background: color-mix(in srgb, var(--lime) 70%, transparent); }
.lane--fuel { height: 10px; align-items: center; justify-items: center; }
.lane--fuel i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-tertiary); }
.on .lane i { transform: none; }
.wk__lanekey { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--ink-tertiary); }
.wk__lanekey i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
/* guide: balance line + chips */
.wk__cell--g { flex-direction: column; align-items: center; justify-content: flex-end; min-height: 150px; }
.wk__chip { font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity 300ms, transform 400ms var(--ease-out); white-space: nowrap; }
.wk__chip.push { color: var(--lime); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lime) 45%, transparent); }
.wk__chip.off { color: #0f0f0f; background: var(--tan); }
.on > .wk__chip { opacity: 1; transform: none; }
.wk__bal { position: absolute; left: 0; right: 0; pointer-events: none; overflow: visible; }
.wk__bal .zero { stroke: rgb(255 255 255 / .12); stroke-dasharray: 3 4; }
.wk__bal .ln-bal { fill: none; stroke: var(--tan); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wk__bal .ln-fit { fill: none; stroke: #3fc9a0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wk__scan { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--lime) 20%, var(--lime) 80%, transparent); opacity: .7; pointer-events: none; transition: left 700ms var(--ease-in-out), opacity 300ms; }
.wk__call {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: min(340px, 100%);
  border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow-xl); padding: 16px;
  opacity: 0; transform: translateY(8px); transition: opacity 400ms, transform 500ms var(--ease-out); z-index: 4;
}
.wk__call.on { opacity: 1; transform: none; }
.wk__call p { margin: 0; }
.wk__call .t { font-weight: 800; font-size: 16px; color: var(--ink-primary); }
.wk__call .s { margin-top: 4px !important; font-size: 13px; color: var(--ink-secondary); line-height: 1.45; }
.wk__call .mini { margin-top: 12px; }
.wk__legend { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; color: var(--ink-tertiary); }
.wk__legend i { display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: 3px; }
.wk__guidewrap { grid-column: 2 / -1; position: relative; }

/* D · guide row (overrides above) */
.wk__guidewrap { padding: 16px 0 0; border-top: 1px solid var(--line-default); }
.wk__balwrap { position: relative; height: 120px; }
.wk__bal { position: absolute; inset: 0; width: 100%; height: 100%; }
.wk__bal path, .wk__bal line { vector-effect: non-scaling-stroke; }
.wk__bal .ln-bal, .wk__bal .ln-fit { stroke-dasharray: 100 100; stroke-dashoffset: var(--off, 100); transition: stroke-dashoffset 900ms var(--ease-in-out); }
.wk__gchips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 10px; justify-items: center; margin-top: 10px; }
.wk__gchips > div { display: grid; place-items: center; min-height: 28px; }
.wk__gchips > div.on > .wk__chip { opacity: 1; transform: none; }
.wk__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 18px; }
.wk__call { position: relative; right: auto; bottom: auto; }
/* D · fixes after first look */
.lane { justify-items: center; }
.lane i { width: 72%; }
.lane--load { height: 46px; }
.lane--sleep { height: 26px; }
.lane--fuel i { width: 8px; }
.wk__legend { flex-wrap: wrap; gap: 4px 14px; }
.wk__legend span, .wk__lanekey span { white-space: nowrap; }
.wk__lanekey { flex-wrap: wrap; gap: 4px 12px; }
.wk__bal path, .wk__bal line { vector-effect: none; }

@media (max-width: 1023px) {
  .wk { grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 4px; }
  .wk__lab { grid-column: 1 / -1; border-top: 1px solid var(--line-default); padding: 18px 0 4px; }
  .wk__h .wk__lab { display: none; }
  .wk__cell { border-top: 0; min-height: 70px; padding: 10px 0; }
  .wk__cell--c .gi { width: 14px; height: 14px; }
  .wk__chip { font-size: 0; width: 8px; height: 8px; padding: 0; border-radius: 50%; }
  .wk__chip.push { background: var(--lime); box-shadow: none; }
  .wk__guidewrap { grid-column: 1 / -1; }
  .wk__gchips { column-gap: 4px; }
  .wk__call { width: 100%; margin-top: 12px; }
}
