/* 13-Nov-2026: JMH surgery estimate (jmh_est.js) — the Estimate button in Surgery advised + the dialog holding the estimator page (?p=jmhest). */
.jmhestbtn { margin: 0 0 4px 6px; border: 1px solid #8a1538; color: #8a1538; background: var(--card, #fff); border-radius: 8px; cursor: pointer; }
dialog.jmhest { width: min(960px, calc(100vw - 24px)); height: calc(100vh - 24px); max-height: none; padding: 0; border: 1px solid var(--line, #e2dde0); border-radius: 12px; display: flex; flex-direction: column; }
dialog.jmhest:not([open]) { display: none; }
dialog.jmhest::backdrop { background: rgba(0, 0, 0, .35); }
.jmhest .jeh { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line, #e2dde0); flex-wrap: wrap; }
.jmhest .jeh b { color: #8a1538; font-size: 15px; }
.jmhest .jeops { display: flex; gap: 6px; flex-wrap: wrap; }
.jmhest .jeop { min-height: 0; padding: 3px 10px; font-size: 12.5px; border-radius: 999px; border: 1px solid var(--line, #e2dde0); background: var(--card, #fff); cursor: pointer; }
.jmhest .jeop.on { background: #8a1538; border-color: #8a1538; color: #fff; }
.jmhest .jef { flex: 1; width: 100%; border: 0; }
@media print { .jmhestbtn, dialog.jmhest { display: none !important; } }
