.size-compare {
  padding-top: 36px;
  background: var(--sb-color-yellow);
}
.size-compare-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}
.size-compare-heading h2 {
  margin-bottom: 0;
}
.size-compare-heading > p {
  margin: 0;
  font-size: .95rem;
}
.size-scene {
  margin: 0;
  padding: 22px 20px 14px;
  border: 2px solid var(--sb-color-ink);
  border-radius: 6px;
  background: var(--sb-surface-paper);
  box-shadow: 7px 8px 0 var(--sb-color-ink);
}
.size-scene > svg {
  width: 100%;
  height: auto;
}
.size-scenery {
  color: #64786c;
  fill: #f1eee2;
  stroke: #c2c9ba;
  stroke-width: 2;
}
.size-scenery text {
  fill: #58695f;
  stroke: none;
  font-size: 18px;
  font-weight: 700;
}
.size-cloud {
  fill: #e7eff0;
  stroke: none;
}
.size-roof {
  fill: #d8dece;
}
.size-window {
  fill: #e2e9df;
}
.size-door {
  fill: #d8e1d6;
}
.size-shop {
  fill: #f1e9d9;
  stroke: #c9c7b6;
}
.size-canopy {
  fill: #e9d4b5;
}
.size-shop-window {
  fill: #e1e7df;
}
.size-tree {
  fill: #dee6d8;
  stroke: #bcccb5;
}
.size-tree-shadow {
  fill: #d9e0d2;
  stroke: none;
}
.size-tree-trunk {
  fill: #b9bea7;
  stroke: #a6ad94;
  stroke-width: 1.5;
}
.size-tree-branch {
  fill: none;
  stroke: #a6ad94;
  stroke-width: 3;
  stroke-linecap: round;
}
.size-tree-leaves {
  fill: #cbd9c4;
  stroke: none;
}
.size-tree-highlight {
  fill: none;
  stroke: #edf1e7;
  stroke-width: 4;
  stroke-linecap: round;
}
.size-meter {
  fill: var(--sb-text-muted);
  stroke: var(--sb-border-warm);
  stroke-width: 1;
  stroke-dasharray: 5 6;
}
.size-meter text {
  stroke: none;
  font-size: 16px;
}
.size-person {
  fill: var(--sb-color-ink);
}
.size-pole {
  fill: white;
  stroke: var(--sb-color-ink);
  stroke-width: 1;
}
.size-fabric {
  fill: var(--sb-color-blue);
  stroke: var(--sb-color-ink);
  stroke-width: 1.2;
}
.size-flag:nth-of-type(even) .size-fabric {
  fill: var(--sb-color-teal);
}
.size-on-flag {
  fill: var(--sb-surface-paper);
  font-size: 27px;
  font-weight: 900;
}
.size-ground-badge {
  fill: var(--sb-color-blue);
}
.size-ground-label {
  fill: var(--sb-color-cream);
  font-size: 25px;
  font-weight: 900;
}
.size-ground {
  stroke: var(--sb-color-ink);
  stroke-width: 2;
}
.size-person-label {
  fill: var(--sb-color-ink);
  font-size: 18px;
  font-weight: 800;
}
.size-scene-dimensions {
  display: none;
}
.size-dimension-extension {
  fill: none;
  stroke: var(--sb-color-blue);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.size-height-line,
.size-width-line {
  fill: none;
  stroke: var(--sb-color-blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.size-width-line {
  stroke: var(--sb-color-teal);
}
.size-height-label-bg,
.size-width-label-bg {
  fill: white;
  stroke: var(--sb-border-soft);
  stroke-width: 1;
}
.size-height-value,
.size-width-value {
  fill: var(--sb-color-ink);
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.size-width-value {
  font-size: 20px;
}
.size-dimension-unit {
  font-size: 14px;
  font-weight: 600;
}
.size-scene figcaption {
  margin-top: 8px;
  color: var(--sb-text-muted);
  font-size: .85rem;
  line-height: 1.8;
}
.size-scene figcaption > p {
  margin: 10px 0 0;
}
.size-base-note {
  display: inline-block;
  margin-left: 1em;
}
.size-scene-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--sb-border-warm);
  color: var(--sb-color-ink);
  list-style: none;
}
.size-scene-legend li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.size-scene-legend svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--sb-color-teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.size-scene-legend strong {
  margin-left: 10px;
  font-size: 1.125rem;
}
.size-board-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-bottom: 14px;
  color: var(--sb-color-ink);
  font-size: .875rem;
  font-weight: 500;
}
.size-board-guide b {
  margin-right: 3px;
  color: var(--sb-color-blue);
  font-size: 1.125rem;
}
.size-dimension-tags {
  display: none;
  position: relative;
  min-height: 190px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.size-dimension-tag {
  position: absolute;
  left: var(--size-tag-center);
  width: 9.2%;
  padding: 10px 4px;
  border: 1px solid var(--sb-border-warm);
  border-top: 3px solid var(--sb-color-blue);
  border-radius: 5px;
  color: var(--sb-color-ink);
  background: var(--sb-color-cream);
  text-align: center;
  transform: translateX(-50%);
}
.size-dimension-tag::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 22px;
  border-left: 1px solid var(--sb-color-blue);
  content: "";
}
.size-dimension-tag dl {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
}
.size-dimension-tag dt {
  font-size: .875rem;
  line-height: 1.4;
}
.size-dimension-tag dd {
  margin: 0;
  white-space: nowrap;
  line-height: 1.3;
}
.size-dimension-tag strong {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.size-dimension-tag dl > div + div strong {
  font-size: 1.125rem;
}
.size-dimension-tag dl > div + div {
  padding-top: 6px;
  border-top: 1px solid var(--sb-border-warm);
}
.size-scene .size-mm-link {
  margin-top: 12px;
  text-align: right;
}
.size-type-letter {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  color: var(--sb-color-cream);
  background: var(--sb-color-blue);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}
.size-type-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.size-unit {
  margin-left: 2px;
  font-size: .875rem;
}
.size-width-tips {
  margin-top: 30px;
}
.size-width-tips h3 {
  margin: 0 0 14px;
  font-size: 1.125rem;
}
.size-width-phrase {
  display: inline-block;
}
.size-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.size-pair {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 4px 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--sb-color-ink);
  border-radius: 6px;
  background: var(--sb-surface-paper);
  box-shadow: 3px 4px 0 var(--sb-color-ink);
}
.size-pair h4 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  grid-column: 2;
}
.size-pair-and {
  font-size: .875rem;
  font-weight: 500;
}
.size-pair p {
  margin: 0;
  grid-column: 2;
}
.size-pair-height {
  font-size: .875rem;
}
.size-pair-visual {
  width: 100%;
  height: auto;
  grid-column: 1;
  grid-row: 1 / 5;
}
.size-pair-top {
  fill: none;
  stroke: var(--sb-border-soft);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}
