/* Moving Cost of Living Calculator: two fields side by side, the job line
   under the results, and the comparison table */
.mv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mv-pair .field { min-width: 0; }
.field-hint.mv-error { color: var(--down); }
.mv-job { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.mv-job b { color: var(--ink); }
.mv-table-wrap { margin-top: 22px; overflow-x: auto; }
.mv-table th:not(:first-child) { text-align: right; }
.mv-table td:nth-child(2), .mv-table td:nth-child(3) { color: var(--ink-2); }
.mv-index td:first-child { color: var(--ink-2); }
@media (max-width: 560px) {
  .mv-table th, .mv-table td { padding-left: 8px; padding-right: 8px; }
  .mv-table th { white-space: normal; }
}

/* The map */
.mv-map-hint { margin: -4px 0 12px; font-size: 15px; color: var(--ink-2); }
.mv-map { display: block; width: 100%; height: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.mv-map-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.mv-state { fill: #DCDCD3; stroke: #F5F5EE; stroke-width: 1; cursor: pointer; transition: fill 0.15s ease; }
.mv-state:hover { fill: #CACAC1; }
.mv-state.is-from { fill: #3A3A38; }
.mv-state.is-to { fill: #F6B9A3; }
.mv-state.is-over { fill: var(--color-2); }
.mv-line { fill: none; stroke: var(--color-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.1 9; pointer-events: none; }
.mv-pin { fill: #F5F5EE; stroke: #282828; stroke-width: 3; pointer-events: none; }
.mv-label { pointer-events: none; }
.mv-label rect { fill: #282828; }
.mv-label text { fill: #F5F5EE; font: 700 15px var(--mono); }
.mv-van { cursor: grab; touch-action: none; outline: none; }
.mv-van.is-dragging { cursor: grabbing; }
.mv-van-hit { fill: transparent; }
.mv-van-body { fill: #282828; stroke: #F5F5EE; stroke-width: 0.8; }
.mv-van-window { fill: #F5F5EE; }
.mv-van-stripe { fill: var(--color-2); }
.mv-van-wheel { fill: #282828; stroke: #F5F5EE; stroke-width: 1.2; }
.mv-van:hover .mv-van-body, .mv-van:focus-visible .mv-van-body { stroke: var(--color-2); stroke-width: 1.2; }

.mv-map-result { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mv-map-result:empty { display: none; }
.mv-map-result b { color: var(--ink); }
