/* Calculator form (/calculator/, Gravity form "shc-5692f81384e3"): the original Navy Frame sheet styles.
   Generated by .sher-converter/workspace/build-calculator-css.mjs from the original app's calculator CSS; edit the
   overrides at the end, or regenerate. Markup comes from calculator-form.php. */
.lmc-calc:not(#lmc-calc-scope) { --lmcc-background: 220 22% 98%; --lmcc-primary: 225 48% 25%; --lmcc-primary-foreground: 0 0% 100%; --lmcc-border: 223 18% 86%; --lmcc-accent: 98 42% 34%; --lmcc-muted-foreground: 225 18% 32%; --lmcc-accent-on-light: 98 42% 29%; --lmcc-card: 0 0% 100%; --lmcc-accent-on-dark: 98 42% 74%; --lmcc-destructive: 0 72% 45%; --lmcc-nf-caution: 30 84% 32%; --lmcc-input: 223 18% 54%; --lmcc-muted: 223 26% 93%; --lmcc-accent-foreground: 0 0% 100%; --lmcc-nf-placeholder: 225 14% 46%; --lmcc-nf-caution-soft: 40 90% 95%; --lmcc-nf-caution-on-dark: 40 92% 66%; --lmcc-font-sans: "Plus Jakarta Sans", sans-serif; --lmcc-font-display: "Outfit", sans-serif; --lmcc-font-mono: Menlo, monospace;
  --nf-gutter: 28px; --nf-inset: 32px; --nf-cols: minmax(0, 1.6fr) 1px minmax(0, 1fr); --nf-col-gap: 32px; --nf-sheet-radius: 20px;
  --nf-ease: cubic-bezier(.2, .7, .2, 1);
  padding: 0; margin: 0; color: hsl(var(--lmcc-primary)); font-family: var(--lmcc-font-sans); }
