/* Fixed-load illustration. This module never measures energy or fatigue. */
.kc-strength {
  --kc-strength-share: 44.444444%;
  --kc-strength-position: 26.666667%;
}
.chapters .kc-strength .kc-strength__intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 1.65rem;
}
.kc-strength__label-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .7rem 1.2rem;
  align-items: center;
}
.kc-strength__label-row label {
  font-size: 1.0625rem;
  line-height: 1.4;
}
.kc-strength__label-row output,
.kc-strength__effort output {
  color: var(--acid);
  white-space: nowrap;
  font: 700 clamp(1.7rem,5cqi,2.35rem)/1.1 'Inter Tight',Inter,sans-serif;
  font-variant-numeric: tabular-nums;
}
.kc-strength input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 48px;
  margin: .8rem 0 .1rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}
.kc-strength input[type="range"]::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 8px;
  background: linear-gradient(to right,var(--acid) 0%,var(--acid) var(--kc-strength-position),#39393f var(--kc-strength-position),#39393f 100%);
}
.kc-strength input[type="range"]::-moz-range-track {
  height: 7px;
  border-radius: 8px;
  background: #39393f;
}
.kc-strength input[type="range"]::-moz-range-progress { height: 7px; border-radius: 8px; background: var(--acid); }
.kc-strength input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  margin-top: -10.5px;
  border: 3px solid var(--lilac);
  background: #15121b;
  box-shadow: 0 0 0 5px #b9a3ff1a;
}
.kc-strength input[type="range"]::-moz-range-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  border: 3px solid var(--lilac);
  background: #15121b;
  box-shadow: 0 0 0 5px #b9a3ff1a;
}
.kc-strength input[type="range"]:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }
.kc-strength input[type="range"]:disabled { cursor: default; opacity: .65; }
.kc-strength__bounds { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .875rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.chapters .kc-strength .kc-strength__effort { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin: 1.7rem 0 1rem; font-size: 1.0625rem; line-height: 1.4; }
.kc-strength__bar { display: flex; height: 58px; border-radius: .85rem; overflow: hidden; isolation: isolate; }
.kc-strength__load,.kc-strength__reserve { display: flex; align-items: center; justify-content: center; min-width: 0; color: #111112; font: 700 1rem/1 'Inter Tight',Inter,sans-serif; }
.kc-strength__load { width: var(--kc-strength-share); flex: 0 0 auto; background: var(--acid); }
.kc-strength__reserve { flex: 1 1 auto; background: var(--lilac); }
.kc-strength__bar span { white-space: nowrap; }
.kc-strength__metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1rem; }
.kc-strength__metric { display: grid; grid-template-rows: auto 1fr auto; gap: .85rem; min-width: 0; padding: 1.25rem; background: #222225; border-radius: .8rem; }
.kc-strength__metric--reserve { background: #292238; }
.chapters .kc-strength .kc-strength__metric p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.35; }
.chapters .kc-strength .kc-strength__metric--reserve p { color: var(--lilac); }
.kc-strength__metric > strong,.kc-strength__metric > output { align-self: end; font: 700 clamp(1.9rem,6cqi,3rem)/1.1 'Inter Tight',Inter,sans-serif; font-variant-numeric: tabular-nums; }
.kc-strength__metric > output { color: var(--lilac); }
.kc-strength__metric > span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }
@container kettlecore-visual (max-width: 380px) {
  .kc-strength__label-row { gap: .65rem; }
  .kc-strength__label-row label { font-size: 1rem; }
  .kc-strength__metrics { gap: .65rem; }
  .kc-strength__metric { padding: 1rem .8rem; gap: .75rem; }
  .chapters .kc-strength .kc-strength__metric p { font-size: .9rem; }
  .kc-strength__load,.kc-strength__reserve { font-size: .875rem; }
  .kc-strength__bar { height: 52px; }
}
@media (prefers-reduced-motion: no-preference) {
  .kc-strength__load { transition: width .16s ease-out; }
  .kc-strength input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 6px #b9a3ff29; }
}
@media print {
  .kc-strength { break-inside: avoid; }
}
