.uhgm-pontons-calc {
  --uhgm-pontons-surface: #f7fafc;
  --uhgm-pontons-card: #fff;
  --uhgm-pontons-card-muted: #eef5f7;
  --uhgm-pontons-border: #d6e2ea;
  --uhgm-pontons-border-strong: #b8cbd8;
  --uhgm-pontons-text: #17212b;
  --uhgm-pontons-muted: #61717d;
  --uhgm-pontons-accent: #2d7563;
  --uhgm-pontons-accent-soft: #e4f3ed;
  --uhgm-pontons-warning: #a66d00;
  --uhgm-pontons-warning-soft: #fff7df;
  --uhgm-pontons-error: #b43d3d;
  --uhgm-pontons-error-soft: #fff0f0;
  --uhgm-pontons-success: #28704d;
  --uhgm-pontons-success-soft: #e6f4eb;

  box-sizing: border-box;
  display: block;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  margin-top: 18rem;
  padding: 14rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 8rem;
  color: var(--uhgm-pontons-text);
  background: var(--uhgm-pontons-surface);
  box-shadow: 0 8rem 26rem rgba(22, 43, 58, 0.08);
  font-family: inherit;
  overflow: hidden;
}

.uhgm-pontons-calc *,
.uhgm-pontons-calc *::before,
.uhgm-pontons-calc *::after {
  box-sizing: inherit;
}

.uhgm-pontons-deck-load-selector {
  box-sizing: border-box;
  display: grid;
  gap: 6rem;
  width: 100%;
  max-width: 100%;
  margin: 8rem 0 10rem;
  padding: 8rem 10rem 10rem;
  border: 1rem solid #cfe0ed;
  border-radius: 8rem;
  color: #17212b;
  background: #f7fafc;
  font-family: inherit;
}

.uhgm-pontons-deck-load-selector[hidden] {
  display: none;
}

.uhgm-pontons-deck-load-selector *,
.uhgm-pontons-deck-load-selector *::before,
.uhgm-pontons-deck-load-selector *::after {
  box-sizing: inherit;
}

.uhgm-pontons-deck-load-selector__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22rem;
  padding: 2rem 10rem 3rem;
  border: 1rem solid #b9cdf8;
  border-radius: 8rem;
  color: #245eed;
  background: #fff;
  font-size: 15rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0;
  min-width: 0;
}

.uhgm-pontons-deck-load-selector__title {
  min-width: 0;
  color: #17212b;
  font-size: 12rem;
  font-weight: 850;
  line-height: 1.2;
}

.uhgm-pontons-deck-load-selector__value {
  flex: 0 0 auto;
  color: #2d7563;
  font-size: 12rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.uhgm-pontons-deck-load-selector__buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6rem;
}

.uhgm-pontons-deck-load-selector__button {
  min-width: 0;
  min-height: 34rem;
  padding: 6rem 5rem;
  border: 1rem solid #b9cdf8;
  border-radius: 8rem;
  color: #3562e7;
  background: #fff;
  font: inherit;
  font-size: 11rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
}

.uhgm-pontons-deck-load-selector__button:hover {
  border-color: #3562e7;
  background: #eef5ff;
}

.uhgm-pontons-deck-load-selector__button:focus-visible {
  outline: 2rem solid #3562e7;
  outline-offset: 2rem;
}

.uhgm-pontons-deck-load-selector__button.is-active {
  border-color: #2d7563;
  color: #2d7563;
  background: #e4f3ed;
  box-shadow: inset 0 0 0 1rem rgba(45, 117, 99, 0.18);
}

.uhgm-pontons-deck-load-selector__button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.uhgm-pontons-calc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10rem;
  margin-bottom: 12rem;
}

.uhgm-pontons-calc__head > div {
  min-width: 0;
}

