/* Practice is an isolated action hub. Every selector is scoped to the
   Practice route so Dashboard, Review, Test, and utility controls keep their
   existing layout and behavior. */

.ls-practice-tool[hidden] {
  display: none !important;
}

body.ls-practice-tool-active .ls-app-primary-nav ~ [data-slot="tabs-content"] {
  display: none !important;
}

body.ls-practice-tool-active .ls-app-primary-nav {
  top: 2.325rem !important;
}

body.ls-practice-tool-active .ls-app-primary-nav > button[data-state="active"],
body.ls-practice-tool-active .ls-app-primary-nav > button[aria-selected="true"] {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #263247 !important;
}

body.ls-practice-tool-active .ls-app-primary-nav > .ls-practice-nav[aria-current="page"] {
  border-color: rgba(30, 43, 68, 0.14) !important;
  background: #fbfdff !important;
  box-shadow: 0 4px 12px rgba(30, 43, 68, 0.1) !important;
  color: #101827 !important;
}

.ls-app-primary-nav > .ls-practice-nav svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.ls-app-primary-nav > .ls-practice-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.ls-practice-tool {
  width: 100%;
  color: #101827;
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
}

.ls-practice-page {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.ls-practice-heading {
  margin-bottom: 1.1rem;
}

.ls-practice-heading h1 {
  margin: 0;
  color: #101827;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: 0;
}

.ls-practice-heading p {
  margin: 0.45rem 0 0;
  color: #5d687c;
  font-size: 1.03rem;
  line-height: 1.5;
}

.ls-practice-next-session,
.ls-practice-due-row,
.ls-practice-utility-card,
.ls-practice-latest-topic {
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 40, 54, 0.045);
}

.ls-practice-next-session {
  position: relative;
  min-height: 16.5rem;
  overflow: hidden;
  background: #f7fbfa;
}

.ls-practice-next-session::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(237, 249, 246, 0.7) 72%, rgba(230, 247, 243, 0.88) 100%);
  content: "";
}

.ls-practice-next-copy {
  position: relative;
  z-index: 2;
  width: 59%;
  padding: 2rem 2.15rem;
}

.ls-practice-eyebrow {
  margin: 0 0 0.75rem;
  color: #087f6d;
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.ls-practice-next-copy h2 {
  margin: 0;
  color: #0f1725;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: 0;
}

.ls-practice-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  color: #283349;
}

.ls-practice-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 620;
  line-height: 1.25;
  white-space: nowrap;
}

.ls-practice-stat-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #5f6c7e;
}

.ls-practice-stat-due {
  color: #087f6d;
}

.ls-practice-stat-due .ls-practice-stat-icon {
  color: #0b9f87;
}

.ls-practice-stat-alert .ls-practice-stat-icon {
  color: #ef7b2d;
}

.ls-practice-stat-divider {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: #a9b2bf;
}

.ls-practice-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  appearance: none;
  border-radius: 6px;
  padding: 0.72rem 1.25rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.ls-practice-action svg {
  width: 1.1rem;
  height: 1.1rem;
}

.ls-practice-action:hover,
.ls-practice-utility-card:hover,
.ls-practice-topic-arrow:hover {
  transform: translateY(-1px);
}

.ls-practice-action:active,
.ls-practice-utility-card:active,
.ls-practice-topic-arrow:active {
  transform: translateY(0);
}

.ls-practice-tool button:focus-visible {
  outline: 3px solid rgba(10, 146, 121, 0.3);
  outline-offset: 3px;
}

.ls-practice-primary-action {
  min-width: 12.1rem;
  border: 1px solid #07856f;
  background: #0a9279;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 133, 111, 0.16);
}

.ls-practice-primary-action:hover {
  border-color: #06715f;
  background: #087f6d;
  box-shadow: 0 10px 22px rgba(7, 133, 111, 0.22);
}

.ls-practice-next-copy > .ls-practice-primary-action {
  margin-top: 1.5rem;
}

.ls-practice-scene {
  position: absolute;
  z-index: 1;
  right: -1.25rem;
  bottom: -1.8rem;
  width: 55%;
  height: 115%;
  pointer-events: none;
}

.ls-practice-scene img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  user-select: none;
}

.ls-practice-due-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.15rem;
  min-height: 6.1rem;
  margin-top: 1rem;
  padding: 1rem 1.35rem;
}

.ls-practice-due-icon,
.ls-practice-utility-icon,
.ls-practice-topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.ls-practice-due-icon {
  width: 3.25rem;
  height: 3.25rem;
  background: #e5f6f1;
  color: #07937c;
}

.ls-practice-due-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.ls-practice-due-copy h2,
.ls-practice-topic-copy h2 {
  margin: 0;
  color: #111a2a;
  font-size: 1.02rem;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: 0;
}

.ls-practice-due-copy p {
  margin: 0.28rem 0 0;
  color: #667287;
  font-size: 0.86rem;
  line-height: 1.4;
}

.ls-practice-due-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5.5rem;
  color: #667287;
  font-size: 0.76rem;
  line-height: 1.25;
}

.ls-practice-due-count strong {
  color: #07856f;
  font-size: 1.25rem;
  line-height: 1.1;
}

.ls-practice-secondary-action,
.ls-practice-outline-action {
  border: 1px solid #139b84;
  background: #ffffff;
  color: #087f6d;
}

.ls-practice-secondary-action:hover,
.ls-practice-outline-action:hover {
  border-color: #087f6d;
  background: #f0faf7;
}

.ls-practice-secondary-action {
  min-width: 10.6rem;
}

