.orm-calculator [hidden] { display: none !important; }
.orm-calculator .orm-field-hint { max-width: 25rem; margin: .45rem auto 0; font-size: .9em; line-height: 1.5; }
.orm-calculator .calculator-hint { text-align: left; }
.orm-calculator .calculator-error { color: #9b1c20; font-weight: bold; }
.orm-calculator [aria-invalid="true"] { border: 2px solid #9b1c20; }
.orm-summary { max-width: 440px; margin: 1.5rem auto; padding: 1.5rem 1rem; border: 1px solid #bdcfdd; border-top: 4px solid #008ddd; border-radius: 3px; background: #eef6fb; color: #172f47; }
.orm-summary .orm-result-label { margin: 0; font-size: 1.1em; font-weight: bold; }
/* The shared result sheet sets paragraph sizes with !important. */
#test .orm-summary .orm-result-value { margin: .3rem 0; font-size: clamp(2.8rem, 9vw, 4rem) !important; font-weight: bold; line-height: 1.25; font-variant-numeric: tabular-nums; }
#test .orm-summary .orm-result-value span { font-size: .5em; font-weight: normal; }
.orm-summary .orm-conversion { margin: 0; }
.orm-table-wrap { max-width: 40rem; margin: 1rem auto 1.5rem; color: #172f47; }
.orm-loads { width: 100%; border-collapse: collapse; border-top: 3px solid #008ddd; font-variant-numeric: tabular-nums; }
.orm-loads caption { padding: 0 0 .75rem; color: #172f47; font-weight: bold; text-align: left; }
.orm-loads th, .orm-loads td { padding: .65rem .8rem; border: 1px solid #d6e1e9; text-align: right; }
.orm-loads th:first-child { text-align: left; }
.orm-loads thead th { background: #dceefa; color: #172f47; }
.orm-loads tbody tr:nth-child(odd) { background: #fff; }
.orm-loads tbody tr:nth-child(even) { background: #f3f8fc; }
.orm-loads tbody tr:last-child { font-weight: bold; }
.orm-table-wrap .orm-table-note { margin-top: .65rem; font-size: .9em; line-height: 1.5; }
@media (max-width: 400px) { .orm-loads th, .orm-loads td { padding: .6rem .45rem; } }
.orm-qcont > .progress { display: none; }
/* dark mode (the site's toggle): the summary box and the error follow the page; the table sits in the light result panel */
html.supports-dark-mode.theme-dark .orm-calculator .calculator-error { color: #ff9b9b; }
html.supports-dark-mode.theme-dark .orm-calculator [aria-invalid="true"] { border-color: #ff9b9b; }
html.supports-dark-mode.theme-dark .orm-summary { background: #333; border-color: #555; border-top-color: #2489c5; color: #eee; }
/* the site's face (a bare table falls back to Arial) */
.orm-loads, .orm-loads :is(caption, th, td) { font-family: "Open Sans", sans-serif; }
/* on the dark page the table takes the result panel's blue instead of white rows */
html.supports-dark-mode.theme-dark .orm-loads thead th { background: #9fcbe8; }
html.supports-dark-mode.theme-dark .orm-loads tbody tr:nth-child(odd) { background: transparent; }
html.supports-dark-mode.theme-dark .orm-loads tbody tr:nth-child(even) { background: rgba(159, 203, 232, .35); }
html.supports-dark-mode.theme-dark .orm-loads :is(th, td) { border-color: #9fbfd6; }
.orm-calculator :is(label, legend) { font-family: "Open Sans", sans-serif; }