.uhgm-pontons-calc__eyebrow {
  margin: 0 0 3rem;
  color: var(--uhgm-pontons-accent);
  font-size: 10rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uhgm-pontons-calc__title {
  margin: 0;
  color: var(--uhgm-pontons-text);
  font-size: 17rem;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__status {
  flex: 0 0 auto;
  max-width: 46%;
  min-height: 24rem;
  padding: 5rem 8rem;
  border: 1rem solid rgba(40, 112, 77, 0.16);
  border-radius: 7rem;
  color: var(--uhgm-pontons-success);
  background: var(--uhgm-pontons-success-soft);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__status--success,
.uhgm-pontons-calc.is-success .uhgm-pontons-calc__status {
  border-color: rgba(40, 112, 77, 0.18);
  color: var(--uhgm-pontons-success);
  background: var(--uhgm-pontons-success-soft);
}

.uhgm-pontons-calc__status--warning,
.uhgm-pontons-calc.is-warning .uhgm-pontons-calc__status {
  border-color: rgba(166, 109, 0, 0.2);
  color: var(--uhgm-pontons-warning);
  background: var(--uhgm-pontons-warning-soft);
}

.uhgm-pontons-calc__status--error,
.uhgm-pontons-calc.is-error .uhgm-pontons-calc__status {
  border-color: rgba(180, 61, 61, 0.2);
  color: var(--uhgm-pontons-error);
  background: var(--uhgm-pontons-error-soft);
}

.uhgm-pontons-calc__source {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6rem;
  margin: 0 0 10rem;
  padding: 8rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 7rem;
  background: var(--uhgm-pontons-card);
}

.uhgm-pontons-calc__source span,
.uhgm-pontons-calc__source em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__source span {
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.25;
}

.uhgm-pontons-calc__source em {
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-style: normal;
  line-height: 1.25;
}

.uhgm-pontons-calc__source--success {
  border-color: rgba(40, 112, 77, 0.18);
  background: var(--uhgm-pontons-success-soft);
}

.uhgm-pontons-calc__source--warn {
  border-color: rgba(166, 109, 0, 0.2);
  background: var(--uhgm-pontons-warning-soft);
}

.uhgm-pontons-calc__block {
  margin-top: 10rem;
  padding-top: 10rem;
  border-top: 1rem solid var(--uhgm-pontons-border);
}

.uhgm-pontons-calc__block h3 {
  margin: 0 0 8rem;
  color: #263744;
  font-size: 13rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(124rem, 100%), 1fr));
  gap: 8rem;
}

.uhgm-pontons-calc__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(112rem, 100%), 1fr));
  gap: 8rem;
}

.uhgm-pontons-calc__field {
  min-width: 0;
}

.uhgm-pontons-calc__field-label,
.uhgm-pontons-calc__metric-label {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 5rem;
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-weight: 750;
  line-height: 1.2;
}

.uhgm-pontons-calc__field-label {
  margin-bottom: 5rem;
}

.uhgm-pontons-calc__label-text,
.uhgm-pontons-calc__field-label label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__input,
.uhgm-pontons-calc__select {
  width: 100%;
  min-height: 34rem;
  padding: 7rem 8rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 7rem;
  color: var(--uhgm-pontons-text);
  background: var(--uhgm-pontons-card);
  font: inherit;
  font-size: 12rem;
  font-weight: 750;
  line-height: 1.2;
  outline: none;
}

.uhgm-pontons-calc__input {
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__select {
  appearance: auto;
}

.uhgm-pontons-calc__input:focus,
.uhgm-pontons-calc__select:focus {
  border-color: var(--uhgm-pontons-accent);
  box-shadow: 0 0 0 2rem rgba(45, 117, 99, 0.14);
}

.uhgm-pontons-calc__input:disabled,
.uhgm-pontons-calc__select:disabled {
  color: #7c8a94;
  background: var(--uhgm-pontons-card-muted);
  cursor: not-allowed;
}

.uhgm-pontons-calc__input--secondary {
  color: var(--uhgm-pontons-accent);
  background: var(--uhgm-pontons-accent-soft);
}

.uhgm-pontons-calc__input--pdf {
  grid-column: 1 / -1;
  color: #ffffff;
  background: #2f63e8;
  border-color: #2f63e8;
  white-space: normal;
}

.uhgm-pontons-calc__actions--public .uhgm-pontons-calc__input--secondary {
  grid-column: 1 / -1;
}

.uhgm-pontons-calc__tooltip {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.uhgm-pontons-calc__help {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 16rem;
  height: 16rem;
  padding: 0;
  border: 1rem solid rgba(45, 117, 99, 0.2);
  border-radius: 50%;
  color: var(--uhgm-pontons-accent);
  background: var(--uhgm-pontons-accent-soft);
  font: inherit;
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}

.uhgm-pontons-calc__help:focus-visible {
  outline: 2rem solid rgba(45, 117, 99, 0.34);
  outline-offset: 2rem;
}

.uhgm-pontons-calc__help::after {
  position: absolute;
  z-index: 30;
  right: auto;
  left: 0;
  bottom: calc(100% + 7rem);
  content: attr(data-tooltip);
  width: min(220rem, calc(100vw - 32rem));
  max-width: min(220rem, 78vw);
  padding: 8rem 9rem;
  border: 1rem solid var(--uhgm-pontons-border-strong);
  border-radius: 7rem;
  color: var(--uhgm-pontons-text);
  background: #fff;
  box-shadow: 0 10rem 24rem rgba(16, 24, 32, 0.16);
  font-size: 11rem;
  font-weight: 650;
  line-height: 1.35;
  display: none;
  opacity: 0;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
  pointer-events: none;
  transform: translateY(4rem);
  transition: opacity 0.14s ease, transform 0.14s ease;
  visibility: hidden;
}

.uhgm-pontons-calc__help:hover::after,
.uhgm-pontons-calc__help:focus-visible::after,
.uhgm-pontons-calc__tooltip:focus-within .uhgm-pontons-calc__help::after {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.uhgm-pontons-calc__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(118rem, 100%), 1fr));
  gap: 8rem;
}