.ls-practice-utility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.ls-practice-utility-card {
  position: relative;
  min-height: 13.6rem;
  appearance: none;
  padding: 1.35rem 1.35rem 1.2rem;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ls-practice-utility-card:hover {
  border-color: #b9d8d2;
  box-shadow: 0 14px 32px rgba(23, 40, 54, 0.09);
}

.ls-practice-utility-icon {
  width: 3.55rem;
  height: 3.55rem;
}

.ls-practice-utility-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.ls-practice-utility-icon-teal {
  background: #e5f6f1;
  color: #07937c;
}

.ls-practice-utility-icon-blue {
  background: #e9f1ff;
  color: #2563d8;
}

.ls-practice-utility-icon-orange {
  background: #fff0e8;
  color: #e66b1d;
}

.ls-practice-utility-icon-violet {
  background: #f3eafa;
  color: #8c45bd;
}

.ls-practice-utility-card h3 {
  margin: 1rem 0 0;
  color: #111a2a;
  font-size: 1.02rem;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: 0;
}

.ls-practice-utility-card p {
  max-width: 13rem;
  margin: 0.48rem 0 0;
  color: #677287;
  font-size: 0.85rem;
  line-height: 1.5;
}

.ls-practice-card-arrow {
  position: absolute;
  right: 1.2rem;
  bottom: 1.15rem;
  display: inline-flex;
  color: #465267;
}

.ls-practice-card-arrow svg,
.ls-practice-topic-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ls-practice-latest-topic {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
  min-height: 8.5rem;
  margin-top: 1.25rem;
  padding: 1.05rem 1.4rem;
}

.ls-practice-topic-icon {
  width: 4.6rem;
  height: 4.6rem;
  background: #edf3ff;
  color: #176ad8;
}

.ls-practice-topic-icon svg {
  width: 2.55rem;
  height: 2.55rem;
}

.ls-practice-topic-copy > p {
  margin: 0 0 0.45rem;
  color: #176ad8;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.ls-practice-topic-copy h2 {
  font-size: 1.18rem;
}

.ls-practice-topic-copy > span {
  display: block;
  margin-top: 0.42rem;
  color: #6a7588;
  font-size: 0.84rem;
}

.ls-practice-topic-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ls-practice-topic-actions .ls-practice-action {
  min-width: 10.8rem;
  min-height: 2.8rem;
}

.ls-practice-topic-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: 0.25rem;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #435066;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ls-practice-topic-arrow:hover {
  background: #edf3f5;
  color: #087f6d;
}

.ls-practice-note {
  display: grid;
  grid-template-columns: minmax(2rem, 1fr) auto auto minmax(2rem, 1fr);
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.35rem;
  color: #667287;
  text-align: center;
}

.ls-practice-note > span {
  height: 1px;
  background: #d9e1e7;
}

.ls-practice-note > svg {
  width: 1rem;
  height: 1rem;
  color: #263247;
}

.ls-practice-note p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ls-practice-note strong {
  color: #07856f;
  font-weight: 720;
}

html.ls-dark-mode body.ls-practice-tool-active .ls-app-primary-nav > button[data-state="active"],
html.ls-dark-mode body.ls-practice-tool-active .ls-app-primary-nav > button[aria-selected="true"] {
  border-color: transparent !important;
  background: transparent !important;
  color: #c2cee0 !important;
}

html.ls-dark-mode body.ls-practice-tool-active .ls-app-primary-nav > .ls-practice-nav[aria-current="page"] {
  border-color: rgba(238, 244, 250, 0.82) !important;
  background: #edf4fb !important;
  color: #101827 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
}

