/* Refinements are scoped to the original A section; old CSS stays byte-identical. */
.matrix-section-design[data-table-tone] { font-optical-sizing: auto; }
.matrix-section-design[data-table-tone] .table-surface { margin-top: 1.5rem; border-color: #b9cbd5; overflow: hidden; }
.matrix-section-design[data-table-tone] table { border-collapse: separate; border-spacing: 0; }
.matrix-section-design[data-table-tone] tbody td { padding-block: 1.75rem; background: #fff; }
.matrix-section-design[data-table-tone] td strong { font-size: 1.375rem; line-height: 1.45; font-weight: 750; letter-spacing: -.015em; text-wrap: initial; }
.matrix-section-design[data-table-tone] td p { margin-top: .5rem; font-size: 1rem; line-height: 1.75; text-wrap: initial; }
.matrix-section-design[data-table-tone] th { line-height: 1.6; }
.matrix-section-design[data-table-tone] .axis-label { letter-spacing: .02em; }
.matrix-section-design[data-table-tone] tbody tr:last-child > td { border-bottom-right-radius: 11px; }
.matrix-section-design[data-table-tone="deep"] thead th { background: #42644f; color: #fff; }
.matrix-section-design[data-table-tone="deep"] tbody th { background: #315b85; color: #fff; }
.matrix-section-design[data-table-tone="deep"] th .axis-label { color: #fff; }
.matrix-section-design[data-table-tone] .refinement-screen { width: 100%; max-width: 560px; margin: 1.5rem 0 0; }
.matrix-section-design[data-table-tone] .refinement-screen-crop { position: relative; width: 100%; aspect-ratio: 572.1393034825871 / 156.17401861594296; overflow: hidden; border: 1px solid #ccd8df; border-radius: 8px; background: #fff; }
.matrix-section-design[data-table-tone] .refinement-screen-crop img { position: absolute; z-index: 1; width: 104.869564%; max-width: none; height: auto; left: -2.434782%; top: -63.056%; }
.matrix-section-design[data-table-tone] .refinement-screen figcaption { margin-top: .65rem; font-size: .85rem; line-height: 1.7; color: #445565; overflow-wrap: anywhere; }
.matrix-section-design[data-table-tone] .refinement-image-note { display: block; margin-top: .25rem; font-size: .75rem; line-height: 1.7; }
.matrix-section-design[data-table-tone] .refinement-screen a { display: inline-flex; align-items: center; min-height: 44px; gap: .4em; margin-top: .15rem; color: #315b85; font-size: .85rem; text-underline-offset: .2em; }
.matrix-section-design[data-table-tone] .refinement-screen a:focus-visible { outline: 2px solid #315b85; outline-offset: 4px; }
.refinement-comparison { margin: 0; color: #1d2732; background: #fff; font: 100%/1.8 system-ui, -apple-system, "Yu Gothic", sans-serif; }
.refinement-comparison * { box-sizing: border-box; }
.refinement-comparison main { width: min(100% - 40px, 960px); margin: 3rem auto; }
.refinement-comparison h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.45; letter-spacing: -.025em; }
.refinement-comparison .refinement-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-block: 2rem; }
.refinement-comparison .proposal { display: block; padding: 1.5rem; border: 1px solid #ccd8df; border-radius: 12px; color: #315b85; text-decoration: none; }
.refinement-comparison .proposal strong, .refinement-comparison .proposal span { display: block; }
.refinement-comparison .proposal strong { font-size: 1.4rem; }
.refinement-comparison .proposal span { margin-top: .5rem; color: #445565; }
.refinement-comparison .proposal:hover { border-color: #315b85; }
.refinement-comparison .proposal:focus-visible { outline: 2px solid #315b85; outline-offset: 4px; }
@media (max-width: 600px) {
  .matrix-section-design[data-table-tone] tbody td { padding-block: 1.25rem; }
  .matrix-section-design[data-table-tone] td strong { font-size: 1rem; letter-spacing: 0; }
  .matrix-section-design[data-table-tone] td p { font-size: .875rem; }
  .refinement-comparison .refinement-links { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .matrix-section-design[data-table-tone] .table-surface, .matrix-section-design[data-table-tone] .refinement-screen-crop { border-color: CanvasText; }
  .matrix-section-design[data-table-tone="deep"] thead th, .matrix-section-design[data-table-tone="deep"] tbody th { background: Canvas; color: CanvasText; }
  .matrix-section-design[data-table-tone="deep"] th .axis-label { color: CanvasText; }
}