.uhgm-pontons-calc__metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 58rem;
  padding: 9rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 7rem;
  background: var(--uhgm-pontons-card);
  gap: 5rem;
}

.uhgm-pontons-calc__metric span {
  display: block;
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__metric-label {
  margin-bottom: 4rem;
}

.uhgm-pontons-calc__metric-label .uhgm-pontons-calc__help::after {
  right: auto;
  left: 0;
}

.uhgm-pontons-calc__field:nth-child(2n + 1) .uhgm-pontons-calc__help::after,
.uhgm-pontons-calc__metric:nth-child(2n + 1) .uhgm-pontons-calc__help::after,
.uhgm-pontons-calc__report-metric:nth-child(2n + 1) .uhgm-pontons-calc__help::after {
  right: auto;
  left: 0;
}

.uhgm-pontons-calc__field:nth-child(2n) .uhgm-pontons-calc__help::after,
.uhgm-pontons-calc__metric:nth-child(2n) .uhgm-pontons-calc__help::after,
.uhgm-pontons-calc__report-metric:nth-child(2n) .uhgm-pontons-calc__help::after {
  right: 0;
  left: auto;
}

.uhgm-pontons-calc__metric strong {
  display: block;
  color: var(--uhgm-pontons-text);
  font-size: 14rem;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__metric--success {
  border-color: rgba(40, 112, 77, 0.22);
  background: var(--uhgm-pontons-success-soft);
}

.uhgm-pontons-calc__metric--warn {
  border-color: rgba(166, 109, 0, 0.26);
  background: var(--uhgm-pontons-warning-soft);
}

.uhgm-pontons-calc__metric--danger {
  border-color: rgba(180, 61, 61, 0.24);
  background: var(--uhgm-pontons-error-soft);
}

.uhgm-pontons-calc__delivery-breakdown {
  margin-top: 9rem;
  padding: 9rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 7rem;
  background: var(--uhgm-pontons-card);
}

.uhgm-pontons-calc__delivery-breakdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 8rem;
  margin-bottom: 7rem;
  color: var(--uhgm-pontons-muted);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
}

.uhgm-pontons-calc__delivery-breakdown-head > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5rem;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__delivery-breakdown-head strong {
  flex: 0 0 auto;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 900;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__delivery-breakdown-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 6rem;
  list-style: none;
}

.uhgm-pontons-calc__delivery-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 40rem;
  padding: 7rem 8rem;
  border: 1rem solid rgba(42, 74, 98, 0.14);
  border-radius: 6rem;
  background: rgba(255, 255, 255, 0.62);
  gap: 3rem 8rem;
}