html.ls-dark-mode .ls-practice-tool {
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-heading h1,
html.ls-dark-mode .ls-practice-next-copy h2,
html.ls-dark-mode .ls-practice-due-copy h2,
html.ls-dark-mode .ls-practice-utility-card h3,
html.ls-dark-mode .ls-practice-topic-copy h2 {
  color: #f3f7fc;
}

html.ls-dark-mode .ls-practice-heading p,
html.ls-dark-mode .ls-practice-due-copy p,
html.ls-dark-mode .ls-practice-utility-card p,
html.ls-dark-mode .ls-practice-topic-copy > span,
html.ls-dark-mode .ls-practice-note {
  color: #aebbd0;
}

html.ls-dark-mode .ls-practice-next-session,
html.ls-dark-mode .ls-practice-due-row,
html.ls-dark-mode .ls-practice-utility-card,
html.ls-dark-mode .ls-practice-latest-topic {
  border-color: rgba(143, 164, 192, 0.2);
  background: #111b2b;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

html.ls-dark-mode .ls-practice-next-session::before {
  background: linear-gradient(90deg, rgba(17, 27, 43, 0.98) 0%, rgba(17, 27, 43, 0.94) 46%, rgba(14, 35, 42, 0.75) 75%, rgba(12, 43, 45, 0.84) 100%);
}

html.ls-dark-mode .ls-practice-scene img {
  filter: brightness(0.78) saturate(0.8);
  opacity: 0.8;
}

html.ls-dark-mode .ls-practice-stat {
  color: #c7d2e2;
}

html.ls-dark-mode .ls-practice-stat-due,
html.ls-dark-mode .ls-practice-eyebrow,
html.ls-dark-mode .ls-practice-note strong {
  color: #55d0bb;
}

html.ls-dark-mode .ls-practice-due-count,
html.ls-dark-mode .ls-practice-topic-copy > span {
  color: #aebbd0;
}

html.ls-dark-mode .ls-practice-due-count strong {
  color: #55d0bb;
}

html.ls-dark-mode .ls-practice-secondary-action,
html.ls-dark-mode .ls-practice-outline-action {
  border-color: rgba(85, 208, 187, 0.6);
  background: #111b2b;
  color: #77dbc9;
}

html.ls-dark-mode .ls-practice-secondary-action:hover,
html.ls-dark-mode .ls-practice-outline-action:hover,
html.ls-dark-mode .ls-practice-topic-arrow:hover {
  background: #17273a;
}

html.ls-dark-mode .ls-practice-utility-card:hover {
  border-color: rgba(85, 208, 187, 0.48);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

html.ls-dark-mode .ls-practice-card-arrow,
html.ls-dark-mode .ls-practice-topic-arrow,
html.ls-dark-mode .ls-practice-note > svg {
  color: #aebbd0;
}

html.ls-dark-mode .ls-practice-note > span {
  background: rgba(143, 164, 192, 0.22);
}

@media (max-width: 960px) {
  .ls-practice-next-copy {
    width: 68%;
  }

  .ls-practice-scene {
    right: -4.5rem;
    width: 57%;
    opacity: 0.74;
  }

  .ls-practice-utility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ls-practice-utility-card {
    min-height: 12.5rem;
  }

  .ls-practice-latest-topic {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ls-practice-topic-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  body.ls-practice-tool-active .ls-app-primary-nav {
    top: 4.5rem !important;
  }

  .ls-app-primary-nav > .ls-practice-nav svg {
    display: none;
  }

  .ls-practice-page {
    width: min(100%, calc(100vw - 2rem));
    padding: 0.75rem 0 5.5rem;
  }

  .ls-practice-heading {
    margin-bottom: 0.9rem;
  }

  .ls-practice-heading h1 {
    max-width: 15ch;
    font-size: clamp(1.5rem, 7vw, 1.7rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .ls-practice-heading p {
    max-width: 30ch;
    font-size: 0.95rem;
  }

  .ls-practice-next-session {
    min-height: 26rem;
  }

  .ls-practice-next-session::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 58%, rgba(232, 247, 243, 0.83) 100%);
  }

  .ls-practice-next-copy {
    width: 100%;
    padding: 1.4rem 1.25rem;
  }

  .ls-practice-next-copy h2 {
    font-size: 2rem;
  }

  .ls-practice-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.75rem;
  }

  .ls-practice-stat {
    min-width: 0;
    align-items: flex-start;
    white-space: normal;
  }

  .ls-practice-stat-divider {
    display: none;
  }

  .ls-practice-next-copy > .ls-practice-primary-action {
    margin-top: 1.15rem;
  }

  .ls-practice-scene {
    right: -1rem;
    bottom: -2.5rem;
    width: 100%;
    height: 56%;
    opacity: 0.72;
  }

  .ls-practice-due-row {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.8rem 0.9rem;
    padding: 1rem;
  }

  .ls-practice-due-icon {
    grid-row: 1 / span 3;
  }

  .ls-practice-due-copy {
    min-width: 0;
  }

  .ls-practice-due-copy h2 {
    max-width: 14ch;
  }

  .ls-practice-due-copy p {
    max-width: 25ch;
  }

  .ls-practice-due-count {
    grid-column: 2;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.4rem;
    padding-left: 0;
  }

  .ls-practice-secondary-action {
    grid-column: 2;
    justify-self: stretch;
    min-width: 0;
  }

  .ls-practice-utility-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .ls-practice-utility-card {
    min-height: 10rem;
  }

  .ls-practice-latest-topic {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .ls-practice-topic-icon {
    width: 3.8rem;
    height: 3.8rem;
  }

  .ls-practice-topic-icon svg {
    width: 2.1rem;
    height: 2.1rem;
  }

  .ls-practice-topic-actions {
    justify-content: stretch;
  }

  .ls-practice-topic-actions .ls-practice-action {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.75rem;
    text-align: center;
  }

  .ls-practice-topic-arrow {
    display: none;
  }

  .ls-practice-note {
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
  }

  .ls-practice-note > span {
    display: none;
  }

  html.ls-dark-mode .ls-practice-next-session::before {
    background: linear-gradient(180deg, rgba(17, 27, 43, 0.98) 0%, rgba(17, 27, 43, 0.96) 58%, rgba(12, 43, 45, 0.84) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ls-practice-tool *,
  .ls-practice-tool *::before,
  .ls-practice-tool *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Internal Practice workspace. These states replace cross-tool routing and
   remain fully scoped to Practice so no existing tool receives style changes. */

.ls-practice-home[hidden],
.ls-practice-workspace[hidden] {
  display: none !important;
}

.ls-practice-workspace {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.ls-practice-workspace-header {
  position: relative;
  padding: 0.25rem 0 1.35rem 10rem;
  border-bottom: 1px solid #dfe7e9;
}

.ls-practice-back {
  position: absolute;
  top: 0.2rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.65rem;
  appearance: none;
  border: 1px solid #d9e2e8;
  border-radius: 6px;
  background: #ffffff;
  padding: 0.55rem 0.85rem;
  color: #243047;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ls-practice-back svg {
  width: 1.05rem;
  height: 1.05rem;
}

.ls-practice-workspace-header > p {
  margin: 0;
  color: #07856f;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.ls-practice-workspace-header h1 {
  margin: 0.35rem 0 0;
  color: #101827;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: 0;
}

.ls-practice-workspace-header > span {
  display: block;
  max-width: 52rem;
  margin-top: 0.45rem;
  color: #667287;
  font-size: 0.96rem;
  line-height: 1.55;
}

.ls-practice-loading,
.ls-practice-empty,
.ls-practice-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  margin-top: 1.25rem;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #ffffff;
  padding: 2rem;
  text-align: center;
}

.ls-practice-loading h2,
.ls-practice-empty h2,
.ls-practice-error h2 {
  margin: 1rem 0 0;
  color: #101827;
  font-size: 1.2rem;
  font-weight: 730;
  line-height: 1.3;
}

.ls-practice-loading p,
.ls-practice-empty p,
.ls-practice-error p {
  max-width: 42rem;
  margin: 0.55rem 0 0;
  color: #667287;
  line-height: 1.55;
}

.ls-practice-empty .ls-practice-action,
.ls-practice-error-actions {
  margin-top: 1.25rem;
}

.ls-practice-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.ls-practice-spinner {
  width: 2.3rem;
  height: 2.3rem;
  border: 3px solid #dce6e8;
  border-top-color: #0a9279;
  border-radius: 50%;
  animation: ls-practice-spin 850ms linear infinite;
}

@keyframes ls-practice-spin {
  to {
    transform: rotate(360deg);
  }
}

.ls-practice-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #e5f6f1;
  color: #07856f;
}

.ls-practice-empty-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.ls-practice-test-skeleton {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.ls-practice-skeleton-question {
  min-height: 10.5rem;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #f4f6f8;
  padding: 1.35rem;
  animation: ls-practice-skeleton-pulse 1.7s ease-in-out infinite;
  animation-delay: calc(var(--skeleton-index) * 120ms);
}

.ls-practice-skeleton-question span,
.ls-practice-skeleton-question i {
  display: block;
  height: 0.8rem;
  border-radius: 999px;
  background: #dce2e7;
}

.ls-practice-skeleton-question span {
  width: min(44%, 20rem);
  margin-bottom: 1.35rem;
}

.ls-practice-skeleton-question i {
  width: 100%;
  height: 2.2rem;
  margin-top: 0.65rem;
}

@keyframes ls-practice-skeleton-pulse {
  50% {
    opacity: 0.58;
  }
}

.ls-practice-assessment-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 22rem);
  align-items: center;
  gap: 1.5rem;
  margin: 1.25rem 0 1rem;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #f8fafb;
  padding: 1rem 1.2rem;
}

.ls-practice-assessment-bar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ls-practice-assessment-bar strong {
  color: #101827;
  font-size: 0.96rem;
}

.ls-practice-assessment-bar span {
  color: #667287;
  font-size: 0.84rem;
}

.ls-practice-medical-preview-notice {
  margin: 0 0 1rem;
  border: 1px solid #d6be78;
  border-left: 4px solid #a87313;
  border-radius: 8px;
  background: #fff9e8;
  padding: 0.9rem 1rem;
  color: #4d3a14;
}

.ls-practice-medical-preview-notice strong {
  display: block;
  color: #35270e;
  font-size: 0.92rem;
}

.ls-practice-medical-preview-notice p {
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.ls-practice-progress {
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe7ea;
}

.ls-practice-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0a9279;
  transition: width 220ms ease;
}

.ls-practice-assessment {
  display: grid;
  gap: 1rem;
}

.ls-practice-question,
.ls-practice-review-question {
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(23, 40, 54, 0.04);
}

.ls-practice-question {
  padding: 1.4rem;
}

.ls-practice-question > header,
.ls-practice-review-question > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.9rem;
}

.ls-practice-question > header > span,
.ls-practice-review-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #edf2f6;
  color: #344157;
  font-size: 0.85rem;
  font-weight: 750;
}

.ls-practice-question header p,
.ls-practice-review-question header p {
  margin: 0;
  color: #07856f;
  font-size: 0.74rem;
  font-weight: 730;
  text-transform: uppercase;
}

.ls-practice-question header h2,
.ls-practice-review-question header h2 {
  margin: 0.35rem 0 0;
  color: #101827;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.5;
}

.ls-practice-choices {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.ls-practice-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  border: 1px solid #d9e2e8;
  border-radius: 7px;
  background: #fbfcfd;
  padding: 0.7rem 0.85rem;
  color: #243047;
  cursor: pointer;
}

.ls-practice-choice:hover,
.ls-practice-choice.is-selected {
  border-color: #7ebcaf;
  background: #f0faf7;
}

.ls-practice-choice.is-correct {
  border-color: #25a376;
  background: #ebf8f1;
  color: #164d3a;
}

.ls-practice-choice.is-wrong {
  border-color: #df7373;
  background: #fdf0f0;
  color: #7b2b31;
}

.ls-practice-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ls-practice-choice-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #cfd9e1;
  border-radius: 50%;
  background: #ffffff;
  color: #526077;
  font-size: 0.78rem;
  font-weight: 750;
}

.ls-practice-choice-result {
  width: 1.15rem;
  height: 1.15rem;
  color: #17895f;
}

.ls-practice-confidence {
  min-width: 0;
  margin: 1rem 0 0 3.05rem;
  border: 0;
  padding: 0;
}

.ls-practice-confidence legend {
  margin-bottom: 0.45rem;
  color: #526077;
  font-size: 0.78rem;
  font-weight: 700;
}

.ls-practice-confidence > div {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d6e0e6;
  border-radius: 7px;
  background: #ffffff;
}

.ls-practice-confidence label {
  position: relative;
  min-width: 5.4rem;
  border-right: 1px solid #d6e0e6;
  padding: 0.55rem 0.7rem;
  color: #526077;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.ls-practice-confidence label:last-child {
  border-right: 0;
}

.ls-practice-confidence label:hover,
.ls-practice-confidence label.is-selected {
  background: #eef9f6;
  color: #0b7865;
}

.ls-practice-confidence input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ls-practice-submit-error {
  margin: 0;
  border: 1px solid #e2a1a1;
  border-radius: 7px;
  background: #fdf3f3;
  padding: 0.8rem 1rem;
  color: #842f36;
  font-size: 0.84rem;
  line-height: 1.5;
}

.ls-practice-answer-feedback {
  margin: 1rem 0 0 3.05rem;
  border-left: 3px solid #2b9f7b;
  border-radius: 0 6px 6px 0;
  background: #f2f8f6;
  padding: 0.9rem 1rem;
  color: #243047;
}

.ls-practice-answer-feedback.is-wrong {
  border-left-color: #d86969;
  background: #fbf4f4;
}

.ls-practice-answer-feedback strong {
  color: #101827;
}

.ls-practice-answer-feedback p {
  margin: 0.35rem 0 0;
  line-height: 1.55;
}

.ls-practice-assessment-footer,
.ls-practice-workspace-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #ffffff;
  padding: 1rem 1.2rem;
}

.ls-practice-assessment-footer > span {
  margin-right: auto;
  color: #667287;
  font-size: 0.88rem;
}

.ls-practice-action:disabled {
  border-color: #d9e2e8;
  background: #e9edf1;
  color: #8b96a7;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.ls-practice-review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.ls-practice-review-summary > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #f8fafb;
  padding: 1rem;
}

.ls-practice-review-summary span {
  color: #667287;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.ls-practice-review-summary strong {
  color: #101827;
  font-size: 1rem;
}

.ls-practice-review-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.ls-practice-review-topics span {
  border: 1px solid #bcded7;
  border-radius: 999px;
  background: #f0faf7;
  padding: 0.35rem 0.65rem;
  color: #087f6d;
  font-size: 0.75rem;
  font-weight: 700;
}

.ls-practice-review-list,
.ls-practice-mistake-list,
.ls-practice-review-queue {
  display: grid;
  gap: 1rem;
}

.ls-practice-review-question {
  padding: 1.35rem;
}

.ls-practice-review-question > header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.ls-practice-review-question > header > strong {
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
}

.ls-practice-review-question > header > strong.is-correct {
  background: #e6f6ee;
  color: #147551;
}

.ls-practice-review-question > header > strong.is-wrong {
  background: #fdeaea;
  color: #b23f48;
}

.ls-practice-review-question dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.1rem 0 0 3.05rem;
}