.size-pair-flag:first-of-type .size-fabric {
  fill: var(--sb-color-teal);
}
.size-pair-arrow {
  fill: none;
  stroke: var(--sb-color-teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.size-pair-values {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: .875rem;
}
.size-pair-values > span {
  white-space: nowrap;
}
.size-pair-values strong {
  font-size: 1.125rem;
}
.size-pair-difference {
  font-size: .875rem;
}
.size-pair-difference > strong {
  display: inline-block;
  color: var(--sb-color-blue);
  font-size: 1.75rem;
  line-height: 1.3;
}
.size-pair-difference small {
  margin-left: 3px;
  font-size: .875rem;
}
.size-compare .size-note {
  color: var(--sb-color-ink);
}
.size-spec-sheet {
  margin-top: 28px;
  border: 1px solid var(--sb-color-ink);
  border-radius: 6px;
  overflow: hidden;
  background: var(--sb-surface-paper);
  box-shadow: 3px 4px 0 var(--sb-color-ink);
  scroll-margin-top: 112px;
}
.size-spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.size-spec-table caption {
  padding: 18px 22px;
  color: var(--sb-color-ink);
  text-align: left;
}
.size-spec-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
}
.size-spec-caption small {
  color: var(--sb-text-muted);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
}
.size-spec-type-column {
  width: 18%;
}
.size-spec-table th,
.size-spec-table td {
  padding: 10px 16px;
  border-right: 1px solid var(--sb-border-warm);
  border-bottom: 1px solid var(--sb-border-warm);
  vertical-align: middle;
}
.size-spec-table thead {
  color: var(--sb-color-cream);
  background: var(--sb-color-blue);
  text-align: center;
}
.size-spec-table thead th {
  font-size: 1rem;
  font-weight: 700;
}
.size-spec-table thead small {
  display: block;
  margin-top: 2px;
  font-size: .8125rem;
  font-weight: 500;
}
.size-spec-table thead tr + tr {
  color: var(--sb-color-ink);
  background: var(--sb-color-cream);
}
.size-spec-table .size-spec-total-heading {
  background: var(--sb-color-ink);
}
.size-spec-table tbody th {
  text-align: center;
}
.size-spec-table tbody td {
  color: var(--sb-color-ink);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.size-spec-table tbody tr:nth-child(even) {
  background: var(--sb-surface-warm);
}
.size-spec-table tr > :last-child {
  border-right: 0;
}
.size-spec-table tbody td:last-child {
  border-left: 2px solid var(--sb-border-soft);
}
.size-spec-sheet .size-spec-table-note {
  margin: 0;
  padding: 16px 22px;
  color: var(--sb-text-muted);
  font-size: .8125rem;
}
.size-spec-table-note > span {
  display: block;
}
@media (min-width: 1101px) {
  .size-scene-dimensions {
    display: inline;
  }
}
@media (max-width: 1100px) {
  .size-dimension-tags {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px 8px;
    min-height: 0;
    margin-top: 8px;
  }
  .size-dimension-tag {
    position: relative;
    left: auto;
    width: auto;
    padding: 10px 4px;
    grid-column: span 2;
    transform: none;
  }
  .size-dimension-tag::before {
    display: none;
  }
  .size-dimension-tag:nth-child(5) {
    grid-column: 2 / span 2;
    grid-row: 2;
  }
  .size-dimension-tag:nth-child(6) {
    grid-column: 4 / span 2;
    grid-row: 2;
  }
  .size-dimension-tag:nth-child(7) {
    grid-column: 6 / span 2;
    grid-row: 2;
  }
}
@media (max-width: 700px) {
  .size-spec-type-column {
    width: 22%;
  }
  .size-spec-table caption {
    padding: 14px 12px;
  }
  .size-spec-caption {
    gap: 6px 12px;
    font-size: 1.125rem;
  }
  .size-spec-caption small {
    font-size: .8125rem;
  }
  .size-spec-table th,
  .size-spec-table td {
    padding: 8px 6px;
  }
  .size-spec-table thead th {
    font-size: .875rem;
  }
  .size-spec-table thead small {
    font-size: .75rem;
  }
  .size-spec-table tbody td {
    font-size: 1rem;
  }
  .size-spec-sheet .size-spec-table-note {
    padding: 12px;
    font-size: .75rem;
  }
  .size-compare-heading {
    display: block;
  }
  .size-compare-heading > p {
    margin-top: 12px;
  }
  .size-scene {
    padding: 10px 4px;
    box-shadow: 4px 5px 0 var(--sb-color-ink);
  }
  .size-scene figcaption {
    padding-inline: 8px;
  }
  .size-scenery text,
  .size-person-label,
  .size-meter text {
    display: none;
  }
  .size-scene-legend {
    gap: 4px;
    padding-top: 10px;
  }
  .size-scene-legend li {
    gap: 6px;
    justify-content: flex-start;
    font-size: .75rem;
  }
  .size-scene-legend svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .size-scene-legend strong {
    display: block;
    margin: 0;
    font-size: .9375rem;
  }
  .size-scene figcaption > p {
    margin-top: 8px;
    font-size: .75rem;
  }
  .size-base-note {
    display: block;
    margin-left: 0;
  }
  .size-dimension-tags {
    margin-inline: 4px;
  }
  .size-dimension-tag {
    padding-block: 8px;
  }
  .size-dimension-tag dl {
    gap: 5px;
    margin-top: 6px;
  }
  .size-dimension-tag strong {
    font-size: 1.375rem;
  }
  .size-scene .size-board-guide {
    display: block;
    padding: 2px 0 10px;
    font-size: .8125rem;
  }
  .size-board-guide > span {
    display: block;
  }
  .size-scene .size-mm-link {
    font-size: .8125rem;
    text-align: left;
  }
  .size-type-letter {
    width: 28px;
    height: 28px;
    font-size: 1.0625rem;
  }
  .size-pair-grid {
    gap: 12px;
  }
  .size-pair {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 10px;
    text-align: center;
  }
  .size-pair-height {
    font-size: .75rem;
  }
  .size-pair-visual {
    max-width: 150px;
  }
  .size-pair-values {
    justify-content: center;
    gap: 3px;
    font-size: .75rem;
  }
  .size-pair-values strong {
    font-size: 1rem;
  }
  .size-pair-difference {
    font-size: .75rem;
  }
  .size-pair-difference > strong {
    font-size: 1.5rem;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .size-pair {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 16px 12px;
  }
  .size-pair-values {
    font-size: .75rem;
  }
}
@media (max-width: 360px) {
  .size-pair-values {
    flex-direction: column;
    gap: 0;
  }
  .size-pair-values > span[aria-hidden] {
    display: none;
  }
}
