.rp-fields,.rp-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.rp-panel label{display:block;margin:.45rem 0;font-weight:700}
.rp-panel input,.rp-panel select{width:100%;min-width:0;box-sizing:border-box;padding:.7rem;border:1px solid #3c5664;border-radius:.5rem;background:#091e29;color:#edf6fa;font:inherit}
.rp-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;border:1px solid #36525f;border-radius:.65rem;padding:1rem;margin:1rem 0;min-width:0}
.rp-row legend{font-weight:700;padding:0 .4rem}
.rp-row button{grid-column:1/-1;justify-self:start}
.rp-panel button{padding:.65rem .9rem;border:1px solid #466773;border-radius:.5rem;font:inherit;background:#163340;color:#edf6fa;cursor:pointer}
.rp-panel button:disabled{opacity:.55;cursor:default}
.rp-panel #rp-calculate{background:#00c98b;color:#04291d;font-weight:800}
.rp-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}
.rp-results{padding:1rem;border:1px solid #3b6b63;border-radius:.65rem;background:#0b2926}
.rp-results dt{font-size:.95rem;color:#bcd1da}
.rp-results dd{margin:.25rem 0 0;font-weight:800;overflow-wrap:anywhere}
.rp-panel .rp-note{font-size:.95rem;color:#bcd1da}
.rp-panel [hidden]{display:none!important}
.rp-panel [role=alert]{color:#ffd5a4}
@media(max-width:600px){.rp-fields,.rp-results,.rp-row{grid-template-columns:minmax(0,1fr)}.rp-row{padding:.75rem}.rp-actions button{width:100%}}
