/* CleanWhale Budynki — Nowe inwestycje i budowy (dane.gov.pl + OSM + LEGRE Studio)
   Editorial minimal aesthetic, zero emojis, Futura PT, #1d4ed8 / #2457c6 accent. */

:root {
  --nd-brand: #1d4ed8;
  --nd-brand-dark: #1e40af;
  --nd-ink: #0f172a;
  --nd-muted: #475569;
  --nd-line: #e2e8f0;
  --nd-line-strong: #94a3b8;
  --nd-surface: #f8fafc;
  --nd-green: #047857;
  --nd-green-bg: #ecfdf5;
  --nd-amber: #b45309;
  --nd-amber-bg: #fffbeb;
  --nd-blue-bg: #eff6ff;
  --target-size: 24px;
}

@media (pointer: coarse) {
  :root {
    --target-size: 44px;
  }
}

/* Canonical accessible screen-reader-only helper (never display: none) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Below-the-fold rendering deferral ONLY (never apply above the fold) */
.nd-defer-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 420px;
}

.nd-hero {
  padding: clamp(24px, 3vw, 48px) var(--gutter, 24px) clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--nd-line);
}

.nd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .nd-hero-grid {
    grid-template-columns: 1fr;
  }
}

.nd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nd-brand);
  margin-block-end: 0.75rem;
}

.nd-eyebrow svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nd-h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--nd-ink);
  text-wrap: balance;
  margin: 0 0 0.75rem;
}

.nd-h1 span {
  color: var(--nd-brand);
}

.nd-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: #334155;
  max-inline-size: 68ch;
  text-wrap: pretty;
  margin: 0;
}

.nd-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-block-start: 1rem;
}

.nd-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.nd-stage-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.nd-stage-badge--sale {
  background: var(--nd-green-bg);
  color: var(--nd-green);
}

.nd-stage-badge--construction {
  background: var(--nd-blue-bg);
  color: var(--nd-brand);
}

.nd-stage-badge--foundation {
  background: var(--nd-amber-bg);
  color: var(--nd-amber);
}

.nd-drop-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 700;
}

.nd-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-block-start: 1.5rem;
}

.nd-kpi-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--nd-surface);
  border: 1px solid var(--nd-line);
}

.nd-kpi-card dt {
  font-size: 0.82rem;
  color: var(--nd-muted);
  margin-block-end: 4px;
}

.nd-kpi-card dd {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nd-ink);
  line-height: 1.2;
}

.nd-kpi-card dd small {
  display: block;
  margin-block-start: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--nd-muted);
}

.nd-plan-card {
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 14px;
  padding: 12px;
}

.nd-plan-svg {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: 8px;
}

.nd-plan-caption {
  margin-block-start: 8px;
  font-size: 0.82rem;
  color: var(--nd-muted);
  line-height: 1.4;
}

.nd-section {
  padding: clamp(28px, 3.2vw, 44px) var(--gutter, 24px);
  border-bottom: 1px solid var(--nd-line);
}

.nd-sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
  margin-block-end: 1.25rem;
}

.nd-sec-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  margin: 0;
  text-wrap: balance;
}

.nd-sec-sub {
  margin: 4px 0 0;
  color: var(--nd-muted);
  font-size: 0.96rem;
  text-wrap: pretty;
}

/* Search & Stage Filter Form (<search><form method="GET">) */
.nd-filter-box {
  margin-block-start: 1.5rem;
  padding: 16px 18px;
  background: var(--nd-surface);
  border: 1px solid var(--nd-line);
  border-radius: 12px;
}

.nd-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  accent-color: var(--nd-brand);
}

.nd-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-inline-size: min(100%, 240px);
  flex: 1 1 240px;
}

.nd-field label,
.nd-fieldset legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nd-ink);
}

.nd-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.nd-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 0.3rem;
}

.nd-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  min-block-size: 48px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--nd-ink);
}

.nd-radio-label:has(input:checked) {
  border-color: var(--nd-brand);
  background: var(--nd-blue-bg);
  color: var(--nd-brand-dark);
}

.nd-radio-label:has(input:focus-visible) {
  outline: 3px solid var(--nd-brand);
  outline-offset: 2px;
}

