/* Universal workout tips: secondary to the primary start/complete action. */
.workout-tips-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 138, 0, .62);
  border-radius: 16px;
  color: #ffad32;
  text-align: left;
  background: linear-gradient(145deg, rgba(255, 138, 0, .16), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 18px rgba(255, 138, 0, .08);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.workout-tips-trigger:hover,
.workout-tips-trigger:focus-visible {
  border-color: rgba(255, 138, 0, .9);
  background: linear-gradient(145deg, rgba(255, 138, 0, .25), rgba(255, 255, 255, .06));
  outline: none;
}
.workout-tips-trigger:active { transform: scale(.99); }
.workout-tips-trigger > i { width: 24px; font-size: 18px; text-align: center; }
.workout-tips-trigger span { font-weight: 800; }
.workout-tips-trigger small { margin-left: auto; color: rgba(255, 218, 166, .68); font-size: 11px; }

.workout-tips-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: rgba(2, 8, 12, .72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.workout-tips-sheet {
  width: min(100%, 620px);
  max-height: min(88vh, 760px);
  overflow: hidden;
  padding: 10px 14px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid rgba(105, 222, 255, .25);
  border-radius: 26px 26px 16px 16px;
  color: #edf8fa;
  background: linear-gradient(155deg, rgba(28, 53, 57, .98), rgba(8, 22, 29, .99));
  box-shadow: 0 -18px 50px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.14);
  display: flex;
  flex-direction: column;
  animation: workoutTipsRise .2s ease-out;
}
.workout-tips-grabber { width: 42px; height: 4px; margin: 0 auto 12px; border-radius: 999px; background: rgba(220, 247, 250, .34); }
.workout-tips-header { display: flex; gap: 12px; align-items: flex-start; padding: 0 2px 14px; }
.workout-tips-eyebrow { margin: 0 0 3px; color: #c8ff00; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.workout-tips-header h2 { margin: 0; color: #fff; font-size: 21px; font-weight: 900; line-height: 1.15; }
.workout-tips-header h2 i { color: #ffbd55; margin-right: 5px; }
.workout-tips-header p:last-child { max-width: 520px; margin: 7px 0 0; color: rgba(225, 241, 243, .68); font-size: 12px; line-height: 1.45; }
.workout-tips-close { flex: 0 0 42px; width: 42px; height: 42px; margin-left: auto; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: rgba(239,249,250,.8); background: rgba(255,255,255,.06); }
.workout-tips-close:hover, .workout-tips-close:focus-visible { border-color: rgba(105,222,255,.58); color: #fff; outline: none; }
.workout-tips-list { flex: 1; min-height: 0; max-height: none; overflow-y: auto; padding: 2px 2px 4px; overscroll-behavior: contain; scrollbar-width: thin; }
.workout-tip-card { display: flex; align-items: flex-start; gap: 11px; width: 100%; min-height: 74px; margin-bottom: 9px; padding: 12px; border: 1px solid rgba(205, 238, 241, .13); border-radius: 17px; color: inherit; text-align: left; background: rgba(255,255,255,.045); transition: border-color .18s ease, background .18s ease; }
.workout-tip-card:last-child { margin-bottom: 0; }
.workout-tip-card:hover, .workout-tip-card:focus-visible, .workout-tip-card.is-expanded { border-color: rgba(200,255,0,.42); background: linear-gradient(145deg, rgba(200,255,0,.11), rgba(255,255,255,.055)); outline: none; }
.workout-tip-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid rgba(105,222,255,.34); border-radius: 12px; color: #8fe8ff; background: rgba(47,155,184,.13); }
.workout-tip-card.is-expanded .workout-tip-icon { border-color: rgba(200,255,0,.5); color: #c8ff00; background: rgba(200,255,0,.12); }
.workout-tip-copy { display: block; min-width: 0; flex: 1; }
.workout-tip-title, .workout-tip-short, .workout-tip-more, .workout-tip-detail { display: block; }
.workout-tip-title { color: #fff; font-size: 14px; font-weight: 850; line-height: 1.25; }
.workout-tip-short { margin-top: 3px; color: rgba(225,241,243,.7); font-size: 12px; line-height: 1.38; }
.workout-tip-more { margin-top: 8px; color: #8fe8ff; font-size: 11px; font-weight: 800; }
.workout-tip-more i { margin-left: 3px; font-size: 9px; }
.workout-tip-detail { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(210,241,255,.14); color: rgba(240,249,250,.86); font-size: 13px; line-height: 1.52; }
.workout-tip-example { display: block; margin-top: 9px; padding: 9px 10px; border-left: 2px solid #c8ff00; color: rgba(240,249,250,.9); background: rgba(200,255,0,.07); }
.workout-tip-example strong { color: #c8ff00; }
.workout-tips-footer { margin: 12px 2px 0; padding: 12px; border: 1px solid rgba(200,255,0,.22); border-radius: 15px; color: rgba(240,249,250,.82); background: rgba(200,255,0,.055); font-size: 12px; line-height: 1.45; }
.workout-tips-footer strong, .workout-tips-footer b { display: block; color: #c8ff00; font-weight: 900; }
.workout-tips-footer span { display: block; margin-top: 4px; }
.workout-tips-footer b { margin-top: 8px; color: #ffbd55; }
@keyframes workoutTipsRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .workout-tips-trigger { min-height: 52px; }
  .workout-tips-trigger small { display: none; }
  .workout-tips-overlay { padding: 0; }
  .workout-tips-sheet { max-height: 92vh; border-radius: 24px 24px 0 0; }
  .workout-tips-list { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .workout-tips-sheet { animation: none; } .workout-tips-trigger, .workout-tip-card { transition: none; } }
