/* Grouped exercise selection, matching the approved pair and circuit picker. */
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker {
  box-sizing: border-box; display: flex; flex-direction: column;
  width: min(100vw - 16px, 560px); max-width: min(100vw - 16px, 560px);
  height: min(94dvh, 900px); max-height: 94dvh;
  padding: 16px 16px max(14px, env(safe-area-inset-bottom));
  overflow: hidden; border: 1px solid #3d414a; border-radius: 24px;
  background: #0e1015; color: #f7f7f9; color-scheme: dark;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header {
  position: relative; display: flex; flex: 0 0 auto; min-height: 48px; align-items: center;
  margin: 0 0 10px; justify-content: flex-start;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header h2 {
  position: absolute; left: 50%; transform: translateX(-50%); width: max-content; max-width: 52%;
  margin: 0; color: #f7f7f9 !important; font-size: 18px; font-weight: 750; text-align: center;
  text-transform: none !important; letter-spacing: 0 !important;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header button {
  width: auto !important; min-width: 76px !important; max-width: none !important;
  padding: 0 13px; border: 1px solid #393d45; border-radius: 24px;
  background: #26282d; color: #f7f7f9; font-size: 14px !important; font-weight: 600;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker form {
  display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; gap: 9px; overflow: hidden;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-name-editor {
  /* The mobile workout card editor sets its shared class to grid and static. */
  position: relative !important; display: flex !important; flex: 1 1 auto;
  flex-direction: column; align-items: stretch; min-height: 0; gap: 10px !important; overflow: hidden;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-prompt {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  margin: 0; padding: 0; clip-path: inset(50%);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-selected {
  display: grid; flex: 0 0 auto; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 6px; padding: 0; border: 0; background: transparent;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-selected-count] {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-selected-list] {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0;
  max-height: 136px; overflow-y: auto; overscroll-behavior-y: contain;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog[data-picker-format="single"] [data-workout-picker-selected][hidden] {
  display: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot {
  display: flex; min-width: 0; min-height: 64px; align-items: center; gap: 7px;
  padding: 9px; border: 1px solid #4a4e57; border-radius: 14px;
  background: #1d2026; color: #c3c5cd; font-size: 13px; font-weight: 650;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot.is-filled { color: #fff; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot.is-next,
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot.is-filled:last-child { border-color: #ffd400; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot-letter {
  display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center;
  border-radius: 50%; background: #30333a; color: #f6f7f9;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot > span:nth-child(2) {
  min-width: 0; overflow-wrap: anywhere; line-height: 1.2;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot button {
  flex: 0 0 27px; width: 27px; height: 27px; min-width: 27px; min-height: 27px;
  padding: 0; border: 0; border-radius: 50% !important; background: #ffd400; color: #141414;
  font-size: 17px; font-weight: 800;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker label[for="custom-workout-picker-search"] {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-search-row {
  display: grid; flex: 0 0 auto; grid-template-columns: minmax(0, 1fr) 40px;
  gap: 0; min-height: 50px; padding: 0 8px 0 12px;
  border: 1px solid #4a4e57; border-radius: 14px; background: #1d2026;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-search-row:focus-within {
  box-shadow: inset 0 0 0 2px #ffd400;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker #custom-workout-picker-search:focus,
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-filter]:focus {
  outline: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker #custom-workout-picker-search {
  min-height: 48px; height: 48px; padding: 8px; border: 0; background: transparent;
  color: #fff; font-size: 16px !important; box-shadow: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker #custom-workout-picker-search::placeholder { color: #9da2ad; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-filter] {
  width: 40px; max-width: 40px; min-width: 40px; min-height: 44px; padding: 0;
  appearance: none; border: 0; background: transparent; color: transparent !important;
  font-size: 0 !important; text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377bcf7' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 22px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-filter] option {
  color: #f7f7f9; font-size: 16px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-chips {
  display: flex; flex: 0 0 auto; gap: 7px; width: 100%; overflow-x: auto;
  padding: 1px 0 4px; scrollbar-width: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-chips::-webkit-scrollbar { display: none; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-chips button {
  flex: 0 0 auto; width: auto !important; min-width: 0 !important; max-width: none !important;
  min-height: 35px; padding: 6px 13px;
  border: 1px solid transparent; border-radius: 22px; background: #23262c;
  color: #f4f4f6; font: 650 13px/1 var(--font-ui, Inter, sans-serif);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-chips button[aria-pressed="true"] {
  border-color: #ffd400; background: #5c4c12; color: #ffd400;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-suggestion-menu {
  display: grid; flex: 1 1 auto; min-height: 0; align-content: start; gap: 8px;
  overflow-y: auto; overscroll-behavior: contain; padding: 2px 1px 8px;
  border: 0; background: transparent; box-shadow: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-suggestion-menu[hidden] { display: none; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-custom-exercise-suggestion] {
  display: flex !important; width: 100%; min-height: 76px; align-items: center; gap: 11px;
  padding: 9px; border: 1px solid #2e333b; border-radius: 15px;
  background: #1b1e24; color: #f7f7f9; text-align: left;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image {
  position: relative; display: grid; flex: 0 0 88px; width: 88px; height: 60px; overflow: hidden;
  place-items: center; border-radius: 10px; background: #f2f2ed; color: #77bcf7;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image img {
  display: block; width: 100%; height: 100%; object-fit: cover; border: 0;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image.is-branded { background: #111; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image.is-branded img {
  position: absolute; top: -45%; left: -10%; width: 300%; max-width: none;
  height: auto; max-height: none; object-fit: fill;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image.is-fallback img {
  object-fit: contain; mix-blend-mode: multiply;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image.is-fallback {
  background: #939aa1;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy {
  display: grid; flex: 1 1 auto; min-width: 0; gap: 4px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy strong {
  color: #f7f7f9; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy small {
  color: #b4b8c1; font-size: 11px; line-height: 1.25; overflow-wrap: anywhere;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-add {
  display: grid; flex: 0 0 40px; width: 40px !important; min-width: 40px !important;
  max-width: 64px !important; height: 40px; place-items: center;
  border-radius: 22px; background: #62b2f4; color: #111; font-size: 28px; line-height: 1;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [aria-selected="true"] .custom-picker-add {
  flex-basis: 68px; width: 68px !important; max-width: 68px !important;
  padding: 0 4px; border: 1px solid #b89800; white-space: nowrap;
  background: #4a3d0e; color: #ffd400; font-size: 10px; font-weight: 750;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-browse {
  flex: 0 0 auto; align-self: center; min-height: 34px; border: 0;
  background: transparent; color: #77bcf7; font-size: 13px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-submit] {
  display: block; flex: 0 0 auto; width: 56px; min-width: 56px; min-height: 54px;
  margin: 0; padding: 8px; border: 0; border-radius: 15px;
  background: #ffd400; color: #111; font: 800 14px/1.2 var(--font-ui, Inter, sans-serif);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker form > button[type="submit"] {
  flex: 0 0 auto; min-height: 54px; border: 0; border-radius: 15px;
  background: #ffd400; color: #111; font: 800 17px/1.2 var(--font-ui, Inter, sans-serif);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-submit]:disabled {
  background: #25272d; color: #777c85; opacity: 1;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-queue-typed] {
  flex: 0 0 auto; min-height: 35px; border: 1px solid #6b7580; border-radius: 10px;
  background: #252b33; color: #77bcf7; font-size: 13px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-empty] {
  color: #b4b8c1; font-size: 13px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-error] {
  color: #ff9a9a; font-size: 13px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker :is(button, input, select):focus-visible {
  outline: 3px solid #ffd400; outline-offset: 2px;
}
@media (max-width: 380px) {
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker { padding: 12px; }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header button {
    width: 64px !important; min-width: 64px !important; max-width: 64px !important;
    padding: 0 5px; font-size: 12px !important;
  }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header h2 {
    font-size: 16px; max-width: 58%;
  }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-selected-list] {
    grid-template-columns: minmax(0, 1fr);
  }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot { min-height: 56px; padding: 6px; font-size: 12px; }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image { flex-basis: 72px; width: 72px; height: 54px; }
}

/* Search presents a simple equipment/muscle filter pair and readable rows. */
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-filters {
  display: grid; order: -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  flex: 0 0 auto;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-filters select {
  width: 100% !important; min-width: 0 !important; max-width: none !important;
  min-height: 38px; padding: 0 26px 0 10px; appearance: none;
  border: 1px solid #3d4651; border-radius: 10px; color: #f7f7f9;
  background: #22262d; font: 600 13px/1 var(--font-ui, Inter, sans-serif);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2377bcf7' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; background-size: 10px 7px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-filters option {
  background: #22262d; color: #fff;
}

/* Compact mobile picker: keep the chosen workout slots, search, filters, and
   scrollable matches inside the visible viewport when the keyboard opens. */
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker {
  position: fixed;
  top: calc(var(--picker-viewport-top, 0px) + 6px) !important;
  bottom: auto !important;
  left: 50%;
  width: min(calc(100vw - 12px), 560px);
  max-width: min(calc(100vw - 12px), 560px);
  height: min(calc(var(--picker-viewport-height, 100dvh) - 12px), 900px) !important;
  max-height: min(calc(var(--picker-viewport-height, 100dvh) - 12px), 900px) !important;
  margin: 0;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  border-radius: 20px;
  transform: translateX(-50%);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header {
  min-height: 38px; margin-bottom: 7px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header button {
  min-width: 66px !important; min-height: 34px; padding: 0 10px;
  border: 0; background: #20242c; color: #77bcf7;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker form,
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-name-editor {
  gap: 6px !important;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-selected {
  order: -4; gap: 5px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-selected-list] {
  gap: 5px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker[data-picker-format="circuit"] [data-workout-picker-selected-list] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot {
  min-height: 41px; gap: 5px; padding: 5px; border-radius: 9px; font-size: 11px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot-letter {
  flex-basis: 22px; width: 22px; height: 22px; font-size: 11px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot > span:nth-child(2) {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-slot button {
  flex-basis: 22px; width: 22px; height: 22px; min-width: 22px; min-height: 22px; font-size: 12px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-submit] {
  width: 56px; min-width: 56px; min-height: 41px; padding: 5px;
  border-radius: 10px; font-size: 13px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker[data-picker-format="single"] [data-workout-picker-submit] {
  width: auto;
  padding-inline: 8px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-search-row {
  order: -3;
  grid-template-columns: 22px minmax(0, 1fr) 27px;
  min-height: 44px; padding: 0 8px; border-color: #314d65; border-radius: 11px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-search-row::before {
  content: ""; align-self: center; width: 18px; height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239eabb9' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker #custom-workout-picker-search {
  min-height: 42px; height: 42px; padding: 5px 3px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-clear] {
  width: 27px !important; min-width: 27px !important; height: 27px; min-height: 27px;
  padding: 0; border: 0; border-radius: 50%; background: #343a43; color: #a7b2bd;
  font: 700 18px/1 var(--font-ui, Inter, sans-serif);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-chips {
  order: -2; align-items: center; gap: 6px; min-height: 38px; padding: 0 0 3px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-equipment],
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-chips button {
  flex: 0 0 auto; width: auto !important; min-width: 0 !important; max-width: none !important;
  min-height: 31px; padding: 5px 11px; border: 1px solid #31506b; border-radius: 18px;
  background: #11151b; color: #77bcf7; font: 650 12px/1 var(--font-ui, Inter, sans-serif);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-equipment] {
  width: 124px !important; max-width: 124px !important; padding-right: 18px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2377bcf7' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 10px 7px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-equipment] option {
  background: #1d2026; color: #fff;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-chips button[aria-pressed="true"] {
  border-color: #ffd400; background: #ffd400; color: #111;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-results {
  order: -1; display: flex; flex: 1 1 auto; flex-direction: column; min-height: 64px; overflow: hidden;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-results-label] {
  position: absolute; width: 1px; height: 1px; min-height: 0;
  overflow: hidden; margin: 0; padding: 0; border: 0;
  clip-path: inset(50%);
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-queue-typed] {
  flex: 0 0 auto; width: 100%; min-height: 40px; padding: 6px 2px;
  border: 0; border-bottom: 1px solid #2b3038; border-radius: 0;
  background: transparent; color: #f4f7fa; font: 600 13px/1.3 var(--font-ui, Inter, sans-serif);
  text-align: left;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-queue-typed]::first-letter { color: #62b2f4; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-suggestion-menu {
  display: block; flex: 1 1 auto; min-height: 0; max-height: none !important;
  padding: 0; overflow-y: auto; overscroll-behavior: contain;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-quick-suggestions {
  display: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker:is(.is-keyboard-open, :has(#custom-workout-picker-search:focus)) .custom-workout-name-editor:has(.custom-picker-quick-suggestions:not([hidden])) {
  padding-bottom: 48px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker:is(.is-keyboard-open, :has(#custom-workout-picker-search:focus)) .custom-picker-quick-suggestions:not([hidden]) {
  display: flex; position: absolute; bottom: 0; left: 0; right: 0;
  gap: 6px; min-height: 42px; align-items: center;
  overflow-x: auto; padding: 5px 0 0;
  border-top: 1px solid #313843; scrollbar-width: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-quick-suggestions::-webkit-scrollbar { display: none; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-quick-suggestions button {
  flex: 0 0 auto; max-width: 180px; min-height: 32px; overflow: hidden;
  padding: 5px 10px; border: 1px solid #31506b; border-radius: 16px;
  background: #1d232c; color: #f7f7f9; font: 650 11px/1.2 var(--font-ui, Inter, sans-serif);
  text-overflow: ellipsis; white-space: nowrap;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-quick-suggestions button[aria-pressed="true"] {
  border-color: #ffd400; color: #ffd400;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-custom-exercise-suggestion] {
  display: flex !important; min-height: 62px; margin: 0; padding: 6px 0;
  gap: 10px; border: 0; border-bottom: 1px solid #292d34; border-radius: 0;
  background: transparent; box-shadow: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image {
  flex-basis: 52px; width: 52px; height: 50px; border-radius: 8px; background: #262b32;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image.is-branded img {
  top: -45%; left: -12%; width: 370%;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image.is-branded.is-wide-branded-card img {
  left: -16%; width: 430%;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy {
  gap: 2px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy strong {
  font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy small {
  font-size: 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-add,
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [aria-selected="true"] .custom-picker-add {
  flex: 0 0 30px; width: 30px !important; min-width: 30px !important; max-width: 30px !important;
  height: 30px; padding: 0; border: 0; border-radius: 50%; background: #62b2f4;
  color: #101113; font-size: 21px; font-weight: 500;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [aria-selected="true"] .custom-picker-add {
  flex: 0 0 72px; width: 72px !important; min-width: 72px !important;
  max-width: 72px !important; height: 26px; border-radius: 999px;
  background: #ffd400; color: #111; font-size: 11px; font-weight: 800;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-picker-browse {
  min-height: 30px; font-size: 12px;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker.is-keyboard-open .custom-workout-picker-browse,
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker.is-keyboard-open:not(.is-ready-to-add) [data-workout-picker-submit],
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker.is-keyboard-open form > button[type="submit"] {
  display: none;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker.is-keyboard-open .custom-workout-picker-prompt {
  display: none;
}
@media (max-width: 700px) {
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker:is(.is-keyboard-open, :has(#custom-workout-picker-search:focus)) [data-workout-picker-selected-list] {
    max-height: 43px;
  }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker:is(.is-keyboard-open, :has(#custom-workout-picker-search:focus)):not(.is-ready-to-add) .custom-workout-picker-selected {
    display: none;
  }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker:not(.is-ready-to-add):has(#custom-workout-picker-search:focus) [data-workout-picker-submit],
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker:has(#custom-workout-picker-search:focus) form > button[type="submit"] {
    display: none;
  }
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker.is-ready-to-add [data-workout-picker-submit] {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffd400;
  color: #111;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255, 212, 0, .28);
}
@media (max-width: 380px) {
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-selected-list] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker[data-picker-format="circuit"] [data-workout-picker-selected-list] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-results { order: 0; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-workout-picker-results-label] {
  position: static; width: auto; height: auto; overflow: visible; clip-path: none;
  margin: 2px 0 5px; color: #b8bdc7; font-size: 12px; font-weight: 700;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-custom-exercise-suggestion] { min-height: 70px; gap: 12px; }
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image {
  flex-basis: 56px; width: 56px; height: 56px; border-radius: 50%;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy strong {
  font-size: 15px; white-space: normal; overflow: visible; text-overflow: clip;
}
:root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy small { font-size: 13px; }

@media (max-width: 900px), (max-width: 1024px) and (orientation: landscape) and (pointer: coarse) {
  :root:has(body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker[open]) {
    overflow: hidden;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker {
    inset: var(--picker-viewport-top, 0px) 0 auto !important;
    width: 100%;
    max-width: none;
    height: var(--picker-viewport-height, 100dvh) !important;
    max-height: none !important;
    padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right))
      calc(10px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker.is-keyboard-open {
    padding-bottom: 10px;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker > header button {
    min-height: 44px;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker form {
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-name-editor {
    flex-shrink: 0;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-results {
    /* Keep a usable results area even when the whole form has to scroll. */
    height: 100px;
    min-height: 100px;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-workout-suggestion-menu {
    overscroll-behavior-y: auto;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [data-custom-exercise-suggestion] {
    min-height: 54px;
    gap: 8px;
    padding-block: 4px;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-image {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy strong {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .custom-picker-copy small {
    font-size: 12px;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [aria-selected] > .custom-picker-add {
    min-width: 44px !important;
    height: 44px;
    padding: 7px;
    background-clip: content-box;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [aria-selected="false"] > .custom-picker-add {
    flex-basis: 44px;
    width: 44px !important;
    max-width: 44px !important;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker [aria-selected="true"] > .custom-picker-add {
    padding: 9px 0;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .client-picker-shortcuts {
    flex: 0 0 auto;
  }

  :root body.client-dashboard-page .custom-workout-exercise-dialog.is-grouped-picker .client-picker-shortcuts .custom-workout-picker-browse {
    flex: 1 1 max-content;
    display: block;
    min-height: 44px;
  }
}