.uhgm-pontons-calc__delivery-breakdown-row span {
  min-width: 0;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__delivery-breakdown-row strong {
  color: var(--uhgm-pontons-text);
  font-size: 12rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__delivery-breakdown-row em {
  grid-column: 1 / -1;
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__delivery-row-toggle {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 26rem;
  padding: 4rem 7rem;
  border: 1rem solid rgba(68, 105, 225, 0.22);
  border-radius: 6rem;
  color: var(--uhgm-pontons-blue);
  background: rgba(235, 242, 255, 0.84);
  font: inherit;
  font-size: 10rem;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.uhgm-pontons-calc__delivery-row-toggle:hover,
.uhgm-pontons-calc__delivery-row-toggle:focus-visible {
  border-color: rgba(68, 105, 225, 0.42);
  background: rgba(226, 236, 255, 0.96);
}

.uhgm-pontons-calc__price-summary,
.uhgm-pontons-calc__by-request {
  margin-top: 9rem;
  padding: 9rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 7rem;
  background: var(--uhgm-pontons-card);
}

.uhgm-pontons-calc__price-summary[data-price-summary-state="partial"] {
  border-color: rgba(166, 109, 0, 0.28);
  background: var(--uhgm-pontons-warning-soft);
}

.uhgm-pontons-calc__price-summary-head,
.uhgm-pontons-calc__by-request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 8rem;
  margin-bottom: 7rem;
  color: var(--uhgm-pontons-muted);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
}

.uhgm-pontons-calc__price-summary-head strong,
.uhgm-pontons-calc__by-request-head strong {
  flex: 0 0 auto;
  color: var(--uhgm-pontons-text);
  font-size: 12rem;
  font-weight: 900;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__price-summary-note {
  margin: 0 0 7rem;
  color: var(--uhgm-pontons-warning);
  font-size: 11rem;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__price-summary-list,
.uhgm-pontons-calc__by-request-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 6rem;
  list-style: none;
}

.uhgm-pontons-calc__price-summary-row,
.uhgm-pontons-calc__by-request-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 40rem;
  padding: 7rem 8rem;
  border: 1rem solid rgba(42, 74, 98, 0.14);
  border-radius: 6rem;
  background: rgba(255, 255, 255, 0.7);
  gap: 3rem 8rem;
}

.uhgm-pontons-calc__price-summary-row span,
.uhgm-pontons-calc__by-request-row span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5rem;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__price-summary-row mark {
  flex: 0 0 auto;
  padding: 2rem 5rem;
  border-radius: 5rem;
  color: var(--uhgm-pontons-warning);
  background: rgba(166, 109, 0, 0.12);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1.1;
}

.uhgm-pontons-calc__price-summary-row strong,
.uhgm-pontons-calc__by-request-row strong {
  color: var(--uhgm-pontons-text);
  font-size: 12rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__by-request-row strong {
  color: var(--uhgm-pontons-warning);
}

.uhgm-pontons-calc__price-summary-row em,
.uhgm-pontons-calc__by-request-row em {
  grid-column: 1 / -1;
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__request-status {
  margin-top: 8rem;
  padding: 8rem 9rem;
  border: 1rem solid rgba(42, 74, 98, 0.14);
  border-left: 3rem solid rgba(42, 74, 98, 0.32);
  border-radius: 7rem;
  color: var(--uhgm-pontons-muted);
  background: var(--uhgm-pontons-card);
  font-size: 10rem;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__request-status[data-request-state="disabled"] {
  border-left-color: rgba(166, 109, 0, 0.5);
  color: var(--uhgm-pontons-warning);
  background: var(--uhgm-pontons-warning-soft);
}

.uhgm-pontons-calc__request-status[data-request-state="submitting"] {
  border-left-color: rgba(45, 117, 99, 0.5);
  color: var(--uhgm-pontons-accent);
  background: var(--uhgm-pontons-accent-soft);
}

.uhgm-pontons-calc__request-status[data-request-state="submitted"] {
  border-left-color: rgba(40, 112, 77, 0.5);
  color: var(--uhgm-pontons-success);
  background: var(--uhgm-pontons-success-soft);
}

.uhgm-pontons-calc__request-status[data-request-state="failed"] {
  border-left-color: rgba(180, 61, 61, 0.5);
  color: var(--uhgm-pontons-error);
  background: var(--uhgm-pontons-error-soft);
}

.uhgm-pontons-calc__block--report {
  padding-top: 8rem;
}

.uhgm-pontons-calc__report-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 52rem;
  padding: 9rem 10rem;
  border: 1rem solid var(--uhgm-pontons-border-strong);
  border-radius: 7rem;
  color: var(--uhgm-pontons-text);
  background: linear-gradient(180deg, #ffffff 0%, #eef5f7 100%);
  cursor: pointer;
  font: inherit;
  gap: 8rem;
  text-align: left;
}

.uhgm-pontons-calc__report-toggle:hover,
.uhgm-pontons-calc__report-toggle:focus-visible {
  border-color: rgba(45, 117, 99, 0.46);
  outline: none;
  box-shadow: 0 0 0 3rem rgba(45, 117, 99, 0.14);
}

.uhgm-pontons-calc__report-toggle > span {
  display: grid;
  min-width: 0;
  gap: 3rem;
}

.uhgm-pontons-calc__report-toggle > span > span {
  color: var(--uhgm-pontons-text);
  font-size: 13rem;
  font-weight: 900;
  line-height: 1.1;
}

.uhgm-pontons-calc__report-toggle em {
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__report-toggle strong {
  min-width: 0;
  color: var(--uhgm-pontons-warning);
  font-size: 11rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__block--report[data-pontons-report-state="expanded"] .uhgm-pontons-calc__report-toggle {
  border-color: rgba(45, 117, 99, 0.38);
  background: var(--uhgm-pontons-accent-soft);
}

.uhgm-pontons-calc__block--report[data-pontons-report-state="expanded"] .uhgm-pontons-calc__report-toggle strong {
  color: var(--uhgm-pontons-accent);
}

.uhgm-pontons-calc__report-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8rem;
  margin-top: 8rem;
}

.uhgm-pontons-calc__report-body[hidden] {
  display: none;
}

.uhgm-pontons-calc__report-section {
  min-width: 0;
  padding: 9rem;
  border: 1rem solid rgba(42, 74, 98, 0.14);
  border-radius: 7rem;
  background: var(--uhgm-pontons-card);
}

.uhgm-pontons-calc__report-section h4 {
  margin: 0 0 7rem;
  color: #263744;
  font-size: 12rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__report-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(118rem, 100%), 1fr));
  gap: 6rem;
  min-width: 0;
}

.uhgm-pontons-calc__report-metric {
  display: grid;
  min-width: 0;
  min-height: 40rem;
  padding: 7rem 8rem;
  border: 1rem solid rgba(42, 74, 98, 0.12);
  border-radius: 6rem;
  background: rgba(247, 250, 252, 0.82);
  gap: 3rem;
}

.uhgm-pontons-calc__report-metric span {
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-weight: 750;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__report-metric strong {
  color: var(--uhgm-pontons-text);
  font-size: 12rem;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__report-metric--warn strong {
  color: var(--uhgm-pontons-warning);
}

.uhgm-pontons-calc__report-metric--danger strong {
  color: var(--uhgm-pontons-error);
}

.uhgm-pontons-calc__report-metric--success strong {
  color: var(--uhgm-pontons-success);
}

.uhgm-pontons-calc__report-list {
  display: grid;
  gap: 5rem;
  margin: 8rem 0 0;
  padding: 0;
  list-style: none;
}

.uhgm-pontons-calc__report-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 36rem;
  padding: 6rem 7rem;
  border-radius: 6rem;
  background: rgba(238, 245, 247, 0.72);
  gap: 2rem 8rem;
}

.uhgm-pontons-calc__report-list-row span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5rem;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__report-list-row strong {
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__report-list-row em {
  grid-column: 1 / -1;
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__report-list-row mark {
  flex: 0 0 auto;
  padding: 2rem 5rem;
  border-radius: 5rem;
  color: var(--uhgm-pontons-warning);
  background: rgba(166, 109, 0, 0.12);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1.1;
}

.uhgm-pontons-calc__report-list-row--muted span,
.uhgm-pontons-calc__report-list-row--muted strong {
  color: var(--uhgm-pontons-muted);
}

.uhgm-pontons-calc__report-list-row--action {
  padding: 0;
}

.uhgm-pontons-calc__report-list-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 36rem;
  padding: 6rem 7rem;
  border: 0;
  border-radius: 6rem;
  color: inherit;
  background: transparent;
  cursor: pointer;
  gap: 2rem 8rem;
  font: inherit;
  text-align: left;
}

.uhgm-pontons-calc__report-list-toggle:hover,
.uhgm-pontons-calc__report-list-toggle:focus-visible {
  background: rgba(67, 101, 232, 0.08);
  outline: none;
}

.uhgm-pontons-calc__report-list-toggle--inline {
  grid-column: 1 / -1;
  justify-self: start;
  width: auto;
  min-height: 26rem;
  padding: 4rem 7rem;
  border: 1rem solid rgba(68, 105, 225, 0.22);
  background: rgba(235, 242, 255, 0.84);
  color: var(--uhgm-pontons-blue);
  font-size: 10rem;
  font-weight: 850;
  line-height: 1.2;
}

.uhgm-pontons-calc__report-empty {
  margin: 8rem 0 0;
  color: var(--uhgm-pontons-muted);
  font-size: 11rem;
  font-weight: 700;
  line-height: 1.3;
}

.uhgm-pontons-calc__report-warnings {
  display: grid;
  gap: 5rem;
  margin: 8rem 0 0;
  padding: 0;
  list-style: none;
}

.uhgm-pontons-calc__report-warning {
  padding: 7rem 8rem;
  border: 1rem solid rgba(166, 109, 0, 0.2);
  border-left: 3rem solid rgba(166, 109, 0, 0.5);
  border-radius: 6rem;
  color: #3d4a54;
  background: var(--uhgm-pontons-warning-soft);
  font-size: 10rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__dimensions-2d {
  margin-top: 9rem;
  padding: 9rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 7rem;
  background: var(--uhgm-pontons-card);
}

.uhgm-pontons-calc__dimensions-2d.is-success {
  border-color: rgba(40, 112, 77, 0.2);
}

.uhgm-pontons-calc__dimensions-2d.is-warning {
  border-color: rgba(166, 109, 0, 0.28);
  background: var(--uhgm-pontons-warning-soft);
}

.uhgm-pontons-calc__dimensions-2d.is-error {
  border-color: rgba(180, 61, 61, 0.3);
  background: var(--uhgm-pontons-error-soft);
}

.uhgm-pontons-calc__dimensions-2d-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
  margin-bottom: 8rem;
  color: var(--uhgm-pontons-muted);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
}

.uhgm-pontons-calc__dimensions-2d-head > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5rem;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__dimensions-2d-head strong {
  flex: 0 0 auto;
  color: var(--uhgm-pontons-success);
  font-size: 11rem;
  font-weight: 900;
  text-align: right;
}

.uhgm-pontons-calc__dimensions-2d.is-warning .uhgm-pontons-calc__dimensions-2d-head strong {
  color: var(--uhgm-pontons-warning);
}

.uhgm-pontons-calc__dimensions-2d.is-error .uhgm-pontons-calc__dimensions-2d-head strong {
  color: var(--uhgm-pontons-error);
}

.uhgm-pontons-calc__dimensions-2d-body {
  display: grid;
  grid-template-columns: minmax(104rem, 0.9fr) minmax(0, 1.1fr);
  gap: 9rem;
  align-items: stretch;
}

.uhgm-pontons-calc__dimensions-2d-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28rem;
  min-height: 134rem;
  gap: 8rem;
}

.uhgm-pontons-calc__dimensions-2d-footprint {
  position: relative;
  min-width: 0;
  min-height: 126rem;
  border: 1rem solid rgba(42, 74, 98, 0.42);
  border-radius: 6rem;
  background:
    linear-gradient(90deg, rgba(42, 74, 98, 0.08) 1rem, transparent 1rem),
    linear-gradient(0deg, rgba(42, 74, 98, 0.08) 1rem, transparent 1rem),
    rgba(255, 255, 255, 0.72);
  background-size: 18rem 18rem;
}

.uhgm-pontons-calc__dimensions-2d-line {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.uhgm-pontons-calc__dimensions-2d-line::before,
.uhgm-pontons-calc__dimensions-2d-line::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  min-width: 8rem;
  border-top: 1rem solid currentColor;
}

.uhgm-pontons-calc__dimensions-2d-line--length {
  top: 8rem;
  bottom: 8rem;
  left: 8rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  gap: 5rem;
}

.uhgm-pontons-calc__dimensions-2d-line--width {
  right: 8rem;
  bottom: 8rem;
  left: 8rem;
  gap: 5rem;
}

.uhgm-pontons-calc__dimensions-2d-line--length::before,
.uhgm-pontons-calc__dimensions-2d-line--length::after {
  min-width: 0;
  min-height: 8rem;
  border-top: 0;
  border-left: 1rem solid currentColor;
}

.uhgm-pontons-calc__dimensions-2d-height {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border-left: 2rem solid rgba(42, 74, 98, 0.45);
}

.uhgm-pontons-calc__dimensions-2d-height span {
  display: block;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-90deg);
  white-space: nowrap;
}

.uhgm-pontons-calc__dimensions-2d-values {
  min-width: 0;
}

.uhgm-pontons-calc__dimensions-2d-values .uhgm-pontons-calc__metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uhgm-pontons-calc__dimensions-2d-warnings {
  display: grid;
  margin: 8rem 0 0;
  padding: 0;
  gap: 5rem;
  list-style: none;
}

.uhgm-pontons-calc__dimensions-2d-warnings li {
  padding: 7rem 8rem;
  border: 1rem solid rgba(166, 109, 0, 0.2);
  border-radius: 6rem;
  color: var(--uhgm-pontons-warning);
  background: rgba(255, 255, 255, 0.64);
  font-size: 11rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__segments-2d {
  margin-top: 9rem;
  padding-top: 9rem;
  border-top: 1rem solid rgba(42, 74, 98, 0.12);
}

.uhgm-pontons-calc__segments-2d-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
  margin-bottom: 7rem;
  color: var(--uhgm-pontons-muted);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
}

.uhgm-pontons-calc__segments-2d-head > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5rem;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__segments-2d-head strong {
  flex: 0 0 auto;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__segments-2d-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 6rem;
  list-style: none;
}

.uhgm-pontons-calc__segments-2d-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 40rem;
  padding: 7rem 8rem;
  border: 1rem solid rgba(42, 74, 98, 0.14);
  border-radius: 6rem;
  background: rgba(255, 255, 255, 0.62);
  gap: 3rem 8rem;
}

.uhgm-pontons-calc__segments-2d-item span {
  min-width: 0;
  color: var(--uhgm-pontons-text);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__segments-2d-item strong {
  color: var(--uhgm-pontons-text);
  font-size: 12rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.uhgm-pontons-calc__segments-2d-item em {
  grid-column: 1 / -1;
  color: var(--uhgm-pontons-muted);
  font-size: 10rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.uhgm-pontons-calc__segments-2d p {
  margin: 7rem 0 0;
  color: var(--uhgm-pontons-warning);
  font-size: 11rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__load-line {
  margin-top: 9rem;
  padding: 9rem;
  border: 1rem solid var(--uhgm-pontons-border);
  border-radius: 7rem;
  background: var(--uhgm-pontons-card);
}

.uhgm-pontons-calc__load-line.is-success {
  border-color: rgba(40, 112, 77, 0.2);
}

.uhgm-pontons-calc__load-line.is-warning {
  border-color: rgba(166, 109, 0, 0.28);
  background: var(--uhgm-pontons-warning-soft);
}

.uhgm-pontons-calc__load-line.is-error {
  border-color: rgba(180, 61, 61, 0.3);
  background: var(--uhgm-pontons-error-soft);
}

.uhgm-pontons-calc__load-line-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
  margin-bottom: 8rem;
  color: var(--uhgm-pontons-muted);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1.2;
}

.uhgm-pontons-calc__load-line-head > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5rem;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__load-line-head strong {
  flex: 0 0 auto;
  color: var(--uhgm-pontons-success);
  font-size: 11rem;
  font-weight: 900;
  text-align: right;
}

.uhgm-pontons-calc__load-line.is-warning .uhgm-pontons-calc__load-line-head strong {
  color: var(--uhgm-pontons-warning);
}

.uhgm-pontons-calc__load-line.is-error .uhgm-pontons-calc__load-line-head strong {
  color: var(--uhgm-pontons-error);
}

.uhgm-pontons-calc__load-line-body {
  display: grid;
  grid-template-columns: 92rem minmax(0, 1fr);
  gap: 9rem;
  align-items: stretch;
}

.uhgm-pontons-calc__load-line-scale {
  position: relative;
  width: 92rem;
  min-height: 164rem;
  overflow: hidden;
  border: 1rem solid rgba(28, 79, 116, 0.2);
  border-radius: 8rem;
  background:
    linear-gradient(90deg, transparent 45rem, rgba(28, 79, 116, 0.1) 45rem, rgba(28, 79, 116, 0.1) 46rem, transparent 46rem),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fb 100%);
}

.uhgm-pontons-calc__load-line-hull {
  position: absolute;
  top: 8rem;
  bottom: 8rem;
  left: 11rem;
  width: 30rem;
  overflow: hidden;
  border: 1rem solid rgba(28, 79, 116, 0.26);
  border-radius: 7rem;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(28, 79, 116, 0.07) 0,
      rgba(28, 79, 116, 0.07) 1rem,
      transparent 1rem,
      transparent 12rem
    ),
    linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
  box-shadow: inset 0 0 0 1rem rgba(255, 255, 255, 0.55);
}

.uhgm-pontons-calc__load-line-water {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 2rem;
  background:
    linear-gradient(180deg, rgba(89, 166, 199, 0.34) 0%, rgba(39, 124, 147, 0.52) 45%, rgba(30, 108, 93, 0.72) 100%);
}

.uhgm-pontons-calc__load-line-reserve-band {
  position: absolute;
  right: 47rem;
  left: 11rem;
  border-top: 1rem solid rgba(31, 148, 86, 0.42);
  border-bottom: 1rem solid rgba(31, 148, 86, 0.22);
  background:
    linear-gradient(180deg, rgba(42, 179, 103, 0.2) 0%, rgba(42, 179, 103, 0.08) 100%);
}

.uhgm-pontons-calc__load-line-waterline,
.uhgm-pontons-calc__load-line-min {
  position: absolute;
  right: 43rem;
  left: 7rem;
  z-index: 3;
  height: 2rem;
  border-radius: 999rem;
  transform: translateY(1rem);
}

.uhgm-pontons-calc__load-line-waterline {
  background: #1264a3;
  box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0.72);
}

.uhgm-pontons-calc__load-line-freeboard {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.5);
}

.uhgm-pontons-calc__load-line-min {
  background: #d73838;
  box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0.8), 0 0 0 2rem rgba(215, 56, 56, 0.12);
}

.uhgm-pontons-calc__load-line-tag {
  position: absolute;
  left: 49rem;
  z-index: 4;
  max-width: 39rem;
  padding: 2rem 4rem;
  border: 1rem solid rgba(28, 79, 116, 0.14);
  border-radius: 999rem;
  background: rgba(255, 255, 255, 0.88);
  color: #183348;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  transform: translateY(50%);
}

.uhgm-pontons-calc__load-line-tag--draft {
  color: #1264a3;
}

.uhgm-pontons-calc__load-line-tag--min {
  color: #b72222;
}

.uhgm-pontons-calc__load-line-tag--reserve {
  display: grid;
  place-items: center;
  border-color: rgba(31, 148, 86, 0.2);
  color: var(--uhgm-pontons-success);
  background: rgba(235, 249, 241, 0.9);
}

.uhgm-pontons-calc__load-line.is-error .uhgm-pontons-calc__load-line-water {
  background: linear-gradient(180deg, rgba(219, 90, 90, 0.72) 0%, rgba(180, 61, 61, 0.92) 100%);
}

.uhgm-pontons-calc__load-line.is-error .uhgm-pontons-calc__load-line-reserve-band {
  border-color: rgba(180, 61, 61, 0.32);
  background: rgba(180, 61, 61, 0.12);
}

.uhgm-pontons-calc__load-line-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(92rem, 100%), 1fr));
  gap: 7rem;
  min-width: 0;
}

