/* RECATOOLS — Mid-Parental Height Calculator */
.mph-unit-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.mph-unit-label { font-size: .74rem; font-weight: 600; color: #6b6760; }
.mph-seg { display: inline-flex; border: 1px solid #ebebeb; border-radius: 8px; overflow: hidden; }
.mph-seg-btn { border: none; background: #fafaf9; padding: .4rem .9rem; font-size: .82rem; font-weight: 600; color: #6b6760; cursor: pointer; font-family: inherit; }
.mph-seg-btn.is-active { background: #16A34A; color: #fff; }

.mph-parents { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .6rem; }
@media (max-width: 520px) { .mph-parents { grid-template-columns: 1fr; } }
.mph-parent { padding: .85rem; background: #fafaf9; border: 1px solid #ebebeb; border-radius: 10px; }
.mph-parent-h { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #15803d; margin-bottom: .5rem; }
.mph-imperial { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }

.input-row { margin-bottom: .55rem; }
.input-row label { display: block; font-size: .74rem; font-weight: 600; color: #6b6760; margin-bottom: .2rem; }
.input-prefix-wrap { display: flex; align-items: stretch; border: 1px solid #ebebeb; border-radius: 6px; background: #fff; overflow: hidden; }
.ipx-label { padding: .45rem .55rem; background: #f0ede9; font-size: .76rem; font-weight: 600; color: #6b6760; white-space: nowrap; }
.ipx-label.ipx-suffix { border-left: 1px solid #ebebeb; }
.input-prefix-wrap input[type="number"] { flex: 1; border: none; padding: .45rem .6rem; font-size: .88rem; font-family: inherit; background: transparent; color: #1a1814; width: 100%; box-sizing: border-box; }
.input-prefix-wrap input:focus { outline: none; box-shadow: inset 0 0 0 2px #16A34A; }
.mph-select { width: 100%; padding: .5rem .6rem; font-size: .88rem; font-family: inherit; border: 1px solid #ebebeb; border-radius: 6px; background: #fff; color: #1a1814; }
.mph-select:focus { outline: none; box-shadow: inset 0 0 0 2px #16A34A; }

.calc-btn { width: 100%; margin: .75rem 0 1rem; padding: .75rem 1.25rem; background: #E8472F; color: #fff; border: none; border-radius: 8px; font-size: .95rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.calc-btn:hover { background: #c8391f; }

.mph-headline { padding: 1rem 1.1rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; margin-bottom: .85rem; }
.mph-headline-label { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #15803d; }
.mph-headline-value { font-size: 2rem; font-weight: 800; font-family: 'IBM Plex Serif', serif; color: #14532d; line-height: 1.1; margin-top: .15rem; }
.mph-headline-sub { font-size: .78rem; color: #475569; margin-top: .25rem; }

.verdict-bar { margin: 1rem 0; padding: .75rem 1rem; background: #f0fdf4; border-left: 3px solid #16A34A; border-radius: 0 6px 6px 0; font-size: .875rem; line-height: 1.6; color: #1a1814; }
.verdict-bar:empty { display: none; }

.mph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
@media (max-width: 640px) { .mph-grid { grid-template-columns: 1fr 1fr; } }
.mph-card { padding: .85rem .5rem; background: #fafaf9; border: 1px solid #ebebeb; border-radius: 10px; text-align: center; }
.mph-card-range { background: #f0fdf4; border-color: #bbf7d0; }
.mph-lbl { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #6b6760; }
.mph-val { font-size: 1.15rem; font-weight: 800; font-family: 'IBM Plex Serif', serif; color: #14532d; margin-top: .2rem; }

/* cache-buster: 2026-05-31T00:00:00Z */
