.quick-guide-catalog {
  padding: 14px;
  border: 1px solid #c7d8ff;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f8ff 0%, #fff 60%, #fff7e8 100%);
}

.quick-guide-catalog .lesson-catalog-group__head {
  display: grid;
  justify-items: start;
  gap: 5px;
}

.quick-guide-subject-grid,
.quick-guide-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 270px));
}

.quick-guide-subject-card,
.quick-guide-card {
  width: 270px;
  min-height: 180px;
  border-color: #b8ccfa;
  box-shadow: 0 8px 22px rgba(43, 74, 126, .08);
}

.quick-guide-subject-card:hover,
.quick-guide-card:hover {
  border-color: #4169b2;
  transform: translateY(-2px);
}

.quick-guide-subject-card .lesson-card__head,
.quick-guide-card .lesson-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-guide-subject-card p,
.quick-guide-card p,
.quick-guide-list__head p,
.quick-guide-empty p {
  margin: 0;
  color: #58657a;
  line-height: 1.5;
}

.quick-guide-subject-card__symbol,
.quick-guide-card__mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eaf0ff;
  color: #284f98;
  font-size: 24px;
  font-weight: 900;
}

.quick-guide-card__mark {
  font-size: 17px;
}

.quick-guide-subject-card__count,
.quick-guide-card__action {
  align-self: end;
  color: #284f98;
  font-size: 13px;
  font-weight: 800;
}

.quick-guide-list,
.quick-guide-empty {
  display: grid;
  gap: 14px;
}

.quick-guide-list__head {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.quick-guide-list__head h3,
.quick-guide-empty h3 {
  margin: 0;
}

.lesson-shell--quick-guide {
  width: min(100%, 1100px);
  min-width: 0;
}

.lesson-shell--quick-guide > *,
.lesson-shell--quick-guide .lesson-shell__head > div {
  min-width: 0;
}

.cheatsheet-document {
  --sheet-ink: #15233a;
  --sheet-muted: #55647a;
  --sheet-line: #cfd8e8;
  --sheet-blue: #315fa7;
  --sheet-blue-soft: #eef4ff;
  --sheet-gold: #9a6400;
  --sheet-gold-soft: #fff6dc;
  --sheet-green: #216e55;
  --sheet-green-soft: #eaf8f2;
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: clamp(14px, 2.5vw, 28px);
  border: 1px solid #b9c7da;
  border-radius: 14px;
  background: #fff;
  color: var(--sheet-ink);
  box-shadow: 0 14px 34px rgba(31, 52, 84, .12);
}

.cheatsheet-document__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--sheet-blue);
}

.cheatsheet-document__head > div {
  min-width: 0;
}

