/* Motor Energy & Efficiency Calculator - page-specific styles. Global .ops- system loads from the theme. */

.mo-chart-wrap { position: relative; height: 280px; margin-top: 22px; }
#chartCanvas { max-width: 100% !important; }

.mo-inline { display: flex; gap: 10px; align-items: flex-start; }
.mo-inline .ops-input { flex: 1 1 auto; min-width: 0; }
.mo-inline .ops-select { flex: 0 0 auto; width: auto; min-width: 110px; }

.mo-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.mo-adv { margin: 4px 0 2px; border-top: 1px solid var(--ops-divider); padding-top: 16px; }
.mo-adv > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--ops-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ops-text-dim); margin-bottom: 16px; }
.mo-adv > summary::-webkit-details-marker { display: none; }
.mo-adv > summary::after { content: "+"; color: var(--ops-accent); font-family: var(--ops-mono); font-size: 15px; }
.mo-adv[open] > summary::after { content: "\2212"; }

.mo-hint { font-size: 12px; line-height: 1.5; color: var(--ops-text-faint); margin: -8px 0 16px; }

@media (max-width: 560px) {
  .mo-row2 { grid-template-columns: 1fr; }
  .mo-inline { flex-direction: column; }
  .mo-inline .ops-select { width: 100%; }
  .mo-chart-wrap { height: 320px; }
}
