/* ============================================================
   css/calculator.css — Metal Weight Calculator (Tool 1) styles
   Loaded IN ADDITION to style.css for index.html only.
   BASE rules (reset, variables, header, footer, nav) live in style.css.
   SHARED rules (.calc-btn, .table-wrap, .data-table, .faq-item,
                 .breadcrumb, .data-table caption) live in style.css.
   Block A (hero, calculator layout, calc-group, material-grid,
   section-grid, unit-toggle, calc-inputs, input-field, calc-btn__icon,
   result-panel, content-section, section-heading, how-steps, faq-list)
   relocated to style.css SHARED section — 2026-07-03. No longer here.
   Featured Articles (.featured-articles*) and .input-field__unit-select
   (shared with bom-generator.html) also relocated to style.css SHARED
   section — 2026-07-03. No longer here.
   DO NOT duplicate those blocks here.
   ============================================================ */

/* ── Result panel unit selects ──────────────────────────────────────────── */
.result-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.result-unit-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.result-unit-sep {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.result-unit-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-tertiary, var(--bg-secondary));
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 1.5rem 0.15rem 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23e8952a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.4rem center;
  background-size: 8px 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  max-width: 72px;
}
.result-unit-select:focus {
  outline: none;
  background: var(--accent);
  color: var(--bg-primary);
}
.result-unit-select:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.result-unit-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}