.cheatsheet-document__head h1 {
  margin: 4px 0 5px;
  color: var(--sheet-ink);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.cheatsheet-document__head p,
.cheatsheet-document__footer {
  margin: 0;
  color: var(--sheet-muted);
  line-height: 1.45;
}

.cheatsheet-document__eyebrow {
  color: var(--sheet-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cheatsheet-print-button {
  flex: 0 0 auto;
  width: 50px;
  min-width: 50px;
  height: 50px;
  padding: 0;
  border-color: #9fb7e5;
  color: var(--sheet-blue);
}

.cheatsheet-print-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cheatsheet-document__body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.cheatsheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cheatsheet-block {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--sheet-line);
  border-radius: 11px;
  background: #fff;
}

.cheatsheet-block--intro,
.cheatsheet-block--table {
  border-color: #a9bee4;
  background: linear-gradient(135deg, #f7faff 0%, #fff 68%);
}

.cheatsheet-block--operation {
  border-top: 5px solid var(--sheet-blue);
}

.cheatsheet-block--multiply {
  border-top-color: var(--sheet-green);
}

.cheatsheet-block--divide {
  border-top-color: var(--sheet-gold);
}

.cheatsheet-block > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cheatsheet-block h2 {
  margin: 0;
  color: var(--sheet-ink);
  font-size: 18px;
  line-height: 1.2;
}

.cheatsheet-block p {
  margin: 0;
  line-height: 1.48;
}

.cheatsheet-step {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sheet-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.cheatsheet-fraction-anatomy {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.cheatsheet-fraction-anatomy__fraction {
  display: grid;
  place-items: center;
  color: var(--sheet-blue);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.cheatsheet-fraction-anatomy__numerator,
.cheatsheet-fraction-anatomy__denominator {
  display: block;
  min-width: 72px;
  padding: 6px;
  text-align: center;
}

.cheatsheet-fraction-anatomy__numerator {
  border-bottom: 4px solid currentColor;
}

.cheatsheet-fraction-anatomy dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.cheatsheet-fraction-anatomy dl div {
  padding: 9px;
  border-radius: 8px;
  background: var(--sheet-blue-soft);
}

.cheatsheet-fraction-anatomy dt {
  color: var(--sheet-blue);
  font-weight: 900;
}

.cheatsheet-fraction-anatomy dd {
  margin: 3px 0 0;
  color: var(--sheet-muted);
  font-size: 13px;
  line-height: 1.4;
}

.cheatsheet-piece-demo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cheatsheet-piece-demo article {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--sheet-line);
  border-radius: 8px;
  background: #fff;
}

.cheatsheet-piece-demo article > strong {
  color: var(--sheet-blue);
}

.cheatsheet-piece-demo article p {
  color: var(--sheet-muted);
  font-size: 13px;
}

.cheatsheet-piece-strip {
  display: grid;
  height: 38px;
  overflow: hidden;
  border: 2px solid #4d6488;
  border-radius: 6px;
}

.cheatsheet-piece-strip.is-equal {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cheatsheet-piece-strip.is-unequal {
  grid-template-columns: 1.7fr .55fr 1.1fr .65fr;
}

.cheatsheet-piece-strip i {
  display: block;
  border-right: 1px solid #4d6488;
  background: #eef4ff;
}

.cheatsheet-piece-strip i:last-child {
  border-right: 0;
}

.cheatsheet-piece-strip.is-equal i:nth-child(-n + 3) {
  background: #78a1e4;
}

.cheatsheet-piece-strip.is-unequal i:nth-child(odd) {
  background: #ffd8c7;
}

.cheatsheet-mixed-model {
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 8px;
  background: #f5f7fb;
}

.cheatsheet-mixed-model__strip,
.cheatsheet-mixed-model__labels {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cheatsheet-mixed-model__strip {
  min-height: 42px;
  overflow: hidden;
  border: 2px solid #4d6488;
  border-radius: 6px;
}

.cheatsheet-mixed-model__strip i {
  display: grid;
  place-items: center;
  border-right: 1px solid #4d6488;
  color: #17396d;
  font-style: normal;
  font-weight: 900;
}

.cheatsheet-mixed-model__strip i:last-child {
  border-right: 0;
}

.cheatsheet-mixed-model__strip .is-whole {
  background: #78a1e4;
}

.cheatsheet-mixed-model__strip .is-extra {
  background: #c9dcfb;
}

.cheatsheet-mixed-model__labels {
  gap: 5px;
  text-align: center;
}

.cheatsheet-mixed-model__labels span:first-child {
  grid-column: span 4;
}

.cheatsheet-mixed-model__labels span:last-child {
  grid-column: span 3;
}

.cheatsheet-mixed-model__labels span,
.cheatsheet-mixed-model__labels small {
  display: block;
}

.cheatsheet-mixed-model__labels small {
  margin-top: 2px;
  color: var(--sheet-muted);
}

.cheatsheet-mixed-model > p {
  color: var(--sheet-blue);
  text-align: center;
}

.cheatsheet-equivalent-model {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #f5f7fb;
}

.cheatsheet-equivalent-model > div {
  display: grid;
  gap: 5px;
  width: min(220px, 42%);
  text-align: center;
}

.cheatsheet-equivalent-model > strong {
  color: var(--sheet-blue);
  font-size: 22px;
}

.cheatsheet-mini-strip {
  display: grid;
  height: 34px;
  overflow: hidden;
  border: 2px solid #4d6488;
  border-radius: 5px;
}

.cheatsheet-mini-strip.is-halves {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cheatsheet-mini-strip.is-sixths {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cheatsheet-mini-strip i {
  display: block;
  border-right: 1px solid #4d6488;
  background: #fff;
}

.cheatsheet-mini-strip i:last-child {
  border-right: 0;
}

.cheatsheet-mini-strip i.is-filled {
  background: #78a1e4;
}

.cheatsheet-compare-question {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 17px;
}

.cheatsheet-compare-model {
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 8px;
  background: #f5f7fb;
}

.cheatsheet-compare-model__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.cheatsheet-compare-model__row > strong {
  color: var(--sheet-blue);
  text-align: center;
}

.cheatsheet-compare-strip {
  display: grid;
  min-height: 32px;
  overflow: hidden;
  border: 2px solid #4d6488;
  border-radius: 5px;
}

.cheatsheet-compare-strip.is-fourths {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cheatsheet-compare-strip.is-thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cheatsheet-compare-strip i {
  display: block;
  border-right: 1px solid #4d6488;
  background: #78a1e4;
}

.cheatsheet-compare-strip i:last-child {
  border-right: 0;
}

.cheatsheet-compare-strip i.is-empty {
  background: #fff;
}

.cheatsheet-compare-model > p {
  color: var(--sheet-muted);
  text-align: center;
}

.math-frac {
  display: inline-block;
  min-width: 1.65em;
  margin: 0 .12em;
  vertical-align: middle;
  color: inherit;
  font-family: "Cambria Math", "STIX Two Math", "Times New Roman", serif;
  font-size: 1em;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.math-frac mtext {
  font-family: inherit;
  font-weight: 800;
}

.math-sequence {
  display: inline-flex;
  align-items: center;
  gap: .22em;
  vertical-align: middle;
  white-space: nowrap;
}

.cheatsheet-list,
.cheatsheet-checklist,
.cheatsheet-flow {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.cheatsheet-list li,
.cheatsheet-checklist li,
.cheatsheet-flow li {
  line-height: 1.46;
}

.cheatsheet-note,
.cheatsheet-why,
.cheatsheet-warning {
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--sheet-blue-soft);
}

.cheatsheet-why {
  border-left: 4px solid var(--sheet-blue);
}

.cheatsheet-warning {
  border-left: 4px solid #b42318;
  background: #fff0ee;
  color: #7a271a;
}

.cheatsheet-equation,
.cheatsheet-rule,
.cheatsheet-example {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f5f7fb;
  line-height: 1.55;
}

.cheatsheet-equation--center,
.cheatsheet-rule {
  justify-content: center;
}

.cheatsheet-example--steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.cheatsheet-rule {
  background: var(--sheet-blue-soft);
  color: #1d447e;
  font-size: 18px;
  font-weight: 800;
}

.cheatsheet-rule-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.cheatsheet-block--multiply .cheatsheet-rule {
  background: var(--sheet-green-soft);
  color: var(--sheet-green);
}

.cheatsheet-block--divide .cheatsheet-rule {
  background: var(--sheet-gold-soft);
  color: #795000;
}

.cheatsheet-area-model {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 290px);
  min-height: 108px;
  overflow: hidden;
  border: 2px solid #356b59;
  border-radius: 7px;
}

.cheatsheet-area-model i {
  display: block;
  min-height: 34px;
  border-right: 1px solid #6d8e82;
  border-bottom: 1px solid #6d8e82;
  background: #fff;
}

.cheatsheet-area-model i:nth-child(5n) {
  border-right: 0;
}

.cheatsheet-area-model i:nth-last-child(-n + 5) {
  border-bottom: 0;
}

.cheatsheet-area-model i.is-base,
.cheatsheet-model-caption i.is-base {
  background: #bce8d8;
}

.cheatsheet-area-model i.is-result,
.cheatsheet-model-caption i.is-result {
  background: #3d9978;
}

.cheatsheet-model-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--sheet-muted);
  font-size: 13px;
}

.cheatsheet-model-caption span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cheatsheet-model-caption i {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #356b59;
  border-radius: 3px;
}

.cheatsheet-division-model {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 440px);
  min-height: 76px;
  overflow: hidden;
  border: 2px solid #916000;
  border-radius: 7px;
}

.cheatsheet-division-model > i {
  display: grid;
  place-items: center;
  border-right: 1px solid #916000;
  background: #ffe19a;
  font-style: normal;
}

.cheatsheet-division-model > i:last-child {
  border-right: 0;
}

.cheatsheet-division-model > i.is-empty {
  background: #fff;
}

.cheatsheet-flow {
  padding: 0;
  list-style: none;
}

.cheatsheet-flow li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 3px 8px;
  padding: 9px;
  border: 1px solid var(--sheet-line);
  border-radius: 8px;
}

.cheatsheet-flow li strong {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--sheet-blue);
  font-size: 16px;
}

.cheatsheet-checklist {
  padding: 0;
  list-style: none;
}

.cheatsheet-checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
}

.cheatsheet-mistake-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cheatsheet-grid > .cheatsheet-block[aria-labelledby="mistakesTitle"] {
  grid-column: 1 / -1;
}

.cheatsheet-mistake-list li {
  display: grid;
  gap: 5px;
  padding: 9px 10px;
  border: 1px solid var(--sheet-line);
  border-left: 4px solid #d92d20;
  border-radius: 8px;
  background: #fff;
}

.cheatsheet-mistake-list p:first-child strong {
  color: #b42318;
}

.cheatsheet-mistake-list p:last-child strong {
  color: var(--sheet-blue);
}

.cheatsheet-table-wrap {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cheatsheet-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
}

.cheatsheet-table th,
.cheatsheet-table td {
  padding: 9px;
  border: 1px solid var(--sheet-line);
}

.cheatsheet-table thead th {
  background: var(--sheet-blue);
  color: #fff;
}

.cheatsheet-table tbody th {
  color: var(--sheet-blue);
}

.cheatsheet-geometry-concepts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.cheatsheet-geometry-concepts article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--sheet-line);
  border-radius: 9px;
  background: #f8faff;
}

.cheatsheet-geometry-concepts article > span {
  display: grid;
  grid-row: 1 / span 3;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sheet-blue-soft);
  color: var(--sheet-blue);
  font-size: 26px;
  font-weight: 900;
}

.cheatsheet-geometry-concepts article > strong {
  color: var(--sheet-blue);
  font-size: 17px;
}

.cheatsheet-geometry-concepts article > small {
  color: var(--sheet-muted);
  font-weight: 800;
}

.cheatsheet-line-relation-grid,
.cheatsheet-parallel-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cheatsheet-line-card,
.cheatsheet-parallel-side-grid figure {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--sheet-line);
  border-radius: 9px;
  background: #f8faff;
}

