/* Styles for the generated unit conversion pages (site/convert/*.html, conversions.html). */
.cv-wrap { max-width: 860px; padding-top: 1.5rem; padding-bottom: 3rem; }
.cv-crumbs { font-size: 0.9rem; color: #666; margin-bottom: 1.25rem; }
.cv-crumbs a { color: #667eea; text-decoration: none; }
.cv-crumbs a:hover { text-decoration: underline; }
.cv-card { background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(60, 50, 120, 0.12); padding: 1.5rem; margin-bottom: 2rem; }
.cv-row { display: flex; align-items: flex-end; gap: 1rem; }
.cv-field { flex: 1 1 0; min-width: 0; }
.cv-field label { display: block; font-weight: 600; color: #444; margin-bottom: 0.4rem; }
.cv-field input { width: 100%; box-sizing: border-box; font-size: 1.35rem; padding: 0.7rem 0.9rem; border: 2px solid #d9dcef; border-radius: 10px; background: #fff; color: #222; }
.cv-field input:focus { outline: none; border-color: #667eea; }
.cv-field input[readonly] { background: #f5f6fd; font-weight: 600; }
.cv-eq { font-size: 1.6rem; color: #667eea; padding-bottom: 0.65rem; }
.cv-swap { margin: 1rem 0 0; }
.cv-swap a, .cv-section a, .cv-jump a { color: #5a67d8; }
.cv-section { margin-bottom: 2.25rem; line-height: 1.7; color: #333; }
.cv-section h2 { font-size: 1.4rem; color: #333; margin-bottom: 0.75rem; }
.cv-section h3 { font-size: 1.05rem; color: #444; margin: 1.1rem 0 0.3rem; }
.cv-section p { margin-bottom: 0.7rem; }
.cv-formula { font-size: 1.15rem; font-weight: 600; background: #f5f6fd; border-left: 4px solid #667eea; padding: 0.7rem 1rem; border-radius: 6px; }
.cv-table-wrap { overflow-x: auto; }
.cv-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cv-table th, .cv-table td { padding: 0.5rem 0.9rem; text-align: left; border-bottom: 1px solid #e6e8f5; }
.cv-table th { background: #667eea; color: #fff; font-weight: 600; }
.cv-table tbody tr:nth-child(even) { background: #f8f9fe; }
.cv-note { font-size: 0.9rem; color: #666; margin-top: 0.6rem; }
.cv-links { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 0.35rem 1.25rem; }
.cv-links a { text-decoration: none; }
.cv-links a:hover { text-decoration: underline; }
.cv-links span { color: #777; font-size: 0.9em; }
.cv-jump { margin-bottom: 1.75rem; line-height: 1.8; }
@media (max-width: 560px) {
  .cv-row { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .cv-eq { text-align: center; padding: 0; }
}