.ls-practice-review-question dl > div {
  border: 1px solid #e0e6eb;
  border-radius: 6px;
  background: #f8fafb;
  padding: 0.75rem;
}

.ls-practice-review-question dt {
  color: #667287;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ls-practice-review-question dd {
  margin: 0.3rem 0 0;
  color: #1d293d;
  line-height: 1.45;
}

.ls-practice-review-explanation {
  margin: 0.75rem 0 0 3.05rem;
  border-left: 3px solid #0a9279;
  background: #f2f8f6;
  padding: 0.8rem 0.95rem;
  color: #263247;
}

.ls-practice-review-explanation p {
  margin: 0.35rem 0 0;
  line-height: 1.55;
}

.ls-practice-workspace-footer {
  margin-top: 1rem;
}

.ls-practice-mistake-list article,
.ls-practice-review-queue article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #ffffff;
  padding: 1rem;
}

.ls-practice-mistake-list article > span,
.ls-practice-review-queue article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #e5f6f1;
  color: #087f6d;
  font-weight: 750;
}

.ls-practice-review-queue article > span svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ls-practice-mistake-list p,
.ls-practice-review-queue p {
  margin: 0;
  color: #07856f;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ls-practice-mistake-list h2,
.ls-practice-review-queue h2 {
  margin: 0.3rem 0 0;
  color: #101827;
  font-size: 0.98rem;
  line-height: 1.4;
}

.ls-practice-mistake-list small,
.ls-practice-review-queue small {
  display: block;
  margin-top: 0.3rem;
  color: #667287;
}

.ls-practice-course-review-host {
  min-width: 0;
  margin-top: 0.35rem;
}

.ls-practice-course-review-host .ls-course-review-shell {
  width: 100%;
  margin: 0;
}

.ls-practice-retention-card {
  min-height: 7.25rem;
}

.ls-practice-retention-card.is-due {
  border-left: 3px solid #159d85;
}

.ls-practice-retention-card.is-scheduled {
  border-left: 3px solid #cbd5df;
}

.ls-practice-retention-copy {
  min-width: 0;
}

.ls-practice-retention-actions,
.ls-practice-teacher-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.ls-practice-teacher-actions {
  padding-left: 0.15rem;
}

.ls-practice-review-queue-summary {
  margin: 0.85rem 0 0;
  color: #5d6a7e;
  font-size: 0.85rem;
  font-weight: 650;
}

.ls-practice-topic-setup {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.ls-practice-locked-topic {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #dfe7e9;
  border-left: 3px solid #159d85;
  border-radius: 8px;
  background: #f8fbfa;
  padding: 1rem 1.15rem;
}

.ls-practice-locked-topic p,
.ls-practice-locked-topic h2,
.ls-practice-locked-topic span {
  margin: 0;
}

.ls-practice-locked-topic p {
  color: #07856f;
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.ls-practice-locked-topic h2 {
  margin-top: 0.25rem;
  color: #101827;
  font-size: 1.2rem;
  line-height: 1.3;
}

.ls-practice-locked-topic span {
  display: block;
  margin-top: 0.3rem;
  color: #667287;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ls-practice-locked-topic > strong {
  flex: 0 0 auto;
  border: 1px solid #a8dacf;
  border-radius: 999px;
  background: #e5f6f1;
  padding: 0.35rem 0.65rem;
  color: #087f6d;
  font-size: 0.74rem;
}

.ls-practice-guided-choice {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid #dce7e5;
  border-radius: 8px;
  background: #fbfdfd;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.ls-practice-guided-choice-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 7px;
  background: #e9f7f4;
  color: #0c8c76;
}

.ls-practice-guided-choice-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.ls-practice-guided-choice-copy {
  min-width: 0;
}

.ls-practice-guided-choice-copy small,
.ls-practice-guided-choice-copy h2,
.ls-practice-guided-choice-copy p {
  margin: 0;
}

.ls-practice-guided-choice-copy small {
  display: inline-block;
  margin-bottom: 0.2rem;
  color: #087f6d;
  font-size: 0.67rem;
  font-weight: 780;
  text-transform: uppercase;
}

.ls-practice-guided-choice-copy h2 {
  color: #101827;
  font-size: 0.95rem;
  line-height: 1.3;
}

.ls-practice-guided-choice-copy p {
  margin-top: 0.18rem;
  color: #667287;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ls-practice-guided-choice > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  appearance: none;
  border: 1px solid #168b75;
  border-radius: 7px;
  background: #ffffff;
  padding: 0.65rem 0.9rem;
  color: #116f60;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.ls-practice-guided-choice > button:hover {
  background: #eef9f6;
}

.ls-practice-guided-choice > button svg {
  width: 1rem;
  height: 1rem;
}

.ls-practice-guided-notice {
  margin: -0.55rem 0 0;
  color: #087f6d;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ls-practice-unit-selector {
  display: grid;
  gap: 0.85rem;
}

.ls-practice-unit-selector > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.ls-practice-unit-selector h2,
.ls-practice-unit-selector p {
  margin: 0;
}

.ls-practice-unit-selector h2 {
  color: #101827;
  font-size: 1rem;
  line-height: 1.3;
}

.ls-practice-unit-selector p {
  margin-top: 0.2rem;
  color: #667287;
  font-size: 0.78rem;
}

.ls-practice-unit-actions {
  display: flex;
  gap: 0.5rem;
}

.ls-practice-unit-actions button {
  appearance: none;
  border: 1px solid #d6e0e6;
  border-radius: 7px;
  background: #ffffff;
  padding: 0.48rem 0.72rem;
  color: #243047;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.ls-practice-unit-actions button:hover {
  border-color: #82b9ae;
  background: #f3faf8;
}

.ls-practice-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.ls-practice-unit-choice {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
  appearance: none;
  border: 1px solid #d9e2e8;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.82rem;
  color: #243047;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ls-practice-unit-choice:hover {
  border-color: #8bbfb4;
  background: #f7fbfa;
}

.ls-practice-unit-choice.is-selected {
  border-color: #178f79;
  background: #eef9f6;
  box-shadow: inset 0 0 0 1px #178f79;
}

.ls-practice-unit-check {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  box-sizing: border-box;
  border: 1px solid #cbd7df;
  border-radius: 6px;
  background: #ffffff;
  color: #ffffff;
}

.ls-practice-unit-choice.is-selected .ls-practice-unit-check {
  border-color: #178f79;
  background: #178f79;
}

.ls-practice-unit-check svg {
  width: 1rem;
  height: 1rem;
}

.ls-practice-unit-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.5rem;
  min-width: 0;
}

.ls-practice-unit-copy small {
  grid-row: 1;
  color: #738096;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.ls-practice-unit-copy strong {
  grid-row: 1;
  min-width: 0;
  color: #101827;
  font-size: 0.86rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ls-practice-unit-copy > span {
  display: -webkit-box;
  grid-column: 1 / -1;
  margin-top: 0.28rem;
  overflow: hidden;
  color: #667287;
  font-size: 0.74rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ls-practice-config-section {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.ls-practice-config-section > legend {
  margin-bottom: 0.65rem;
  color: #101827;
  font-size: 0.88rem;
  font-weight: 720;
}

.ls-practice-config-grid {
  display: grid;
  gap: 0.65rem;
}

.ls-practice-config-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ls-practice-config-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ls-practice-config-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ls-practice-config-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 4.2rem;
  appearance: none;
  border: 1px solid #d9e2e8;
  border-radius: 7px;
  background: #ffffff;
  padding: 0.8rem;
  color: #243047;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ls-practice-config-choice:hover {
  border-color: #8bbfb4;
  background: #f7fbfa;
}

.ls-practice-config-choice.is-selected {
  border-color: #178f79;
  background: #eef9f6;
  box-shadow: inset 0 0 0 1px #178f79;
}

.ls-practice-config-choice strong {
  font-size: 0.88rem;
}

.ls-practice-config-choice span {
  margin-top: 0.2rem;
  color: #667287;
  font-size: 0.76rem;
  line-height: 1.4;
}

.ls-practice-customize {
  overflow: hidden;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #ffffff;
}

.ls-practice-customize > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: #101827;
  cursor: pointer;
  list-style: none;
}

.ls-practice-customize > summary::-webkit-details-marker {
  display: none;
}

.ls-practice-customize > summary span:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ls-practice-customize > summary small {
  color: #667287;
  font-size: 0.76rem;
  font-weight: 450;
}

.ls-practice-customize > summary span:last-child {
  color: #07856f;
  font-size: 1.35rem;
  line-height: 1;
  transform: rotate(45deg);
}

.ls-practice-customize:not([open]) > summary span:last-child {
  transform: none;
}

.ls-practice-customize-body {
  display: grid;
  gap: 1.3rem;
  border-top: 1px solid #e4eaee;
  padding: 1.15rem;
}

.ls-practice-question-count input[type="range"] {
  width: 100%;
  accent-color: #159d85;
}

.ls-practice-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  color: #667287;
  font-size: 0.75rem;
}

.ls-practice-range-labels span {
  display: flex;
  flex-direction: column;
}

.ls-practice-range-labels span:nth-child(2) {
  align-items: center;
}

.ls-practice-range-labels span:last-child {
  align-items: flex-end;
}

.ls-practice-range-labels small {
  font-size: 0.68rem;
}

.ls-practice-option-list {
  display: grid;
  gap: 0.65rem;
}

.ls-practice-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #e1e7eb;
  border-radius: 7px;
  padding: 0.8rem 0.9rem;
  color: #243047;
  cursor: pointer;
}

.ls-practice-toggle-row > span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ls-practice-toggle-row small {
  color: #667287;
  font-size: 0.76rem;
  line-height: 1.4;
}

.ls-practice-toggle-row input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #159d85;
}