.cheatsheet-line-card h3 {
  margin: 0;
  color: var(--sheet-blue);
  font-size: 17px;
}

.cheatsheet-line-card svg,
.cheatsheet-parallel-side-grid svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  border-radius: 8px;
  background: #fff;
}

.cheatsheet-line-card svg .geometry-line {
  stroke: #273047;
  stroke-linecap: round;
  stroke-width: 4;
}

.cheatsheet-line-card svg .geometry-line--transversal {
  stroke: #7a3ea1;
}

.cheatsheet-line-card svg .geometry-angle-arc {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5;
}

.cheatsheet-line-card svg .geometry-angle-arc--equal {
  stroke: #315fa7;
}

.cheatsheet-line-card svg .geometry-angle-arc--alternate {
  stroke: #315fa7;
}

.cheatsheet-line-card svg .geometry-angle-arc--supplement {
  stroke: #c97900;
}

.cheatsheet-line-card svg .geometry-intersection {
  fill: #273047;
}

.cheatsheet-line-card svg text,
.cheatsheet-parallel-side-grid svg text {
  fill: #273047;
  font-size: 14px;
  font-weight: 900;
}

.cheatsheet-line-card svg .geometry-angle-label--equal {
  fill: #315fa7;
}

.cheatsheet-line-card svg .geometry-angle-label--alternate {
  fill: #315fa7;
}

.cheatsheet-line-card svg .geometry-angle-label--supplement {
  fill: #9a5b00;
}

.geometry-parallel-mark {
  fill: none;
  stroke: #c42872;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.cheatsheet-line-solution {
  display: grid;
  gap: 4px;
  padding: 9px;
  border-left: 4px solid var(--sheet-green);
  border-radius: 7px;
  background: var(--sheet-green-soft);
}

.cheatsheet-line-solution > strong {
  color: var(--sheet-green);
}

.cheatsheet-line-symbols {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--sheet-blue-soft);
}

.cheatsheet-parallel-side-grid {
  margin-top: 2px;
}

.cheatsheet-parallel-side-grid figure {
  grid-template-columns: minmax(150px, .8fr) minmax(180px, 1.2fr);
  align-items: center;
}

.cheatsheet-parallel-side-grid svg polygon {
  fill: #fdf0f7;
  stroke: #273047;
  stroke-linejoin: round;
  stroke-width: 4;
}

.cheatsheet-parallel-side-grid figcaption {
  color: var(--sheet-muted);
  font-size: 13px;
  line-height: 1.42;
}

.cheatsheet-geometry-type-grid,
.cheatsheet-geometry-formula-grid,
.cheatsheet-geometry-helper-grid {
  display: grid;
  gap: 8px;
}

.cheatsheet-geometry-type-grid--triangles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cheatsheet-geometry-type-grid--quadrilaterals {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cheatsheet-geometry-type-grid article,
.cheatsheet-geometry-formula-grid article,
.cheatsheet-geometry-helper-grid article {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--sheet-line);
  border-radius: 8px;
  background: #fff;
}

.cheatsheet-geometry-type-grid article > strong,
.cheatsheet-geometry-formula-grid article > strong {
  color: var(--sheet-blue);
}

.cheatsheet-geometry-type-grid article p,
.cheatsheet-geometry-formula-grid article p,
.cheatsheet-geometry-helper-grid article p {
  font-size: 13px;
  line-height: 1.38;
}

.cheatsheet-geometry-type-grid svg,
.cheatsheet-geometry-formula-grid svg,
.cheatsheet-geometry-helper-grid svg,
.cheatsheet-geometry-rule-figure svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.cheatsheet-geometry-type-grid svg polygon,
.cheatsheet-geometry-type-grid svg rect,
.cheatsheet-geometry-formula-grid svg polygon,
.cheatsheet-geometry-formula-grid svg rect,
.cheatsheet-geometry-helper-grid svg polygon,
.cheatsheet-geometry-rule-figure svg polygon {
  fill: #fdf0f7;
  stroke: #273047;
  stroke-linejoin: round;
  stroke-width: 4;
}

