.cre-estimate{margin-top:.8rem;border-top:1px solid #cad9df;padding-top:.65rem;min-width:0;color:#17354a;font-size:16px;line-height:1.55}
.cre-estimate>summary,.cre-bounds>summary,.cre-assumptions>summary{cursor:pointer;font-weight:650;overflow-wrap:anywhere}
.cre-body,.cre-form,.cre-field,.cre-group,.cre-output{min-width:0;max-width:100%;box-sizing:border-box}
.cre-body p{margin:.6rem 0}.cre-clinic{font-weight:700}.cre-address,.cre-note,.cre-source-note{color:#526d7a;font-size:.9rem;overflow-wrap:anywhere}
.cre-explainer,.cre-source-note{background:#edf5f7;padding:.75rem;border-radius:8px}.cre-explainer{font-size:.95rem}
.cre-group{border:1px solid #c4d5dc;border-radius:9px;padding:.8rem;margin:1rem 0}.cre-group legend{font-weight:700;padding:0 .3rem;font-size:1rem}
.cre-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.cre-field{display:flex;flex-direction:column;gap:.35rem;margin:.6rem 0;font-weight:550}
.cre-field input,.cre-field select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:1px solid #abc3cf;border-radius:7px;background:#fff;color:#17354a;padding:.65rem;font:inherit;font-size:16px;line-height:1.35}
.cre-field input[readonly],.cre-field select:disabled{background:#f0f4f6;color:#405d6b}.cre-estimate [hidden]{display:none!important}
.cre-check{display:flex;align-items:flex-start;gap:.55rem;margin:.85rem 0;font-size:.95rem;overflow-wrap:anywhere}.cre-check input{flex:0 0 auto;width:20px;height:20px;margin:.2rem 0;accent-color:#0b7485}
.cre-bounds{margin:.75rem 0}.cre-bounds>summary{font-size:.9rem;color:#426878}.cre-estimate button{font:inherit;font-size:16px;border:1px solid #91b2c2;border-radius:8px;padding:.7rem .9rem;cursor:pointer;white-space:normal}
.cre-estimate .cre-primary{background:#086f80;color:white;border-color:#086f80;width:100%}.cre-download{background:#f0f7fa;color:#14596c;margin:.7rem 0}
.cre-error{background:#fff0ed;color:#8a3020;border-radius:7px;padding:.75rem;overflow-wrap:anywhere}.cre-output:not(:empty){margin-top:1rem;border:1px solid #bfd9d2;border-radius:9px;padding:.8rem;background:#f7fbf9}
.cre-badge{background:#e2f1ec;color:#205b4c;padding:.5rem .6rem;border-radius:6px;font-weight:650;font-size:.88rem}.cre-output h5{font-size:1rem;margin:.75rem 0}.cre-total{font-size:1.1rem;font-weight:750;color:#0b6571;overflow-wrap:anywhere}.cre-unknown{color:#596a70;font-size:1rem}
.cre-components{display:grid;grid-template-columns:minmax(0,1fr);gap:.15rem;margin:.8rem 0}.cre-components dt{font-weight:650;margin-top:.6rem}.cre-components dd{margin:0;color:#315969;overflow-wrap:anywhere;font-size:.95rem}
.cre-assumptions ul{margin:.65rem 0;padding:.65rem .65rem .65rem 1.6rem;background:#eef4f5;border-radius:6px;overflow-wrap:anywhere}.cre-assumptions li{margin:.4rem 0;font-size:.9rem}.cre-estimate :focus-visible{outline:3px solid #68afc2;outline-offset:2px}
@media(max-width:600px){.cre-grid{grid-template-columns:1fr}.cre-group{padding:.65rem}.cre-estimate{font-size:16px}.cre-download{width:100%}}
/* The enclosing revenue panel sets font:inherit on controls and older detail labels use 12px. */
#clinicRevenuePanel .cre-estimate .cre-field,#clinicRevenuePanel .cre-estimate .cre-check{font-size:16px}
#clinicRevenuePanel .cre-estimate .cre-field input,#clinicRevenuePanel .cre-estimate .cre-field select,#clinicRevenuePanel .cre-estimate .cre-check input{font:inherit;font-size:16px;max-width:100%;min-width:0}
/* An expanded calculator uses the detail pane's scroll instead of a second clipped card-list scroll. */
#clinicRevenuePanel .cr-cards:has(.cre-estimate[open]){max-height:none;overflow:visible}