.ls-practice-extra-info label,
.ls-practice-free-response > span {
  display: block;
  margin-bottom: 0.45rem;
  color: #243047;
  font-size: 0.82rem;
  font-weight: 700;
}

.ls-practice-extra-info textarea,
.ls-practice-free-response textarea,
.ls-practice-scratch-pad textarea,
.ls-practice-calculator input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d5dfe6;
  border-radius: 7px;
  background: #fbfcfd;
  padding: 0.75rem 0.85rem;
  color: #1f2b3f;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.ls-practice-ai-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  color: #667287;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ls-practice-ai-note strong {
  border: 1px solid #dce3e9;
  border-radius: 4px;
  padding: 0.08rem 0.28rem;
  color: #526077;
  font-size: 0.65rem;
}

.ls-practice-generate-topic {
  width: 100%;
}

.ls-practice-generate-topic:disabled {
  border-color: #d7dfe5;
  background: #e9eef1;
  color: #8b96a7;
  cursor: not-allowed;
  box-shadow: none;
}

.ls-practice-free-response {
  display: block;
  margin-top: 1.15rem;
}

.ls-practice-scratch-pad,
.ls-practice-calculator {
  margin-top: 1rem;
  border: 1px solid #dfe7e9;
  border-radius: 7px;
  background: #f8fafb;
}

