/* Rheumatology calculator styles extracted from Medicalc final. */
.rheumatology-runtime-shell {
  width: 100%;
}

#rheumatology-calculator-root {
  width: 100%;
}

#rheumatology-calculator-root .calculator-form-card {
  width: 100%;
}

#rheumatology-calculator-root .serum-osm-form {
  display: grid;
  gap: 18px;
}

#rheumatology-calculator-root .unit-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 186px;
  gap: 16px;
  align-items: center;
}

#rheumatology-calculator-root .unit-row label {
  color: #4a1b08;
  font-weight: 800;
}

#rheumatology-calculator-root .unit-row input,
#rheumatology-calculator-root .unit-row select,
#rheumatology-calculator-root .unit-static {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d8a741;
  border-radius: 6px;
  padding: 0 12px;
  background: #fffdf7;
  color: #2b1004;
  font: inherit;
}

#rheumatology-calculator-root .unit-row input.invalid-live {
  border-color: var(--danger);
  color: var(--danger);
  font-weight: 800;
}

#rheumatology-calculator-root .das28-form .unit-row input,
#rheumatology-calculator-root .das28-form .unit-row select {
  min-height: 35px;
}

.unit-row .das28-live-error {
  grid-column: 2 / -1;
}

.das28-form {
  gap: 10px;
  padding-top: 12px;
}

#rheumatology-calculator-root .das28-form .unit-row {
  grid-template-columns: minmax(0, 1fr) 186px;
}

#rheumatology-calculator-root .das28-form .unit-row.unit-row-badge-only {
  grid-template-columns: minmax(0, 1fr);
}

.das28-form .unit-row {
  align-items: start;
  padding: 0 0 10px;
  margin: 0 22px 6px;
  border-bottom: 1px solid rgba(216, 167, 65, 0.34);
}

.das28-form .unit-row label {
  grid-column: 1 / -1;
  padding-top: 4px;
  line-height: 1.35;
}

.das28-form .unit-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3d071;
  color: #660000;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.08em;
}

.unit-static {
  display: flex;
  align-items: center;
  font-weight: 800;
}

.meld-result-summary {
  display: grid;
  gap: 6px;
}

.meld-result-summary strong {
  display: block;
}

.meld-active-row {
  outline: 2px solid #8a1208;
  outline-offset: -2px;
  background: #fff4cc;
  font-weight: 800;
}

.child-pugh-interpretation-table th:nth-child(3),
.child-pugh-interpretation-table td:nth-child(3) {
  padding-left: 34px;
}

.nafld-interpretation-table {
  margin-top: 16px;
}

.nafld-interpretation-table th:nth-child(2),
.nafld-interpretation-table td:nth-child(2) {
  padding-left: 40px;
}

.pregnancy-weight-gain-table th:nth-child(2),
.pregnancy-weight-gain-table td:nth-child(2) {
  padding-left: 28px;
}

.pregnancy-weight-gain-table th:nth-child(3),
.pregnancy-weight-gain-table td:nth-child(3) {
  padding-left: 44px;
}

.roma-interpretation-table {
  width: 100%;
}

.roma-interpretation-table th,
.roma-interpretation-table td {
  text-align: left;
}

.roma-interpretation-table th:nth-child(2),
.roma-interpretation-table td:nth-child(2),
.roma-interpretation-table th:nth-child(3),
.roma-interpretation-table td:nth-child(3) {
  padding-left: 8px;
}

.roma-category-row td {
  padding-top: 12px;
  padding-left: 0;
  font-weight: 800;
  color: #660000;
  border-bottom: 0;
}

.roma-table-spacer td {
  height: 14px;
  padding: 0;
  border-bottom: 0;
}

.whr-interpretation-table {
  width: 100%;
  table-layout: fixed;
}

.whr-interpretation-table th,
.whr-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.whr-interpretation-table th:nth-child(1),
.whr-interpretation-table td:nth-child(1) {
  width: 18%;
}

.whr-interpretation-table th:nth-child(2),
.whr-interpretation-table td:nth-child(2) {
  width: 36%;
  padding-left: 0;
}

.whr-interpretation-table th:nth-child(3),
.whr-interpretation-table td:nth-child(3) {
  width: 46%;
  padding-left: 0;
}

.whtr-interpretation-table {
  width: 100%;
  table-layout: fixed;
}

.whtr-interpretation-table th,
.whtr-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.whtr-interpretation-table th:nth-child(1),
.whtr-interpretation-table td:nth-child(1) {
  width: 35%;
}