.nd-input,
.nd-select {
  font: inherit;
  font-size: max(1rem, 1em);
  padding: 0.65rem 0.85rem;
  min-block-size: 48px;
  box-sizing: border-box;
  border: 1px solid #64748b;
  border-radius: 9px;
  background: #fff;
  color: var(--nd-ink);
  inline-size: 100%;
}

@media (pointer: coarse) {
  .nd-input,
  .nd-select,
  .nd-btn,
  .nd-radio-label {
    min-block-size: 52px;
  }
}

.nd-input:focus-visible,
.nd-select:focus-visible,
.nd-btn:focus-visible,
.nd-unit-pick-btn:focus-visible {
  outline: 3px solid var(--nd-brand);
  outline-offset: 2px;
}

.nd-input:user-invalid,
.nd-select:user-invalid {
  border-color: #b91c1c;
  background: #fef2f2;
}

.nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: max(1rem, 1em);
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  min-block-size: 48px;
  box-sizing: border-box;
  border-radius: 9px;
  border: 1px solid var(--nd-brand);
  background: var(--nd-brand);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.nd-btn:hover {
  background: var(--nd-brand-dark);
  border-color: var(--nd-brand-dark);
}

.nd-btn--ghost {
  background: #fff;
  color: var(--nd-brand);
  border-color: #93c5fd;
}

.nd-btn--ghost:hover {
  background: var(--nd-blue-bg);
  color: var(--nd-brand-dark);
}

/* Cards Grid (National / City / Embedded Blocks) */
.nd-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 16px;
}

.nd-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 13px;
}

.nd-card:hover {
  border-color: #93c5fd;
}

.nd-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.nd-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.28;
}

.nd-card h3 a {
  color: var(--nd-ink);
  text-decoration: none;
}

.nd-card h3 a:hover {
  color: var(--nd-brand);
  text-decoration: underline;
}

.nd-card-meta {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--nd-muted);
}

.nd-card-price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-block-start: 10px;
  border-top: 1px solid var(--nd-line);
}

.nd-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nd-ink);
}

.nd-card-price--pending {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nd-muted);
}

.nd-cities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nd-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  min-block-size: var(--target-size);
  background: var(--nd-surface);
  border: 1px solid var(--nd-line);
  border-radius: 999px;
  color: var(--nd-ink);
  text-decoration: none;
  font-size: 0.92rem;
}

.nd-city-pill:hover {
  border-color: var(--nd-brand);
  color: var(--nd-brand);
}

/* Site Truth vs Developer Brochure Grid */
.nd-truth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
  gap: 16px;
}

.nd-truth-box {
  padding: 18px;
  border-radius: 12px;
  background: var(--nd-surface);
  border: 1px solid var(--nd-line);
}

.nd-truth-box h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--nd-ink);
}

.nd-truth-big {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--nd-ink);
  margin: 0 0 6px;
}

.nd-truth-list {
  margin: 8px 0 0;
  padding-inline-start: 18px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

.nd-truth-note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--nd-muted);
  line-height: 1.45;
}

/* Responsive + Sortable Available Apartments Table (modern-web-guidance) */
.nd-table-wrap {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(620px, 80vh);
  container-type: inline-size;
  border: 1px solid var(--nd-line);
  border-radius: 12px;
  background: #fff;
}

.nd-table-wrap:focus-visible {
  outline: 3px solid var(--nd-brand);
  outline-offset: 2px;
}

.nd-units-table {
  inline-size: 100%;
  min-inline-size: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94rem;
  --label-2: "Rodzaj";
  --label-3: "Metraż";
  --label-4: "Cena za m²";
  --label-5: "Cena całkowita";
  --label-6: "Historia ceny";
  --label-7: "Przynależności";
  --label-8: "Kalkulator";
}

.nd-units-table caption {
  text-align: start;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--nd-ink);
  background: var(--nd-surface);
  border-bottom: 1px solid var(--nd-line);
}

.nd-units-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: #f1f5f9;
}

.nd-units-table th,
.nd-units-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--nd-line);
  text-align: start;
  vertical-align: middle;
}

