.size-desk { --size-ink: #283a32; --size-muted: #4f6158; --size-line: #bfd0c6; max-width: 960px; margin: 0 auto; color: var(--size-ink); }
.size-desk [hidden] { display: none !important; }
.size-desk p { line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.size-desk :is(h1, h2, h3) { color: var(--size-ink); line-height: 1.5; word-break: keep-all; }
.size-desk a { color: #2f6347; text-underline-offset: 3px; }
.size-hero { margin: 28px 0; padding: clamp(22px, 5vw, 40px); background: #eef5f0; border-top: 4px solid #3f7a59; }
.size-kicker { margin: 0 0 12px; font-size: .875rem; font-weight: 700; }
.size-hero h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 6vw, 2.9rem); letter-spacing: -.04em; }
.size-hero > p:last-child { margin: 0; color: var(--size-muted); font-size: 1.0625rem; }
.size-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.size-jumps a { padding: 12px 14px; border: 1px solid #7fa08c; border-radius: 4px; background: #fff; text-decoration: none; font-weight: 700; }
.size-compare, .size-table, .size-why { margin: 36px 0; padding-top: 22px; border-top: 2px solid #8eaa99; scroll-margin-top: 90px; }
.size-desk h2 { margin: 0 0 12px; font-size: 1.375rem; letter-spacing: -.025em; }
.size-desk h3 { font-size: 1.0625rem; }
.size-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 18px 0; }
.size-desk label { display: block; margin: 0 0 8px; font-size: .9375rem; font-weight: 750; }
.size-desk select { box-sizing: border-box; min-width: 11em; max-width: 100%; min-height: 48px; padding: 11px 12px; color: var(--size-ink); background: #fff; border: 1px solid #7f9688; border-radius: 4px; font: inherit; font-size: 1rem; }
.size-desk button { min-height: 48px; padding: 11px 16px; background: #335f47; color: #fff; border: 1px solid #335f47; border-radius: 4px; font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.size-desk :is(a, button, select):focus-visible { outline: 3px solid #95601d; outline-offset: 4px; }
.size-result { padding: 20px; background: #fff; border: 1px solid var(--size-line); }
.size-figure { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.size-ground { stroke: #8b9a91; stroke-width: 1; }
.size-square { stroke-width: 1; }
.size-square-a { fill: #c84f4f; stroke: #8f2f2f; }
.size-square-b { fill: #4f7fc8; stroke: #2f548f; }
.size-label { fill: var(--size-ink); font-size: 17px; font-weight: 700; text-anchor: middle; }
.size-sentence { margin: 14px 0 0; font-size: 1.125rem; font-weight: 800; text-align: center; }
.size-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.size-numbers > div { min-width: 0; padding: 10px; border: 1px solid var(--size-line); text-align: center; }
.size-numbers dt { font-size: .875rem; color: var(--size-muted); }
.size-numbers dd { margin: 4px 0 0; font-family: var(--font-mono, monospace); font-size: 1.0625rem; overflow-wrap: anywhere; }
.size-hint, .size-note { color: var(--size-muted); font-size: .875rem; }
.size-table-wrap { overflow-x: auto; }
.size-desk table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9375rem; }
.size-desk caption { text-align: left; color: var(--size-muted); font-size: .8125rem; padding: 6px 0; }
.size-desk :is(th, td) { border: 1px solid var(--size-line); padding: 9px 10px; line-height: 1.6; text-align: right; }
.size-desk tbody th { text-align: left; word-break: keep-all; overflow-wrap: normal; }
.size-desk td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.size-desk thead { background: #eef5f0; }
.size-desk thead th { text-align: center; word-break: keep-all; overflow-wrap: normal; }
.size-desk thead th:first-child { white-space: nowrap; }
.size-desk td:first-child { text-align: center; width: 3em; }
.size-base-row { background: #fbf3e4; font-weight: 700; }
.size-desk tr:target { outline: 3px solid #95601d; outline-offset: -3px; }
.size-sources { margin: 32px 0; padding-top: 22px; border-top: 1px solid var(--size-line); color: var(--size-muted); }
.size-sources h2 { font-size: 1rem; }
.size-sources :is(p, li) { font-size: .8125rem; line-height: 1.9; }
.size-sources ul { padding-left: 22px; }
@media (max-width: 520px) {
  .size-controls > div, .size-desk select, .size-controls button { width: 100%; }
  .size-result { padding: 14px; }
  .size-desk :is(th, td) { padding: 8px 6px; font-size: .875rem; }
}