.whtr-interpretation-table th:nth-child(2),
.whtr-interpretation-table td:nth-child(2) {
  width: 65%;
}

.nri-interpretation-table {
  width: 100%;
  table-layout: fixed;
}

.nri-interpretation-table th,
.nri-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.nri-interpretation-table th:nth-child(1),
.nri-interpretation-table td:nth-child(1) {
  width: 32%;
}

.nri-interpretation-table th:nth-child(2),
.nri-interpretation-table td:nth-child(2) {
  width: 68%;
  padding-left: 48px;
}

.mets-ir-interpretation-table {
  width: 100%;
  table-layout: fixed;
}

.mets-ir-interpretation-table th,
.mets-ir-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.mets-ir-interpretation-table th:nth-child(1),
.mets-ir-interpretation-table td:nth-child(1) {
  width: 34%;
}

.mets-ir-interpretation-table th:nth-child(2),
.mets-ir-interpretation-table td:nth-child(2) {
  width: 66%;
  padding-left: 52px;
}

.cpeptide-glucose-interpretation-table {
  width: 100%;
  table-layout: fixed;
}

.cpeptide-glucose-interpretation-table th,
.cpeptide-glucose-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.cpeptide-glucose-interpretation-table th:nth-child(1),
.cpeptide-glucose-interpretation-table td:nth-child(1) {
  width: 36%;
}

.cpeptide-glucose-interpretation-table th:nth-child(2),
.cpeptide-glucose-interpretation-table td:nth-child(2) {
  width: 64%;
  padding-left: 42px;
}



.maddrey-interpretation-table {
  margin-top: 16px;
}

.maddrey-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.maddrey-interpretation-table th,
.maddrey-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.maddrey-interpretation-table th:nth-child(1),
.maddrey-interpretation-table td:nth-child(1) {
  width: 170px;
}

.maddrey-interpretation-table th:nth-child(2),
.maddrey-interpretation-table td:nth-child(2) {
  padding-left: 0;
}

.gbs-interpretation-table {
  margin-top: 16px;
}

.gbs-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.gbs-interpretation-table th,
.gbs-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.gbs-interpretation-table th:nth-child(1),
.gbs-interpretation-table td:nth-child(1) {
  width: 120px;
}

.rockall-interpretation-table {
  margin-top: 16px;
}

.rockall-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.rockall-interpretation-table th,
.rockall-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.rockall-interpretation-table th:nth-child(1),
.rockall-interpretation-table td:nth-child(1) {
  width: 120px;
}