.ls-practice-scratch-pad > summary,
.ls-practice-calculator > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  color: #243047;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.ls-practice-scratch-pad label {
  display: block;
  padding: 0 0.9rem 0.9rem;
}

.ls-practice-calculator {
  margin: 0 0 1rem;
  background: #ffffff;
}

.ls-practice-calculator > summary span {
  color: #667287;
  font-size: 0.75rem;
  font-weight: 450;
}

.ls-practice-calculator-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, auto);
  gap: 0.65rem;
  border-top: 1px solid #e3e9ed;
  padding: 0.9rem;
}

.ls-practice-calculator input {
  height: 2.8rem;
  resize: none;
}

.ls-practice-calculator output {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 2.8rem;
  border: 1px solid #d5dfe6;
  border-radius: 7px;
  background: #f3f7f8;
  padding: 0.55rem 0.75rem;
  color: #101827;
  font-weight: 700;
}

.ls-practice-calculator-keys {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.ls-practice-calculator-keys button {
  min-height: 2.35rem;
  appearance: none;
  border: 1px solid #d5dfe6;
  border-radius: 6px;
  background: #ffffff;
  color: #243047;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 680;
  cursor: pointer;
}

.ls-practice-calculator-keys button:hover {
  border-color: #8bbfb4;
  background: #eef9f6;
}
.ls-practice-course-history-summary {
  display: flex;
  gap: 0.75rem;
  margin: 1.2rem 0 0.9rem;
}

.ls-practice-course-history-summary > div {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  border: 1px solid #dfe7e9;
  border-radius: 6px;
  background: #f8fafb;
  padding: 0.65rem 0.8rem;
}

.ls-practice-course-history-summary strong {
  color: #101827;
  font-size: 1rem;
}

.ls-practice-course-history-summary span {
  color: #667287;
  font-size: 0.78rem;
}

.ls-practice-course-history {
  display: grid;
  gap: 0.7rem;
}

.ls-practice-course-topic {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  appearance: none;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #ffffff;
  padding: 1rem;
  color: #101827;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.ls-practice-course-topic:hover {
  border-color: #8bbfb4;
  background: #fbfefd;
  box-shadow: 0 8px 22px rgba(30, 43, 68, 0.08);
}

.ls-practice-course-topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #e5f6f1;
  color: #087f6d;
}

.ls-practice-course-topic-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ls-practice-course-topic-copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.ls-practice-course-topic-meta {
  color: #07856f;
  font-size: 0.72rem;
  font-weight: 700;
}

.ls-practice-course-topic-meta b {
  margin: 0 0.25rem;
  color: #a6b0be;
}

.ls-practice-course-topic-copy > strong {
  font-size: 1rem;
  line-height: 1.35;
}

.ls-practice-course-topic-copy > small {
  overflow: hidden;
  color: #667287;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ls-practice-course-topic-action {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-items: end;
  gap: 0.2rem 0.55rem;
  color: #1c2944;
}

.ls-practice-course-topic-action small {
  grid-column: 1 / -1;
  color: #7a8597;
  font-size: 0.72rem;
}

.ls-practice-course-topic-action b {
  font-size: 0.8rem;
}

