/* Ginecología y Obstetricia integrado en /calculadoras/, sin ruta independiente. */
.me-gest { margin:2rem 0; padding:1.25rem; border:1px solid #d9e3ec; border-radius:14px; background:#f6f9fc; color:#203247; }
.me-gest *, .me-gest *::before, .me-gest *::after { box-sizing:border-box; }
.me-gest h2 { margin:.1rem 0 .5rem; font-size:1.45rem; }
.me-gest h3 { font-size:1.09rem; margin:0 0 .75rem; }
.me-gest p { line-height:1.6; }
.me-gest__note { background:#fff8e9; border-left:4px solid #996e00; padding:.75rem 1rem; border-radius:5px; margin:1rem 0; font-size:.92rem; }
.me-gest__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1.1rem; }
.me-gest__card { background:#fff; border:1px solid #d5e0e9; border-radius:10px; padding:1rem; min-width:0; }
.me-gest__card--wide { grid-column:1/-1; }
.me-gest form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.me-gest label { display:grid; gap:.25rem; font-size:.88rem; font-weight:600; }
.me-gest input,.me-gest select { background:#fff; color:#16283c; padding:.52rem; min-height:2.5rem; border:1px solid #9fadb9; border-radius:5px; width:100%; font:inherit; }
.me-gest button { grid-column:1/-1; border:0; border-radius:5px; padding:.65rem .85rem; background:#125b82; color:#fff; font-weight:650; cursor:pointer; }
.me-gest button:focus-visible,.me-gest input:focus-visible,.me-gest select:focus-visible { outline:3px solid #4597c2; outline-offset:2px; }
.me-gest__result { display:block; background:#edf6fc; padding:.8rem; border-radius:6px; min-height:2.5rem; white-space:pre-wrap; margin-top:.8rem; font-size:.92rem; overflow-wrap:anywhere; }
.me-gest__result[role="alert"] { background:#fff0ef; color:#8a2721; }
.me-gest__table { width:100%; overflow-x:auto; margin-top:.8rem; }
.me-gest__table table { border-collapse:collapse; min-width:600px; width:100%; font-size:.85rem; }
.me-gest__table th,.me-gest__table td { padding:.5rem; border:1px solid #d1dfe9; text-align:center; }
.me-gest__table th { background:#eaf1f6; }
.me-gest__caption { color:#455a6d; font-size:.86rem; margin-top:.75rem; }
@media (max-width:750px) { .me-gest {padding:.8rem;} .me-gest__grid {grid-template-columns:1fr;} .me-gest form {grid-template-columns:1fr;} }
