.nex-path {
  background: #f6f5f2;
}
.nex-path h2 {
  max-width: 900px;
}
.path-lede {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.12rem;
}
.path-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 18px;
}
.path-stages button {
  border: 1px solid #c9c9c5;
  background: white;
  border-radius: 10px;
  padding: 18px 22px;
  text-align: left;
  min-height: 84px;
  color: #17191d;
}
.path-stages strong,
.path-stages span {
  display: block;
}
.path-stages strong {
  font-size: 1.08rem;
}
.path-stages span {
  font-size: 0.88rem;
  margin-top: 6px;
  color: #555;
}
.path-stages button[aria-pressed="true"] {
  border: 2px solid var(--red);
  padding: 17px 21px;
  background: #fff;
  box-shadow: 0 3px 0 var(--red);
}
.path-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 30px;
  margin-top: 30px;
  align-items: start;
}
.path-controls {
  border-top: 3px solid #17191d;
  padding: 24px 0;
}
.path-controls h3 {
  font-size: 2rem;
  line-height: 1.14;
  margin: 14px 0;
}
.path-controls > p {
  color: #4b4e54;
}
.path-example {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}
.path-controls label,
.scenario-inputs label,
.path-ai label,
.path-packet-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
}
.path-controls select,
.path-packet-form input,
.scenario-inputs select,
.scenario-preview textarea,
.path-ai textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #bbb;
  border-radius: 5px;
  background: white;
  padding: 12px;
  font: inherit;
  color: #17191d;
  margin: 8px 0 18px;
}
.path-input-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.path-controls > .button {
  width: 100%;
  margin-block: 15px;
}
.path-controls > .text-link {
  display: block;
  margin-top: 18px;
}
.path-output {
  background: white;
  border: 1px solid #d5d5d1;
  border-radius: 12px;
  padding: 28px;
  min-width: 0;
}
.path-output h3 {
  font-size: 1.6rem;
  line-height: 1.2;
}
.path-output h4 {
  font-size: 1rem;
  line-height: 1.4;
}
.path-actions {
  padding-left: 24px;
}
.path-actions li {
  padding: 6px 0 14px 8px;
}
.path-actions h4 {
  margin: 0 0 5px;
}
.path-actions p {
  font-size: 0.92rem;
  margin: 0 0 8px;
  color: #51545a;
}
.path-actions a {
  font-size: 0.85rem;
  font-weight: 650;
}
.path-routine {
  border-left: 3px solid var(--red);
  padding: 12px 20px;
  background: #f6f5f2;
  margin: 16px 0;
}
.path-routine h4 {
  margin: 0;
}
.path-routine li {
  font-size: 0.9rem;
  margin: 6px 0;
}
.path-result-copy details {
  border-top: 1px solid #ddd;
  padding: 12px 0;
}
.path-result-copy summary,
.path-ai summary {
  min-height: 44px;
  display: list-item;
  cursor: pointer;
  font-weight: 650;
  padding: 10px 0;
  line-height: 1.35;
}
.path-proof {
  margin: 20px 0;
}
.path-proof img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  background: #ececea;
  border-radius: 5px;
}
.path-proof figcaption {
  font-size: 0.75rem;
  color: #606269;
  margin-top: 10px;
  line-height: 1.5;
}
.path-support {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  margin-top: 15px;
}
.path-support img {
  width: 56px;
  height: 64px;
  object-fit: cover;
  border-radius: 5px;
}
.path-support p {
  font-size: 0.86rem;
  margin: 8px 0;
}
.path-support a {
  font-size: 0.82rem;
}
.path-conversion {
  border-top: 2px solid #17191d;
  padding-top: 22px;
  margin-top: 22px;
}
.path-conversion > .button {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}
.path-conversion > .quiet {
  margin: 8px 0;
}
.path-ai {
  margin-top: 10px;
}
.path-packet-form {
  border-top: 2px solid var(--red);
  padding-top: 20px;
  margin-top: 24px;
}
.path-packet-form .checkbox {
  display: flex;
  font-weight: 400;
  gap: 10px;
  align-items: flex-start;
}
.path-packet-form input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 4px 0;
}
.path-delivery {
  border: 1px solid #777;
  border-radius: 8px;
  padding: 18px;
  margin-top: 20px;
}
.path-delivery a.button {
  display: inline-flex;
  margin: 8px 8px 8px 0;
}
.path-checklist article {
  display: flex;
  gap: 14px;
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}
.step-index {
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 750;
  color: var(--red);
  font-size: 1rem;
}
body[data-page="/"] .mobile-actions,
body[data-page="/teams"] .mobile-actions,
body[data-page="/fit"] .mobile-actions {
  display: none;
}
.path-checklist h4 {
  margin: 0;
}
.path-checklist p {
  font-size: 0.86rem;
}
.path-terms {
  font-size: 0.82rem;
  background: #f6f5f2;
  padding: 14px;
}
.path-training fieldset {
  padding: 12px;
}
.path-training label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0;
  line-height: 1.5;
}
.path-training input {
  margin-top: 6px;
  flex-shrink: 0;
}
.scenario-preview {
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  margin: 18px 0;
  background: white;
  color: #17191d;
}
.scenario-top {
  padding: 20px;
  background: #17191d;
  color: white;
}
.scenario-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scenario-choices button {
  border: 1px solid #888;
  background: white;
  color: #17191d;
  padding: 12px 14px;
  border-radius: 5px;
  min-height: 44px;
}
.scenario-choices [aria-pressed="true"] {
  background: #c51424;
  border-color: #c51424;
  color: white;
}
.scenario-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 20px 0;
}
.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 20px 20px;
}
.scenario-grid h4,
.scenario-response h4,
.scenario-outcome h4 {
  font-size: 1.2rem;
  margin: 5px 0 14px;
}
.scenario-grid blockquote {
  margin: 0;
  border-left: 3px solid var(--red);
  padding: 14px;
  background: #f5f5f2;
  font-size: 0.95rem;
}
.scenario-grid li {
  font-size: 0.88rem;
  margin: 8px 0;
}
.scenario-grid p {
  font-size: 0.9rem;
}
.record-meta {
  color: #62656a;
  font-size: 0.75rem !important;
}
.step-number {
  font-size: 0.7rem !important;
  font-weight: 750;
  letter-spacing: 0.09em;
  color: #b20b1b;
}
.scenario-response {
  padding: 20px;
  border-top: 1px solid #ddd;
  background: #f6f5f2;
}
.scenario-outcome {
  padding: 20px;
  border-top: 1px solid #ddd;
}
.scenario-outcome-title {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.sample-tag {
  font-size: 0.65rem;
  font-weight: 750;
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 5px;
}
.scenario-outcome p {
  font-size: 0.92rem;
}
.scenario-preview .scenario-screen {
  padding: 12px 20px;
}
.scenario-screen img {
  width: 100%;
  height: auto;
  display: block;
}
.scenario-screen figure {
  margin: 12px 0;
}
.scenario-screen figcaption {
  font-size: 0.8rem;
}
.path-workflow .scenario-grid {
  grid-template-columns: 1fr;
}
.path-workflow .scenario-inputs {
  grid-template-columns: 1fr;
}
.path-roadmap h4 {
  margin: 20px 0 8px;
}
.path-roadmap li,
.path-agenda li {
  font-size: 0.9rem;
  margin: 8px 0;
}
.fit-priority-inputs {
  margin-block: 20px;
}
.fit-priority-inputs label {
  display: block;
}
.fit-priority-inputs select {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
}
.nex-path button:focus-visible,
.scenario-preview button:focus-visible,
.nex-path a:focus-visible {
  outline: 3px solid #2264ce;
  outline-offset: 4px;
}
.nex-path [hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .path-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .path-controls {
    max-width: 100%;
  }
  .path-controls > .button {
    max-width: 440px;
  }
  .path-stages button {
    padding: 15px;
  }
  .path-stages button[aria-pressed="true"] {
    padding: 14px;
  }
  .path-stages span {
    font-size: 0.8rem;
  }
  .path-controls h3 {
    font-size: 1.7rem;
  }
}
@media (max-width: 600px) {
  .path-stages {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .path-stages button {
    min-height: 70px;
  }
  .path-stages strong {
    font-size: 1rem;
  }
  .path-stages span {
    margin-top: 4px;
  }
  .path-output {
    padding: 18px;
  }
  .path-input-pair,
  .scenario-grid,
  .scenario-inputs {
    grid-template-columns: 1fr;
  }
  .scenario-grid {
    gap: 10px;
  }
  .scenario-top,
  .scenario-response,
  .scenario-outcome {
    padding: 16px;
  }
  .scenario-grid {
    padding: 0 16px 16px;
  }
  .scenario-inputs {
    padding: 16px 16px 0;
    gap: 0;
  }
  .path-support {
    gap: 10px;
  }
  .path-support img {
    width: 44px;
    height: 52px;
  }
  .nex-path input,
  .nex-path select,
  .nex-path textarea,
  .scenario-preview select,
  .scenario-preview textarea {
    font-size: 16px;
  }
  .path-conversion .button {
    white-space: normal;
  }
  .path-controls h3 {
    max-width: 100%;
  }
  .nex-path {
    overflow-wrap: anywhere;
  }
  .path-stages span {
    white-space: normal;
  }
  .path-output .path-workflow {
    margin-left: 0;
    margin-right: 0;
  }
}
@media print {
  body:has(.nex-path) .site-header,
  body:has(.nex-path) footer,
  body:has(.nex-path) .mobile-actions {
    display: none !important;
  }
  .nex-path .path-controls,
  .nex-path .path-stages,
  .nex-path .path-conversion,
  .nex-path form,
  .nex-path .path-support img,
  .nex-path .path-proof,
  .nex-path .path-workflow,
  .nex-path .path-training,
  .nex-path .team-handoff {
    display: none !important;
  }
  .path-layout {
    display: block;
  }
  .path-output {
    border: 0;
    padding: 0;
  }
  .nex-path {
    background: white;
  }
  .nex-path details > * {
    display: block;
  }
  .nex-path details summary {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nex-path * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.path-layout {
  grid-template-rows: auto 1fr;
}
.path-controls {
  grid-column: 1;
  grid-row: 1;
}
.path-output {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.path-side-actions {
  grid-column: 1;
  grid-row: 2;
  background: white;
  border: 1px solid #d5d5d1;
  border-radius: 10px;
  padding: 20px;
}
.path-side-actions:has(.path-conversion[hidden]) {
  display: none;
}
.path-side-actions .path-conversion {
  border: 0;
  margin: 0;
  padding: 0;
}
.path-side-actions .path-packet-form {
  margin-top: 20px;
}
.path-side-actions .button {
  white-space: normal;
}
@media (max-width: 900px) {
  .path-layout {
    grid-template-rows: none;
  }
  .path-controls,
  .path-output,
  .path-side-actions {
    grid-column: auto;
    grid-row: auto;
  }
}
