.ds24-section--custom-code .dsc {
  font-family: var(--ds24-font-family);
  color: var(--ds24-theme-text);
  -webkit-font-smoothing: antialiased;
  padding: var(--ds24-space-10) var(--ds24-section-padding-inline) 0;
}

.ds24-section--custom-code .dsc *, .ds24-section--custom-code .dsc :before, .ds24-section--custom-code .dsc :after {
  box-sizing: border-box;
}

.ds24-section--custom-code :where(.dsc) :where(p, h2, h3, ul, dl, dd) {
  margin: 0;
  padding: 0;
}

.ds24-section--custom-code .dsc-container {
  max-width: 1135px;
  margin-inline: auto;
}

.ds24-section--custom-code .dsc-grid {
  justify-content: space-between;
  gap: var(--ds24-space-9);
  padding-block: var(--ds24-space-8);
  grid-template-columns: minmax(0, 518px) minmax(0, 518px);
  align-items: center;
  display: grid;
}

.ds24-section--custom-code .dsc-inputs {
  gap: var(--ds24-space-5);
  flex-direction: column;
  display: flex;
}

.ds24-section--custom-code .dsc-field {
  min-width: 0;
}

.ds24-section--custom-code .dsc-field:first-child {
  margin-bottom: calc(var(--ds24-space-6) - var(--ds24-space-5));
}

.ds24-section--custom-code .dsc-fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.ds24-section--custom-code .dsc-label {
  margin: 0 0 var(--ds24-space-4);
  font-size: var(--ds24-text-body-3);
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: -.01em;
  color: var(--ds24-theme-text);
  padding: 0;
  line-height: 1.3;
  display: block;
}

.ds24-section--custom-code .dsc-label-sub {
  font-size: var(--ds24-text-body-1);
  color: var(--ds24-theme-text-muted);
  letter-spacing: 0;
}

