.msc-widget {
  --msc-background: #ffffff;
  --msc-foreground: #000000;
  --msc-card: #ffffff;
  --msc-primary: #557ba3;
  --msc-primary-soft: #e9eff5;
  --msc-muted: #f4f6f8;
  --msc-muted-foreground: #5f6872;
  --msc-border: #d7e0e8;
  --msc-input: #dadada;
  --msc-ring: #557ba3;
  --msc-destructive: #b34b39;
  --msc-warning: #fff1c7;
  --msc-chart-proceeds: #557ba3;
  --msc-chart-mortgage: #9bb2c7;
  --msc-chart-costs: #32435c;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--msc-foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.msc-widget,
.msc-widget *,
.msc-widget *::before,
.msc-widget *::after {
  box-sizing: border-box;
}

.msc-widget h2,
.msc-widget h3,
.msc-widget h4,
.msc-widget p,
.msc-widget dl,
.msc-widget dt,
.msc-widget dd {
  margin: 0;
}

.msc-widget button,
.msc-widget input,
.msc-widget select {
  border-radius: 0;
  font: inherit;
}

.msc-widget button {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.msc-widget a {
  color: inherit;
  text-decoration: none;
}

.msc-widget [hidden] {
  display: none !important;
}

.msc-widget .msc-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.msc-widget .msc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
  align-items: start;
  gap: 28px;
}

.msc-widget .msc-form-column {
  min-width: 0;
}

.msc-widget .msc-card,
.msc-widget .msc-result-card,
.msc-widget .msc-precision-card {
  border: 1px solid var(--msc-border);
  border-radius: 12px;
  background: var(--msc-card);
}

.msc-widget .msc-form-card {
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(32, 44, 37, 0.07);
}

.msc-widget .msc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--msc-border);
}

.msc-widget .msc-card-header h2 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.msc-widget .msc-card-header p {
  margin-top: 4px;
  color: var(--msc-muted-foreground);
  font-size: 12px;
}

.msc-widget .msc-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.msc-widget .msc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.msc-widget .msc-button:focus-visible,
.msc-widget .msc-input:focus-visible,
.msc-widget .msc-select:focus-visible,
.msc-widget .msc-accordion-toggle:focus-visible,
.msc-widget a:focus-visible {
  outline: 2px solid var(--msc-ring);
  outline-offset: 3px;
}

.msc-widget .msc-button:active {
  transform: translateY(1px);
}

.msc-widget .msc-button .msc-icon {
  width: 15px;
  height: 15px;
}

.msc-widget .msc-button-secondary {
  background: var(--msc-primary-soft);
  color: #32435c;
}

.msc-widget .msc-button-secondary:hover {
  background: #e1eaf2;
}

.msc-widget .msc-button-ghost {
  background: transparent;
  color: var(--msc-muted-foreground);
}

.msc-widget .msc-button-ghost:hover {
  background: var(--msc-muted);
  color: var(--msc-foreground);
}

.msc-widget .msc-button-primary {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--msc-primary);
  color: #ffffff;
}

.msc-widget .msc-button-primary:hover {
  background: #456b8f;
}

.msc-widget .msc-button-outline {
  width: 100%;
  min-height: 40px;
  padding: 10px 13px;
  border-color: var(--msc-border);
  background: var(--msc-card);
  color: var(--msc-primary);
}

.msc-widget .msc-button-outline:hover {
  background: var(--msc-muted);
}

.msc-widget .msc-card-content {
  padding: 24px;
}

.msc-widget .msc-stack-large > section {
  min-width: 0;
}

.msc-widget .msc-stack-large > section + section {
  margin-top: 28px;
}

.msc-widget .msc-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.msc-widget .msc-section-heading h3 {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 650;
}

.msc-widget .msc-section-icon,
.msc-widget .msc-accordion-icon,
.msc-widget .msc-result-placeholder-icon,
.msc-widget .msc-precision-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--msc-primary-soft);
  color: var(--msc-primary);
}

.msc-widget .msc-section-icon .msc-icon,
.msc-widget .msc-accordion-icon .msc-icon {
  width: 16px;
  height: 16px;
}

.msc-widget .msc-optional {
  margin-left: auto;
  color: var(--msc-muted-foreground);
  font-size: 10px;
  font-weight: 400;
}

.msc-widget .msc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.msc-widget .msc-field {
  min-width: 0;
}

.msc-widget .msc-label {
  display: block;
  margin-bottom: 8px;
  color: var(--msc-foreground);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 550;
}

.msc-widget .msc-required {
  margin-left: 3px;
  color: var(--msc-muted-foreground);
}

.msc-widget .msc-input-wrap,
.msc-widget .msc-select-wrap {
  position: relative;
}

