.tm-chapter-two-lesson {
  --ch2-teal: #006680;
  --ch2-cyan: #4db8cc;
  --ch2-soft: #f5fcff;
  --ch2-green: #18b981;
  --ch2-orange: #ff8a00;
  --ch2-magenta: #e83e8c;
  font-size: clamp(.98rem, 1.02vw, 1.05rem);
  line-height: 1.74;
  letter-spacing: 0;
  word-spacing: normal;
}
.tm-chapter-two-lesson p,
.tm-chapter-two-lesson li,
.tm-chapter-two-lesson div {
  line-height: 1.74;
}
.tm-chapter-two-lesson p {
  margin: .55rem 0 .7rem;
  text-wrap: pretty;
}
.tm-ch2-lesson-banner {
  position: relative;
  overflow: hidden;
  margin: 0 0 2rem;
  padding: clamp(1.25rem, 4vw, 2.2rem);
  border: 1px solid rgba(0,102,128,.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 18%, rgba(232,62,140,.18), transparent 32%),
    radial-gradient(circle at 12% 20%, rgba(77,184,204,.24), transparent 30%),
    linear-gradient(135deg, #ffffff, var(--ch2-soft));
  box-shadow: 0 22px 55px rgba(0, 102, 128, .10);
}
.tm-ch2-lesson-banner span {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .42rem .78rem;
  border-radius: 999px;
  background: rgba(77,184,204,.16);
  color: var(--ch2-teal);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}
.tm-ch2-lesson-banner h2 {
  margin: 0 0 .55rem !important;
  color: #052b52;
  font-size: clamp(2rem, 4.4vw, 3.5rem) !important;
  line-height: 1.04 !important;
}
.tm-ch2-lesson-banner p {
  max-width: 760px;
  margin: 0;
  color: #61708a;
  line-height: 1.65;
}
.tm-chapter-two-lesson .main-list > li {
  margin-bottom: 1rem;
}
.tm-chapter-two-lesson .main-list > li,
.tm-chapter-two-lesson .sub-list > li {
  position: relative;
  border-radius: 18px;
  max-width: 100%;
  min-width: 0;
}
.tm-chapter-two-lesson .main-list,
.tm-chapter-two-lesson .sub-list {
  list-style: none;
  padding-left: 0;
}
.tm-chapter-two-lesson .main-list {
  counter-reset: ch2-main;
}
.tm-chapter-two-lesson .main-list > li {
  counter-increment: ch2-main;
  padding-left: 3.4rem;
}
.tm-chapter-two-lesson .main-list > li::before {
  content: counter(ch2-main) ".";
  position: absolute;
  left: 0;
  top: .42rem;
  width: 2.5rem;
  color: #0b4daf;
  font-weight: 950;
  text-align: right;
  line-height: 1.25;
}
.tm-chapter-two-lesson .main-list > li > .sub-list {
  counter-reset: ch2-alpha;
  margin: .7rem 0 1.1rem;
}
.tm-chapter-two-lesson .main-list > li > .sub-list > li {
  counter-increment: ch2-alpha;
  padding-left: 3.55rem;
  margin: .48rem 0;
}
.tm-chapter-two-lesson .main-list > li > .sub-list > li::before {
  content: "(" counter(ch2-alpha, lower-alpha) ")";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 2.75rem;
  color: #0b4daf;
  font-weight: 950;
  text-align: right;
  line-height: 1.25;
}
.tm-chapter-two-lesson .main-list > li > .sub-list > li > .sub-list {
  counter-reset: ch2-roman;
  margin: .6rem 0 .85rem;
}
.tm-chapter-two-lesson .main-list > li > .sub-list > li > .sub-list > li {
  counter-increment: ch2-roman;
  padding-left: 3.7rem;
  margin: .4rem 0;
}
.tm-chapter-two-lesson .main-list > li > .sub-list > li > .sub-list > li::before {
  content: "(" counter(ch2-roman, lower-roman) ")";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 2.9rem;
  color: #0b4daf;
  font-weight: 950;
  text-align: right;
  line-height: 1.25;
}
.tm-chapter-two-lesson .roman-list {
  list-style: none;
  padding-left: 0;
  counter-reset: ch2-roman-direct;
  margin: .65rem 0 .9rem;
}
.tm-chapter-two-lesson .roman-list > li {
  position: relative;
  counter-increment: ch2-roman-direct;
  padding-left: 3.55rem;
  margin: .42rem 0;
  border-radius: 18px;
}
.tm-chapter-two-lesson .roman-list > li::before {
  content: "(" counter(ch2-roman-direct, lower-roman) ")";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 2.75rem;
  color: #0b4daf;
  font-weight: 950;
  text-align: right;
  line-height: 1.25;
}
.tm-chapter-two-lesson li > p:first-child {
  margin-top: 0;
}
.tm-chapter-two-lesson li > p:last-child {
  margin-bottom: 0;
}
.tm-chapter-two-lesson .main-list > li:hover,
.tm-chapter-two-lesson .sub-list > li:hover {
  background: linear-gradient(90deg, rgba(77,184,204,.06), rgba(232,62,140,.035));
}
.tm-chapter-two-lesson .tm-lesson-figure {
  display: block;
  width: fit-content !important;
  max-width: 100%;
  box-sizing: border-box;
  margin: 1.15rem 0 1.6rem;
  padding: clamp(.75rem, 2vw, 1.1rem);
  border: 1px solid rgba(0,102,128,.14);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7fdff);
  box-shadow: 0 18px 42px rgba(5, 43, 82, .08);
  text-align: center;
  overflow: hidden;
}
.tm-chapter-two-lesson .tm-lesson-figure img {
  display: block;
  width: auto !important;
  max-width: min(100%, 580px) !important;
  max-height: min(52vh, 420px);
  height: auto !important;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 16px;
}
.tm-chapter-two-lesson .tm-source-graph-sheet {
  width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(.35rem, 1.2vw, .65rem);
}
.tm-chapter-two-lesson .tm-source-graph-sheet img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
  border-radius: 12px;
}
.tm-chapter-two-lesson .tm-graph-question {
  margin: 1.4rem 0 1.8rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(0,102,128,.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 96% 12%, rgba(232,62,140,.10), transparent 34%),
    linear-gradient(180deg, #fff, #f7fdff);
  box-shadow: 0 18px 44px rgba(5, 43, 82, .07);
}
.tm-chapter-two-lesson .tm-graph-question > p:first-child {
  margin-top: 0;
  color: #052b52;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}
.tm-chapter-two-lesson .tm-graph-question-secondary {
  background:
    radial-gradient(circle at 8% 14%, rgba(255,138,0,.12), transparent 34%),
    linear-gradient(180deg, #fff, #fffaf5);
}
.tm-chapter-two-lesson .tm-graph-sheet {
  margin-left: 0;
  margin-right: auto;
}
.tm-chapter-two-lesson .tm-graph-sheet figcaption {
  margin-top: .7rem;
  color: var(--ch2-teal);
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.tm-chapter-two-lesson .tm-graph-row {
  margin: 1.1rem 0 1.4rem;
}
.tm-chapter-two-lesson .tm-graph-row-label {
  display: inline-flex;
  margin: 0 0 .75rem;
  padding: .36rem .72rem;
  border-radius: 999px;
  background: rgba(77,184,204,.13);
  color: var(--ch2-teal);
  font-size: .88rem;
  font-weight: 900;
}
.tm-chapter-two-lesson .tm-graph-grid-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(.75rem, 2vw, 1rem);
  align-items: stretch;
}
.tm-chapter-two-lesson .tm-graph-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(210px, 28vw, 285px);
  margin: 0;
  padding: clamp(.25rem, .8vw, .45rem);
  border: 1px solid rgba(0,102,128,.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(5, 43, 82, .06);
  overflow: hidden;
}
.tm-chapter-two-lesson .tm-graph-card img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: calc(clamp(210px, 28vw, 285px) - 1rem) !important;
  object-fit: contain;
  border-radius: 10px;
}
.tm-chapter-two-lesson .tm-table-scroll {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 1rem 0;
  padding-bottom: .4rem;
}
.tm-chapter-two-lesson .tm-table-scroll table {
  width: max-content;
  max-width: none;
  min-width: 100%;
  margin: 0;
}
.tm-chapter-two-lesson .tm-table-scroll th,
.tm-chapter-two-lesson .tm-table-scroll td {
  min-width: 4.6rem;
  white-space: nowrap;
}
.tm-chapter-two-lesson .math.inline {
  color: #071b3f;
}
.tm-chapter-two-lesson .math-wrap,
.tm-chapter-two-lesson .tm-table-scroll {
  scrollbar-width: thin;
}
.tm-chapter-two-lesson .math-wrap::-webkit-scrollbar,
.tm-chapter-two-lesson .tm-table-scroll::-webkit-scrollbar {
  height: 8px;
  width: 0;
}

.entry-content .tm-imported-lesson.tm-chapter-two-lesson {
  font-size: clamp(.98rem, 1.02vw, 1.05rem) !important;
  line-height: 1.74 !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson p,
.entry-content .tm-imported-lesson.tm-chapter-two-lesson li,
.entry-content .tm-imported-lesson.tm-chapter-two-lesson div {
  line-height: 1.74 !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson p {
  margin: .55rem 0 .7rem !important;
  text-wrap: pretty;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list,
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.sub-list {
  list-style: none !important;
  padding-left: 0 !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list {
  counter-reset: ch2-main !important;
  display: block !important;
  gap: 0 !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li {
  counter-increment: ch2-main !important;
  padding-left: 3.4rem !important;
  margin: 0 0 1rem !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li::before {
  content: counter(ch2-main) "." !important;
  top: .42rem !important;
  min-width: 0 !important;
  width: 2.5rem !important;
  color: #0b4daf !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  text-align: right !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li > ol.sub-list {
  counter-reset: ch2-alpha !important;
  display: block !important;
  gap: 0 !important;
  margin: .7rem 0 1.1rem !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li > ol.sub-list > li {
  counter-increment: ch2-alpha !important;
  padding-left: 3.55rem !important;
  margin: .48rem 0 !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li > ol.sub-list > li::before {
  content: "(" counter(ch2-alpha, lower-alpha) ")" !important;
  top: .3rem !important;
  min-width: 0 !important;
  width: 2.75rem !important;
  color: #0b4daf !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  text-align: right !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li > ol.sub-list > li > ol.sub-list {
  counter-reset: ch2-roman !important;
  display: block !important;
  gap: 0 !important;
  margin: .6rem 0 .85rem !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li > ol.sub-list > li > ol.sub-list > li {
  counter-increment: ch2-roman !important;
  padding-left: 3.7rem !important;
  margin: .4rem 0 !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson ol.main-list > li > ol.sub-list > li > ol.sub-list > li::before {
  content: "(" counter(ch2-roman, lower-roman) ")" !important;
  top: .3rem !important;
  min-width: 0 !important;
  width: 2.9rem !important;
  color: #0b4daf !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  text-align: right !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson .roman-list {
  counter-reset: ch2-roman-direct !important;
  display: block !important;
  list-style: none !important;
  padding-left: 0 !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson .roman-list > li {
  counter-increment: ch2-roman-direct !important;
  padding-left: 3.55rem !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson .roman-list > li::before {
  content: "(" counter(ch2-roman-direct, lower-roman) ")" !important;
  top: .3rem !important;
  min-width: 0 !important;
  width: 2.75rem !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson .tm-reflection-figure-table {
  max-width: 1040px;
  margin: 1.1rem auto 1.5rem !important;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson .tm-reflection-figure-table table {
  table-layout: fixed;
  width: 100%;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson .tm-reflection-figure-table td {
  width: 50%;
  padding: .35rem .65rem !important;
  vertical-align: middle;
}
.entry-content .tm-imported-lesson.tm-chapter-two-lesson .tm-reflection-figure-table img {
  display: inline-block;
  height: auto;
  max-width: 100%;
  border-radius: 18px;
}
@media (max-width: 680px) {
  .tm-ch2-lesson-banner { border-radius: 22px; }
  .tm-chapter-two-lesson .main-list > li { padding-left: 2.5rem; }
  .tm-chapter-two-lesson .main-list > li::before { width: 1.85rem; }
  .tm-chapter-two-lesson .main-list > li > .sub-list > li { padding-left: 2.7rem; }
  .tm-chapter-two-lesson .main-list > li > .sub-list > li::before { width: 2.05rem; }
  .tm-chapter-two-lesson .main-list > li > .sub-list > li > .sub-list > li { padding-left: 2.95rem; }
  .tm-chapter-two-lesson .main-list > li > .sub-list > li > .sub-list > li::before { width: 2.25rem; }
  .tm-chapter-two-lesson .roman-list > li { padding-left: 2.95rem; }
  .tm-chapter-two-lesson .roman-list > li::before { width: 2.25rem; }
  .tm-chapter-two-lesson .tm-lesson-figure { border-radius: 20px; }
  .tm-chapter-two-lesson .tm-graph-grid-sheet { grid-template-columns: 1fr; }
  .tm-chapter-two-lesson .tm-graph-card { min-height: 250px; }
  .tm-chapter-two-lesson .tm-graph-card img { max-height: 236px !important; }
  .entry-content .tm-imported-lesson.tm-chapter-two-lesson .tm-reflection-figure-table td {
    padding: .25rem .35rem !important;
  }
}