.cheatsheet-geometry-type-grid svg line,
.cheatsheet-geometry-type-grid svg path,
.cheatsheet-geometry-formula-grid svg line,
.cheatsheet-geometry-formula-grid svg path,
.cheatsheet-geometry-helper-grid svg line,
.cheatsheet-geometry-helper-grid svg path,
.cheatsheet-geometry-rule-figure svg line,
.cheatsheet-geometry-rule-figure svg path {
  fill: none;
  stroke: #c42872;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.cheatsheet-geometry-type-grid svg text,
.cheatsheet-geometry-formula-grid svg text,
.cheatsheet-geometry-helper-grid svg text,
.cheatsheet-geometry-rule-figure svg text {
  fill: #315fa7;
  font-size: 14px;
  font-weight: 900;
}

.cheatsheet-geometry-type-grid svg .geometry-angle-mark {
  fill: none;
  stroke: #315fa7;
  stroke-width: 2.2;
}

.cheatsheet-geometry-type-grid svg .geometry-right-angle-mark {
  fill: none;
  stroke: #c42872;
  stroke-width: 3;
}

.cheatsheet-geometry-rule-figure {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(170px, .8fr);
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 9px;
  background: #f8faff;
}

.cheatsheet-geometry-rule-figure > div {
  display: grid;
  gap: 7px;
}

.cheatsheet-triangle-proof svg .triangle-proof-target {
  fill: #fff;
  stroke: #315fa7;
  stroke-width: 4;
}

.cheatsheet-triangle-proof svg .triangle-proof-piece--original {
  fill: #dce9ff;
  stroke: #315fa7;
}

.cheatsheet-triangle-proof svg .triangle-proof-piece--copy {
  fill: #f9dbea;
  stroke: #c42872;
}

.cheatsheet-triangle-proof svg .triangle-proof-height,
.cheatsheet-triangle-proof svg .triangle-proof-right-angle {
  fill: none;
  stroke: #216e55;
  stroke-width: 4;
}

.cheatsheet-triangle-proof svg .triangle-proof-piece-label {
  fill: #315fa7;
  font-size: 13px;
}

.cheatsheet-triangle-proof svg .triangle-proof-piece-label--copy {
  fill: #a51f5e;
}

.cheatsheet-triangle-proof svg .triangle-proof-measure {
  fill: #216e55;
  font-size: 14px;
}

.cheatsheet-triangle-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cheatsheet-triangle-case-intro {
  padding: 8px 10px;
  border: 1px solid #b9cceb;
  border-radius: 8px;
  background: #eef4ff;
}

.cheatsheet-triangle-case-intro span {
  display: block;
  margin-top: 3px;
  color: var(--sheet-muted);
}

.cheatsheet-triangle-case-grid article {
  gap: 7px;
}

.cheatsheet-triangle-case-copy-text {
  display: grid;
  gap: 4px;
}

.cheatsheet-triangle-case-copy-text > strong {
  color: var(--sheet-blue);
}

.cheatsheet-triangle-case-grid .cheatsheet-triangle-case-result {
  padding: 6px 7px;
  border-radius: 6px;
  background: #f0f8f4;
  color: #255445;
}

.cheatsheet-triangle-case-grid article.cheatsheet-triangle-external-case {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.cheatsheet-external-height-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cheatsheet-external-height-proof figure {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 7px;
  border: 1px solid #d5dfef;
  border-radius: 8px;
  background: #fbfcff;
}

.cheatsheet-external-height-proof figcaption {
  color: var(--sheet-blue);
  font-size: 13px;
}

.cheatsheet-external-height-proof svg {
  width: 100%;
  max-height: 175px;
}

.cheatsheet-triangle-external-case svg .triangle-external-base-extension {
  fill: none;
  stroke: #c42872;
  stroke-width: 3;
}

.cheatsheet-triangle-external-case svg .triangle-external-base-extension {
  stroke-dasharray: 7 5;
}

.cheatsheet-triangle-external-case svg .triangle-external-base {
  stroke: #315fa7;
  stroke-width: 4;
}

.cheatsheet-triangle-external-case svg .triangle-external-top-base {
  stroke: #c42872;
  stroke-width: 4;
}

.cheatsheet-triangle-external-case svg .triangle-external-completed-shape {
  fill: none;
  stroke: #273047;
  stroke-width: 3;
}

.cheatsheet-triangle-external-case svg .triangle-external-corner-piece {
  fill: #ffe7a8;
  fill-opacity: .82;
  stroke: #b86b00;
  stroke-dasharray: 6 4;
  stroke-width: 2.5;
}

.cheatsheet-triangle-external-case svg .triangle-external-rectangle-body {
  fill: #e7eefb;
  stroke: none;
}

.cheatsheet-triangle-external-case svg .triangle-external-completed-rectangle {
  fill: none;
  stroke: #273047;
  stroke-width: 3;
}

.cheatsheet-triangle-external-case svg .triangle-external-rectangle-base {
  stroke: #315fa7;
  stroke-width: 4;
}

.cheatsheet-triangle-external-case svg .triangle-external-move-label {
  fill: #805018;
  font-size: 11px;
  font-weight: 700;
}

.cheatsheet-external-completed-label {
  margin: -2px 0 0;
  color: #273047;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.cheatsheet-external-height-calculation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cheatsheet-external-height-calculation li {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px;
  border: 1px solid #d5dfef;
  border-radius: 6px;
  background: #f8faff;
  font-size: 12px;
  line-height: 1.3;
}

.cheatsheet-external-height-calculation li b {
  color: var(--sheet-blue);
}

.cheatsheet-quadrilateral-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cheatsheet-quadrilateral-explainer figure {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--sheet-line);
  border-radius: 8px;
  background: #fff;
}

.cheatsheet-quadrilateral-explainer svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.cheatsheet-quadrilateral-explainer svg rect {
  fill: #fdf0f7;
  stroke: #273047;
  stroke-linejoin: round;
  stroke-width: 4;
}

.cheatsheet-quadrilateral-explainer svg .geometry-quadrilateral-outline {
  fill: none;
  stroke: #273047;
  stroke-linejoin: round;
  stroke-width: 4;
}

.cheatsheet-quadrilateral-explainer svg .geometry-split-triangle {
  stroke: none;
}

.cheatsheet-quadrilateral-explainer svg .geometry-split-triangle--one {
  fill: #eaf1ff;
}

.cheatsheet-quadrilateral-explainer svg .geometry-split-triangle--two {
  fill: #e9f8f1;
}

.cheatsheet-quadrilateral-explainer svg .geometry-diagonal {
  stroke: #c42872;
  stroke-linecap: round;
  stroke-width: 4;
}

.cheatsheet-quadrilateral-explainer svg .geometry-diagonal--secondary {
  stroke: #315fa7;
  stroke-dasharray: 9 6;
}

.cheatsheet-quadrilateral-explainer svg text {
  fill: #273047;
  font-size: 15px;
  font-weight: 900;
}

.cheatsheet-quadrilateral-explainer svg .geometry-diagonal-label {
  fill: #a51f5e;
}

.cheatsheet-quadrilateral-explainer svg .geometry-diagonal-label--secondary {
  fill: #315fa7;
}

.cheatsheet-quadrilateral-explainer svg .geometry-triangle-sum {
  fill: #315fa7;
  font-size: 17px;
}

.cheatsheet-quadrilateral-explainer figcaption {
  color: var(--sheet-muted);
  font-size: 13px;
  line-height: 1.4;
}

.cheatsheet-geometry-helper-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cheatsheet-geometry-helper-grid article {
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
}

.cheatsheet-geometry-helper-grid article.cheatsheet-geometry-helper-grid__wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
}

.cheatsheet-geometry-helper-grid__wide svg .geometry-height-extension {
  stroke-dasharray: 8 6;
}

.cheatsheet-geometry-formula-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cheatsheet-geometry-formula-grid article > b {
  color: #216e55;
}

.cheatsheet-geometry-diagonal-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-size: 13px;
}