.msc-widget .msc-input,
.msc-widget .msc-select {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--msc-input);
  border-radius: 8px;
  background: var(--msc-card);
  color: var(--msc-foreground);
  box-shadow: none;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.msc-widget .msc-input {
  padding: 10px 12px 10px 36px;
  font-variant-numeric: tabular-nums;
}

.msc-widget .msc-input-percent {
  padding-right: 34px;
  padding-left: 12px;
}

.msc-widget .msc-input::placeholder {
  color: #8c969f;
  font-size: 12px;
}

.msc-widget .msc-input:hover,
.msc-widget .msc-select:hover {
  border-color: #b1c1d1;
}

.msc-widget .msc-input:focus,
.msc-widget .msc-select:focus {
  border-color: var(--msc-ring);
  box-shadow: 0 0 0 3px rgba(114, 153, 130, 0.18);
  outline: 0;
}

.msc-widget .msc-input.msc-input-error,
.msc-widget .msc-input[aria-invalid="true"],
.msc-widget .msc-select[aria-invalid="true"] {
  border-color: var(--msc-destructive);
}

.msc-widget .msc-input-icon {
  position: absolute;
  top: 50%;
  z-index: 1;
  color: var(--msc-muted-foreground);
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.msc-widget .msc-input-icon-left {
  left: 13px;
}

.msc-widget .msc-input-icon-right {
  right: 13px;
}

.msc-widget .msc-help {
  margin-top: 7px;
  color: var(--msc-muted-foreground);
  font-size: 11px;
  line-height: 1.65;
}

.msc-widget .msc-error {
  margin-top: 6px;
  color: var(--msc-destructive);
  font-size: 12px;
  line-height: 1.55;
}

.msc-widget .msc-county-field {
  margin-top: 20px;
}

.msc-widget .msc-select-wrap > .msc-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  width: 16px;
  height: 16px;
  color: var(--msc-muted-foreground);
  pointer-events: none;
  transform: translateY(-50%);
}

.msc-widget .msc-select {
  padding: 10px 36px 10px 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--msc-muted-foreground) 50%), linear-gradient(135deg, var(--msc-muted-foreground) 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  cursor: pointer;
}

.msc-widget .msc-county-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(240, 243, 233, 0.7);
  font-size: 11px;
}

.msc-widget .msc-county-meta > .msc-icon {
  width: 15px;
  height: 15px;
  color: var(--msc-muted-foreground);
}

.msc-widget .msc-county-meta strong {
  color: var(--msc-primary);
  font-weight: 650;
}

.msc-widget .msc-muted {
  color: var(--msc-muted-foreground);
}

.msc-widget .msc-applied {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--msc-muted-foreground);
  font-size: 10px;
}

.msc-widget .msc-applied .msc-icon {
  width: 12px;
  height: 12px;
}

.msc-widget .msc-separator {
  height: 1px;
  margin: 28px 0;
  background: var(--msc-border);
}

.msc-widget .msc-rate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.msc-widget .msc-rate-button {
  flex: 1 1 0;
  min-width: 44px;
  min-height: 32px;
  padding: 5px 7px;
  border: 1px solid var(--msc-border);
  border-radius: 7px;
  background: var(--msc-card);
  color: var(--msc-muted-foreground);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.msc-widget .msc-rate-button:hover,
.msc-widget .msc-rate-button[aria-pressed="true"] {
  border-color: rgba(35, 79, 62, 0.25);
  background: var(--msc-primary-soft);
  color: var(--msc-primary);
}

.msc-widget .msc-inline-note,
.msc-widget .msc-under-form,
.msc-widget .msc-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--msc-muted-foreground);
  font-size: 11px;
  line-height: 1.65;
}

.msc-widget .msc-inline-note {
  margin-top: 16px;
}

.msc-widget .msc-inline-note .msc-icon,
.msc-widget .msc-under-form .msc-icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.msc-widget .msc-accordion {
  border-top: 1px solid var(--msc-border);
}

.msc-widget .msc-accordion:last-of-type {
  border-bottom: 1px solid var(--msc-border);
}

.msc-widget .msc-accordion-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 14px 24px;
  background: transparent;
  color: var(--msc-foreground);
  text-align: left;
}

.msc-widget .msc-accordion-toggle:hover {
  background: rgba(240, 243, 233, 0.45);
}

.msc-widget .msc-accordion-title {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.msc-widget .msc-accordion-icon-plain {
  background: transparent;
  color: var(--msc-muted-foreground);
}

.msc-widget .msc-accordion-icon-plain .msc-icon {
  width: 16px;
  height: 16px;
}

.msc-widget .msc-badge {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--msc-primary-soft);
  color: #32435c;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.msc-widget .msc-chevron {
  margin-left: 12px;
  color: var(--msc-muted-foreground);
  font-size: 18px;
  line-height: 1;
  transition: transform 140ms ease;
}

