/* dev275/tasks/tasks221.css */
.tasks221 {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  overflow-wrap: anywhere;
}
.tasks221 * {
  box-sizing: border-box;
}
.tasks221-header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--kh-border,#968771);
}
.tasks221-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}
.tasks221 p,
.tasks221 li {
  line-height: 1.7;
}
.tasks221-access {
  margin: 1.2rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--kh-border,#968771);
  border-radius: 12px;
  background: var(--kh-surface,rgba(250,247,237,.94));
  color: var(--kh-text,#27251f);
}
.tasks221 summary {
  cursor: pointer;
  font-weight: 650;
  line-height: 1.5;
  padding: .25rem 0;
}
.tasks221-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.25rem 0;
}
.tasks221-subjects button {
  min-height: 44px;
}
.tasks221-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.tasks221-filters label {
  min-width: 0;
}
.tasks221-filters select,
.tasks221-filters input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font: inherit;
}
.tasks221-layout {
  display: grid;
  grid-template-columns: minmax(200px, 270px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.tasks221-list,
.tasks221-task {
  min-width: 0;
}
.tasks221-list h2 {
  font-size: 1.1rem;
  margin-top: 0;
}
.tasks221-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tasks221-list li {
  margin: 0 0 .4rem;
}
.tasks221-list button {
  width: 100%;
  min-height: 44px;
  text-align: left;
  white-space: normal;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.tasks221-list button[aria-current=true] {
  font-weight: 700;
  border: 2px solid currentColor;
  background: var(--kh-surface,rgba(249,243,223,.95));
  color: var(--kh-text,#28261f);
}
.tasks221-list-pages {
  display: flex;
  gap: .5rem;
  margin-top: .8rem;
}
.tasks221-list-pages button {
  text-align: center;
}
.tasks221-task {
  padding: 1.4rem;
  border: 1px solid var(--kh-border,#968771);
  border-radius: 14px;
  background: var(--kh-surface,rgba(255,252,242,.96));
  color: var(--kh-text,#26251e);
}
.tasks221-topic {
  font-size: .9rem;
  line-height: 1.4;
  margin-top: 0;
}
.tasks221-task h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.3;
  margin-top: .6rem;
}
.tasks221-task h3 {
  font-size: 1.1rem;
  margin: 1.4rem 0 .5rem;
}
.tasks221-problem,
.tasks221-task li,
.tasks221-answer p,
.tasks221-task p {
  white-space: pre-line;
}
.tasks221-solution {
  margin-top: 1.6rem;
  border-top: 1px solid var(--kh-border,#968771);
  padding-top: 1rem;
}
.tasks221-solution ol {
  padding-left: 1.6rem;
}
.tasks221-solution li {
  padding-left: .35rem;
  margin: .75rem 0;
}
.tasks221-answer {
  margin: 1.3rem 0;
  padding: 1px 1rem;
  border-left: 4px solid currentColor;
  background: rgba(120, 125, 90, .08);
}
.tasks221-sources {
  margin: 1.3rem 0;
  padding-top: .8rem;
  border-top: 1px solid var(--kh-border,#968771);
}
.tasks221-sources li {
  margin: .5rem 0;
}
.tasks221-next {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.tasks221-next button {
  min-height: 44px;
  white-space: normal;
}
.tasks221-empty {
  padding: 1rem;
  border: 1px solid var(--kh-border,#968771);
  border-radius: 10px;
}
.tasks221 button:focus-visible,
.tasks221 summary:focus-visible,
.tasks221 select:focus-visible,
.tasks221 input:focus-visible,
.tasks221 h2:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.tasks221 button:disabled {
  opacity: .5;
  cursor: default;
}
@media (max-width: 760px) {
  .tasks221-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .tasks221-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .tasks221-list nav {
    max-height: 16rem;
    overflow: auto;
    overscroll-behavior: contain;
    padding: .15rem;
  }
  .tasks221-list {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--kh-border,#968771);
  }
  .tasks221-task {
    padding: 1rem;
  }
  .tasks221-next button {
    flex: 1 1 160px;
  }
  .tasks221-subjects button {
    flex: 1 1 95px;
  }
}
.source-text228 {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.source-text228 math {
  font-size: 1.15em;
  max-width: 100%;
  overflow-x: auto;
}
.source-text228 table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
}
.source-text228 td {
  border: 1px solid var(--line);
  padding: .4rem;
}
.source-text228 ol {
  padding-left: 1.8rem;
}
.source-origin228 {
  padding: .8rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
.tasks229-erratum {
  margin: 1rem 0;
  padding: .8rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
.tasks229-count {
  font-variant-numeric: tabular-nums;
}