.uhgm-pontons-calc__load-line-legend .uhgm-pontons-calc__metric {
  min-height: 52rem;
  padding: 8rem;
}

.uhgm-pontons-calc__load-line-legend .uhgm-pontons-calc__metric strong {
  font-size: 13rem;
}

.uhgm-pontons-calc__block--warnings ul {
  display: grid;
  gap: 6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uhgm-pontons-calc__block--warnings li {
  position: relative;
  padding: 8rem 9rem;
  border: 1rem solid rgba(166, 109, 0, 0.18);
  border-left: 3rem solid rgba(166, 109, 0, 0.46);
  border-radius: 7rem;
  color: #3d4a54;
  background: var(--uhgm-pontons-card);
  font-size: 11rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.uhgm-pontons-calc__warning--success,
.uhgm-pontons-calc__block--warnings li.is-success {
  border-color: rgba(40, 112, 77, 0.18);
  border-left-color: rgba(40, 112, 77, 0.48);
  background: var(--uhgm-pontons-success-soft);
}

.uhgm-pontons-calc__warning--error,
.uhgm-pontons-calc__block--warnings li.is-error {
  border-color: rgba(180, 61, 61, 0.18);
  border-left-color: rgba(180, 61, 61, 0.48);
  background: var(--uhgm-pontons-error-soft);
}

@media (max-width: 1180px) {
  .uhgm-pontons-calc {
    padding: 12rem;
  }

  .uhgm-pontons-calc__head {
    gap: 8rem;
  }
}

@media (max-width: 760px) {
  .uhgm-pontons-deck-load-selector__head {
    display: grid;
    gap: 4rem;
  }

  .uhgm-pontons-deck-load-selector__buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uhgm-pontons-deck-load-selector__button {
    min-height: 32rem;
    font-size: 12rem;
  }

  .uhgm-pontons-calc {
    margin-top: 14rem;
  }

  .uhgm-pontons-calc__head {
    display: grid;
  }

  .uhgm-pontons-calc__status {
    justify-self: start;
    max-width: 100%;
  }

  .uhgm-pontons-calc__metrics {
    grid-template-columns: 1fr;
  }

  .uhgm-pontons-calc__fields {
    grid-template-columns: 1fr;
  }

  .uhgm-pontons-calc__actions {
    grid-template-columns: 1fr;
  }

  .uhgm-pontons-calc__report-toggle {
    grid-template-columns: 1fr;
  }

  .uhgm-pontons-calc__report-toggle strong {
    text-align: left;
  }

  .uhgm-pontons-calc__report-metrics {
    grid-template-columns: 1fr;
  }

  .uhgm-pontons-calc__load-line-body {
    grid-template-columns: 82rem minmax(0, 1fr);
    gap: 8rem;
  }

  .uhgm-pontons-calc__load-line-scale {
    width: 82rem;
    min-height: 148rem;
  }

  .uhgm-pontons-calc__load-line-tag {
    left: 45rem;
    max-width: 34rem;
    font-size: 7rem;
  }

  .uhgm-pontons-calc__load-line-legend {
    grid-template-columns: 1fr;
  }

  .uhgm-pontons-calc__segments-2d-list {
    grid-template-columns: 1fr;
  }

  .uhgm-pontons-calc__help::after {
    right: auto;
    left: 0;
    width: min(210rem, calc(100vw - 28rem));
    max-width: min(210rem, calc(100vw - 28rem));
  }
}