.msc-widget .msc-accordion-toggle[aria-expanded="true"] .msc-chevron {
  transform: rotate(180deg);
}

.msc-widget .msc-accordion-content {
  padding: 0 24px 24px;
}

.msc-widget .msc-accordion-content .msc-field + .msc-field {
  margin-top: 20px;
}

.msc-widget .msc-section-help {
  margin-bottom: 20px;
}

.msc-widget .msc-escrow-section {
  padding: 24px;
}

.msc-widget .msc-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed var(--msc-border);
  border-radius: 8px;
  color: var(--msc-muted-foreground);
  font-size: 11px;
  line-height: 1.65;
}

.msc-widget .msc-alert .msc-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.msc-widget .msc-submit-area {
  padding: 24px;
}

.msc-widget .msc-validation-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(179, 75, 57, 0.35);
  border-radius: 8px;
  background: rgba(179, 75, 57, 0.06);
  color: var(--msc-destructive);
  font-size: 12px;
  line-height: 1.55;
}

.msc-widget .msc-validation-alert .msc-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.msc-widget .msc-privacy-note {
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  font-size: 10px;
}

.msc-widget .msc-privacy-note .msc-icon {
  width: 12px;
  height: 12px;
}

.msc-widget .msc-example-link {
  margin-top: 5px;
  text-align: center;
}

.msc-widget .msc-example-link .msc-button {
  font-size: 12px;
}

.msc-widget .msc-example-link strong {
  color: var(--msc-primary);
  font-weight: 650;
}

.msc-widget .msc-example-link .msc-icon {
  width: 13px;
  height: 13px;
  color: var(--msc-primary);
}

.msc-widget .msc-under-form {
  justify-content: center;
  margin-top: 16px;
  padding: 0 12px;
  text-align: center;
}

.msc-widget .msc-results {
  position: sticky;
  top: 24px;
  min-width: 0;
  outline: none;
}

.msc-widget .msc-result-card {
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(32, 44, 37, 0.07);
}

.msc-widget .msc-result-hero {
  background: var(--msc-primary);
  color: #ffffff;
}

.msc-widget .msc-result-negative {
  background: var(--msc-destructive);
}

.msc-widget .msc-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.msc-widget .msc-result-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

.msc-widget .msc-result-header h2 .msc-icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.msc-widget .msc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 550;
}

.msc-widget .msc-status i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--msc-primary-soft);
}

.msc-widget .msc-result-summary {
  padding: 24px;
}

.msc-widget .msc-result-summary h3 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 450;
}

.msc-widget .msc-result-value {
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.msc-widget .msc-empty-value {
  color: rgba(255, 255, 255, 0.6);
}

.msc-widget .msc-result-summary > p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.65;
}

.msc-widget .msc-result-invalid {
  color: #ffe6a4 !important;
}

.msc-widget .msc-result-metrics {
  padding: 0 24px 24px;
}

.msc-widget .msc-escrow-row,
.msc-widget .msc-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.msc-widget .msc-escrow-row {
  color: #ffffff;
  font-size: 12px;
}

.msc-widget .msc-escrow-row > span:first-child {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.msc-widget .msc-escrow-row .msc-icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.msc-widget .msc-escrow-row small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.msc-widget .msc-escrow-row strong,
.msc-widget .msc-total-row strong {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
}

.msc-widget .msc-result-muted {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 400;
}

.msc-widget .msc-total-row {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.65;
}

.msc-widget .msc-total-row strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.msc-widget .msc-result-details {
  padding: 24px;
}

.msc-widget .msc-result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.msc-widget .msc-result-heading h3 {
  font-size: 14px;
  font-weight: 650;
}

.msc-widget .msc-result-heading span {
  color: var(--msc-muted-foreground);
  font-size: 10px;
}

.msc-widget .msc-progress-wrap {
  margin-bottom: 20px;
}

.msc-widget .msc-progress {
  display: flex;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
}

.msc-widget .msc-progress span {
  display: block;
  min-width: 0;
}

.msc-widget .msc-progress-proceeds {
  background: var(--msc-chart-proceeds);
}

.msc-widget .msc-progress-mortgage {
  background: var(--msc-chart-mortgage);
}

.msc-widget .msc-progress-costs {
  background: var(--msc-chart-costs);
}

.msc-widget .msc-progress-labels {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  color: var(--msc-muted-foreground);
  font-size: 10px;
}

.msc-widget .msc-progress-labels span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.msc-widget .msc-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.msc-widget .msc-dot-proceeds {
  background: var(--msc-chart-proceeds);
}

.msc-widget .msc-dot-mortgage {
  background: var(--msc-chart-mortgage);
}

.msc-widget .msc-dot-costs {
  background: var(--msc-chart-costs);
}

.msc-widget .msc-breakdown {
  display: grid;
  gap: 12px;
}

.msc-widget .msc-breakdown-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--msc-muted-foreground);
  font-size: 12px;
  line-height: 1.6;
}

