#taskLibrarySection .wheel-loadout-tabs button[data-wheel-loadout="rewards"],
#taskLibrarySection > .account-task-heading #selectedTaskCount,
#taskLibrarySection > .account-task-selection-actions,
#taskLibrarySection > .account-task-list .account-task-toggle,
#taskLibrarySection.task-loadout-v2-ready > .library-mobile-actions {
  display: none !important;
}

#taskLibrarySection {
  position: relative;
  padding-bottom: 28px;
}

#taskLibrarySection .wheel-loadout-manager {
  gap: 10px;
  margin: 4px 0 0;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(34, 47, 88, .06);
}

#taskLibrarySection .wheel-loadout-heading-row h3 {
  margin: 1px 0 2px;
  font-size: 1.08rem;
}

#taskLibrarySection .wheel-loadout-heading-row .eyebrow {
  margin-bottom: 2px;
}

#taskLibrarySection .wheel-loadout-heading-row .section-copy {
  margin-top: 2px;
  font-size: .82rem;
  line-height: 1.35;
}

#taskLibrarySection .wheel-loadout-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 1px 4px;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

#taskLibrarySection .wheel-loadout-tabs button {
  display: grid;
  flex: 0 0 118px;
  min-height: 52px;
  padding: 7px 9px;
  gap: 0;
  align-content: center;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 6px;
  border-radius: 12px;
  scroll-snap-align: start;
}

#taskLibrarySection .wheel-loadout-tabs button > span {
  grid-row: 1 / span 2;
  align-self: center;
}

#taskLibrarySection .wheel-loadout-tabs button strong {
  font-size: .8rem;
  line-height: 1.1;
}

#taskLibrarySection .wheel-loadout-tabs button small {
  font-size: .68rem;
  line-height: 1.1;
}

#taskLibrarySection .wheel-loadout-editor {
  gap: 7px;
  padding-top: 0;
}

#taskLibrarySection .wheel-loadout-editor-head {
  display: block;
}

#taskLibrarySection .wheel-loadout-editor-head > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
}

#taskLibrarySection #wheelLoadoutEditorTitle {
  font-size: .86rem;
}

#taskLibrarySection #wheelLoadoutCount {
  font-size: .74rem;
}

#taskLibrarySection .wheel-loadout-private-note {
  padding: 8px 10px;
  font-size: .74rem;
}

.wheel-loadout-quick-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  gap: 7px;
  align-items: center;
}

.wheel-loadout-quick-actions .button {
  width: 100%;
  min-height: 44px;
  text-decoration: none;
}

.wheel-loadout-auto-select {
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(44, 57, 107, .12);
  border-radius: 12px;
  background: rgba(248, 250, 255, .84);
}

.wheel-loadout-auto-select > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  color: #4338ca;
  font-size: .82rem;
  font-weight: 850;
}

.wheel-loadout-auto-select > summary::-webkit-details-marker {
  display: none;
}

.wheel-loadout-auto-select > summary::after {
  content: "›";
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform .16s ease;
}

.wheel-loadout-auto-select[open] > summary::after {
  transform: rotate(-90deg);
}

.wheel-loadout-auto-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.wheel-loadout-auto-copy small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 650;
}

.wheel-loadout-auto-select-help {
  margin: 0 0 8px;
  font-size: .72rem;
  line-height: 1.35;
}

.wheel-loadout-auto-select .wheel-loadout-actions {
  display: grid;
  grid-template-columns: minmax(100px, .8fr) repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 2px 0 10px;
  align-items: end;
}

.wheel-loadout-auto-select .wheel-loadout-actions .field-stack {
  min-width: 0;
  margin: 0;
}

.wheel-loadout-auto-select .wheel-loadout-actions .field-stack > span {
  font-size: .7rem;
}

.wheel-loadout-auto-select .wheel-loadout-actions .button {
  min-height: 42px;
  padding-inline: 8px;
  font-size: .76rem;
}

#taskLibrarySection > .account-task-tabs {
  margin-top: 0;
}

#taskLibrarySection > .library-search-field {
  margin-block: 0 2px;
}

#taskLibrarySection > .account-task-list {
  gap: 7px;
}

#taskLibrarySection > .account-task-list .account-task-row {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 62px;
  padding: 8px 9px;
  align-items: center;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
}

#taskLibrarySection > .account-task-list .account-task-row:active {
  transform: scale(.995);
}

#taskLibrarySection > .account-task-list .account-task-row[data-active-wheel-selected="true"] {
  border-color: rgba(79, 70, 229, .38);
  background: rgba(238, 242, 255, .78);
  box-shadow: inset 3px 0 0 rgba(79, 70, 229, .62);
}

#taskLibrarySection > .account-task-list .account-task-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  align-items: center;
}

#taskLibrarySection > .account-task-list .account-task-copy > strong {
  grid-column: 2;
  margin: 0;
  font-size: .9rem;
  line-height: 1.2;
}

#taskLibrarySection > .account-task-list .account-task-copy > span {
  grid-column: 2;
  margin-top: 2px;
  font-size: .72rem;
  line-height: 1.25;
}

.task-active-wheel-control {
  position: relative;
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #3730a3;
  cursor: pointer;
}

.task-active-wheel-control input {
  inline-size: 23px;
  block-size: 23px;
  margin: 0;
  accent-color: #4f46e5;
}

.task-active-wheel-control > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.account-task-row[data-active-wheel-selected="true"] .task-active-wheel-control {
  background: rgba(224, 231, 255, .7);
}