.nd-units-table th[data-type="number"],
.nd-units-table td.nd-num {
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.nd-units-table thead th:has(> button) {
  padding: 0;
}

.nd-sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  inline-size: 100%;
  min-block-size: 44px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--nd-ink);
  cursor: pointer;
  text-align: inherit;
}

.nd-units-table th[data-type="number"] > .nd-sort-btn {
  justify-content: flex-end;
}

.nd-sort-btn:hover {
  background: #e2e8f0;
}

.nd-sort-btn:focus-visible {
  outline: 3px solid var(--nd-brand);
  outline-offset: -3px;
}

.nd-sort-icon {
  display: inline-block;
  inline-size: 0.75em;
  text-align: center;
  color: #64748b;
}

.nd-sort-icon::after {
  content: "↕";
}

.nd-units-table thead th[aria-sort="ascending"] {
  background: var(--nd-blue-bg);
}

.nd-units-table thead th[aria-sort="ascending"] .nd-sort-icon {
  color: var(--nd-brand);
}

.nd-units-table thead th[aria-sort="ascending"] .nd-sort-icon::after {
  content: "↑";
}

.nd-units-table thead th[aria-sort="descending"] {
  background: var(--nd-blue-bg);
}

.nd-units-table thead th[aria-sort="descending"] .nd-sort-icon {
  color: var(--nd-brand);
}

.nd-units-table thead th[aria-sort="descending"] .nd-sort-icon::after {
  content: "↓";
}

.nd-units-table tbody th[scope="row"] {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.nd-units-table--animated tbody tr {
  view-transition-name: match-element;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none;
  }
}

.nd-unit-pick-btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 11px;
  min-block-size: var(--target-size);
  border-radius: 7px;
  border: 1px solid #93c5fd;
  background: var(--nd-blue-bg);
  color: var(--nd-brand-dark);
  cursor: pointer;
  white-space: nowrap;
}

.nd-unit-pick-btn:hover {
  background: var(--nd-brand);
  border-color: var(--nd-brand);
  color: #fff;
}

.nd-delta--drop {
  color: var(--nd-green);
  font-weight: 700;
}

.nd-delta--rise {
  color: #b91c1c;
}

.nd-delta--flat {
  color: var(--nd-muted);
}

/* Container query stacked layout for narrow containers (< 600px) */
@container (width < 600px) {
  .nd-units-table {
    min-inline-size: 0;
  }

  .nd-units-table,
  .nd-units-table thead,
  .nd-units-table tbody,
  .nd-units-table tr,
  .nd-units-table th,
  .nd-units-table td {
    display: block;
  }

  .nd-units-table thead {
    display: none;
  }

  .nd-units-table tbody tr {
    margin: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
  }

  .nd-units-table tbody th[scope="row"] {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: #f1f5f9;
    padding: 10px 14px;
  }

  .nd-units-table td,
  .nd-units-table td.nd-num {
    text-align: start;
    padding: 8px 14px;
  }

  .nd-units-table td:nth-child(2)::before { content: var(--label-2) ": "; font-weight: 700; color: var(--nd-muted); }
  .nd-units-table td:nth-child(3)::before { content: var(--label-3) ": "; font-weight: 700; color: var(--nd-muted); }
  .nd-units-table td:nth-child(4)::before { content: var(--label-4) ": "; font-weight: 700; color: var(--nd-muted); }
  .nd-units-table td:nth-child(5)::before { content: var(--label-5) ": "; font-weight: 700; color: var(--nd-muted); }
  .nd-units-table td:nth-child(6)::before { content: var(--label-6) ": "; font-weight: 700; color: var(--nd-muted); }
  .nd-units-table td:nth-child(7)::before { content: var(--label-7) ": "; font-weight: 700; color: var(--nd-muted); }
  .nd-units-table td:nth-child(8)::before { content: var(--label-8) ": "; font-weight: 700; color: var(--nd-muted); }
}

.nd-units-more {
  margin-block-start: 14px;
  border: 1px solid var(--nd-line);
  border-radius: 12px;
  background: var(--nd-surface);
}