.ds24-section--custom-code .dsc-label--small {
  font-size: var(--ds24-text-body-1);
  margin-bottom: var(--ds24-space-1);
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-label-note {
  font-size: var(--ds24-text-body-1);
  color: var(--ds24-theme-text-muted);
  font-style: italic;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-label--rate {
  align-items: center;
  gap: var(--ds24-space-2);
  margin-bottom: 0;
  display: flex;
}

.ds24-section--custom-code .dsc-pair {
  gap: var(--ds24-space-6);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  display: grid;
}

.ds24-section--custom-code .dsc-money {
  position: relative;
}

.ds24-section--custom-code .dsc-input {
  width: 100%;
  font: inherit;
  font-size: var(--ds24-text-body-5);
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: -.01em;
  padding: var(--ds24-space-3) 48px var(--ds24-space-3) 14px;
  border: 1px solid var(--ds24-theme-divider);
  border-radius: var(--ds24-radius-ui-md);
  background: var(--ds24-theme-background);
  color: var(--ds24-theme-text);
  outline: none;
  line-height: 1.2;
  transition: border-color .15s, box-shadow .15s;
}

.ds24-section--custom-code .dsc-input--units {
  padding-right: 80px;
}

.ds24-section--custom-code .dsc-input:hover {
  border-color: var(--ds24-theme-border);
}

.ds24-section--custom-code .dsc-input:focus {
  border-color: var(--ds24-color-brand-blue);
  box-shadow: 0 0 0 3px var(--ds24-color-brand-blue-24);
}

.ds24-section--custom-code .dsc-input[aria-invalid="true"] {
  border-color: var(--ds24-theme-error);
}

.ds24-section--custom-code .dsc-unit {
  font-size: var(--ds24-text-body-3);
  color: var(--ds24-theme-text-disabled);
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.ds24-section--custom-code .dsc-chips {
  justify-content: space-between;
  gap: var(--ds24-space-2);
  margin-top: var(--ds24-space-4);
  max-width: calc(50% - var(--ds24-space-6) / 2);
  display: flex;
}

.ds24-section--custom-code .dsc-chip {
  font: inherit;
  font-size: 12px;
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid var(--ds24-theme-border);
  color: var(--ds24-theme-text-muted);
  background: none;
  border-radius: 32px;
  padding: 2px 6px;
  line-height: 1.5;
  transition: border-color .15s, background .15s, color .15s;
}

.ds24-section--custom-code .dsc-chip:hover {
  border-color: var(--ds24-theme-text);
  color: var(--ds24-theme-text);
}

.ds24-section--custom-code .dsc-chip[aria-pressed="true"] {
  color: #fff;
  background: #000;
  border-color: #000;
}

.ds24-section--custom-code .dsc-range {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background: none;
  width: 100%;
  height: 14px;
  margin: 0;
  display: block;
}

.ds24-section--custom-code .dsc-range::-webkit-slider-runnable-track {
  background: linear-gradient(to right, #000 var(--fill, 50%), #00000014 var(--fill, 50%));
  border-radius: 999px;
  height: 5px;
}

.ds24-section--custom-code .dsc-range::-moz-range-track {
  background: #00000014;
  border-radius: 999px;
  height: 5px;
}

.ds24-section--custom-code .dsc-range::-moz-range-progress {
  background: #000;
  border-radius: 999px;
  height: 5px;
}

.ds24-section--custom-code .dsc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #000;
  border: 0;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  margin-top: -4px;
  box-shadow: 0 0 0 4px #00000029, 0 2px 6px #0000003d;
}

.ds24-section--custom-code .dsc-range::-moz-range-thumb {
  background: #000;
  border: 0;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  box-shadow: 0 0 0 4px #00000029, 0 2px 6px #0000003d;
}

.ds24-section--custom-code .dsc-range:focus-visible {
  outline: 2px solid var(--ds24-color-brand-blue);
  outline-offset: 4px;
}

.ds24-section--custom-code .dsc-tiers {
  margin: var(--ds24-space-4) 0 0;
  gap: var(--ds24-space-5);
  padding: 0;
  list-style: none;
  display: flex;
}

.ds24-section--custom-code .dsc-tiers li {
  min-width: 0;
}

.ds24-section--custom-code .dsc-tier {
  width: 56px;
  font: inherit;
  font-size: var(--ds24-text-body-1);
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: -.01em;
  border: 2px solid var(--ds24-theme-border);
  border-radius: var(--ds24-radius-ui-md);
  color: var(--ds24-theme-text);
  cursor: pointer;
  background: none;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  line-height: 1.5;
  transition: background .15s, border-color .15s, color .15s;
  display: flex;
}

.ds24-section--custom-code .dsc-tier:hover {
  border-color: var(--ds24-theme-text);
}

.ds24-section--custom-code .dsc-tier:focus-visible {
  outline: 2px solid var(--ds24-color-brand-blue);
  outline-offset: 2px;
}

.ds24-section--custom-code .dsc-tier-rate {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ds24-section--custom-code .dsc-tier.is-active, .ds24-section--custom-code .dsc-tier.is-active:hover {
  color: #fff;
  background: #000;
  border-color: #000;
}

.ds24-section--custom-code .dsc-tier-note {
  visibility: hidden;
  letter-spacing: .01em;
  color: var(--ds24-theme-text-muted);
  margin-top: var(--ds24-space-2);
  font-size: 10px;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-tipwrap {
  display: inline-flex;
  position: relative;
}

.ds24-section--custom-code .dsc-info {
  width: 18px;
  height: 18px;
  color: var(--ds24-theme-text);
  cursor: help;
  background: none;
  border: 0;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.ds24-section--custom-code .dsc-info svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ds24-section--custom-code .dsc-info:focus-visible {
  outline: 2px solid var(--ds24-color-brand-blue);
  outline-offset: 2px;
}

.ds24-section--custom-code .dsc-tip {
  z-index: 10;
  white-space: normal;
  text-align: left;
  width: 280px;
  max-width: calc(100vw - 32px);
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
}

.ds24-section--custom-code .dsc-tipwrap:hover .dsc-tip, .ds24-section--custom-code .dsc-tipwrap:focus-within .dsc-tip, .ds24-section--custom-code .dsc-tipwrap.is-open .dsc-tip {
  display: block;
}

.ds24-section--custom-code .dsc-field-hint {
  letter-spacing: .01em;
  color: var(--ds24-theme-text-muted);
  margin-bottom: var(--ds24-space-5);
  font-size: 10px;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-mix-rows {
  flex-direction: column;
  display: flex;
}

.ds24-section--custom-code .dsc-mix-row {
  align-items: center;
  gap: 0 var(--ds24-space-5);
  grid-template-columns: 19px 126px minmax(0, 1fr) 63px 17px;
  column-gap: 20px;
  min-height: 41px;
  display: grid;
}

.ds24-section--custom-code .dsc-mix-row > .dsc-mix-dot + .dsc-mix-label {
  margin-left: -6px;
}

.ds24-section--custom-code .dsc-mix-dot {
  border-radius: var(--ds24-radius-ui-sm, 2px);
  width: 19px;
  height: 19px;
}

.ds24-section--custom-code .dsc-mix-label {
  font-size: var(--ds24-text-body-1);
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: -.01em;
  color: var(--ds24-theme-text);
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-mix-label small {
  letter-spacing: .01em;
  color: var(--ds24-theme-text-muted);
  white-space: nowrap;
  margin-top: 2px;
  font-size: 10px;
  font-style: normal;
  line-height: 1.5;
  display: block;
}

.ds24-section--custom-code .dsc-mix-range:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.ds24-section--custom-code .dsc-mix-num {
  border: 1px solid var(--ds24-theme-divider);
  border-radius: var(--ds24-radius-ui-md);
  background: var(--ds24-theme-background);
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 10px;
  display: flex;
}

.ds24-section--custom-code .dsc-mix-num:focus-within {
  border-color: var(--ds24-color-brand-blue);
  box-shadow: 0 0 0 3px var(--ds24-color-brand-blue-24);
}

.ds24-section--custom-code .dsc-mix-input {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: var(--ds24-text-body-1);
  color: var(--ds24-theme-text-muted);
  -moz-appearance: textfield;
  appearance: textfield;
  background: none;
  border: 0;
  outline: none;
  padding: 0;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-mix-input::-webkit-inner-spin-button, .ds24-section--custom-code .dsc-mix-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ds24-section--custom-code .dsc-mix-input:disabled {
  cursor: not-allowed;
}

.ds24-section--custom-code .dsc-mix-pct {
  font-size: var(--ds24-text-body-1);
  color: var(--ds24-theme-text-muted);
}

.ds24-section--custom-code .dsc-mix-lock {
  border-radius: var(--ds24-radius-ui-sm, 2px);
  width: 17px;
  height: 17px;
  color: var(--ds24-theme-text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: color .15s;
  display: inline-flex;
}

.ds24-section--custom-code .dsc-mix-lock svg {
  width: 17px;
  height: 17px;
}

.ds24-section--custom-code .dsc-mix-lock:hover {
  color: var(--ds24-theme-text);
}

.ds24-section--custom-code .dsc-mix-lock:focus-visible {
  outline: 2px solid var(--ds24-color-brand-blue);
  outline-offset: 2px;
}

.ds24-section--custom-code .dsc-mix-lock.is-locked, .ds24-section--custom-code .dsc-mix-row.is-locked .dsc-mix-input {
  color: var(--ds24-theme-text);
}

.ds24-section--custom-code .dsc-method-note {
  margin-top: var(--ds24-space-5);
  letter-spacing: .01em;
  color: var(--ds24-theme-text-muted);
  font-size: 10px;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-method-note strong {
  font-weight: var(--ds24-font-weight-medium);
  color: var(--ds24-theme-text-secondary);
}

.ds24-section--custom-code .dsc-method-note .dsc-note-title {
  font-size: var(--ds24-text-body-1);
  letter-spacing: -.01em;
  color: var(--ds24-theme-text-secondary);
  margin-bottom: var(--ds24-space-1);
  display: block;
}

.ds24-section--custom-code .dsc-switch {
  gap: var(--ds24-space-2);
  cursor: pointer;
  margin-top: calc(var(--ds24-space-4) - var(--ds24-space-5));
  align-items: center;
  display: flex;
  position: relative;
}

.ds24-section--custom-code .dsc-switch input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.ds24-section--custom-code .dsc-switch-track {
  background: var(--ds24-theme-divider);
  border-radius: 999px;
  flex: none;
  width: 28px;
  height: 16px;
  transition: background .15s;
  position: relative;
}

.ds24-section--custom-code .dsc-switch-thumb {
  background: #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  transition: transform .15s;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 2px #0003;
}

.ds24-section--custom-code .dsc-switch input:checked + .dsc-switch-track {
  background: #000;
}

.ds24-section--custom-code .dsc-switch input:checked + .dsc-switch-track .dsc-switch-thumb {
  transform: translateX(12px);
}

.ds24-section--custom-code .dsc-switch input:focus-visible + .dsc-switch-track {
  outline: 2px solid var(--ds24-color-brand-blue);
  outline-offset: 2px;
}

.ds24-section--custom-code .dsc-switch-text {
  gap: var(--ds24-space-1);
  flex-direction: column;
  display: flex;
}

.ds24-section--custom-code .dsc-switch-title {
  letter-spacing: .01em;
  color: var(--ds24-theme-text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-switch-sub {
  letter-spacing: .01em;
  color: var(--ds24-theme-text-muted);
  font-size: 10px;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-switch.is-disabled {
  cursor: not-allowed;
}

.ds24-section--custom-code .dsc-switch.is-disabled .dsc-switch-track {
  opacity: .5;
}

.ds24-section--custom-code .dsc-result {
  color: var(--ds24-theme-text);
  border-radius: var(--ds24-radius-surface-sm);
  border: 1px solid var(--ds24-color-brand-blue);
  align-items: center;
  gap: var(--ds24-space-5);
  box-shadow: 0 16px 48px var(--ds24-theme-shadow, #0000007a);
  background: radial-gradient(60% 45% at 95% 0, #2463eb8c 0%, #2463eb00 70%), radial-gradient(55% 40% at 100% 60%, #2463eb59 0%, #2463eb00 70%), #000;
  flex-direction: column;
  padding: 20px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.ds24-section--custom-code .dsc-result > * {
  align-self: stretch;
  position: relative;
}

.ds24-section--custom-code .dsc-result-kicker {
  font-size: var(--ds24-text-body-4);
  letter-spacing: -.01em;
  line-height: 1.3;
}

.ds24-section--custom-code .dsc-result-big {
  font-size: var(--ds24-text-display-4);
  font-weight: var(--ds24-font-weight-light);
  letter-spacing: -.07em;
  text-shadow: 0 5.67px 136px var(--ds24-color-brand-blue-64);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  line-height: 1;
}

.ds24-section--custom-code .dsc-kpis {
  gap: var(--ds24-space-4);
  display: flex;
}

.ds24-section--custom-code .dsc-kpi {
  gap: var(--ds24-space-3);
  padding: var(--ds24-space-1) 0;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.ds24-section--custom-code .dsc-kpi + .dsc-kpi {
  border-left: 1px solid var(--ds24-theme-border);
  padding-left: var(--ds24-space-4);
}

.ds24-section--custom-code .dsc-kpi-label {
  letter-spacing: .01em;
  color: var(--ds24-theme-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-kpi-value {
  font-size: var(--ds24-text-body-3);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.ds24-section--custom-code .dsc-breakdown-title {
  font-size: var(--ds24-text-body-3);
  letter-spacing: -.01em;
  padding: var(--ds24-space-4) 0;
  border-bottom: 1px solid var(--ds24-theme-divider);
  line-height: 1.3;
}

.ds24-section--custom-code .dsc-lines {
  list-style: none;
}

.ds24-section--custom-code .dsc-line {
  min-height: 67px;
  padding: var(--ds24-space-3) 0;
  border-bottom: 1px solid var(--ds24-theme-divider);
  font-size: var(--ds24-text-body-2);
  letter-spacing: -.01em;
  color: var(--ds24-theme-text-secondary);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
  display: flex;
}

.ds24-section--custom-code .dsc-line:first-child {
  border-bottom-color: var(--ds24-theme-border);
}

.ds24-section--custom-code .dsc-line-label small {
  font-size: var(--ds24-text-body-1);
  color: var(--ds24-theme-text-secondary);
  line-height: 1.5;
  display: block;
}

.ds24-section--custom-code .dsc-line-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.ds24-section--custom-code .dsc-line--total {
  color: var(--ds24-theme-text);
  border-bottom: 0;
}

.ds24-section--custom-code .dsc-line--fee {
  cursor: pointer;
  position: relative;
}

.ds24-section--custom-code .dsc-info--dark {
  width: 15px;
  height: 15px;
  margin-left: var(--ds24-space-2);
  vertical-align: -2px;
  color: var(--ds24-theme-text-secondary);
}

.ds24-section--custom-code .dsc-info--dark:hover, .ds24-section--custom-code .dsc-line--fee.is-open .dsc-info--dark, .ds24-section--custom-code .dsc-vat:hover .dsc-info--dark, .ds24-section--custom-code .dsc-vat:focus-within .dsc-info--dark {
  color: var(--ds24-theme-text);
}

.ds24-section--custom-code .dsc-fee-tip {
  z-index: 20;
  left: 0;
  top: var(--fee-top, 36px);
  border-radius: var(--ds24-radius-ui-lg, 6px);
  color: #000;
  width: min(260px, 100%);
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: -.01em;
  cursor: default;
  background: #fff;
  padding: 2px 10px 4px;
  display: none;
  position: absolute;
  box-shadow: 0 8px 24px #00000052;
}

@media (hover: hover) {
  .ds24-section--custom-code .dsc-line--fee:hover .dsc-fee-tip {
    display: block;
  }
}

.ds24-section--custom-code .dsc-line--fee.is-open .dsc-fee-tip, .ds24-section--custom-code .dsc-line--fee:has(.dsc-fee-info:focus-visible) .dsc-fee-tip {
  display: block;
}

.ds24-section--custom-code .dsc-fee-tip:before {
  content: "";
  top: -5px;
  left: calc(var(--fee-arrow, 60px) - 5px);
  background: #fff;
  width: 10px;
  height: 10px;
  position: absolute;
  transform: rotate(45deg);
}

.ds24-section--custom-code .dsc-fee-tip-title {
  font-size: var(--ds24-text-caption-1, 10px);
  color: #000;
  border-bottom: 1px solid #90959a;
  padding: 6px 0 5px;
  line-height: 1.5;
}

.ds24-section--custom-code .dsc-fee-tip ul {
  list-style: none;
}

.ds24-section--custom-code .dsc-fee-tip li {
  font-size: var(--ds24-text-caption-1, 10px);
  color: #4b5259;
  border-bottom: 1px solid #cfd3d7;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  line-height: 1.5;
  display: flex;
}

.ds24-section--custom-code .dsc-fee-tip li small {
  font-size: var(--ds24-text-caption-1, 10px);
  color: #72777f;
  margin-top: 1px;
  line-height: 1.5;
  display: block;
}

.ds24-section--custom-code .dsc-fee-tip .dsc-fee-tip-total {
  color: #000;
  border-bottom: 0;
}

.ds24-section--custom-code .dsc-fee-tip-hint {
  display: none;
}

.ds24-section--custom-code .dsc-vat {
  vertical-align: 1px;
  display: inline-flex;
  position: relative;
}

.ds24-section--custom-code .dsc-vat .dsc-info--dark {
  margin-left: var(--ds24-space-2);
}

.ds24-section--custom-code .dsc-vat-tip {
  z-index: 20;
  display: none;
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
}

.ds24-section--custom-code .dsc-vat:hover .dsc-vat-tip, .ds24-section--custom-code .dsc-vat:focus-within .dsc-vat-tip {
  display: block;
}

.ds24-section--custom-code .dsc-btn {
  font-size: var(--ds24-text-body-2);
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: -.01em;
  padding: var(--ds24-space-4) var(--ds24-space-6);
  border: 2px solid var(--ds24-color-brand-blue);
  border-radius: var(--ds24-radius-ui-md);
  background: var(--ds24-color-brand-blue);
  color: #fff;
  box-shadow: 0 4px 6px var(--ds24-color-brand-blue-48);
  justify-content: center;
  align-self: center;
  align-items: center;
  line-height: 1.4;
  text-decoration: none;
  transition: box-shadow .15s;
  display: inline-flex;
}

.ds24-section--custom-code .dsc-btn:hover {
  box-shadow: var(--ds24-glow-md);
}

.ds24-section--custom-code .dsc-btn:focus-visible {
  outline-offset: 3px;
  outline: 2px solid #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ds24-section--custom-code .dsc *, .ds24-section--custom-code .dsc :before, .ds24-section--custom-code .dsc :after {
    transition: none !important;
  }
}

.ds24-section--custom-code .dsc-calc-btn, .ds24-section--custom-code .dsc-sheet-close {
  display: none;
}

@media (width <= 1439px) {
  .ds24-section--custom-code .dsc-grid {
    gap: var(--ds24-space-9);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ds24-section--custom-code .dsc-tiers {
    gap: var(--ds24-space-2);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    display: grid;
  }

  .ds24-section--custom-code .dsc-tier {
    width: 100%;
    padding-inline: 2px;
  }

  .ds24-section--custom-code .dsc-result-big {
    font-size: var(--ds24-text-display-3);
  }
}

@media (width <= 1023px) {
  .ds24-section--custom-code .dsc-grid {
    padding-block: var(--ds24-space-6);
    grid-template-columns: minmax(0, 1fr);
  }

  .ds24-section--custom-code .dsc-result {
    justify-self: center;
    width: 100%;
    max-width: 640px;
  }

  .ds24-section--custom-code .dsc-chips {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (width <= 743px) {
  .ds24-section--custom-code .dsc {
    padding-top: var(--ds24-space-8);
  }

  .ds24-section--custom-code .dsc-grid {
    padding-block: var(--ds24-space-4) 0;
  }

  .ds24-section--custom-code .dsc-pair {
    gap: var(--ds24-space-3);
  }

  .ds24-section--custom-code .dsc-input {
    font-size: var(--ds24-text-body-2);
    padding: 10px 36px 10px 10px;
  }

  .ds24-section--custom-code .dsc-input--units {
    padding-right: 56px;
  }

  .ds24-section--custom-code .dsc-unit {
    font-size: var(--ds24-text-body-2);
    right: 10px;
  }

  .ds24-section--custom-code .dsc-label {
    font-size: var(--ds24-text-body-2);
    margin-bottom: var(--ds24-space-3);
  }

  .ds24-section--custom-code .dsc-chips {
    margin-top: var(--ds24-space-2);
  }

  .ds24-section--custom-code .dsc-chip {
    padding: 1px 6px;
    font-size: 10px;
  }

  .ds24-section--custom-code .dsc-label-note {
    font-size: 10px;
  }

  .ds24-section--custom-code .dsc-tier {
    font-size: var(--ds24-text-body-1);
    padding: 8px 0;
  }

  .ds24-section--custom-code .dsc-field-hint {
    font-size: 10px;
  }

  .ds24-section--custom-code .dsc-mix-row {
    column-gap: var(--ds24-space-3);
    grid-template-columns: 12px minmax(0, 104px) minmax(0, 1fr) 52px 14px;
    min-height: 36px;
  }

  .ds24-section--custom-code .dsc-mix-row > .dsc-mix-dot + .dsc-mix-label {
    margin-left: 0;
  }

  .ds24-section--custom-code .dsc-mix-dot {
    width: 12px;
    height: 12px;
  }

  .ds24-section--custom-code .dsc-mix-label {
    font-size: 12px;
  }

  .ds24-section--custom-code .dsc-mix-label small {
    white-space: normal;
    font-size: 9px;
  }

  .ds24-section--custom-code .dsc-mix-num {
    height: 28px;
    padding: 0 6px;
  }

  .ds24-section--custom-code .dsc-mix-input, .ds24-section--custom-code .dsc-mix-pct {
    font-size: 11px;
  }

  .ds24-section--custom-code .dsc-mix-lock, .ds24-section--custom-code .dsc-mix-lock svg {
    width: 14px;
    height: 14px;
  }

  .ds24-section--custom-code .dsc-calc-btn {
    margin-top: var(--ds24-space-5);
    font: inherit;
    font-size: var(--ds24-text-body-2);
    font-weight: var(--ds24-font-weight-medium);
    letter-spacing: -.01em;
    padding: var(--ds24-space-3) var(--ds24-space-5);
    border: 2px solid var(--ds24-color-brand-blue);
    border-radius: var(--ds24-radius-ui-md);
    background: var(--ds24-color-brand-blue);
    color: #fff;
    box-shadow: 0 4px 6px var(--ds24-color-brand-blue-48);
    cursor: pointer;
    bottom: calc(var(--ds24-space-4) + env(safe-area-inset-bottom, 0px));
    z-index: 5;
    justify-content: center;
    align-self: center;
    align-items: center;
    line-height: 1.4;
    transition: transform .35s, opacity .35s;
    display: inline-flex;
    position: sticky;
  }

  .ds24-section--custom-code .dsc-calc-btn.is-away {
    transform: translateY(calc(100% + var(--ds24-space-4)));
    opacity: 0;
  }

  .ds24-section--custom-code .dsc-result {
    z-index: 1000;
    overscroll-behavior: contain;
    visibility: hidden;
    max-width: none;
    max-height: 100dvh;
    padding-top: var(--ds24-space-8);
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    transition: transform .3s, visibility 0s linear .3s;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    transform: translateY(105%);
  }

  .ds24-section--custom-code .dsc.is-sheet-open .dsc-result {
    visibility: visible;
    transition: transform .3s;
    transform: none;
  }

  .ds24-section--custom-code .dsc:after {
    content: "";
    z-index: 999;
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    background: #0000007a;
    transition: opacity .3s;
    position: fixed;
    inset: 0;
  }

  .ds24-section--custom-code .dsc.is-sheet-open:after {
    opacity: 1;
    pointer-events: auto;
  }

  .ds24-section--custom-code .dsc-sheet-close {
    top: var(--ds24-space-3);
    right: var(--ds24-space-3);
    width: 32px;
    height: 32px;
    color: var(--ds24-theme-text);
    cursor: pointer;
    background: none;
    border: 0;
    justify-content: center;
    align-self: auto;
    align-items: center;
    padding: 4px;
    display: inline-flex;
    position: absolute;
  }

  .ds24-section--custom-code .dsc-sheet-close svg {
    width: 24px;
    height: 24px;
    display: block;
  }

  .ds24-section--custom-code .dsc-result > .dsc-sheet-close {
    z-index: 2;
    align-self: auto;
    position: absolute;
  }

  .ds24-section--custom-code .dsc-result-big {
    font-size: 72px;
  }

  .ds24-section--custom-code .dsc-tip {
    width: 260px;
    left: auto;
    right: -120px;
    transform: none;
  }

  .ds24-section--custom-code .dsc-tip.layout--top:after {
    left: auto;
    right: 126px;
  }
}

@media (width <= 743px) and (height <= 820px) {
  .ds24-section--custom-code .dsc-result {
    gap: var(--ds24-space-3);
    padding: var(--ds24-space-6) var(--ds24-space-5) var(--ds24-space-5);
  }

  .ds24-section--custom-code .dsc-result-kicker {
    font-size: var(--ds24-text-body-3);
  }

  .ds24-section--custom-code .dsc-result-big {
    font-size: 56px;
  }

  .ds24-section--custom-code .dsc-kpi {
    gap: var(--ds24-space-1);
  }

  .ds24-section--custom-code .dsc-breakdown-title {
    padding: var(--ds24-space-2) 0;
  }

  .ds24-section--custom-code .dsc-line {
    min-height: 0;
    padding: 8px 0;
  }

  .ds24-section--custom-code .dsc-btn {
    padding: var(--ds24-space-3) var(--ds24-space-5);
  }
}

@media (width <= 743px) and (height <= 640px) {
  .ds24-section--custom-code .dsc-result {
    gap: var(--ds24-space-2);
    padding-top: var(--ds24-space-5);
    border-radius: 0;
  }

  .ds24-section--custom-code .dsc-result-big {
    font-size: 44px;
  }

  .ds24-section--custom-code .dsc-line {
    font-size: var(--ds24-text-body-1);
    padding: 6px 0;
  }

  .ds24-section--custom-code .dsc-line-label small {
    font-size: 12px;
  }
}

.ds24-section--custom-code .pp-calc {
  background: var(--ds24-theme-background);
  color: var(--ds24-theme-text);
  padding: var(--ds24-section-padding-xl) 0;
}

.ds24-section--custom-code .pp-calc-head {
  text-align: center;
  align-items: center;
  gap: var(--ds24-space-9);
  flex-direction: column;
  max-width: 720px;
  margin-inline: auto;
  padding: 0;
  display: flex;
}

.ds24-section--custom-code .pp-calc-title {
  font-size: var(--ds24-text-display-2);
  font-weight: var(--ds24-font-weight-light);
  letter-spacing: var(--ds24-tracking-tightest);
  margin: 0;
  line-height: 1;
}

.ds24-section--custom-code .pp-calc-intro {
  max-width: 594px;
  font-size: var(--ds24-text-body-3);
  letter-spacing: -.01em;
  color: var(--ds24-theme-text-secondary);
  margin: 0;
  line-height: 1.3;
}

.ds24-section--custom-code .pp-calc-bottom {
  gap: var(--ds24-space-7);
  max-width: 1200px;
  margin: var(--ds24-space-10) auto 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  display: grid;
}

.ds24-section--custom-code .pp-calc-bottom .dsc-summary {
  font-size: var(--ds24-text-body-3);
  font-weight: var(--ds24-font-weight-medium);
  letter-spacing: -.01em;
  color: var(--ds24-theme-text);
  margin: 0;
  line-height: 1.3;
}

.ds24-section--custom-code .pp-calc-bottom .dsc-summary strong {
  color: var(--ds24-color-brand-blue);
  font-weight: inherit;
}

.ds24-section--custom-code .pp-calc-disclaimer {
  font-size: var(--ds24-text-body-1);
  letter-spacing: -.01em;
  color: var(--ds24-theme-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (width <= 1023px) {
  .ds24-section--custom-code .pp-calc-bottom {
    gap: var(--ds24-space-6);
    margin-top: var(--ds24-space-8);
    grid-template-columns: minmax(0, 1fr);
  }
}