@media (max-width: 840px) {
  .cheatsheet-line-relation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-geometry-concepts,
  .cheatsheet-geometry-type-grid--triangles,
  .cheatsheet-geometry-type-grid--quadrilaterals,
  .cheatsheet-geometry-formula-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cheatsheet-geometry-rule-figure {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-quadrilateral-explainer {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-triangle-case-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-triangle-case-grid article {
    grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .cheatsheet-external-height-calculation {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-external-height-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cheatsheet-geometry-helper-grid article.cheatsheet-geometry-helper-grid__wide {
    grid-template-columns: minmax(150px, .85fr) minmax(0, 1.15fr);
  }

}

@media (max-width: 480px) {
  .cheatsheet-parallel-side-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-parallel-side-grid figure {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-geometry-concepts,
  .cheatsheet-geometry-type-grid--triangles,
  .cheatsheet-geometry-type-grid--quadrilaterals,
  .cheatsheet-geometry-formula-grid,
  .cheatsheet-geometry-helper-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-geometry-helper-grid article {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .cheatsheet-geometry-helper-grid article.cheatsheet-geometry-helper-grid__wide {
    grid-template-columns: minmax(140px, .9fr) minmax(0, 1.1fr);
  }

  .cheatsheet-triangle-case-grid article {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cheatsheet-document__footer {
  padding-top: 10px;
  border-top: 2px solid var(--sheet-line);
  text-align: center;
}

@media (max-width: 840px) {
  .quick-guide-subject-grid,
  .quick-guide-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quick-guide-subject-card,
  .quick-guide-card {
    width: 100%;
  }

  .cheatsheet-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-fraction-anatomy {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
  }

  .cheatsheet-fraction-anatomy dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-piece-demo {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-rule-stack {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .cheatsheet-document {
    padding: 11px;
  }

  .cheatsheet-document__head h1 {
    font-size: 25px;
  }

  .cheatsheet-block {
    padding: 11px;
  }

  .cheatsheet-flow li {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-flow li strong {
    grid-row: auto;
  }

  .cheatsheet-equivalent-model > div {
    width: 100%;
  }

  .cheatsheet-mistake-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@page {
  size: A4 portrait;
  margin: 10mm;
}

@media print {
  .cheatsheet-line-relation-grid,
  .cheatsheet-parallel-side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.bdk-print-cheatsheet {
    background: #fff !important;
    color: #111 !important;
  }

  body.bdk-print-cheatsheet .app-shell {
    display: block !important;
    min-height: 0 !important;
    background: #fff !important;
  }

  body.bdk-print-cheatsheet .topbar,
  body.bdk-print-cheatsheet .sidebar,
  body.bdk-print-cheatsheet .view-toolbar,
  body.bdk-print-cheatsheet .site-footer,
  body.bdk-print-cheatsheet .site-modal,
  body.bdk-print-cheatsheet .lesson-shell__head,
  body.bdk-print-cheatsheet .cheatsheet-print-button {
    display: none !important;
  }

  body.bdk-print-cheatsheet .workspace,
  body.bdk-print-cheatsheet .view-frame,
  body.bdk-print-cheatsheet .view-panel,
  body.bdk-print-cheatsheet .page,
  body.bdk-print-cheatsheet .lesson-shell,
  body.bdk-print-cheatsheet .cheatsheet-document {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.bdk-print-cheatsheet .view-frame {
    grid-column: auto !important;
  }

  body.bdk-print-cheatsheet .lesson-shell > :not(.cheatsheet-document),
  body.bdk-print-cheatsheet .page > :not(.lesson-shell) {
    display: none !important;
  }

  .cheatsheet-document__head {
    display: block;
    padding-bottom: 7px;
    border-bottom-width: 2px;
  }

  .cheatsheet-document__head h1 {
    margin: 2px 0 3px;
    font-size: 24pt;
  }

  .cheatsheet-document__head p {
    font-size: 9pt;
  }

  .cheatsheet-document__body {
    display: block !important;
    margin-top: 6px;
  }

  .cheatsheet-grid {
    display: block !important;
  }

  .cheatsheet-document__body > .cheatsheet-block,
  .cheatsheet-grid > .cheatsheet-block {
    margin-bottom: 5px;
  }

  .cheatsheet-block {
    break-inside: avoid-page;
    page-break-inside: avoid;
    gap: 4px;
    padding: 6px;
    border-radius: 5px;
    font-size: 8.2pt;
  }

  .cheatsheet-block--operation {
    break-inside: auto;
    page-break-inside: auto;
  }

  .cheatsheet-block--operation > div,
  .cheatsheet-block--operation > p {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cheatsheet-block--multiply {
    gap: 2px;
    font-size: 7.8pt;
  }

  .cheatsheet-block--divide {
    gap: 2px;
    font-size: 7.4pt;
  }

  .cheatsheet-block[aria-labelledby="mistakesTitle"] {
    gap: 3px;
    font-size: 7.3pt;
  }

  .cheatsheet-block h2 {
    font-size: 11pt;
  }

  .cheatsheet-step {
    width: 22px;
    height: 22px;
    font-size: 9pt;
  }

  .cheatsheet-fraction-anatomy {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px;
  }

  .cheatsheet-fraction-anatomy__fraction {
    font-size: 26pt;
  }

  .cheatsheet-fraction-anatomy dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .cheatsheet-fraction-anatomy dl div,
  .cheatsheet-piece-demo article,
  .cheatsheet-mixed-model,
  .cheatsheet-equivalent-model,
  .cheatsheet-compare-model,
  .cheatsheet-equation,
  .cheatsheet-rule,
  .cheatsheet-example,
  .cheatsheet-note,
  .cheatsheet-why,
  .cheatsheet-warning,
  .cheatsheet-mistake-list li,
  .cheatsheet-flow li {
    padding: 5px 6px;
  }

  .cheatsheet-fraction-anatomy dd {
    font-size: 7.6pt;
  }

  .cheatsheet-piece-demo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .cheatsheet-piece-demo article p,
  .cheatsheet-model-caption {
    font-size: 7.4pt;
  }

  .cheatsheet-piece-strip,
  .cheatsheet-mini-strip {
    height: 25px;
  }

  .cheatsheet-mixed-model__strip {
    min-height: 28px;
  }

  .cheatsheet-compare-strip {
    min-height: 23px;
  }

  .cheatsheet-area-model {
    width: 165px;
    min-height: 60px;
  }

  .cheatsheet-area-model i {
    min-height: 19px;
  }

  .cheatsheet-division-model {
    width: 300px;
    min-height: 44px;
  }

  .cheatsheet-list,
  .cheatsheet-checklist,
  .cheatsheet-mistake-list,
  .cheatsheet-flow {
    gap: 2px;
  }

  .cheatsheet-mistake-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .cheatsheet-mistake-list li {
    break-inside: avoid;
    page-break-inside: avoid;
    gap: 2px;
    padding: 3px 4px;
    font-size: 6.9pt;
    line-height: 1.28;
  }

  .cheatsheet-table-wrap {
    overflow: visible;
  }

  .cheatsheet-table {
    min-width: 0;
    font-size: 7.7pt;
  }

  .cheatsheet-table th,
  .cheatsheet-table td {
    padding: 4px 5px;
  }

  .cheatsheet-document__footer {
    margin-top: 6px;
    padding-top: 5px;
    font-size: 8pt;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@media print {
  .cheatsheet-geometry-concepts,
  .cheatsheet-geometry-type-grid--triangles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cheatsheet-geometry-type-grid--quadrilaterals {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cheatsheet-geometry-formula-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cheatsheet-geometry-concepts article,
  .cheatsheet-line-card,
  .cheatsheet-parallel-side-grid figure,
  .cheatsheet-geometry-type-grid article,
  .cheatsheet-geometry-formula-grid article,
  .cheatsheet-geometry-helper-grid article,
  .cheatsheet-geometry-rule-figure {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 4px;
  }

  .cheatsheet-geometry-concepts article,
  .cheatsheet-line-card,
  .cheatsheet-parallel-side-grid figure,
  .cheatsheet-geometry-type-grid article,
  .cheatsheet-geometry-formula-grid article,
  .cheatsheet-geometry-helper-grid article {
    gap: 2px;
  }

  .cheatsheet-geometry-concepts article p,
  .cheatsheet-line-card p,
  .cheatsheet-parallel-side-grid figcaption,
  .cheatsheet-geometry-type-grid article p,
  .cheatsheet-geometry-formula-grid article p,
  .cheatsheet-geometry-helper-grid article p {
    font-size: 6.8pt;
    line-height: 1.25;
  }

  .cheatsheet-geometry-type-grid svg,
  .cheatsheet-line-card svg,
  .cheatsheet-parallel-side-grid svg,
  .cheatsheet-geometry-formula-grid svg {
    max-height: 70px;
  }

  .cheatsheet-geometry-helper-grid svg {
    max-height: 58px;
  }

  .cheatsheet-triangle-measure-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 5px;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cheatsheet-triangle-measure-grid > .cheatsheet-block {
    min-width: 0;
    margin-bottom: 0;
  }

  .cheatsheet-triangle-measure-grid .cheatsheet-triangle-perimeter-figure {
    grid-template-columns: minmax(115px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 5px;
  }

  .cheatsheet-triangle-measure-grid .cheatsheet-triangle-perimeter-figure svg {
    width: min(100%, 135px);
    max-height: 92px;
    margin-inline: auto;
  }

  .cheatsheet-triangle-measure-grid .cheatsheet-geometry-helper-grid article.cheatsheet-geometry-helper-grid__wide {
    grid-template-columns: minmax(115px, .85fr) minmax(0, 1.15fr) !important;
  }

  .cheatsheet-triangle-case-grid article.cheatsheet-triangle-external-case {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-external-height-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .cheatsheet-external-height-proof figure {
    padding: 3px;
  }

  .cheatsheet-external-height-proof figcaption,
  .cheatsheet-external-completed-label {
    font-size: 6.5pt;
  }

  .cheatsheet-external-height-proof svg {
    max-height: 92px;
  }

  .cheatsheet-external-height-calculation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
  }

  .cheatsheet-external-height-calculation li {
    padding: 3px;
    font-size: 6.5pt;
  }

  .cheatsheet-geometry-diagonal-table {
    min-width: 0;
  }
}

.cheatsheet-length-meaning,
.cheatsheet-length-example-grid,
.cheatsheet-unit-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cheatsheet-length-meaning article,
.cheatsheet-length-example-grid article,
.cheatsheet-unit-use-grid article {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--sheet-line);
  border-radius: 9px;
  background: #fff;
}

.cheatsheet-length-meaning article > strong,
.cheatsheet-length-example-grid article > strong,
.cheatsheet-unit-use-grid article > strong {
  color: var(--sheet-blue);
}

.cheatsheet-length-meaning article > p,
.cheatsheet-length-example-grid article > p,
.cheatsheet-unit-use-grid article > p {
  color: var(--sheet-muted);
  font-size: 13px;
}

.cheatsheet-length-line,
.cheatsheet-length-area {
  position: relative;
  display: block;
  width: min(100%, 240px);
  height: 44px;
  border-radius: 7px;
  background: #eef4ff;
}

.cheatsheet-length-line::before {
  position: absolute;
  right: 14px;
  bottom: 18px;
  left: 14px;
  height: 4px;
  border-radius: 999px;
  background: var(--sheet-blue);
  content: "";
}

.cheatsheet-length-line::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  height: 16px;
  border-right: 3px solid var(--sheet-blue);
  border-left: 3px solid var(--sheet-blue);
  content: "";
}

.cheatsheet-length-area {
  width: 88px;
  background-color: #eaf8f2;
  background-image:
    linear-gradient(#6da994 1px, transparent 1px),
    linear-gradient(90deg, #6da994 1px, transparent 1px);
  background-size: 11px 11px;
  border: 2px solid var(--sheet-green);
}

.cheatsheet-unit-ladder {
  display: grid;
  grid-template-columns: repeat(7, minmax(82px, 1fr));
  gap: 6px;
  min-width: 0;
}

.cheatsheet-unit-ladder article {
  position: relative;
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  padding: 10px 5px;
  border: 1px solid #b8c9e6;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.cheatsheet-unit-ladder article:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  right: -8px;
  color: var(--sheet-blue);
  font-weight: 900;
  content: "›";
}

.cheatsheet-unit-ladder article.is-reference {
  border: 2px solid var(--sheet-blue);
  background: var(--sheet-blue-soft);
}

.cheatsheet-unit-ladder strong {
  color: var(--sheet-blue);
  font-size: 20px;
}

.cheatsheet-unit-ladder span,
.cheatsheet-unit-ladder small {
  color: var(--sheet-muted);
  font-size: 11px;
}

.cheatsheet-unit-ladder small {
  color: var(--sheet-blue);
  font-weight: 800;
}

.cheatsheet-length-direction {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.cheatsheet-length-direction span {
  padding: 8px;
  border-radius: 8px;
  background: var(--sheet-green-soft);
  color: var(--sheet-green);
  text-align: center;
}

.cheatsheet-length-direction span:last-child {
  background: var(--sheet-gold-soft);
  color: #795000;
}

.cheatsheet-metre-model {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 9px;
  background: #f5f7fb;
}

.cheatsheet-metre-model__strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  min-height: 46px;
  overflow: hidden;
  border: 2px solid var(--sheet-blue);
  border-radius: 7px;
}

.cheatsheet-metre-model__strip i {
  border-right: 1px solid #6687bd;
  background: #dbe8ff;
}

.cheatsheet-metre-model__strip i:nth-child(even) {
  background: #bcd2f5;
}

.cheatsheet-metre-model__strip i:last-child {
  border-right: 0;
}

.cheatsheet-metre-model__labels {
  display: flex;
  justify-content: space-between;
  color: var(--sheet-muted);
  font-size: 12px;
  font-weight: 800;
}

.cheatsheet-length-place-model {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  width: min(100%, 470px);
  overflow: hidden;
  border: 2px solid var(--sheet-blue);
  border-radius: 9px;
}

.cheatsheet-length-place-model article {
  display: grid;
  place-items: center;
  padding: 8px;
  border-right: 1px solid #98afd3;
  background: #f7faff;
}

.cheatsheet-length-place-model article:last-child {
  border-right: 0;
}

.cheatsheet-length-place-model article.is-decimal {
  border-left: 3px solid var(--sheet-gold);
  background: var(--sheet-gold-soft);
}

.cheatsheet-length-place-model small {
  color: var(--sheet-muted);
  font-weight: 800;
}

.cheatsheet-length-place-model strong {
  color: var(--sheet-blue);
  font-size: 24px;
}

.cheatsheet-length-example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cheatsheet-unit-use-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cheatsheet-unit-use-grid article > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sheet-blue-soft);
  color: var(--sheet-blue);
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 840px) {
  .cheatsheet-unit-ladder {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cheatsheet-unit-ladder article:not(:last-child)::after {
    display: none;
  }

  .cheatsheet-length-example-grid,
  .cheatsheet-unit-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .cheatsheet-length-meaning,
  .cheatsheet-length-direction,
  .cheatsheet-length-example-grid,
  .cheatsheet-unit-use-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-unit-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  .cheatsheet-unit-ladder {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .cheatsheet-length-example-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cheatsheet-unit-use-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cheatsheet-length-meaning article,
  .cheatsheet-length-example-grid article,
  .cheatsheet-unit-use-grid article,
  .cheatsheet-metre-model,
  .cheatsheet-length-place-model {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cheatsheet-length-meaning article,
  .cheatsheet-length-example-grid article,
  .cheatsheet-unit-use-grid article,
  .cheatsheet-metre-model,
  .cheatsheet-unit-ladder article {
    padding: 5px;
  }

  .cheatsheet-metre-model__strip {
    min-height: 27px;
  }

  .cheatsheet-length-place-model strong {
    font-size: 15pt;
  }
}

.cheatsheet-space-size-model {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  padding: 10px;
  border-radius: 9px;
  background: linear-gradient(180deg, #172849 0%, #0d1730 100%);
  color: #fff;
}

.cheatsheet-space-size-model > span,
.cheatsheet-eclipse-order > span {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.cheatsheet-space-size-model i,
.cheatsheet-eclipse-order i {
  display: block;
  border-radius: 50%;
}

.cheatsheet-space-size-model .is-sun i {
  width: 82px;
  height: 82px;
  background: radial-gradient(circle at 35% 30%, #fff7a7 0 8%, #ffd347 28%, #f49a19 72%);
  box-shadow: 0 0 20px rgba(255, 203, 58, .65);
}

.cheatsheet-space-size-model .is-earth i {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 62% 35%, #8bd878 0 13%, transparent 14%),
    radial-gradient(circle at 35% 62%, #70c46c 0 18%, transparent 19%),
    #3986d8;
}

.cheatsheet-space-size-model .is-moon i {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 30% 35%, #aab0ba 0 9%, transparent 10%),
    radial-gradient(circle at 66% 62%, #aab0ba 0 12%, transparent 13%),
    #d7dbe1;
}

.cheatsheet-space-size-model > b {
  align-self: center;
  color: #ffe19a;
  font-size: 22px;
}

.cheatsheet-moon-phases {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr) 16px) minmax(90px, 1fr);
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  padding: 10px;
  border-radius: 9px;
  background: #111d37;
  color: #fff;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.cheatsheet-moon-phases article {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.cheatsheet-moon-phases article > i {
  display: block;
  width: 52px;
  height: 52px;
  border: 1px solid #8d98ad;
  border-radius: 50%;
}

.cheatsheet-moon-phases article > i.is-new {
  background: #20283a;
}

.cheatsheet-moon-phases article > i.is-first {
  background: linear-gradient(90deg, #20283a 0 50%, #f1efd8 50% 100%);
}

.cheatsheet-moon-phases article > i.is-waxing-crescent,
.cheatsheet-moon-phases article > i.is-waxing-gibbous,
.cheatsheet-moon-phases article > i.is-waning-gibbous,
.cheatsheet-moon-phases article > i.is-waning-crescent {
  position: relative;
  overflow: hidden;
  background: #f1efd8;
}

.cheatsheet-moon-phases article > i.is-waxing-crescent::after,
.cheatsheet-moon-phases article > i.is-waxing-gibbous::after,
.cheatsheet-moon-phases article > i.is-waning-gibbous::after,
.cheatsheet-moon-phases article > i.is-waning-crescent::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #20283a;
  content: "";
}

.cheatsheet-moon-phases article > i.is-waxing-crescent::after {
  transform: translateX(-20%);
}

.cheatsheet-moon-phases article > i.is-waxing-gibbous::after {
  transform: translateX(-70%);
}

.cheatsheet-moon-phases article > i.is-waning-gibbous::after {
  transform: translateX(70%);
}

.cheatsheet-moon-phases article > i.is-waning-crescent::after {
  transform: translateX(20%);
}

.cheatsheet-moon-phases article > i.is-full {
  background: #f1efd8;
  box-shadow: 0 0 13px rgba(244, 242, 214, .45);
}

.cheatsheet-moon-phases article > i.is-last {
  background: linear-gradient(90deg, #f1efd8 0 50%, #20283a 50% 100%);
}

.cheatsheet-moon-phases article > small {
  display: grid;
  gap: 2px;
  color: #cbd5e8;
  line-height: 1.35;
}

.cheatsheet-moon-phases article > small > b {
  color: #ffe19a;
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cheatsheet-moon-phases > span {
  color: #ffe19a;
  font-size: 20px;
  font-weight: 900;
}

.cheatsheet-planet-scroll {
  min-width: 0;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid #263d67;
  border-radius: 9px;
  background: #101c35;
  color: #fff;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.cheatsheet-planet-scroll:focus-visible,
.cheatsheet-table-wrap:focus-visible {
  outline: 3px solid #edb72f;
  outline-offset: 2px;
}

.cheatsheet-planet-lane {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr)) minmax(112px, 1.3fr) repeat(4, minmax(72px, 1fr));
  align-items: end;
  gap: 9px;
  min-width: 940px;
}

.cheatsheet-planet-lane article,
.cheatsheet-asteroid-belt {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.cheatsheet-planet-lane article > i {
  display: block;
  width: var(--planet-size, 34px);
  height: var(--planet-size, 34px);
  border-radius: 50%;
  background: var(--planet-color, #aeb7c7);
  box-shadow: inset -7px -5px 8px rgba(0, 0, 0, .25);
}

.cheatsheet-planet-lane article > small,
.cheatsheet-asteroid-belt > small {
  color: #c7d1e6;
}

.cheatsheet-planet-lane .is-sun {
  --planet-size: 64px;
  --planet-color: #ffc43f;
}

.cheatsheet-planet-lane .is-mercury {
  --planet-size: 20px;
  --planet-color: #a7a7a5;
}

.cheatsheet-planet-lane .is-venus {
  --planet-size: 31px;
  --planet-color: #d5a65c;
}

.cheatsheet-planet-lane .is-earth {
  --planet-size: 33px;
  --planet-color: #3986d8;
}

.cheatsheet-planet-lane .is-mars {
  --planet-size: 25px;
  --planet-color: #c9653d;
}

.cheatsheet-planet-lane .is-jupiter {
  --planet-size: 58px;
  --planet-color: #c59468;
}

.cheatsheet-planet-lane .is-saturn {
  --planet-size: 52px;
  --planet-color: #d8bd7b;
}

.cheatsheet-planet-lane .is-uranus {
  --planet-size: 41px;
  --planet-color: #8ed8df;
}

.cheatsheet-planet-lane .is-neptune {
  --planet-size: 39px;
  --planet-color: #4e75d8;
}

.cheatsheet-planet-lane .is-saturn > i {
  border: 7px double rgba(227, 205, 145, .75);
}

.cheatsheet-asteroid-belt > i {
  width: 82px;
  height: 32px;
  background: radial-gradient(circle, #d7c7a7 0 2px, transparent 2.5px) 0 0 / 14px 12px,
    radial-gradient(circle, #9a8a70 0 1.5px, transparent 2px) 5px 4px / 12px 10px;
}

.cheatsheet-space-table {
  min-width: 760px;
}

.cheatsheet-space-rock-flow {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cheatsheet-space-rock-flow li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--sheet-line);
  border-radius: 8px;
  background: #f7f9fd;
}

.cheatsheet-space-rock-flow li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sheet-blue);
  color: #fff;
  font-weight: 900;
}

.cheatsheet-space-rock-flow li > p {
  display: grid;
  gap: 2px;
}

.cheatsheet-space-rock-flow small {
  color: var(--sheet-muted);
  line-height: 1.35;
}

.cheatsheet-eclipse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.cheatsheet-eclipse-grid > article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #b9cceb;
  border-radius: 9px;
  background: #fbfcff;
}

.cheatsheet-eclipse-grid h3 {
  margin: 0;
  color: var(--sheet-blue);
  font-size: 17px;
}

.cheatsheet-eclipse-order {
  display: grid;
  grid-template-columns: minmax(54px, 1fr) 18px minmax(54px, 1fr) 18px minmax(54px, 1fr);
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 9px 5px;
  border-radius: 8px;
  background: #101c35;
  color: #fff;
  text-align: center;
}

.cheatsheet-eclipse-order > b {
  color: #ffe19a;
}

.cheatsheet-eclipse-order i {
  width: 34px;
  height: 34px;
}

.cheatsheet-eclipse-order .is-sun i {
  background: #ffc43f;
  box-shadow: 0 0 12px rgba(255, 196, 63, .62);
}

.cheatsheet-eclipse-order .is-earth i {
  background: radial-gradient(circle at 62% 35%, #76c873 0 15%, transparent 16%), #3986d8;
}

.cheatsheet-eclipse-order .is-moon i {
  background: #c9ced8;
  box-shadow: inset -7px -4px 7px rgba(0, 0, 0, .28);
}

.cheatsheet-space-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cheatsheet-space-links > a {
  min-height: 44px;
}

.cheatsheet-model-checklist {
  display: grid;
  gap: 7px;
  margin: 0;
}

.cheatsheet-model-checklist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--sheet-line);
  border-radius: 8px;
  background: #f7f9fd;
  line-height: 1.42;
}

.cheatsheet-model-checklist li > strong,
.cheatsheet-model-checklist li > span {
  display: block;
  min-width: 0;
}

.cheatsheet-model-checklist li > strong {
  color: var(--sheet-blue);
}

@media (max-width: 720px) {
  .lesson-shell--quick-guide .lesson-shell__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .lesson-shell--quick-guide .lesson-breadcrumbs {
    width: 100%;
    max-width: 100%;
  }

  .cheatsheet-eclipse-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .cheatsheet-space-size-model .is-sun i {
    width: 66px;
    height: 66px;
  }

  .cheatsheet-space-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .cheatsheet-space-links > a {
    width: 100%;
  }
}

@media print {
  .cheatsheet-space-links {
    display: none;
  }

  .cheatsheet-space-size-model {
    min-height: 86px;
  }

  .cheatsheet-space-size-model .is-sun i {
    width: 56px;
    height: 56px;
  }

  .cheatsheet-space-size-model .is-earth i {
    width: 36px;
    height: 36px;
  }

  .cheatsheet-space-size-model .is-moon i {
    width: 22px;
    height: 22px;
  }

  .cheatsheet-moon-phases {
    grid-template-columns: repeat(7, minmax(58px, 1fr) 10px) minmax(58px, 1fr);
    gap: 2px;
    overflow: visible;
    padding: 5px;
    font-size: 6.2pt;
  }

  .cheatsheet-moon-phases article > i {
    width: 34px;
    height: 34px;
  }

  .cheatsheet-moon-phases article > small > b {
    font-size: 5.5pt;
  }

  .cheatsheet-planet-scroll {
    overflow: visible;
    padding: 5px;
  }

  .cheatsheet-planet-lane {
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(70px, 1.2fr) repeat(4, minmax(0, 1fr));
    gap: 3px;
    min-width: 0;
    font-size: 6.5pt;
  }

  .cheatsheet-planet-lane article > i {
    max-width: 38px;
    max-height: 38px;
  }

  .cheatsheet-planet-lane .is-sun > i {
    width: 38px;
    height: 38px;
  }

  .cheatsheet-asteroid-belt > i {
    width: 54px;
    height: 24px;
  }

  .cheatsheet-space-table {
    min-width: 0;
  }

  .cheatsheet-eclipse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cheatsheet-eclipse-grid > article,
  .cheatsheet-space-rock-flow li {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 5px;
  }

  .cheatsheet-eclipse-order i {
    width: 24px;
    height: 24px;
  }
}
