.chapter2-svg-image {
  display: block;
  max-width: 100%;
  height: auto;
}
.stress-page .doc-article .concept-title {
  color: #0b2c5c;
  font-size: 18px;
}
.stress-page #appendix-tensor .notation-details > :is(p, div) {
  margin-inline: 18px !important;
}
.stress-page .notation-details .concept-title { display: block; }
.stress-page .notation-details .concept-title::before {
  content: "";
  display: block;
  margin: 18px 0 14px;
  border-top: 1px solid var(--line);
}
.stress-page .summation-conventions {
  margin: 12px 0 18px;
  padding-left: 1.6em;
}
.stress-page .summation-conventions > li { margin-bottom: 12px; }
.stress-page .summation-conventions > li > p { margin: 0 0 6px; }
.sketch-card .chapter2-svg-image {
  width: min(100%, 340px);
}
.stress-page .microelement-selection {
  display: block;
  width: 100%;
  max-width: 640px;
  min-height: 0;
  margin-inline: auto;
}
.stress-page .microelement-selection .strain-svg-wrap {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.stress-page .microelement-selection-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.stress-page #appendix-tensor .tensor-svg-board {
  padding-bottom: 0;
  margin-bottom: 8px;
}

.stress-page #appendix-tensor .tensor-svg-board > p:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.stress-page #appendix-tensor .coord-transform {
  margin-top: 0;
  border: 0;
}

.stress-page #appendix-tensor .coord-transform .coord-transform-svg {
  width: min(100%, 480px);
  max-width: 480px;
  height: auto;
  margin-inline: auto;
}

.stress-page .force-tabs {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  container-type: inline-size;
}

.stress-page .force-tablist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.stress-page .force-tab {
  min-height: 48px;
  padding: 8px 18px;
  border: 0;
  border-left: 1px solid var(--line);
  background: #fff;
  color: #22516b;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.stress-page .force-tab:first-child { border-left: 0; }
.stress-page .force-tab.is-active {
  background: #eaf4fa;
  box-shadow: inset 4px 0 #0079ba;
}
.stress-page .force-tab:focus-visible { outline: 2px solid #0079ba; outline-offset: -3px; }

.stress-page .force-stage { padding: 10px 18px 12px; }
.stress-page #force-stress > h2 { margin-bottom: 8px; }
.stress-page #force-stress > p:first-of-type { margin: 0 0 4px; line-height: 1.6; }
.stress-page #force-stress > #ext-force-fig {
  width: min(100%, 300px);
  max-width: 300px !important;
  margin: 8px auto 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
.stress-page .force-tab-hint {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.stress-page .force-tabs .force-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 4px 14px;
  align-items: center;
  margin: 0;
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: auto;
}
.stress-page .force-tabs .force-card[hidden] { display: none !important; }
.stress-page .force-tabs .force-card-figure {
  grid-column: 2;
  grid-row: 2;
  width: min(100%, 280px);
  max-width: 280px;
  justify-self: center;
  align-self: center;
  margin: 0 auto;
  padding: 0;
  background: none;
}
.stress-page .force-tabs .force-card-figure img { max-width: none; }
.stress-page #force-stress .force-card-content { display: contents; }
.stress-page #force-stress .force-card-content > p:first-child { grid-column: 1 / -1; }
.stress-page #force-stress .force-card-content > :is(.body-force-formula, .surface-force-formula) {
  grid-column: 1;
  grid-row: 2;
}
.stress-page #force-stress .force-card-content h3 {
  margin: 0 0 2px;
  font-size: 18px;
}
.stress-page #force-stress .force-card-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}
.stress-page #force-stress .force-card mjx-container[display="true"] {
  margin: 3px 0 !important;
  padding: 0 !important;
  font-size: 90%;
}
.stress-page #force-stress .body-force-brace,
.stress-page #force-stress .surface-force-brace {
  align-self: stretch;
  flex: 0 0 20px;
  margin: 0 4px 0 0;
  background: url("../chapter2/formula-brace.svg") center / 100% 100% no-repeat;
  color: transparent;
  font-size: 0;
  transform: none;
}
@container (max-width: 700px) {
  .stress-page .force-tabs .force-card { grid-template-columns: minmax(0, 1fr); }
  .stress-page #force-stress .force-card-content > :is(.body-force-formula, .surface-force-formula) { grid-row: auto; }
  .stress-page .force-tabs .force-card-figure { grid-column: 1; grid-row: auto; }
}
@media (max-width: 680px) {
  .stress-page .force-tab { min-height: 54px; padding: 10px 14px; font-size: 17px; }
  .stress-page .force-stage { padding: 14px; }
}