/* Gravity Forms resets: its theme layout, labels and validation boxes give way to the original sheet. */
.lmc-calc:not(#lmc-calc-scope) .gform_body,
.lmc-calc:not(#lmc-calc-scope) .gform_page,
.lmc-calc:not(#lmc-calc-scope) .gform_page_fields { margin: 0; padding: 0; border: 0; }
.lmc-calc:not(#lmc-calc-scope) .gform_fields { display: block; margin: 0; grid-gap: 0; }
.lmc-calc:not(#lmc-calc-scope) .gfield { margin: 0; padding: 0; border: 0; min-width: 0; grid-column: auto; max-width: none; }
.lmc-calc:not(#lmc-calc-scope) fieldset.gfield { display: block; }
.lmc-calc:not(#lmc-calc-scope) .gform_page_footer { display: block; margin: 0; }
.lmc-calc:not(#lmc-calc-scope) .gfield_validation_message { margin: 8px 0 0; padding: 0; border: 0; background: none; }
.lmc-calc:not(#lmc-calc-scope) .gform_validation_container { display: none !important; }
.lmc-calc:not(#lmc-calc-scope) input.nf-input,
.lmc-calc:not(#lmc-calc-scope) select.nf-input { margin: 0; line-height: normal; }
.lmc-calc:not(#lmc-calc-scope) select.nf-input { padding-right: 42px; -webkit-appearance: none; appearance: none; background-image: none; }
.lmc-calc:not(#lmc-calc-scope) button { text-transform: none; }

.lmc-calc:not(#lmc-calc-scope) {
  --nf-gutter: 28px;
  --nf-inset: 32px;
  --nf-edge: calc(var(--nf-gutter) + var(--nf-inset));
  --nf-cols: minmax(0, 1.6fr) 1px minmax(0, 1fr);
  --nf-col-gap: 32px;
  --nf-sheet-radius: 20px
}

@media (max-width: 1023px) {

  .lmc-calc:not(#lmc-calc-scope) {
    --nf-cols: minmax(0, 1fr)
  }
}

@media (max-width: 767px) {

  .lmc-calc:not(#lmc-calc-scope) {
    --nf-gutter: 8px;
    --nf-inset: 18px;
    --nf-sheet-radius: 16px
  }
}


.lmc-calc:not(#lmc-calc-scope) .nf-sheet-body {
  padding: 26px var(--nf-inset);
}

.lmc-calc:not(#lmc-calc-scope) .nf-form-hint,
.lmc-calc:not(#lmc-calc-scope) .nf-field-hint {
  margin: 0 0 18px;
  color: hsl(var(--lmcc-muted-foreground));
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.lmc-calc:not(#lmc-calc-scope) .nf-field-hint {
  margin: 8px 0 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-groups {
  display: grid;
  grid-template-columns: var(--nf-cols);
  column-gap: var(--nf-col-gap);
  row-gap: 22px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-groups-rule {
  background: linear-gradient(180deg, hsl(var(--lmcc-border) / 0), hsl(var(--lmcc-border)) 14%, hsl(var(--lmcc-border)) 86%, hsl(var(--lmcc-border) / 0));
}

.lmc-calc:not(#lmc-calc-scope) .nf-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-legend {
  float: left;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-legend + * {
  clear: both;
}

.lmc-calc:not(#lmc-calc-scope) .nf-fields {
  display: grid;
  gap: 16px 14px;
  align-items: end;
}

.lmc-calc:not(#lmc-calc-scope) .nf-fields--budget {
  grid-template-columns: minmax(0, 1fr);
}

.lmc-calc:not(#lmc-calc-scope) .nf-span-all {
  grid-column: 1 / -1;
}

.lmc-calc:not(#lmc-calc-scope) .nf-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-label span {
  font-weight: 500;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-field:focus-within .nf-label {
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-control {
  position: relative;
}

.lmc-calc:not(#lmc-calc-scope) .nf-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid hsl(var(--lmcc-input));
  border-radius: 12px;
  background: hsl(var(--lmcc-background));
  color: hsl(var(--lmcc-primary));
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 2px hsl(var(--lmcc-primary) / .06);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.lmc-calc:not(#lmc-calc-scope) .nf-input::-webkit-outer-spin-button,
.lmc-calc:not(#lmc-calc-scope) .nf-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-input::placeholder {
  color: hsl(225 14% 46%);
  font-weight: 400;
  opacity: 1;
}

.lmc-calc:not(#lmc-calc-scope) .nf-input:hover {
  border-color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-input:focus {
  border-color: hsl(var(--lmcc-primary));
  background: hsl(var(--lmcc-card));
}

.lmc-calc:not(#lmc-calc-scope) .nf-input:focus-visible {
  outline: 3px solid hsl(var(--lmcc-accent));
  outline-offset: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-input--adorned {
  padding-left: 58px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-adorn {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  width: 44px;
  display: grid;
  place-items: center;
  border-right: 1px solid hsl(var(--lmcc-border));
  border-radius: 11px 0 0 11px;
  background: hsl(var(--lmcc-muted) / .7);
  color: hsl(var(--lmcc-muted-foreground));
  font-size: 16px;
  font-weight: 600;
  pointer-events: none;
}

.lmc-calc:not(#lmc-calc-scope) .nf-control:focus-within .nf-adorn {
  background: hsl(var(--lmcc-accent) / .09);
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-tray {
  padding: 16px var(--nf-inset) 18px;
  border-top: 1px solid hsl(var(--lmcc-border));
  border-radius: 0 0 var(--nf-sheet-radius) var(--nf-sheet-radius);
  background: hsl(var(--lmcc-background));
}

.lmc-calc:not(#lmc-calc-scope) .nf-tray-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 32px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-left: -15px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: hsl(var(--lmcc-primary));
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent:hover {
  background: hsl(var(--lmcc-card));
  border-color: hsl(var(--lmcc-border));
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent:has(input:checked) {
  background: hsl(var(--lmcc-card));
  border-color: hsl(var(--lmcc-accent) / .55);
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: hsl(var(--lmcc-accent-on-light));
  cursor: pointer;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent span {
  text-wrap: pretty;
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 228px;
  min-height: 58px;
  padding: 8px 8px 8px 28px;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--lmcc-accent));
  color: hsl(var(--lmcc-accent-foreground));
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.005em;
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / .18),
    0 12px 22px -14px hsl(98 45% 18% / .7);
  transition: background-color 160ms ease, transform 160ms ease;
  cursor: pointer;
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit:hover:not(:disabled) {
  background: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit:focus-visible {
  outline: 3px solid hsl(var(--lmcc-primary));
  outline-offset: 4px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.lmc-calc:not(#lmc-calc-scope) .nf-input:disabled {
  opacity: .7;
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit:active {
  transform: translateY(1px);
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: hsl(0 0% 100% / .16);
  box-shadow: inset 0 0 0 1px hsl(0 0% 100% / .14);
  transition: transform 220ms cubic-bezier(.2, .7, .2, 1);
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit:hover .nf-submit-icon {
  transform: translateX(3px);
}

.lmc-calc:not(#lmc-calc-scope) .nf-response {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid hsl(var(--lmcc-border));
  border-radius: 12px;
  background: hsl(var(--lmcc-card));
  box-shadow: inset 3px 0 0 hsl(var(--lmcc-accent));
  font-size: 14px;
  line-height: 1.6;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-response p {
  margin: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-response svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-response--error {
  box-shadow: inset 3px 0 0 hsl(var(--lmcc-destructive));
}

.lmc-calc:not(#lmc-calc-scope) .nf-response--error svg {
  color: hsl(var(--lmcc-destructive));
}

.lmc-calc:not(#lmc-calc-scope) .nf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1023px) {

  .lmc-calc:not(#lmc-calc-scope) .nf-groups-rule {
    height: 1px;
    background: linear-gradient(90deg, hsl(var(--lmcc-border) / 0), hsl(var(--lmcc-border)) 10%, hsl(var(--lmcc-border)) 90%, hsl(var(--lmcc-border) / 0));
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-fields--budget {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {

  .lmc-calc:not(#lmc-calc-scope) .nf-sheet-body {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-fields--budget {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-tray-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .lmc-calc:not(#lmc-calc-scope) .nf-submit:hover .nf-submit-icon,
.lmc-calc:not(#lmc-calc-scope) .nf-submit:active {
    transform: none;
  }
}

@keyframes nf-spin {
  to { transform: rotate(360deg); }
}
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; margin-top: 20px; }
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review div { border-bottom: 1px solid #dbe0e7; padding: 8px 0; overflow-wrap: anywhere; }
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review dt { font-size: 12px; color: #526778; }
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review dd { margin: 4px 0; font-size: 14px; color: #193650; }
@media (max-width: 767px) { .lmc-calc:not(#lmc-calc-scope) .nf-flow-review { grid-template-columns: 1fr; } .lmc-calc:not(#lmc-calc-scope) .nf-rail { flex-wrap: wrap; } }

.lmc-calc:not(#lmc-calc-scope) .nf-screen {
  animation: nf-screen-in 420ms var(--nf-ease) both;
}

.lmc-calc:not(#lmc-calc-scope) .nf-reveal {
  animation: nf-reveal 320ms var(--nf-ease) both;
}

.lmc-calc:not(#lmc-calc-scope) .nf-sheet-top {
  display: grid;
  grid-template-columns: var(--nf-cols);
  column-gap: var(--nf-col-gap);
  row-gap: 16px;
  align-items: center;
  padding: 22px var(--nf-inset) 20px;
  border-bottom: 1px solid hsl(var(--lmcc-border));
  border-radius: var(--nf-sheet-radius) var(--nf-sheet-radius) 0 0;
  background:
    linear-gradient(180deg, hsl(var(--lmcc-muted) / .6), hsl(var(--lmcc-muted) / 0) 85%),
    hsl(var(--lmcc-card));
}

.lmc-calc:not(#lmc-calc-scope) .nf-sheet-heading {
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-sheet-kicker {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-sheet-title {
  margin: 0;
  font-family: var(--lmcc-font-display);
  font-size: clamp(22px, .9vw + 15px, 26px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.022em;
  color: hsl(var(--lmcc-primary));
  text-wrap: balance;
}

.lmc-calc:not(#lmc-calc-scope) .nf-sheet-title:focus {
  outline: none;
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail {
  grid-column: -2 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nf-rail;
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li {
  counter-increment: nf-rail;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li:last-child {
  flex: 0 0 auto;
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li::before {
  content: counter(nf-rail);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  border: 1.5px solid hsl(var(--lmcc-border));
  border-radius: 50%;
  background: hsl(var(--lmcc-card));
  font-size: 12.5px;
  font-weight: 700;
  color: hsl(var(--lmcc-muted-foreground));
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li:not(:last-child)::after {
  content: "";
  flex: 1 1 18px;
  min-width: 14px;
  height: 2px;
  border-radius: 2px;
  background: hsl(var(--lmcc-border));
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li[data-state="current"] {
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li[data-state="current"]::before {
  border-color: hsl(var(--lmcc-primary));
  background: hsl(var(--lmcc-primary));
  color: hsl(var(--lmcc-primary-foreground));
  box-shadow: 0 0 0 4px hsl(var(--lmcc-primary) / .12);
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li[data-state="done"] {
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li[data-state="done"]::before {
  content: "";
  border-color: hsl(var(--lmcc-accent));
  background: hsl(var(--lmcc-accent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li[data-state="done"]::after {
  background: hsl(var(--lmcc-accent) / .55);
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li[data-state="attention"] {
  color: hsl(var(--lmcc-nf-caution));
}

.lmc-calc:not(#lmc-calc-scope) .nf-rail li[data-state="attention"]::before {
  content: "!";
  border-color: hsl(var(--lmcc-nf-caution));
  background: hsl(var(--lmcc-nf-caution));
  color: hsl(var(--lmcc-primary-foreground));
  box-shadow: 0 0 0 4px hsl(var(--lmcc-nf-caution) / .14);
}

.lmc-calc:not(#lmc-calc-scope) .nf-dealtype {
  min-width: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-dealtype-q {
  float: left;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--lmcc-font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-dealtype-q + * {
  clear: both;
}

.lmc-calc:not(#lmc-calc-scope) .nf-dealtype-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid hsl(var(--lmcc-border));
  border-radius: 16px;
  background: hsl(var(--lmcc-background));
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 220ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile:hover {
  border-color: hsl(var(--lmcc-input));
  background: hsl(var(--lmcc-card));
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile input,
.lmc-calc:not(#lmc-calc-scope) .nf-choice-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-focus {
  position: absolute;
  inset: -6px;
  border: 3px solid hsl(var(--lmcc-accent));
  border-radius: 21px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile:has(input:focus-visible) .nf-deal-focus {
  opacity: 1;
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: hsl(var(--lmcc-primary) / .07);
  color: hsl(var(--lmcc-primary));
  transition: background-color 220ms ease, color 220ms ease, transform 280ms var(--nf-ease);
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-name {
  font-family: var(--lmcc-font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-desc {
  font-size: 14px;
  line-height: 1.5;
  color: hsl(var(--lmcc-muted-foreground));
  text-wrap: pretty;
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-mark {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border: 1.5px solid hsl(var(--lmcc-input) / .6);
  border-radius: 50%;
  color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 240ms var(--nf-ease);
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile:has(input:checked) {
  border-color: hsl(var(--lmcc-primary));
  background: hsl(var(--lmcc-card));
  box-shadow:
    inset 4px 0 0 hsl(var(--lmcc-accent)),
    inset 0 0 0 1px hsl(var(--lmcc-primary)),
    0 18px 30px -24px hsl(var(--lmcc-primary) / .55);
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile:has(input:checked) .nf-deal-icon {
  background: hsl(var(--lmcc-primary));
  color: hsl(var(--lmcc-primary-foreground));
  transform: rotate(-4deg);
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile:has(input:checked) .nf-deal-mark {
  border-color: hsl(var(--lmcc-accent));
  background: hsl(var(--lmcc-accent));
  color: hsl(var(--lmcc-accent-foreground));
  transform: scale(1.08);
}

.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile[data-invalid="true"]:not(:has(input:checked)) {
  border-color: hsl(var(--lmcc-destructive) / .55);
}

.lmc-calc:not(#lmc-calc-scope) .nf-dealtype + .nf-form-hint {
  margin: 0 0 24px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-field {
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: hsl(var(--lmcc-destructive));
}

.lmc-calc:not(#lmc-calc-scope) .nf-field-error::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: .5em;
  border-radius: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}

.lmc-calc:not(#lmc-calc-scope) .nf-field[data-invalid="true"] .nf-input {
  border-color: hsl(var(--lmcc-destructive));
  box-shadow: inset 0 0 0 1px hsl(var(--lmcc-destructive) / .4);
}

.lmc-calc:not(#lmc-calc-scope) .nf-field[data-invalid="true"] .nf-adorn {
  border-color: hsl(var(--lmcc-destructive) / .3);
  background: hsl(var(--lmcc-destructive) / .06);
  color: hsl(var(--lmcc-destructive));
}

.lmc-calc:not(#lmc-calc-scope) .nf-input--suffixed {
  padding-right: 74px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-adorn--end {
  right: 1px;
  left: auto;
  width: auto;
  min-width: 60px;
  padding: 0 12px;
  box-sizing: border-box;
  border-right: 0;
  border-left: 1px solid hsl(var(--lmcc-border));
  border-radius: 0 11px 11px 0;
  font-size: 13.5px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.lmc-calc:not(#lmc-calc-scope) .nf-select:has(option[value=""]:checked) {
  color: hsl(var(--lmcc-nf-placeholder));
  font-weight: 400;
}

.lmc-calc:not(#lmc-calc-scope) .nf-select option {
  color: hsl(var(--lmcc-primary));
  font-weight: 500;
}

.lmc-calc:not(#lmc-calc-scope) .nf-select-chev {
  position: absolute;
  top: 50%;
  right: 14px;
  color: hsl(var(--lmcc-muted-foreground));
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 160ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-control:focus-within .nf-select-chev {
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice {
  margin: 0;
  padding: 0;
  border: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-legend {
  float: left;
  width: 100%;
  padding: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-legend + * {
  clear: both;
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  box-sizing: border-box;
  min-height: 50px;
  padding: 4px;
  border: 1px solid hsl(var(--lmcc-input));
  border-radius: 12px;
  background: hsl(var(--lmcc-background));
  box-shadow: inset 0 1px 2px hsl(var(--lmcc-primary) / .06);
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--lmcc-primary));
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 200ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-option:hover {
  background: hsl(var(--lmcc-muted) / .85);
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-ring {
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 1.5px solid hsl(var(--lmcc-input));
  border-radius: 50%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-option:has(input:checked) {
  background: hsl(var(--lmcc-primary));
  color: hsl(var(--lmcc-primary-foreground));
  box-shadow: 0 6px 14px -8px hsl(var(--lmcc-primary) / .85);
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-option:has(input:checked) .nf-choice-ring {
  border-color: hsl(var(--lmcc-accent-on-dark));
  box-shadow: inset 0 0 0 2.5px hsl(var(--lmcc-primary)), inset 0 0 0 8px hsl(var(--lmcc-accent-on-dark));
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice-option:has(input:focus-visible) {
  outline: 3px solid hsl(var(--lmcc-accent));
  outline-offset: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-choice[data-invalid="true"] .nf-choice-track {
  border-color: hsl(var(--lmcc-destructive));
  box-shadow: inset 0 0 0 1px hsl(var(--lmcc-destructive) / .4);
}

.lmc-calc:not(#lmc-calc-scope) .nf-fields--top {
  align-items: start;
}

.lmc-calc:not(#lmc-calc-scope) .nf-fields--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lmc-calc:not(#lmc-calc-scope) .nf-w2 {
  grid-column: span 2;
}

.lmc-calc:not(#lmc-calc-scope) .nf-w3 {
  grid-column: span 3;
}

.lmc-calc:not(#lmc-calc-scope) .nf-w4 {
  grid-column: span 4;
}

.lmc-calc:not(#lmc-calc-scope) .nf-fields--status {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.lmc-calc:not(#lmc-calc-scope) .nf-fields--contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmc-calc:not(#lmc-calc-scope) .nf-screen .nf-tray {
  position: relative;
}

.lmc-calc:not(#lmc-calc-scope) .nf-tray > .nf-field-error {
  margin-top: 4px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-entity-notice {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid #d4ad55;
  border-left: 5px solid #a16b10;
  border-radius: 12px;
  background: #fff8e7;
  color: #172b4d;
}

.lmc-calc:not(#lmc-calc-scope) .nf-entity-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
}

.lmc-calc:not(#lmc-calc-scope) .nf-entity-heading svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-entity-summary {
  margin: 8px 0 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent.nf-entity-consent {
  margin: 0;
  padding: 14px;
  border-color: #d4ad55;
  background: #fff;
  border-radius: 8px;
  color: #172b4d;
  font-size: 16px;
  line-height: 1.6;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent.nf-entity-consent:has(input:checked) {
  border-color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent[data-invalid="true"],
.lmc-calc:not(#lmc-calc-scope) .nf-consent.nf-entity-consent[data-invalid="true"] {
  border-color: hsl(var(--lmcc-destructive) / .5);
  background: hsl(var(--lmcc-destructive) / .04);
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent input:focus-visible {
  outline: 3px solid hsl(var(--lmcc-accent));
  outline-offset: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent a {
  border-radius: 3px;
  font-weight: 700;
  color: hsl(var(--lmcc-primary));
  text-decoration: underline;
  text-decoration-color: hsl(var(--lmcc-accent));
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent a:hover {
  text-decoration-color: currentColor;
}

.lmc-calc:not(#lmc-calc-scope) .nf-consent a:focus-visible {
  outline: 3px solid hsl(var(--lmcc-accent));
  outline-offset: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-tray-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit[aria-disabled="true"] {
  opacity: .72;
  cursor: progress;
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit[aria-disabled="true"]:hover {
  background: hsl(var(--lmcc-accent));
}

.lmc-calc:not(#lmc-calc-scope) .nf-submit[aria-disabled="true"]:hover .nf-submit-icon,
.lmc-calc:not(#lmc-calc-scope) .nf-submit[aria-disabled="true"]:active {
  transform: none;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid hsl(var(--lmcc-border));
  border-radius: 999px;
  background: hsl(var(--lmcc-card));
  color: hsl(var(--lmcc-primary));
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ghost:hover:not(:disabled) {
  border-color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-ghost:focus-visible {
  outline: 3px solid hsl(var(--lmcc-accent));
  outline-offset: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ghost:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ghost--small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ticket {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 24px;
  padding: 10px 10px 10px 18px;
  border: 1px solid hsl(var(--lmcc-border));
  border-radius: 14px;
  background: hsl(var(--lmcc-background));
}

.lmc-calc:not(#lmc-calc-scope) .nf-ticket-type {
  flex-shrink: 0;
  padding: 6px 16px 6px 0;
  border-right: 1.5px dashed hsl(var(--lmcc-border));
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-ticket-address {
  display: flex;
  flex: 1 1 220px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-ticket-address span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ticket-address svg {
  flex-shrink: 0;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-next {
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-next-title {
  margin: 0 0 16px;
  font-family: var(--lmcc-font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-next ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nf-next;
}

.lmc-calc:not(#lmc-calc-scope) .nf-next li {
  counter-increment: nf-next;
  position: relative;
  display: grid;
  gap: 3px;
  padding: 0 0 18px 42px;
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--lmcc-muted-foreground));
  text-wrap: pretty;
}

.lmc-calc:not(#lmc-calc-scope) .nf-next li:last-child {
  padding-bottom: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-next li::before {
  content: counter(nf-next);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: hsl(var(--lmcc-card));
  box-shadow: inset 0 0 0 1.5px hsl(var(--lmcc-primary));
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-next li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 4px;
  left: 13.5px;
  width: 1px;
  background: hsl(var(--lmcc-border));
}

.lmc-calc:not(#lmc-calc-scope) .nf-next strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-ref code {
  font-family: var(--lmcc-font-mono), ui-monospace, SFMono-Regular, monospace;
}

.lmc-calc:not(#lmc-calc-scope) .nf-contact {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.lmc-calc:not(#lmc-calc-scope) .nf-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: hsl(var(--lmcc-primary));
  text-decoration: underline;
  text-decoration-color: hsl(var(--lmcc-accent));
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.lmc-calc:not(#lmc-calc-scope) .nf-contact a:hover {
  text-decoration-color: currentColor;
}

.lmc-calc:not(#lmc-calc-scope) .nf-contact a:focus-visible {
  outline: 3px solid hsl(var(--lmcc-accent));
  outline-offset: 2px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-contact svg {
  flex-shrink: 0;
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-outcome::before {
  opacity: 1;
}

.lmc-calc:not(#lmc-calc-scope) .nf-outcome--caution::before {
  border-color: hsl(var(--lmcc-nf-caution-on-dark));
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px 26px;
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-postmark {
  display: block;
  width: 190px;
  height: auto;
  margin: -4px 0 0 -6px;
  overflow: visible;
  color: hsl(var(--lmcc-accent-on-light));
  transform: rotate(-8deg);
  animation: nf-stamp 560ms cubic-bezier(.2, .9, .3, 1.25) 160ms both;
}

.lmc-calc:not(#lmc-calc-scope) .nf-postmark text {
  fill: currentColor;
}

.lmc-calc:not(#lmc-calc-scope) .nf-postmark-ring {
  font-family: var(--lmcc-font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
}

.lmc-calc:not(#lmc-calc-scope) .nf-postmark-word {
  font-family: var(--lmcc-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
}

.lmc-calc:not(#lmc-calc-scope) .nf-postmark-date {
  font-family: var(--lmcc-font-mono), ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: .85;
}

.lmc-calc:not(#lmc-calc-scope) .nf-postmark-wave {
  opacity: .8;
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-copy {
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: hsl(var(--lmcc-primary));
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-lede strong {
  font-weight: 700;
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-list {
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid hsl(var(--lmcc-border));
  border-radius: 14px;
  background: hsl(var(--lmcc-background));
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-list > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 12px 16px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-list > div + div {
  border-top: 1px dashed hsl(var(--lmcc-border));
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-list dt {
  padding-top: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-list dd {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: hsl(var(--lmcc-primary));
  overflow-wrap: anywhere;
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-list dd span {
  font-size: 13.5px;
  font-weight: 500;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-foot {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-receipt-side {
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-side-label {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-side-hint {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: hsl(var(--lmcc-muted-foreground));
}

.lmc-calc:not(#lmc-calc-scope) .nf-ref {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid hsl(var(--lmcc-border));
  border-radius: 12px;
  background: hsl(var(--lmcc-background));
}

.lmc-calc:not(#lmc-calc-scope) .nf-ref code {
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.45;
  color: hsl(var(--lmcc-primary));
  word-break: break-all;
  user-select: all;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ref-copy {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid hsl(var(--lmcc-border));
  background: hsl(var(--lmcc-card));
  color: hsl(var(--lmcc-primary));
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ref-copy:hover {
  background: hsl(var(--lmcc-muted) / .7);
}

.lmc-calc:not(#lmc-calc-scope) .nf-ref-copy:focus-visible {
  outline: 3px solid hsl(var(--lmcc-accent));
  outline-offset: -3px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-ref-copy[data-copied="true"] {
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-tray--note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.lmc-calc:not(#lmc-calc-scope) .nf-tray-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--lmcc-primary));
}

.lmc-calc:not(#lmc-calc-scope) .nf-tray-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: hsl(var(--lmcc-accent-on-light));
}

.lmc-calc:not(#lmc-calc-scope) .nf-outcome--caution .nf-tray-note svg {
  color: hsl(var(--lmcc-nf-caution));
}

.lmc-calc:not(#lmc-calc-scope) .nf-caution-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.lmc-calc:not(#lmc-calc-scope) .nf-caution-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: hsl(var(--lmcc-nf-caution) / .1);
  box-shadow: inset 0 0 0 1.5px hsl(var(--lmcc-nf-caution) / .35);
  color: hsl(var(--lmcc-nf-caution));
}

.lmc-calc:not(#lmc-calc-scope) .nf-caution-guide {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid hsl(var(--lmcc-nf-caution) / .3);
  border-radius: 12px;
  background: hsl(var(--lmcc-nf-caution-soft));
  box-shadow: inset 3px 0 0 hsl(var(--lmcc-nf-caution));
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
  color: hsl(var(--lmcc-primary));
}

@media (max-width: 1023px) {
  .lmc-calc:not(#lmc-calc-scope) .nf-sheet-top {
    align-items: start;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-rail {
    max-width: 480px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-fields--budget > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-tray-row--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-tray-row--contact .nf-tray-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {

  .lmc-calc:not(#lmc-calc-scope) .nf-sheet-top {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-dealtype-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-deal-tile {
    min-height: 0;
    gap: 14px;
    padding: 14px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-deal-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-fields--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-w2:not(.nf-phone-full) {
    grid-column: span 1;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-w3,
.lmc-calc:not(#lmc-calc-scope) .nf-w4,
.lmc-calc:not(#lmc-calc-scope) .nf-phone-full {
    grid-column: 1 / -1;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-fields--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-tray-row--contact .nf-tray-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-tray-actions .nf-ghost {
    width: 100%;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-tray-actions .nf-submit {
    min-width: 0;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-ticket {
    padding: 12px 12px 12px 16px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-ticket-type {
    width: 100%;
    padding: 0;
    border-right: 0;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-receipt-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-postmark {
    width: 160px;
    margin: 0 0 4px -4px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-receipt-list > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-caution-main {
    flex-direction: column;
    gap: 14px;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-tray--note .nf-ghost {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .lmc-calc:not(#lmc-calc-scope) .nf-rail li:not([data-state="current"]) > span:first-of-type {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmc-calc:not(#lmc-calc-scope) .nf-screen,
.lmc-calc:not(#lmc-calc-scope) .nf-reveal,
.lmc-calc:not(#lmc-calc-scope) .nf-postmark {
    animation: none;
  }

  .lmc-calc:not(#lmc-calc-scope) .nf-deal-tile:has(input:checked) .nf-deal-icon,
.lmc-calc:not(#lmc-calc-scope) .nf-deal-tile:has(input:checked) .nf-deal-mark {
    transform: none;
  }
}
.lmc-calc:not(#lmc-calc-scope) .nf-sheet-top { grid-template-columns: minmax(0, 1fr); }
.lmc-calc:not(#lmc-calc-scope) .nf-rail { grid-column: 1; max-width: none; flex-wrap: wrap; }
.lmc-calc:not(#lmc-calc-scope) .nf-rail li { white-space: normal; flex: 1 1 130px; }
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review dt { color: hsl(var(--lmcc-muted-foreground)); }
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review dd { color: hsl(var(--lmcc-primary)); }
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review div { border-color: hsl(var(--lmcc-border)); }
.lmc-calc:not(#lmc-calc-scope) .nf-groups--single { grid-template-columns: minmax(0, 1fr); }
.lmc-calc:not(#lmc-calc-scope) .nf-review-details { padding: 12px 0 22px; }
.lmc-calc:not(#lmc-calc-scope) .nf-review-details summary { cursor: pointer; min-height: 28px; }
.lmc-calc:not(#lmc-calc-scope) .nf-review-details summary:focus-visible { outline: 2px solid hsl(var(--lmcc-accent-on-light)); outline-offset: 4px; }
@media (max-width: 767px) {
  .lmc-calc:not(#lmc-calc-scope) .nf-rail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 8px; }
  .lmc-calc:not(#lmc-calc-scope) .nf-rail li:not(:last-child)::after { display: none; }
}
@media (max-width: 479px) {
  .lmc-calc:not(#lmc-calc-scope) .nf-rail li:not([data-state="current"]) > span:first-of-type {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal;
  }
}

@keyframes nf-screen-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes nf-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes nf-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(270%); }
}


/* WordPress / Gravity Forms adjustments */
.lmc-calc:not(#lmc-calc-scope) .gform_page[style*="display:none"],
.lmc-calc:not(#lmc-calc-scope) .gform_page[style*="display: none"] { display: none; }
.lmc-calc:not(#lmc-calc-scope) .nf-sheet-top { border-radius: var(--nf-sheet-radius) var(--nf-sheet-radius) 0 0; }
.lmc-calc:not(#lmc-calc-scope) .nf-field-error:empty { display: none; }
.lmc-calc:not(#lmc-calc-scope) .nf-flow-review dt { font-size: 14px; }
.lmc-calc:not(#lmc-calc-scope) .nf-review { margin: 0; }
.lmc-calc:not(#lmc-calc-scope) .nf-tray-row--contact .gfield { min-width: 0; }
.lmc-calc:not(#lmc-calc-scope) .nf-sheet-title:focus { outline: none; }
.lmc-calc:not(#lmc-calc-scope) .nf-sheet-title:focus-visible { outline: 3px solid hsl(var(--lmcc-accent)); outline-offset: 4px; border-radius: 4px; }
/* Gravity Forms' error summary above the sheet, in the original response-notice style. */
.lmc-calc:not(#lmc-calc-scope) .gform_validation_errors {
  margin: 0; padding: 13px 16px; border: 0; border-bottom: 1px solid hsl(var(--lmcc-border)); border-radius: var(--nf-sheet-radius) var(--nf-sheet-radius) 0 0;
  background: hsl(var(--lmcc-card)); box-shadow: inset 3px 0 0 hsl(var(--lmcc-destructive));
}
.lmc-calc:not(#lmc-calc-scope) .gform_validation_errors > h2 { margin: 0; color: hsl(var(--lmcc-destructive)); font-size: 14px; font-weight: 700; line-height: 1.6; }
.lmc-calc:not(#lmc-calc-scope) .gform_validation_errors > h2 svg { display: none; }
.lmc-calc:not(#lmc-calc-scope) .gform_validation_errors + .gform_body .nf-sheet-top { border-radius: 0; }

/* Property Address suggestions (the original's address-autocomplete.css), opened by lead-forms.js. */
.lmc-calc:not(#lmc-calc-scope) .nf-address-search { position: relative; }
.lmc-calc:not(#lmc-calc-scope) .nf-address-options { position: absolute; top: 80px; left: 0; right: 0; z-index: 30; overflow: hidden; border: 1px solid #b8c1cf; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px #12214420; }
.lmc-calc:not(#lmc-calc-scope) .nf-address-options[hidden] { display: none; }
.lmc-calc:not(#lmc-calc-scope) .nf-address-options ul { margin: 0; padding: 4px; list-style: none; }
.lmc-calc:not(#lmc-calc-scope) .nf-address-options li { margin: 0; padding: 12px; border-radius: 8px; color: #233153; font-size: 14px; line-height: 21px; cursor: pointer; }
.lmc-calc:not(#lmc-calc-scope) .nf-address-options li[aria-selected="true"] { background: #edf3e8; }
.lmc-calc:not(#lmc-calc-scope) .nf-google-attribution { padding: 8px 16px; border-top: 1px solid #e4e7eb; color: #586273; font-size: 14px; line-height: 21px; text-align: right; }

/* Outcome screens (calculator-form.php): the sheet's corner brackets, fully shown as on the original's outcomes. */
.lmc-calc:not(#lmc-calc-scope) .nf-outcome { position: relative; }
.lmc-calc:not(#lmc-calc-scope) .nf-outcome::before {
  content: ""; position: absolute; inset: -11px; border: 2px solid hsl(var(--lmcc-accent-on-dark));
  border-radius: calc(var(--nf-sheet-radius) + 11px); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-size: 46px 46px; -webkit-mask-position: left top, right top, left bottom, right bottom; -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-size: 46px 46px; mask-position: left top, right top, left bottom, right bottom; mask-repeat: no-repeat;
}
.lmc-calc:not(#lmc-calc-scope) .gform_confirmation_message { margin: 0; padding: 0; }
.lmc-calc:not(#lmc-calc-scope) .nf-outcome--caution::before { border-color: hsl(var(--lmcc-nf-caution-on-dark)); }
@media (max-width: 767px) { .lmc-calc:not(#lmc-calc-scope) .nf-outcome::before { display: none; } }
