.path-block {
  margin-top: clamp(10px, 1.3vw, 24px);
  padding: clamp(1.125rem, 4.05vw, 3.75rem);
  background: #efe1d1;
  border-radius: 3px;
  scroll-margin-top: 12px;
}
.path-layout {
  display: grid;
  grid-template: "intro output" auto "inputs output" 1fr / minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3.2vw, 3.25rem);
  row-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  max-width: 1120px;
  margin-inline: auto;
}
.path-intro { grid-area: intro; }
.path-inputs { grid-area: inputs; }
.path-output { grid-area: output; }
.path-intro h2 {
  margin-block: 0 .55rem;
  font-size: clamp(2rem, 4.8vw, 3.75rem);
}
.path-intro p { max-width: 57ch; color: var(--muted); }
.path-quick-start {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  margin-top: .25rem;
  font-weight: 650;
  text-decoration: none;
}
.path-quick-start:hover { color: var(--action-hover); text-decoration: none; }
.path-debt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: .5rem;
}
.path-debt label { font-weight: 650; }
.path-amount { color: var(--ink); font: 400 clamp(1.4rem, 3.5vw, 2rem)/1.1 var(--display); white-space: nowrap; }
.path-debt input {
  grid-column: 1 / -1;
  width: 100%;
  height: 44px;
  margin: .25rem 0;
  accent-color: var(--action);
  cursor: pointer;
}
.path-chips, .path-options { display: grid; gap: .5rem; }
.path-chips { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .375rem; }
.path-options--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path-chips button, .path-options button {
  min-height: 44px;
  padding: .25rem;
  border: 1px solid #b69b87;
  border-radius: 999px;
  background: #fdf7ee;
  color: var(--ink);
  line-height: 1.25;
}
.path-chips button {
  padding-inline: .125rem;
  font-size: clamp(.8125rem, 3.6vw, .875rem);
  text-wrap: nowrap;
}
.path-chips button[aria-pressed="true"] {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--light);
}
.path-chips button:focus-visible {
  outline-width: 2px;
  outline-offset: -3px;
}
.path-chips button[aria-pressed="true"]:focus-visible { outline-color: var(--light); }
.path-options button {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 48px;
  padding: .65rem .8rem;
  border-color: #d6c1af;
  border-radius: 10px;
  text-align: start;
}
.path-options button::before {
  content: "";
  flex: 0 0 .9rem;
  height: .9rem;
  border: 1px solid #9d7c69;
  border-radius: 50%;
  background: #fdf7ee;
}
.path-options--pair button { justify-content: center; }
.path-options button[aria-pressed="true"] {
  border-color: #96745e;
  background: #f6ede2;
}
.path-options button[aria-pressed="true"]::before {
  border-color: var(--dark);
  background: radial-gradient(circle, var(--dark) 0 36%, #fdf7ee 43%);
}
.path-question { margin-top: 1.5rem; }
.path-question legend {
  margin-bottom: .65rem;
  padding: 0;
  font: 400 clamp(1.25rem, 2.2vw, 1.55rem)/1.2 var(--display);
}
.path-result {
  padding: clamp(.875rem, 2.15vw, 1.75rem);
  border: 1px solid #d4bdab;
  border-radius: 12px;
  background: #fdf7ee;
}
.path-summary h3 { font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--display); text-wrap: balance; }
.path-summary p, .path-route > p:not(.path-route-time) { color: var(--muted); font-size: .9375rem; }
.path-summary p { margin-top: .5rem; }
.path-route {
  margin-top: .75rem;
  padding: .8rem clamp(.75rem, 1.5vw, 1rem);
  border: 1px solid #e1cfbe;
  border-radius: 9px;
  background: #f8eee3;
}
.path-route.is-suggested { border-color: #977763; }
#path-mfc.is-suggested { border-color: #9cac99; background: #eef2e9; }
.path-route h4 { margin: 0 0 .25rem; font-size: .875rem; font-weight: 700; }
.path-route-time { margin-bottom: .25rem; font: 400 clamp(1.35rem, 2.8vw, 1.9rem)/1.12 var(--display); }
#path-mfc.is-suggested .path-route-time { color: #236344; }
.path-route > .path-route-date { margin-top: .45rem; padding-top: .45rem; border-top: 1px solid #c8d4c4; }
@media (forced-colors: active) {
  .path-chips button[aria-pressed="true"], .path-options button[aria-pressed="true"] { border-color: Highlight; }
  .path-options button[aria-pressed="true"]::before { background: Highlight; forced-color-adjust: none; }
}
.path-invitation {
  margin-block: 1rem 1.25rem;
  padding: .85rem;
  border-radius: 9px;
  background: #f4e5d7;
}
.path-invitation > p:first-child { font-size: 1rem; line-height: 1.35; }
.path-invitation-detail { margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.path-continue { width: 100%; margin-top: .65rem; min-height: 48px; text-align: center; }
.path-invitation-note { margin-top: .45rem; color: var(--muted); font-size: .8125rem; text-align: center; }
.path-block .quiz { margin-top: clamp(1.25rem, 3.2vw, 3.25rem); }
@media (max-width: 760px) {
  .path-layout {
    grid-template: "intro" auto "inputs" auto "output" auto / minmax(0, 1fr);
    gap: 1.25rem;
    max-width: 520px;
  }
}
.path-debt input {
  appearance: none;
  background: transparent;
  color: var(--action);
}
.path-debt input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, currentColor var(--path-range-fill, 14%), #cbb5a5 var(--path-range-fill, 14%));
}
.path-debt input::-moz-range-track { height: 8px; border-radius: 999px; background: #cbb5a5; }
.path-debt input::-moz-range-progress { height: 8px; border-radius: 999px; background: currentColor; }
.path-debt input::-webkit-slider-thumb {
  appearance: none;
  width: 36px;
  height: 36px;
  margin-top: -14px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: #fffaf3;
}
.path-debt input::-moz-range-thumb {
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: #fffaf3;
}
.path-debt input:focus { outline: none; }
.path-debt input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #d8aa96; }
.path-debt input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #d8aa96; }
@media (forced-colors: active) {
  .path-debt input { appearance: auto; }
  .path-debt input:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
