#plan-total-occupation {
  --occupation-ink: #30383b;
  --occupation-muted: #656b68;
  --occupation-green: #435638;
  --occupation-line: #e7d8c5;
  --occupation-paper: #fbf7ef;
  --occupation-sage: #e9eee1;
  margin-top: 18px;
  color: var(--occupation-ink);
  font-family: "DM Sans", sans-serif;
}

#plan-total-occupation .occupation-summary {
  display: grid;
  grid-template-columns: minmax(190px, .76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: 18px 25px;
  padding: clamp(17px, 2.5vw, 25px);
  border: 1px solid var(--occupation-line);
  border-radius: 11px;
  background: var(--occupation-paper);
}

#plan-total-occupation .occupation-summary-intro {
  grid-column: 1;
  grid-row: 1;
}

#plan-total-occupation .occupation-summary-kicker {
  display: block;
  color: #68765b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

#plan-total-occupation .occupation-summary-intro h2 {
  margin: 7px 0 8px;
  color: #20272c;
  font: 750 clamp(21px, 2.5vw, 28px)/1.12 "Manrope", sans-serif;
  letter-spacing: -.045em;
}

#plan-total-occupation .occupation-summary-intro p {
  max-width: 310px;
  margin: 0;
  color: var(--occupation-muted);
  font-size: 12px;
  line-height: 1.6;
}

#plan-total-occupation .occupation-summary-controls {
  grid-column: 1;
  grid-row: 2;
  max-width: 310px;
}

#plan-total-occupation .occupation-summary-controls label {
  display: block;
  margin-bottom: 7px;
  color: #30383b;
  font-size: 11px;
  font-weight: 700;
}

#plan-total-occupation .occupation-summary-years {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d9d9cc;
  border-radius: 7px;
  background: #fffefa;
  color: #30383b;
  font: 600 14px "DM Sans", sans-serif;
}

#plan-total-occupation .occupation-summary-years:focus-visible {
  border-color: var(--occupation-green);
  outline: 3px solid #4356382b;
  outline-offset: 1px;
}

#plan-total-occupation .occupation-summary-years[aria-invalid="true"] {
  border-color: #a44730;
}

#plan-total-occupation .occupation-summary-help {
  margin: 7px 0 0;
  color: #747876;
  font-size: 10px;
  line-height: 1.5;
}

#plan-total-occupation .occupation-summary-result {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
  min-width: 0;
}

#plan-total-occupation .occupation-summary-controls {
  grid-column: 2;
  grid-row: 1;
}

#plan-total-occupation .occupation-summary-scenario {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

#plan-total-occupation .occupation-summary-scenario-heading {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

#plan-total-occupation .occupation-summary-scenario-description {
  margin: 0;
  font-size: 11px;
  color: var(--occupation-muted);
}

#plan-total-occupation .occupation-summary-details summary {
  cursor: pointer;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
}

#plan-total-occupation .occupation-summary-total {
  display: grid;
  gap: 4px;
  padding: 17px 19px;
  border: 1px solid #d6e0d1;
  border-radius: 9px;
  background: #edf2e8;
}

#plan-total-occupation .occupation-summary-total-label {
  color: #68765b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#plan-total-occupation .occupation-summary-total-value {
  color: var(--occupation-green);
  font: 800 18px/1.3 "Manrope", sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

#plan-total-occupation .occupation-summary-total-term {
  color: #626b66;
  font-size: 10px;
}

#plan-total-occupation .occupation-summary-per-area {
  color: var(--occupation-green);
  font: 700 13px/1.3 "Manrope", sans-serif;
  overflow-wrap: anywhere;
}

#plan-total-occupation .occupation-summary-area-unavailable {
  color: #716c65;
  font-size: 11px;
}

#plan-total-occupation .occupation-summary-total.is-unavailable {
  background: #f5f0e9;
}

#plan-total-occupation .occupation-summary-total.is-unavailable .occupation-summary-total-value {
  color: #716c65;
  font-size: 20px;
  letter-spacing: -.025em;
}

#plan-total-occupation .occupation-summary-breakdown {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e9e1d6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .6);
}

#plan-total-occupation .occupation-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #e9e1d6;
  font-size: 10px;
  line-height: 1.45;
}

#plan-total-occupation .occupation-summary-row:last-child {
  border-bottom: 0;
  background: #f3f4ed;
  font-weight: 700;
}

#plan-total-occupation .occupation-summary-row dt {
  color: #555f59;
}

#plan-total-occupation .occupation-summary-row dd {
  margin: 0;
  color: var(--occupation-green);
  font-weight: 700;
  text-align: right;
}

#plan-total-occupation .occupation-summary-missing,
#plan-total-occupation .occupation-summary-error,
#plan-total-occupation .occupation-summary-validation {
  margin: 0;
  padding: 11px 13px;
  border: 1px dashed #d8cbbb;
  border-radius: 7px;
  background: #fff9f1;
  color: #716c65;
  font-size: 10px;
  line-height: 1.5;
}

#plan-total-occupation .occupation-summary-missing strong {
  color: #4b514d;
}

#plan-total-occupation .occupation-summary-missing ul,
#plan-total-occupation .occupation-summary-warnings,
#plan-total-occupation .occupation-summary-caveats {
  display: grid;
  gap: 4px;
  margin: 6px 0 0;
  padding-left: 17px;
}

#plan-total-occupation .occupation-summary-missing li::marker,
#plan-total-occupation .occupation-summary-warnings li::marker,
#plan-total-occupation .occupation-summary-caveats li::marker {
  color: #829273;
}

#plan-total-occupation .occupation-summary-error,
#plan-total-occupation .occupation-summary-validation {
  border-color: #e5c5b9;
  background: #fff5f1;
  color: #91462f;
}

#plan-total-occupation .occupation-summary-warnings {
  margin: 0;
  padding: 10px 13px 10px 28px;
  border-radius: 7px;
  background: #f0f3ea;
  color: #626b66;
  font-size: 10px;
  line-height: 1.5;
}

#plan-total-occupation .occupation-summary-formula,
#plan-total-occupation .occupation-summary-caveats {
  grid-column: 1 / -1;
}

#plan-total-occupation .occupation-summary-formula {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #e6ddcf;
  color: #4c5a50;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

#plan-total-occupation .occupation-summary-caveats {
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
  margin: -9px 0 0;
  color: #727773;
  font-size: 9px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  #plan-total-occupation .occupation-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding: 16px;
  }

  #plan-total-occupation .occupation-summary-intro,
  #plan-total-occupation .occupation-summary-controls,
  #plan-total-occupation .occupation-summary-result,
  #plan-total-occupation .occupation-summary-formula,
  #plan-total-occupation .occupation-summary-caveats {
    grid-column: 1;
    grid-row: auto;
  }

  #plan-total-occupation .occupation-summary-controls {
    max-width: none;
  }

  #plan-total-occupation .occupation-summary-result {
    grid-template-columns: 1fr;
  }

  #plan-total-occupation .occupation-summary-caveats {
    grid-template-columns: 1fr;
  }

  #plan-total-occupation .occupation-summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #plan-total-occupation .occupation-summary-row dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  #plan-total-occupation *,
  #plan-total-occupation *::before,
  #plan-total-occupation *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}