/* Center of Gravity Calculator - page-specific styles. Global .ops- system loads from the theme. */
.cg-chart-wrap { position: relative; height: 320px; margin-top: 22px; }
#chartCanvas { max-width: 100% !important; }
.cg-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cg-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; }
.cg-table { width: 100%; border-collapse: collapse; margin: 6px 0 8px; }
.cg-table th { text-align: left; font: 600 11px/1 var(--ops-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ops-text-dim); padding: 4px 6px 8px 0; }
.cg-table td { padding: 3px 6px 3px 0; }
.cg-table .ops-input { width: 100%; min-width: 0; }
.cg-hint { font-size: 12px; line-height: 1.5; color: var(--ops-text-faint); margin: -4px 0 14px; }
@media (max-width: 640px) { .cg-table th:nth-child(1), .cg-table td:nth-child(1) { display: none; } }
@media (max-width: 560px) { .cg-row2, .cg-row3 { grid-template-columns: 1fr; } .cg-chart-wrap { height: 340px; } }