.msc-widget .msc-breakdown-row dt {
  min-width: 0;
}

.msc-widget .msc-breakdown-row dd {
  flex: 0 0 auto;
  color: var(--msc-foreground);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.msc-widget .msc-breakdown-row dd.msc-credit {
  color: var(--msc-primary);
}

.msc-widget .msc-breakdown-price {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--msc-border);
  color: var(--msc-foreground);
  font-weight: 600;
}

.msc-widget .msc-result-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--msc-border);
  font-size: 13px;
  font-weight: 650;
}

.msc-widget .msc-result-total strong {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.msc-widget .msc-tax-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 16px;
  color: var(--msc-muted-foreground);
  font-size: 10px;
  line-height: 1.7;
}

.msc-widget .msc-tax-note .msc-icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.msc-widget .msc-result-placeholder-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: rgba(240, 243, 233, 0.65);
  color: var(--msc-muted-foreground);
}

.msc-widget .msc-result-placeholder-icon .msc-icon {
  width: 20px;
  height: 20px;
}

.msc-widget .msc-result-details > h4 {
  font-size: 14px;
  font-weight: 600;
}

.msc-widget .msc-result-details > p {
  margin-top: 8px;
  color: var(--msc-muted-foreground);
  font-size: 12px;
  line-height: 1.75;
}

.msc-widget .msc-placeholder-rows {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.msc-widget .msc-placeholder-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--msc-border);
  color: var(--msc-muted-foreground);
  font-size: 12px;
}

.msc-widget .msc-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 4px 0;
  color: var(--msc-muted-foreground);
  font-size: 11px;
  line-height: 1.7;
}

.msc-widget .msc-disclaimer > span .msc-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.msc-widget .msc-disclaimer strong {
  color: var(--msc-foreground);
  font-weight: 600;
}

.msc-widget .msc-precision-card {
  margin-top: 20px;
  padding: 20px;
  border-color: rgba(114, 153, 130, 0.35);
  background: var(--msc-primary-soft);
}

.msc-widget .msc-precision-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.msc-widget .msc-precision-icon {
  width: 36px;
  height: 36px;
  background: var(--msc-card);
}

.msc-widget .msc-precision-icon .msc-icon {
  width: 18px;
  height: 18px;
}

.msc-widget .msc-precision-heading h3 {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.msc-widget .msc-precision-heading p {
  margin-top: 5px;
  color: var(--msc-muted-foreground);
  font-size: 11px;
  line-height: 1.65;
}

.msc-widget .msc-precision-link {
  margin-top: 16px;
}

.msc-widget .msc-just-exploring {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--msc-border);
  border-radius: 8px;
  color: var(--msc-muted-foreground);
  font-size: 12px;
  line-height: 1.65;
}

.msc-widget .msc-just-exploring .msc-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.msc-widget .msc-just-exploring strong {
  color: var(--msc-foreground);
  font-weight: 650;
}

@media (max-width: 1023px) {
  .msc-widget .msc-layout {
    grid-template-columns: 1fr;
  }

  .msc-widget .msc-results {
    position: static;
  }
}

@media (max-width: 620px) {
  .msc-widget .msc-card-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .msc-widget .msc-toolbar {
    width: 100%;
  }

  .msc-widget .msc-toolbar .msc-button:first-child {
    flex: 1;
  }

  .msc-widget .msc-card-content,
  .msc-widget .msc-submit-area,
  .msc-widget .msc-result-summary,
  .msc-widget .msc-result-metrics,
  .msc-widget .msc-result-details,
  .msc-widget .msc-escrow-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .msc-widget .msc-accordion-toggle {
    padding-right: 20px;
    padding-left: 20px;
  }

  .msc-widget .msc-accordion-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .msc-widget .msc-field-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .msc-widget .msc-county-meta {
    align-items: flex-start;
  }

  .msc-widget .msc-applied {
    width: 100%;
    margin-left: 23px;
  }

  .msc-widget .msc-result-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .msc-widget .msc-progress-labels {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .msc-widget .msc-breakdown-row {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msc-widget *,
  .msc-widget *::before,
  .msc-widget *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