.nd-units-more > summary {
  padding: 13px 16px;
  font-weight: 700;
  color: var(--nd-brand-dark);
  cursor: pointer;
  min-block-size: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

/* LEGRE Studio Interior Concept Generator */
.nd-legre-wrap {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
}

.nd-legre-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-block-end: 18px;
}

.nd-legre-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 8px;
}

.nd-legre-price-box {
  padding: 14px 18px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  min-inline-size: min(100%, 260px);
}

.nd-legre-price-box strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.15;
}

.nd-legre-price-box small {
  display: block;
  margin-block-start: 4px;
  color: #cbd5e1;
  font-size: 0.84rem;
}

.nd-legre-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
  margin-block: 18px;
}

@media (max-width: 780px) {
  .nd-legre-gallery {
    grid-template-columns: 1fr;
  }
}

.nd-legre-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 4 / 3;
}

.nd-legre-photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

.nd-legre-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 820px) {
  .nd-legre-cols {
    grid-template-columns: 1fr;
  }
}

.nd-legre-deliverables {
  margin: 8px 0 0;
  padding-inline-start: 18px;
  line-height: 1.55;
  color: #1e293b;
}

.nd-honest-note {
  margin-block-start: 12px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-inline-start: 3px solid var(--nd-brand);
  border-radius: 6px;
  font-size: 0.86rem;
  color: #334155;
}

/* 6-Service Move-In Calculator */
.nd-calc-form {
  accent-color: var(--nd-brand);
  color-scheme: light;
}

.nd-calc-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  padding: 18px;
  background: var(--nd-surface);
  border: 1px solid var(--nd-line);
  border-radius: 13px;
  margin-block-end: 20px;
}

.nd-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 16px;
}

.nd-svc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 13px;
}

.nd-svc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 26px;
  block-size: 26px;
  border-radius: 50%;
  background: var(--nd-blue-bg);
  color: var(--nd-brand);
  font-weight: 700;
  font-size: 0.84rem;
  margin-inline-end: 8px;
}

.nd-svc-card h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
  line-height: 1.3;
}

.nd-svc-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--nd-muted);
  line-height: 1.45;
}

.nd-svc-output-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-block-start: 10px;
  border-top: 1px solid var(--nd-line);
}

.nd-svc-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nd-ink);
}

.nd-svc-price small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--nd-muted);
}

.nd-svc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nd-svc-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  min-block-size: var(--target-size);
  border-radius: 8px;
  background: var(--nd-blue-bg);
  color: var(--nd-brand-dark);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
}

.nd-svc-link:hover {
  background: var(--nd-brand);
  color: #fff;
}

.nd-calc-summary-bar {
  margin-block-start: 18px;
  padding: 16px 20px;
  border-radius: 13px;
  background: #0f172a;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.nd-calc-summary-bar output {
  font-size: 1.45rem;
  font-weight: 700;
}

/* Progressive enhancement fallback when accent-color is unsupported (brand-consistent-forms) */
@supports not (accent-color: auto) {
  .nd-calc-form input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
  }

  .nd-calc-form input[type="range"]::-webkit-slider-runnable-track {
    inline-size: 100%;
    block-size: 8px;
    background: linear-gradient(to right, var(--nd-brand, #1d4ed8) var(--progress, 40%), #cbd5e1 var(--progress, 40%));
    border-radius: 4px;
  }

  .nd-calc-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    inline-size: 18px;
    block-size: 18px;
    border-radius: 50%;
    background: var(--nd-brand, #1d4ed8);
    margin-top: -5px;
    cursor: pointer;
  }

  .nd-calc-form input[type="range"]::-moz-range-track {
    inline-size: 100%;
    block-size: 8px;
    background: #cbd5e1;
    border-radius: 4px;
  }

  .nd-calc-form input[type="range"]::-moz-range-progress {
    background-color: var(--nd-brand, #1d4ed8);
    block-size: 8px;
    border-radius: 4px;
  }

  .nd-calc-form input[type="range"]::-moz-range-thumb {
    inline-size: 18px;
    block-size: 18px;
    border-radius: 50%;
    background: var(--nd-brand, #1d4ed8);
    border: 0;
    cursor: pointer;
  }
}
