.ca-plate { --ca-ink: #203c2d; --ca-olive: #647d40; --ca-line: #b7bba6; --ca-fill: #e6ead6; color: var(--ca-ink); }
.ca-intro { max-width: 62ch; }
.ca-intro h3 { margin: 0 0 .55rem; font: 400 clamp(1.95rem, 3.15vw, 3.3rem)/1.06 var(--serif, Georgia, serif); letter-spacing: -.045em; }
.ca-intro p, .ca-notes p { margin: 0; line-height: 1.55; }
.ca-data { margin-block: 1.45rem; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(13rem,.85fr); border-block: 1px solid var(--ca-line); }
.ca-select { min-width: 0; margin: 0; padding: 1rem 1.25rem 1rem 0; border: 0; }
.ca-select legend { float: left; width: 100%; margin: 0 0 .6rem; padding: 0; font-weight: 650; font-size: .9rem; }
.ca-grids { clear: both; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.2rem,.8vw,.75rem); }
.ca-option { position: relative; cursor: pointer; min-width: 0; display: block; }
.ca-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ca-drawing { display: grid; justify-items: center; padding: clamp(.16rem,.5vw,.55rem) .12rem .65rem; color: #5c6952; border: 1px solid transparent; height: 100%; }
.ca-drawing svg { display: block; width: min(100%,8.9rem); aspect-ratio: 1; }
.ca-field { fill: transparent; stroke: currentColor; stroke-width: 1; }
.ca-cell { fill: #556d3a; stroke: #394c28; stroke-width: .65; }
.ca-caption { display: grid; text-align: center; gap: .05rem; }
.ca-caption b { color: var(--ca-ink); font-size: clamp(.83rem,1.3vw,1.05rem); line-height: 1.25; }
.ca-caption small { font-size: .73rem; line-height: 1.3; }
.ca-option input:checked + .ca-drawing { background: var(--ca-fill); border-color: #74845c; color: #485d3e; }
.ca-option:hover .ca-drawing { border-color: #879675; }
.ca-option input:focus-visible + .ca-drawing { outline: 2px solid #9c4e25; outline-offset: 2px; }
.ca-key { display: flex; align-items: center; gap: .5rem; font-size: .76rem; line-height: 1.4; color: #586351; margin: .8rem 0 0; }
.ca-key span { display: inline-block; width: .55rem; height: .55rem; background: #556d3a; flex: 0 0 auto; }
.ca-result { min-width: 0; padding: 1.1rem 0 1.1rem clamp(1rem,2.75vw,2.8rem); border-left: 1px solid var(--ca-line); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ca-result p { margin: 0 0 .2rem; font-size: .87rem; }
.ca-result p strong { font-weight: 650; }
.ca-quantity { display: block; font: 400 clamp(2.5rem,5.4vw,5.7rem)/1.05 var(--serif, Georgia, serif); letter-spacing: -.055em; font-variant-numeric: lining-nums tabular-nums; }
.ca-unit { font-size: .94rem; }
.ca-formula { margin-top: .9rem; max-width: 34ch; line-height: 1.5; font-size: .74rem; color: #4e594b; font-variant-numeric: tabular-nums; }
.ca-notes { border-bottom: 1px solid var(--ca-line); }
.ca-notes summary { cursor: pointer; padding: 0 0 .88rem; font-weight: 650; line-height: 1.4; }
.ca-notes summary:focus-visible { outline: 2px solid #9c4e25; outline-offset: 2px; }
.ca-notes > div { max-width: 76ch; padding: 0 0 1rem; font-size: .91rem; }
.ca-notes p + p { margin-top: .65rem; }
.ca-references { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .84rem; font-weight: 600; }
.ca-references a { text-underline-offset: .21em; }
@media (max-width: 760px) {
  .ca-data { grid-template-columns: 1fr; }
  .ca-select { padding-right: 0; }
  .ca-result { border-left: 0; border-top: 1px solid var(--ca-line); padding: 1rem 0; }
  .ca-quantity { font-size: clamp(2.65rem,9vw,4.1rem); }
  .ca-formula { max-width: none; margin-top: .5rem; }
}
@media (forced-colors: active) {
  .ca-option input:checked + .ca-drawing { border: 3px solid Highlight; }
  .ca-field, .ca-cell { stroke: CanvasText; }
  .ca-cell { fill: CanvasText; }
}
.ca-grids { position: relative; }
.ca-zoom-layer { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ca-zoom-layer rect { fill: #68853e; fill-opacity: .18; stroke: #45612c; stroke-width: 1.75px; transform-origin: 0 0; opacity: 0; }
html[data-motion="off"] .ca-zoom-layer { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .ca-zoom-layer { visibility: hidden; } }
.ca-plate:not(.ca-interactive) .ca-select legend,
.ca-plate:not(.ca-interactive) .ca-option input { display: none; }
.ca-plate:not(.ca-interactive) .ca-option { pointer-events: none; }