.bisap-sirs-note {
  margin: 4px 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.bisap-sirs-note strong {
  display: inline;
}

.bisap-sirs-note ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.bisap-interpretation-table {
  margin-top: 16px;
}

.bisap-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.bisap-interpretation-table th,
.bisap-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.bisap-interpretation-table th:nth-child(1),
.bisap-interpretation-table td:nth-child(1) {
  width: 140px;
}

.calculator-subsection-title {
  margin: 18px 18px 6px;
  color: #660000;
  font-size: 1rem;
  font-weight: 800;
}

.ranson-interpretation-table {
  margin-top: 16px;
}

.ranson-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.ranson-interpretation-table th,
.ranson-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.ranson-interpretation-table th:nth-child(1),
.ranson-interpretation-table td:nth-child(1) {
  width: 150px;
}

.mayo-pga-note {
  margin: 4px 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.mayo-pga-note strong {
  display: inline;
}

.mayo-pga-note ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.mayo-interpretation-table {
  margin-top: 16px;
}

.mayo-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.mayo-interpretation-table th,
.mayo-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.mayo-interpretation-table th:nth-child(1),
.mayo-interpretation-table td:nth-child(1) {
  width: 140px;
}

.hbi-complication-row {
  padding: 6px 0;
}

.hbi-form .unit-row {
  padding: 6px 0;
  border-bottom: 1px solid rgba(102, 0, 0, 0.14);
}

.hbi-form .hbi-complication-row {
  border-bottom-color: rgba(216, 167, 65, 0.38);
}

.hbi-form .unit-row label {
  color: #4a1b08;
  font-size: 0.98rem;
}

.hbi-form .calculator-subsection-title {
  margin-top: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(102, 0, 0, 0.18);
  color: #660000;
}

.hbi-interpretation-table {
  margin-top: 16px;
}

.hbi-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.hbi-interpretation-table th,
.hbi-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.hbi-interpretation-table th:nth-child(1),
.hbi-interpretation-table td:nth-child(1) {
  width: 220px;
}

.das28-joint-note {
  margin: 4px 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.das28-joint-note strong {
  display: inline;
}

.das28-joint-note ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.das28-joint-note p {
  margin: 8px 0 0;
  font-weight: 800;
}

.das28-interpretation-table {
  margin-top: 16px;
}

.das28-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.das28-interpretation-table th,
.das28-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.das28-interpretation-table th:nth-child(1),
.das28-interpretation-table td:nth-child(1) {
  width: 210px;
}

.acr-eular-note {
  margin: 4px 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.acr-eular-note strong {
  display: inline;
}

.acr-eular-note p {
  margin: 8px 0 0;
}

.acr-eular-interpretation-table {
  margin-top: 16px;
}

.acr-eular-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.acr-eular-interpretation-table th,
.acr-eular-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.acr-eular-interpretation-table th:nth-child(1),
.acr-eular-interpretation-table td:nth-child(1) {
  width: 160px;
}

.asdas-question-note {
  margin: 4px 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.asdas-form {
  gap: 10px;
  padding-top: 12px;
}

#rheumatology-calculator-root .asdas-form .unit-row {
  grid-template-columns: minmax(0, 1fr) 186px;
}

#rheumatology-calculator-root .asdas-form .unit-row.unit-row-badge-only {
  grid-template-columns: minmax(0, 1fr);
}

.asdas-form .unit-row {
  align-items: start;
  padding: 0 0 10px;
  margin: 0 22px 6px;
  border-bottom: 1px solid rgba(216, 167, 65, 0.34);
}

.asdas-form .unit-row label {
  grid-column: 1 / -1;
  padding-top: 4px;
  line-height: 1.35;
}

#rheumatology-calculator-root .asdas-form .unit-row input,
#rheumatology-calculator-root .asdas-form .unit-row select {
  min-height: 35px;
}

.asdas-form .unit-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3d071;
  color: #660000;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.08em;
}

.asdas-question-note strong {
  display: inline;
}

.asdas-question-note p {
  margin: 8px 0 0;
}

.asdas-question-note ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.asdas-interpretation-table {
  margin-top: 16px;
}

.asdas-interpretation-table table {
  width: 100%;
  table-layout: fixed;
}

.asdas-interpretation-table th,
.asdas-interpretation-table td {
  text-align: left;
  vertical-align: top;
}

.asdas-interpretation-table th:nth-child(1),
.asdas-interpretation-table td:nth-child(1) {
  width: 170px;
}

.asas-tree-form,
.pmr-form {
  gap: 10px;
  padding-top: 12px;
}

.asas-tree-form .calculator-subsection-title,
.pmr-form .calculator-subsection-title {
  margin-left: 22px;
  margin-right: 22px;
}

.asas-tree-form .unit-row {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 0 10px;
  margin: 0 22px 6px;
  border-bottom: 1px solid rgba(216, 167, 65, 0.28);
}

.asas-tree-form .unit-row label {
  grid-column: 1 / -1;
  padding-top: 4px;
  line-height: 1.35;
}

#rheumatology-calculator-root .asas-tree-form .unit-row select,
#rheumatology-calculator-root .asas-tree-form .unit-row input {
  min-height: 35px;
}

.asas-tree-form .unit-badge,
.pmr-form .unit-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3d071;
  color: #660000;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.08em;
}

.asas-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 4px 22px 0;
}

.asas-entry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asas-feature-option {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 167, 65, 0.68);
  border-radius: 6px;
  background: #fffdf7;
  color: #4a1b08;
  font-weight: 800;
  line-height: 1.2;
}

.asas-feature-option input {
  width: 18px;
  height: 18px;
  accent-color: #8a1208;
}

.asas-tree-note {
  margin: 12px 22px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.asas-tree-note strong {
  display: inline;
}

.asas-tree-note p {
  margin: 8px 0 0;
}

.asas-tree-result-table {
  margin-top: 16px;
}

.asas-tree-result-table table {
  width: 100%;
  table-layout: fixed;
}

.asas-tree-result-table th,
.asas-tree-result-table td {
  text-align: left;
  vertical-align: top;
}

.asas-tree-result-table th:nth-child(1),
.asas-tree-result-table td:nth-child(1) {
  width: 150px;
}

.asas-tree-result-table th:nth-child(3),
.asas-tree-result-table td:nth-child(3) {
  width: 110px;
}

.slicc-form {
  gap: 18px;
}

.slicc-section-note {
  margin: 2px 18px 0;
  color: #660000;
  line-height: 1.45;
}

.slicc-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slicc-criteria-list {
  display: grid;
  gap: 10px;
  margin: 4px 18px 0;
}

.slicc-criterion-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(216, 167, 65, 0.58);
  border-radius: 6px;
  background: #fffdf7;
  color: #4a1b08;
}