.ls-practice-course-topic-action svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 700px) {
  .ls-practice-course-topic {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ls-practice-course-topic-action {
    grid-column: 2;
    grid-template-columns: auto auto;
    justify-content: start;
    justify-items: start;
  }

  .ls-practice-course-topic-action small {
    grid-column: auto;
  }
}

html.ls-dark-mode .ls-practice-course-history-summary > div {
  border-color: rgba(143, 164, 192, 0.2);
  background: #142034;
}

html.ls-dark-mode .ls-practice-course-history-summary strong,
html.ls-dark-mode .ls-practice-course-topic-copy > strong {
  color: #f3f7fc;
}

html.ls-dark-mode .ls-practice-course-history-summary span,
html.ls-dark-mode .ls-practice-course-topic-copy > small,
html.ls-dark-mode .ls-practice-course-topic-action small {
  color: #aebbd0;
}

html.ls-dark-mode .ls-practice-course-topic {
  border-color: rgba(143, 164, 192, 0.22);
  background: #111b2b;
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-course-topic:hover {
  border-color: rgba(85, 208, 187, 0.55);
  background: #142034;
}

html.ls-dark-mode .ls-practice-course-topic-action {
  color: #8ee2d2;
}

html.ls-dark-mode .ls-practice-back,
html.ls-dark-mode .ls-practice-loading,
html.ls-dark-mode .ls-practice-empty,
html.ls-dark-mode .ls-practice-error,
html.ls-dark-mode .ls-practice-question,
html.ls-dark-mode .ls-practice-review-question,
html.ls-dark-mode .ls-practice-assessment-footer,
html.ls-dark-mode .ls-practice-workspace-footer,
html.ls-dark-mode .ls-practice-mistake-list article,
html.ls-dark-mode .ls-practice-review-queue article {
  border-color: rgba(143, 164, 192, 0.2);
  background: #111b2b;
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-workspace-header {
  border-color: rgba(143, 164, 192, 0.2);
}

html.ls-dark-mode .ls-practice-workspace-header h1,
html.ls-dark-mode .ls-practice-loading h2,
html.ls-dark-mode .ls-practice-empty h2,
html.ls-dark-mode .ls-practice-error h2,
html.ls-dark-mode .ls-practice-assessment-bar strong,
html.ls-dark-mode .ls-practice-question header h2,
html.ls-dark-mode .ls-practice-review-question header h2,
html.ls-dark-mode .ls-practice-review-summary strong,
html.ls-dark-mode .ls-practice-mistake-list h2,
html.ls-dark-mode .ls-practice-review-queue h2 {
  color: #f3f7fc;
}

html.ls-dark-mode .ls-practice-workspace-header > span,
html.ls-dark-mode .ls-practice-loading p,
html.ls-dark-mode .ls-practice-empty p,
html.ls-dark-mode .ls-practice-error p,
html.ls-dark-mode .ls-practice-assessment-bar span,
html.ls-dark-mode .ls-practice-assessment-footer > span,
html.ls-dark-mode .ls-practice-mistake-list small,
html.ls-dark-mode .ls-practice-review-queue small {
  color: #aebbd0;
}

html.ls-dark-mode .ls-practice-review-queue-summary {
  color: #aebbd0;
}

html.ls-dark-mode .ls-practice-retention-card.is-due {
  border-left-color: #54cfb9;
}

html.ls-dark-mode .ls-practice-retention-card.is-scheduled {
  border-left-color: #53627a;
}

html.ls-dark-mode .ls-practice-assessment-bar,
html.ls-dark-mode .ls-practice-review-summary > div {
  border-color: rgba(143, 164, 192, 0.2);
  background: #142034;
}

html.ls-dark-mode .ls-practice-medical-preview-notice {
  border-color: #7e6834;
  border-left-color: #d7a742;
  background: #2a2418;
  color: #f5e7bd;
}

html.ls-dark-mode .ls-practice-medical-preview-notice strong {
  color: #fff4d4;
}

html.ls-dark-mode .ls-practice-progress {
  background: #24324a;
}

html.ls-dark-mode .ls-practice-question > header > span,
html.ls-dark-mode .ls-practice-review-number {
  background: #22314a;
  color: #d8e3f0;
}

html.ls-dark-mode .ls-practice-choice {
  border-color: rgba(143, 164, 192, 0.22);
  background: #162236;
  color: #dce6f2;
}

html.ls-dark-mode .ls-practice-choice:hover,
html.ls-dark-mode .ls-practice-choice.is-selected {
  border-color: rgba(85, 208, 187, 0.55);
  background: #17322f;
}

html.ls-dark-mode .ls-practice-choice.is-correct {
  border-color: #268d68;
  background: #123a2b;
  color: #ebfff7;
}

html.ls-dark-mode .ls-practice-choice.is-wrong {
  border-color: #a64e54;
  background: #412126;
  color: #fff0f1;
}

html.ls-dark-mode .ls-practice-choice-letter {
  border-color: #3a4961;
  background: #101a2a;
  color: #dbe5f1;
}

html.ls-dark-mode .ls-practice-confidence legend {
  color: #b9c7d8;
}

html.ls-dark-mode .ls-practice-confidence > div {
  border-color: rgba(143, 164, 192, 0.25);
  background: #101a2a;
}

html.ls-dark-mode .ls-practice-confidence label {
  border-color: rgba(143, 164, 192, 0.25);
  color: #c7d3e1;
}

html.ls-dark-mode .ls-practice-confidence label:hover,
html.ls-dark-mode .ls-practice-confidence label.is-selected {
  background: #17322f;
  color: #9ce9da;
}

html.ls-dark-mode .ls-practice-submit-error {
  border-color: #85434a;
  background: #321f26;
  color: #ffe9eb;
}

html.ls-dark-mode .ls-practice-answer-feedback,
html.ls-dark-mode .ls-practice-review-explanation {
  background: #152a29;
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-answer-feedback.is-wrong {
  background: #2d2229;
}

html.ls-dark-mode .ls-practice-answer-feedback strong,
html.ls-dark-mode .ls-practice-answer-feedback b,
html.ls-dark-mode .ls-practice-review-explanation strong {
  color: #ffffff;
}

html.ls-dark-mode .ls-practice-review-question dl > div {
  border-color: rgba(143, 164, 192, 0.2);
  background: #142034;
}

html.ls-dark-mode .ls-practice-review-question dt {
  color: #9fb0c7;
}

html.ls-dark-mode .ls-practice-review-question dd {
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-test-skeleton,
html.ls-dark-mode .ls-practice-skeleton-question {
  border-color: rgba(143, 164, 192, 0.18);
  background: #121d2e;
}

html.ls-dark-mode .ls-practice-skeleton-question span,
html.ls-dark-mode .ls-practice-skeleton-question i {
  background: #27354a;
}

html.ls-dark-mode .ls-practice-spinner {
  border-color: #26364d;
  border-top-color: #55d0bb;
}

html.ls-dark-mode .ls-practice-locked-topic,
html.ls-dark-mode .ls-practice-guided-choice,
html.ls-dark-mode .ls-practice-unit-choice,
html.ls-dark-mode .ls-practice-unit-actions button,
html.ls-dark-mode .ls-practice-customize,
html.ls-dark-mode .ls-practice-config-choice,
html.ls-dark-mode .ls-practice-toggle-row,
html.ls-dark-mode .ls-practice-calculator,
html.ls-dark-mode .ls-practice-scratch-pad {
  border-color: rgba(143, 164, 192, 0.22);
  background: #111b2b;
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-locked-topic h2,
html.ls-dark-mode .ls-practice-guided-choice-copy h2,
html.ls-dark-mode .ls-practice-unit-selector h2,
html.ls-dark-mode .ls-practice-unit-copy strong,
html.ls-dark-mode .ls-practice-unit-actions button,
html.ls-dark-mode .ls-practice-locked-topic > strong,
html.ls-dark-mode .ls-practice-config-section > legend,
html.ls-dark-mode .ls-practice-config-choice,
html.ls-dark-mode .ls-practice-customize > summary,
html.ls-dark-mode .ls-practice-toggle-row,
html.ls-dark-mode .ls-practice-extra-info label,
html.ls-dark-mode .ls-practice-free-response > span,
html.ls-dark-mode .ls-practice-scratch-pad > summary,
html.ls-dark-mode .ls-practice-calculator > summary {
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-locked-topic span,
html.ls-dark-mode .ls-practice-guided-choice-copy p,
html.ls-dark-mode .ls-practice-unit-selector p,
html.ls-dark-mode .ls-practice-unit-copy small,
html.ls-dark-mode .ls-practice-unit-copy > span,
html.ls-dark-mode .ls-practice-config-choice span,
html.ls-dark-mode .ls-practice-customize > summary small,
html.ls-dark-mode .ls-practice-toggle-row small,
html.ls-dark-mode .ls-practice-ai-note,
html.ls-dark-mode .ls-practice-calculator > summary span,
html.ls-dark-mode .ls-practice-range-labels {
  color: #aebbd0;
}

html.ls-dark-mode .ls-practice-locked-topic > strong {
  border-color: rgba(85, 208, 187, 0.45);
  background: #17322f;
  color: #7ce4d1;
}

html.ls-dark-mode .ls-practice-guided-choice-icon {
  background: #17322f;
  color: #7ce4d1;
}

html.ls-dark-mode .ls-practice-guided-choice-copy small,
html.ls-dark-mode .ls-practice-guided-notice {
  color: #7ce4d1;
}

html.ls-dark-mode .ls-practice-guided-choice > button {
  border-color: rgba(85, 208, 187, 0.48);
  background: #162236;
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-guided-choice > button:hover {
  background: #17322f;
}

html.ls-dark-mode .ls-practice-unit-choice:hover,
html.ls-dark-mode .ls-practice-unit-choice.is-selected,
html.ls-dark-mode .ls-practice-unit-actions button:hover,
html.ls-dark-mode .ls-practice-config-choice:hover,
html.ls-dark-mode .ls-practice-config-choice.is-selected {
  border-color: rgba(85, 208, 187, 0.62);
  background: #17322f;
}

html.ls-dark-mode .ls-practice-unit-check {
  border-color: rgba(143, 164, 192, 0.35);
  background: #0e1828;
}

html.ls-dark-mode .ls-practice-unit-choice.is-selected .ls-practice-unit-check {
  border-color: #55d0bb;
  background: #238f7d;
}

html.ls-dark-mode .ls-practice-customize-body,
html.ls-dark-mode .ls-practice-calculator-body {
  border-color: rgba(143, 164, 192, 0.18);
}

html.ls-dark-mode .ls-practice-extra-info textarea,
html.ls-dark-mode .ls-practice-free-response textarea,
html.ls-dark-mode .ls-practice-scratch-pad textarea,
html.ls-dark-mode .ls-practice-calculator input,
html.ls-dark-mode .ls-practice-calculator output {
  border-color: rgba(143, 164, 192, 0.25);
  background: #0e1828;
  color: #f3f7fc;
}

html.ls-dark-mode .ls-practice-calculator-keys button {
  border-color: rgba(143, 164, 192, 0.25);
  background: #162236;
  color: #eef4fb;
}

html.ls-dark-mode .ls-practice-calculator-keys button:hover {
  border-color: rgba(85, 208, 187, 0.55);
  background: #17322f;
}
@media (max-width: 700px) {
  .ls-practice-locked-topic {
    align-items: stretch;
    flex-direction: column;
  }

  .ls-practice-locked-topic > strong {
    align-self: flex-start;
  }

  .ls-practice-guided-choice {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }

  .ls-practice-guided-choice > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ls-practice-unit-selector > header {
    align-items: stretch;
    flex-direction: column;
  }

  .ls-practice-unit-actions button {
    flex: 1;
  }

  .ls-practice-unit-grid,
  .ls-practice-config-grid-two,
  .ls-practice-config-grid-three,
  .ls-practice-config-grid-four {
    grid-template-columns: 1fr;
  }

  .ls-practice-calculator-body {
    grid-template-columns: 1fr;
  }

  .ls-practice-calculator output,
  .ls-practice-calculator-keys {
    grid-column: 1;
  }

  .ls-practice-calculator-keys {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ls-practice-workspace {
    width: min(100%, calc(100vw - 2rem));
    padding: 0.75rem 0 5.5rem;
  }

  .ls-practice-workspace-header {
    padding: 3.35rem 0 1.1rem;
  }

  .ls-practice-workspace-header h1 {
    font-size: 1.65rem;
  }

  .ls-practice-assessment-bar {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .ls-practice-question,
  .ls-practice-review-question {
    padding: 1rem;
  }

  .ls-practice-confidence {
    margin-left: 0;
  }

  .ls-practice-confidence > div {
    display: grid;
    width: 100%;
  }

  .ls-practice-confidence label {
    min-width: 0;
  }

  .ls-practice-answer-feedback,
  .ls-practice-review-explanation,
  .ls-practice-review-question dl {
    margin-left: 0;
  }

  .ls-practice-review-summary {
    grid-template-columns: 1fr;
  }

  .ls-practice-review-question > header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ls-practice-review-question > header > strong {
    grid-column: 2;
    justify-self: start;
  }

  .ls-practice-review-question dl {
    grid-template-columns: 1fr;
  }

  .ls-practice-assessment-footer,
  .ls-practice-workspace-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ls-practice-assessment-footer > span {
    margin-right: 0;
  }

  .ls-practice-assessment-footer .ls-practice-action,
  .ls-practice-workspace-footer .ls-practice-action {
    width: 100%;
  }

  .ls-practice-mistake-list article,
  .ls-practice-review-queue article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ls-practice-mistake-list article .ls-practice-action,
  .ls-practice-review-queue article .ls-practice-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ls-practice-retention-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    width: 100%;
  }

  .ls-practice-teacher-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ls-practice-spinner {
    animation: none;
  }

  .ls-practice-progress span {
    transition: none;
  }
}
