/* Local journey refinements. No global tokens or shared component overrides. */
.ux-stage-map { margin-top: 32px; margin-bottom: 40px; }
.ux-stage-map ol { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; border-top: 1px solid #424948; }
.ux-stage-map li { min-width: 0; }
.ux-stage-map a { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 18px 0; height: 100%; text-decoration: none; color: #f6f5f0; }
.ux-stage-map strong { font-size: 18px; font-weight: 500; }
.ux-stage-map a > span:last-child { color: #bfc3bc; font-size: 14px; line-height: 1.45; max-width: 22ch; }
.ux-stage-number { color: #e9b44c; font-size: 14px; font-variant-numeric: tabular-nums; }
.ux-stage-map a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ux-stage-map a:focus-visible,.ux-comparison a:focus-visible,.ux-format-detail summary:focus-visible,.ux-format-note summary:focus-visible { outline: 2px solid #e9b44c; outline-offset: 4px; }
[id^="journey-stage-"] { scroll-margin-top: 100px; }
.ux-comparison { margin-top: 36px; border-top: 1px solid #c8cbc4; color: #171919; }
.ux-comparison-head,.ux-comparison-row { display: grid; grid-template-columns: 1.35fr 1fr 1.3fr .65fr; gap: 24px; }
.ux-comparison-head { padding: 14px 0; color: #555b57; font-size: 14px; }
.ux-comparison-row { padding: 24px 0; border-top: 1px solid #c8cbc4; align-items: start; }
.ux-comparison-row h3 { font-size: 23px; line-height: 1.3; font-weight: 500; margin: 0; }
.ux-comparison-row dl { display: contents; }
.ux-comparison-row dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ux-comparison-row dd { margin: 0; font-size: 17px; line-height: 1.5; }
.ux-comparison-row a { color: #825905; text-decoration: underline; text-underline-offset: 4px; }
.ux-format-note { grid-column: 2 / -1; font-size: 16px; color: #555b57; }
.ux-format-note summary,.ux-format-detail summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-size: 16px; line-height: 1.5; font-weight: 500; }
.ux-format-note summary,.ux-format-detail summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ux-format-note summary::after,.ux-format-detail summary::after { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
.ux-format-note[open] > summary::after,.ux-format-detail[open] > summary::after { transform: rotate(225deg); }
.ux-format-note summary::-webkit-details-marker,.ux-format-detail summary::-webkit-details-marker { display: none; }
.ux-format-note p { max-width: 72ch; margin: 12px 0; font-size: 16px; line-height: 1.5; }
.ux-format-note[open] { padding-bottom: 8px; }
.ux-format-detail { margin: 18px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.ux-format-detail p { margin: 16px 0; }
.dv4-format-nav__grid small { color: inherit; opacity: .8; font-size: 14px; font-weight: 400; }
.ux-task-route { margin: 36px 0 48px; padding: 0; color: #f6f5f0; }
.ux-task-route figcaption { font-size: 24px; line-height: 1.4; font-weight: 500; margin-bottom: 24px; }
.ux-task-route ol { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.ux-task-route li { border-top: 1px solid #424948; padding-top: 16px; position: relative; min-width: 0; }
.ux-route-label { display: block; color: #bfc3bc; font-size: 14px; line-height: 1.45; min-height: 42px; }
.ux-task-route h3 { font-size: 22px; line-height: 1.3; font-weight: 500; margin: 12px 0; }
.ux-task-route li p { font-size: 16px; line-height: 1.5; color: #bfc3bc; margin: 0; }
.ux-task-route .ux-human-gate { border-top-color: #e9b44c; }
.ux-human-gate .ux-route-label { color: #e9b44c; }
.ux-route-scope { padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid #424948; font-size: 16px; line-height: 1.5; color: #bfc3bc; max-width: 74ch; }
@media (max-width: 1050px) {
  .ux-stage-map ol { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ux-stage-map li:nth-child(n+4) { border-top: 1px solid #424948; }
  .ux-task-route ol { grid-template-columns: 1fr; gap: 0; }
  .ux-task-route li { padding: 20px 0; display: grid; grid-template-columns: 180px 1fr; gap: 8px 24px; }
  .ux-route-label { grid-row: span 2; min-height: auto; }
  .ux-task-route h3 { margin: 0; }
}
@media (max-width: 700px) {
  .ux-stage-map ol { display: block; }
  .ux-stage-map li + li { border-top: 1px solid #424948; }
  .ux-stage-map a { display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px; padding: 14px 0; }
  .ux-stage-number { grid-row: span 2; }
  .ux-stage-map a > span:last-child { max-width: none; }
  .ux-comparison-head { display: none; }
  .ux-comparison-row { display: block; padding: 24px 0; }
  .ux-comparison-row h3 { font-size: 22px; margin-bottom: 18px; }
  .ux-comparison-row dl { display: block; }
  .ux-comparison-row dl > div { display: grid; grid-template-columns: 105px 1fr; gap: 16px; margin: 12px 0; }
  .ux-comparison-row dt { position: static; width: auto; height: auto; clip-path: none; font-size: 14px; line-height: 1.5; color: #555b57; }
  .ux-comparison-row dd { font-size: 16px; }
  .ux-format-note { margin-top: 14px; }
  .ux-task-route figcaption { font-size: 22px; }
  .ux-task-route li { display: block; padding: 20px 0; }
  .ux-task-route h3 { margin: 8px 0 12px; }
  .ux-route-label { font-size: 14px; }
}