.slicc-criterion-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #8a1208;
  flex: 0 0 auto;
}

.slicc-criterion-option strong {
  display: block;
  font-size: 1rem;
}

.slicc-criterion-option small {
  display: block;
  margin-top: 4px;
  color: #6f3a1a;
  line-height: 1.4;
}

.slicc-result-table {
  margin-top: 16px;
}

.slicc-result-table table {
  width: 100%;
  table-layout: fixed;
}

.slicc-result-table th,
.slicc-result-table td {
  text-align: left;
  vertical-align: top;
}

.slicc-result-table th:nth-child(1),
.slicc-result-table td:nth-child(1) {
  width: 190px;
}

.slicc-result-table th:nth-child(3),
.slicc-result-table td:nth-child(3) {
  width: 110px;
}

.pmr-form .unit-row {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 0 10px;
  margin: 0 22px 6px;
  border-bottom: 1px solid rgba(216, 167, 65, 0.28);
}

.pmr-form .unit-row label {
  grid-column: 1 / -1;
  padding-top: 4px;
  line-height: 1.35;
}

#rheumatology-calculator-root .pmr-form .unit-row select,
#rheumatology-calculator-root .pmr-form .unit-row input {
  min-height: 35px;
}

.pmr-note {
  margin: 12px 22px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pmr-note strong {
  display: inline;
}

.pmr-note p {
  margin: 8px 0 0;
}

.pmr-result-table {
  margin-top: 16px;
}

.pmr-result-table table {
  width: 100%;
  table-layout: fixed;
}

.pmr-result-table th,
.pmr-result-table td {
  text-align: left;
  vertical-align: top;
}

.pmr-result-table th:nth-child(1),
.pmr-result-table td:nth-child(1) {
  width: 180px;
}

.pmr-result-table th:nth-child(2),
.pmr-result-table td:nth-child(2),
.pmr-result-table th:nth-child(3),
.pmr-result-table td:nth-child(3),
.pmr-result-table th:nth-child(4),
.pmr-result-table td:nth-child(4) {
  width: 120px;
}

.caspar-form .unit-row {
  align-items: start;
  padding: 0 0 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(216, 167, 65, 0.28);
}

.caspar-form .unit-row label {
  padding-top: 10px;
  line-height: 1.35;
}

.caspar-note {
  margin: 4px 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.caspar-note strong {
  display: inline;
}

.caspar-note p {
  margin: 8px 0 0;
}

.gout-form .unit-row {
  align-items: start;
  padding: 0 0 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(216, 167, 65, 0.28);
}

.gout-form .unit-row label {
  padding-top: 10px;
  line-height: 1.35;
}

.gout-note {
  margin: 16px 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #8a1208;
  background: #fff4cc;
  color: #660000;
  font-size: 0.95rem;
  line-height: 1.45;
}

.gout-note strong {
  display: inline;
}

.gout-note p {
  margin: 8px 0 0;
}

.acute-gout-form .unit-row {
  align-items: start;
  padding: 0 0 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(216, 167, 65, 0.28);
}

.acute-gout-form .unit-row label {
  padding-top: 10px;
  line-height: 1.35;
}

.acute-gout-form .unit-row label small {
  display: block;
  margin-top: 4px;
  color: #6f3a1a;
  font-weight: 500;
}

.acute-gout-result-table {
  margin-top: 16px;
}

.acute-gout-result-table table {
  width: 100%;
  table-layout: fixed;
}

.acute-gout-result-table th,
.acute-gout-result-table td {
  text-align: left;
  vertical-align: top;
}

.acute-gout-result-table th:nth-child(1),
.acute-gout-result-table td:nth-child(1) {
  width: 150px;
}

.fib4-age-separator td {
  padding-top: 18px;
  border-top: 8px solid #fff0bd;
}

.calculator-disclaimer strong {
  display: inline;
}

.meld-disclaimer {
  font-size: 1.05rem;
  line-height: 1.55;
}

.meld-disclaimer strong {
  display: inline;
  font-size: 1.16rem;
}

@media (max-width: 760px) {
  #rheumatology-calculator-root .unit-row,
  #rheumatology-calculator-root .das28-form .unit-row.unit-row-badge-only {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #rheumatology-calculator-root .unit-row label {
    padding-top: 0;
  }

  #rheumatology-calculator-root .unit-row .das28-live-error {
    grid-column: 1;
  }

}