.task-loadout-memberships {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.task-loadout-memberships[hidden] {
  display: none;
}

.task-loadout-membership-label {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
}

.task-loadout-chip {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(79, 70, 229, .08);
  color: #4338ca;
  font-size: .64rem;
  font-weight: 800;
  white-space: nowrap;
}

.account-task-row-menu {
  position: relative;
  z-index: 3;
  margin: 0;
}

.account-task-row-menu > summary {
  display: grid;
  width: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.account-task-row-menu > summary::-webkit-details-marker {
  display: none;
}

.account-task-row-menu[open] > summary,
.account-task-row-menu > summary:focus-visible {
  border-color: rgba(79, 70, 229, .2);
  background: rgba(238, 242, 255, .82);
  color: #4338ca;
}

#taskLibrarySection > .account-task-list .account-task-menu-actions {
  position: absolute;
  z-index: 9;
  top: calc(100% + 4px);
  right: 0;
  display: grid;
  width: min(190px, calc(100vw - 48px));
  gap: 3px;
  padding: 6px;
  border: 1px solid rgba(44, 57, 107, .13);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(34, 47, 88, .16);
}

#taskLibrarySection > .account-task-list .account-task-menu-actions .button {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  text-align: left;
}

.task-editor-options {
  margin: 2px 0 0;
  padding: 0 12px;
  border: 1px solid rgba(44, 57, 107, .12);
  border-radius: 14px;
  background: rgba(248, 250, 255, .82);
}

.task-editor-options > summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  color: #4338ca;
}

.task-editor-options[open] {
  padding-bottom: 12px;
}

.task-editor-options-help {
  margin: -2px 0 10px;
}

.task-editor-options > .field-stack,
.task-editor-options > .toggle-row {
  margin-top: 10px;
}

.task-wheel-sticky-bar {
  position: sticky;
  z-index: 12;
  top: max(8px, env(safe-area-inset-top));
  display: flex;
  width: 100%;
  margin: 2px 0 0;
  padding: 9px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(79, 70, 229, .2);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(34, 47, 88, .11);
}

.task-wheel-sticky-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.task-wheel-sticky-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .84rem;
}

.task-wheel-sticky-copy span {
  color: var(--muted);
  font-size: .7rem;
}

.task-wheel-sticky-bar .button {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 14px;
  text-decoration: none;
  white-space: nowrap;
}

#taskLibrarySection:not(.hidden) ~ .account-settings-return {
  display: none !important;
}

body.mobile-app-immersive .task-wheel-sticky-bar {
  display: none;
}

@media (max-width: 720px) {
  #taskLibrarySection {
    gap: 12px;
    padding: 14px 14px 28px;
  }

  #taskLibrarySection .wheel-loadout-manager {
    gap: 8px;
    margin-top: 0;
    padding: 10px;
  }

  #taskLibrarySection .wheel-loadout-heading-row .section-copy {
    font-size: .78rem;
  }

  #taskLibrarySection .wheel-loadout-tabs button {
    flex-basis: 110px;
    min-height: 50px;
    padding: 6px 8px;
  }

  #taskLibrarySection .wheel-loadout-editor-head {
    display: block;
  }

  #taskLibrarySection .wheel-loadout-auto-select > summary {
    min-height: 48px;
  }

  #taskLibrarySection .wheel-loadout-auto-select .wheel-loadout-actions {
    grid-template-columns: 1fr 1fr;
  }

  #taskLibrarySection .wheel-loadout-auto-select .wheel-loadout-actions .field-stack {
    grid-column: 1 / -1;
  }

  #taskLibrarySection .wheel-loadout-auto-select .wheel-loadout-actions .button {
    min-height: 44px;
  }

  #taskLibrarySection .wheel-loadout-auto-select .wheel-loadout-actions .button:last-child {
    grid-column: 1 / -1;
  }

  #taskLibrarySection .wheel-loadout-quick-actions {
    grid-template-columns: minmax(0, 1.3fr) minmax(96px, .7fr);
  }

  #taskLibrarySection .wheel-loadout-quick-actions .button {
    min-height: 48px;
  }

  #taskLibrarySection > .account-task-list .account-task-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 64px;
    padding: 8px;
  }

  #taskLibrarySection .task-active-wheel-control {
    width: 48px;
    min-height: 48px;
  }

  #taskLibrarySection .account-task-row-menu > summary {
    min-height: 48px;
  }

  #taskLibrarySection > .account-task-list .account-task-copy {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 7px;
  }

  #taskLibrarySection .task-editor-options {
    padding-inline: 12px;
  }

  #taskLibrarySection .task-editor-options > summary {
    min-height: 48px;
  }

  .task-wheel-sticky-bar {
    top: max(6px, env(safe-area-inset-top));
    padding: 8px 9px;
    box-shadow: 0 5px 14px rgba(34, 47, 88, .09);
  }

  .task-wheel-sticky-bar .button {
    min-height: 48px;
    padding-inline: 12px;
  }

  body.mobile-contextual-return:not(.mobile-app-standalone) .task-wheel-sticky-bar {
    top: calc(66px + env(safe-area-inset-top));
  }

  body.account-settings-page:not(.mobile-contextual-return) .task-wheel-sticky-bar {
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  #taskLibrarySection {
    padding-inline: 10px;
  }

  .task-wheel-sticky-copy span {
    display: none;
  }

  .task-wheel-sticky-bar .button {
    padding-inline: 10px;
    font-size: .78rem;
  }
}
