.job-map-workfield {
  --paths-measure: #80bfff;
  --paths-sources: #b7a0ff;
  --paths-people: #efb56c;
  --paths-record: #7fc7b8;
  --paths-commitment: #ec8f85;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  color: var(--shell-text);
}

.job-map-body {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.path-back-to-now,
.job-map-empty button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--shell-border);
  border-radius: 8px;
  background: var(--shell-inset);
  color: var(--shell-text);
  font-size: 9px;
  font-weight: 780;
  cursor: pointer;
}

.path-back-to-now {
  position: absolute;
  z-index: 40;
  top: 60px;
  right: 12px;
  max-width: 0;
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
  border-color: transparent;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: max-width 160ms ease, padding 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.path-back-to-now[hidden] { display: none; }

.job-map-workfield.is-away-from-now .path-back-to-now {
  max-width: 96px;
  padding-right: 10px;
  padding-left: 10px;
  border-color: rgb(215 255 67 / .32);
  color: var(--acid);
  opacity: 1;
  pointer-events: auto;
}

/* The Conversation becomes one durable, person-only index. It owns vertical
   scrub; every beat grows leftward without changing height or order. */
.conversation-scrubber {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: visible;
  background: transparent;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.conversation-scrubber-rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: var(--scrubber-before-space, 42px) 0 var(--scrubber-after-space, 42px);
  overflow-x: visible;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-width: none;
}

.conversation-scrubber-rail::-webkit-scrollbar { display: none; }

.conversation-scrubber-item {
  position: relative;
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 40px;
  min-height: 40px;
}

.conversation-scrubber-beat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 0 0 2px;
  border: 0;
  background: transparent;
  color: var(--shell-text);
  cursor: pointer;
  touch-action: none;
}

.conversation-scrubber-beat-line {
  display: block;
  width: var(--beat-width, 18px);
  height: 1px;
  border-radius: 999px 0 0 999px;
  background: rgb(241 240 233 / .46);
  transition: width 80ms linear, background 80ms linear;
}

.conversation-scrubber-beat[data-active="true"] .conversation-scrubber-beat-line,
.conversation-scrubber-beat:focus-visible .conversation-scrubber-beat-line {
  height: 2px;
  background: var(--acid);
}

.conversation-scrubber-beat:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -4px;
}

.conversation-scrubber-beat-copy,
.job-map-node-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.conversation-scrubber-previews {
  position: absolute;
  z-index: 70;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.conversation-scrubber-preview {
  position: absolute;
  z-index: 70;
  top: var(--scrubber-preview-y, 50%);
  left: calc(100% + 8px);
  display: grid;
  width: min(250px, calc(100vw - 96px));
  gap: 7px;
  padding: 9px 10px;
  transform: translateY(-50%);
  border: 1px solid #596254;
  border-radius: 8px;
  background: #171b17;
  color: var(--shell-text);
  box-shadow: 0 10px 30px rgb(0 0 0 / .42);
  pointer-events: none;
}

.conversation-scrubber-preview[hidden] { display: none; }

.conversation-scrubber-preview strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.conversation-scrubber-preview-glyphs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.conversation-scrubber-glyph {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  gap: 2px;
  padding: 2px 5px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 6px;
  background: #222820;
  color: var(--shell-muted);
}

.conversation-scrubber-glyph i {
  color: var(--acid);
  font: 800 9px "SFMono-Regular", Consolas, monospace;
  font-style: normal;
}

.conversation-scrubber-glyph b {
  color: var(--shell-text);
  font-size: 7px;
}

.conversation-scrubber-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
  color: var(--shell-muted);
  font-size: 8px;
  line-height: 1.35;
  text-align: center;
}

.job-map-projection {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  background: transparent;
}

.job-map-toolbar {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  gap: 10px;
  padding: 7px 12px;
  border-bottom: 1px solid rgb(255 255 255 / .055);
  background: transparent;
}

.job-map-toolbar:not(.has-boundary) {
  grid-template-columns: minmax(0, 1fr);
}

.job-map-lenses {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.job-map-lenses::-webkit-scrollbar { display: none; }

.job-map-lens {
  --lens-color: var(--paths-record);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 32px;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--shell-muted);
  font-size: 9px;
  font-weight: 760;
  cursor: pointer;
}

.job-map-lens > span {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--lens-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--lens-color) 40%, transparent);
}

.job-map-lens.is-all > span {
  border: 1px solid var(--paths-record);
  background: transparent;
  box-shadow: none;
}

.job-map-lens.is-measure { --lens-color: var(--paths-measure); }
.job-map-lens.is-sources { --lens-color: var(--paths-sources); }
.job-map-lens.is-people { --lens-color: var(--paths-people); }
.job-map-lens.is-record { --lens-color: var(--paths-record); }

.job-map-lens[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--lens-color) 38%, transparent);
  background: color-mix(in srgb, var(--lens-color) 10%, transparent);
  color: var(--shell-text);
}

.job-map-lens:focus-visible,
.job-map-node:focus-visible,
.job-map-empty button:focus-visible,
.path-back-to-now:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

.job-map-boundary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  max-width: 360px;
  min-width: 0;
  gap: 2px 8px;
  margin: 0;
}

.job-map-boundary > span {
  color: var(--acid);
  font: 800 7px "SFMono-Regular", Consolas, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.job-map-boundary > strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-map-boundary > small {
  grid-column: 2 / 4;
  overflow: hidden;
  color: var(--shell-muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-map-boundary > button {
  grid-row: 1 / 3;
  grid-column: 3;
  min-height: 28px;
  padding: 0 7px;
  border: 1px solid var(--shell-border);
  border-radius: 7px;
  background: transparent;
  color: var(--shell-muted);
  font-size: 8px;
  cursor: pointer;
}

.job-map-toolbar.is-stop { border-bottom-color: rgb(236 143 133 / .28); }
.job-map-toolbar.is-stop .job-map-boundary > span { color: var(--paths-commitment); }
.job-map-toolbar.is-informational_only .job-map-boundary > span { color: var(--paths-people); }

.job-map-scroll {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
}

.job-map-scroll-content {
  width: var(--map-width);
  min-width: 100%;
  background: transparent;
}

.job-map-canvas {
  position: relative;
  width: var(--map-width);
  min-width: 100%;
  height: var(--map-height);
  overflow: visible;
  background: transparent;
}

.job-map-canvas > svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.is-primary-paths { --mark-color: var(--acid); }
.is-primary-measure { --mark-color: var(--paths-measure); }
.is-primary-sources { --mark-color: var(--paths-sources); }
.is-primary-people { --mark-color: var(--paths-people); }
.is-primary-record { --mark-color: var(--paths-record); }
.is-primary-commitment { --mark-color: var(--paths-commitment); }

.job-map-recorded-spine {
  stroke: color-mix(in srgb, var(--mark-color) 42%, transparent);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.job-map-edge {
  fill: none;
  stroke: color-mix(in srgb, var(--mark-color) 48%, transparent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  transition: opacity 150ms ease, stroke 150ms ease;
}

.job-map-edge.is-progression { stroke-width: 1.5; }
.job-map-edge.is-relationship { stroke-dasharray: 5 6; }
.job-map-edge.is-supports,
.job-map-edge.is-evidences,
.job-map-edge.is-checks_on { stroke-dasharray: 2 5; }
.job-map-edge.is-forecloses {
  --mark-color: var(--paths-commitment);
  stroke-dasharray: 3 4;
}

.job-map-projection[data-active-lens="measure"] .job-map-node:not(.is-current):not(.is-commitment):not(.is-facet-measure),
.job-map-projection[data-active-lens="sources"] .job-map-node:not(.is-current):not(.is-commitment):not(.is-facet-sources),
.job-map-projection[data-active-lens="people"] .job-map-node:not(.is-current):not(.is-commitment):not(.is-facet-people),
.job-map-projection[data-active-lens="record"] .job-map-node:not(.is-current):not(.is-commitment):not(.is-facet-record),
.job-map-projection[data-active-lens="measure"] .job-map-edge:not(.is-facet-measure),
.job-map-projection[data-active-lens="sources"] .job-map-edge:not(.is-facet-sources),
.job-map-projection[data-active-lens="people"] .job-map-edge:not(.is-facet-people),
.job-map-projection[data-active-lens="record"] .job-map-edge:not(.is-facet-record),
.job-map-projection[data-active-lens="measure"] .job-map-recorded-spine:not(.is-facet-measure),
.job-map-projection[data-active-lens="sources"] .job-map-recorded-spine:not(.is-facet-sources),
.job-map-projection[data-active-lens="people"] .job-map-recorded-spine:not(.is-facet-people) {
  opacity: .12;
}

.job-map-projection[data-active-lens="measure"] .is-facet-measure:not(.is-commitment) { --mark-color: var(--paths-measure); }
.job-map-projection[data-active-lens="sources"] .is-facet-sources:not(.is-commitment) { --mark-color: var(--paths-sources); }
.job-map-projection[data-active-lens="people"] .is-facet-people:not(.is-commitment) { --mark-color: var(--paths-people); }
.job-map-projection[data-active-lens="record"] .is-facet-record:not(.is-commitment) { --mark-color: var(--paths-record); }

.job-map-threshold-band {
  stroke: color-mix(in srgb, var(--paths-commitment) 58%, transparent);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  vector-effect: non-scaling-stroke;
}

.job-map-node {
  position: absolute;
  z-index: 8;
  top: calc(var(--node-y) - 12px);
  left: calc(var(--node-x) - 12px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--mark-color);
  cursor: pointer;
  transition: opacity 150ms ease, filter 150ms ease;
}

.job-map-node-mark {
  display: grid;
  place-items: center;
  width: var(--node-width);
  height: var(--node-height);
  border: 1.5px solid color-mix(in srgb, var(--mark-color) 68%, transparent);
  border-radius: 50%;
  background: var(--shell-inset);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.job-map-node-mark::before {
  width: 5px;
  height: 5px;
  border-radius: inherit;
  background: currentColor;
  content: "";
  opacity: .82;
}

.job-map-node:hover,
.job-map-node:focus-visible,
.job-map-node.is-selected {
  z-index: 20;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--mark-color) 30%, transparent));
}

.job-map-node:hover .job-map-node-mark,
.job-map-node:focus-visible .job-map-node-mark,
.job-map-node.is-selected .job-map-node-mark {
  border-color: var(--mark-color);
  background: color-mix(in srgb, var(--mark-color) 11%, var(--shell-inset));
  transform: scale(1.25);
}

.job-map-node.is-shape-decision .job-map-node-mark {
  border-radius: 4px;
  transform: rotate(45deg);
}

.job-map-node.is-shape-decision .job-map-node-mark::before { transform: rotate(-45deg); }

.job-map-node.is-shape-decision:hover .job-map-node-mark,
.job-map-node.is-shape-decision:focus-visible .job-map-node-mark,
.job-map-node.is-shape-decision.is-selected .job-map-node-mark {
  transform: rotate(45deg) scale(1.25);
}

.job-map-node.is-shape-source .job-map-node-mark { border-radius: 3px; }

.job-map-node.is-shape-person .job-map-node-mark { border-radius: 38% / 24%; }

.job-map-node.is-shape-measurement .job-map-node-mark,
.job-map-node.is-shape-requirement .job-map-node-mark,
.job-map-node.is-provisional .job-map-node-mark { border-style: dashed; }

.job-map-node.is-recorded .job-map-node-mark {
  background: color-mix(in srgb, var(--mark-color) 13%, var(--shell-inset));
}

.job-map-node.is-current .job-map-node-mark {
  width: 24px;
  height: 24px;
  border-color: var(--acid);
  box-shadow: 0 0 0 5px rgb(216 255 67 / .07), 0 0 20px rgb(216 255 67 / .16);
  color: var(--acid);
}

.job-map-node.is-current::after {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 2px 4px;
  border: 1px solid rgb(216 255 67 / .2);
  border-radius: 5px;
  background: var(--shell-inset);
  color: var(--acid);
  content: "NOW";
  font: 800 7px "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
  transform: translateX(-50%);
}

.job-map-node.is-foreclosed,
.job-map-node.is-superseded {
  filter: grayscale(.4);
  opacity: .34;
}

.job-map-node.is-horizon-sketch { opacity: .5; }
.job-map-node.is-beyond-horizon { opacity: .18; }
.job-map-edge.is-horizon-sketch { opacity: .4; }
.job-map-edge.is-beyond-horizon { opacity: .14; }

.job-map-node.is-horizon-sketch:hover,
.job-map-node.is-horizon-sketch:focus-visible,
.job-map-node.is-beyond-horizon:hover,
.job-map-node.is-beyond-horizon:focus-visible,
.job-map-node.is-horizon-sketch.is-selected,
.job-map-node.is-beyond-horizon.is-selected { opacity: 1; }

.job-map-node-hover-label {
  position: absolute;
  top: calc(50% + 17px);
  left: 50%;
  display: none;
  width: max-content;
  max-width: 230px;
  padding: 6px 8px;
  border: 1px solid #596254;
  border-radius: 7px;
  background: #171b17;
  color: var(--shell-text);
  font-size: 9px;
  font-weight: 720;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  box-shadow: 0 8px 24px rgb(0 0 0 / .36);
  transform: translateX(-50%);
  pointer-events: none;
}

.job-map-node:focus-visible .job-map-node-hover-label { display: block; }

@media (hover: hover) and (pointer: fine) {
  .job-map-node:hover .job-map-node-hover-label { display: block; }
}

.job-map-node.is-current .job-map-node-hover-label { top: calc(50% + 19px); }

.job-map-commitment-mark {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid color-mix(in srgb, var(--paths-commitment) 70%, transparent);
  border-radius: 50%;
  background: var(--shell-inset);
  color: var(--paths-commitment);
  font: normal 900 8px sans-serif;
}

.job-map-grid-sparse {
  position: absolute;
  top: 105px;
  left: var(--sparse-x);
  display: grid;
  width: 250px;
  gap: 5px;
  padding: 12px 0 12px 13px;
  border-left: 1px solid var(--shell-border);
}

.job-map-grid-sparse h3 {
  margin: 0;
  color: var(--shell-text);
  font-size: 13px;
}

.job-map-grid-sparse p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 9px;
  line-height: 1.5;
}

.job-map-horizon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--horizon-x);
  display: grid;
  grid-template-columns: 1px max-content;
  align-items: center;
  gap: 9px;
  pointer-events: none;
}

.job-map-horizon > span {
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgb(241 240 233 / .2) 20%, rgb(241 240 233 / .2) 80%, transparent);
}

.job-map-horizon strong {
  max-width: 170px;
  color: var(--shell-muted);
  font-size: 8px;
  font-weight: 700;
}

.job-map-annotation {
  z-index: 55;
  width: min(280px, calc(100% - 24px));
  min-width: 0;
  max-height: 230px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #596254;
  border-radius: 11px;
  background: #171b17;
  box-shadow: 0 16px 38px rgb(0 0 0 / .34);
}

.job-map-annotation.is-desktop {
  position: absolute;
  top: var(--detail-y);
  left: var(--detail-x);
}

.job-map-annotation.is-phone { display: none; }

.path-inspector-content,
.path-inspector-empty {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
}

.path-inspector-content h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -.025em;
}

.path-inspector-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.path-inspector-head > div {
  display: grid;
  gap: 3px;
}

.path-inspector-head > button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--shell-border);
  border-radius: 8px;
  background: transparent;
  color: var(--shell-muted);
  font-size: 17px;
  cursor: pointer;
}

.path-inspector-content > p,
.path-inspector-empty p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 9px;
  line-height: 1.45;
}

.path-inspector-empty span,
.path-inspector-content .job-panel-eyebrow {
  color: var(--acid);
  font: 800 7px "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.path-inspector-content .job-map-node-state {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 0;
}

.path-inspector-content .job-map-node-state div {
  padding: 7px 0;
  border-top: 1px solid rgb(255 255 255 / .08);
}

.path-inspector-content dt,
.job-map-list-estimates dt,
.job-map-inspector-estimates dt {
  color: var(--shell-muted);
  font: 800 6px "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.path-inspector-content dd {
  margin: 2px 0 0;
  font-size: 9px;
}

.job-map-local-explore {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding-top: 7px;
  border-top: 1px solid var(--shell-border);
}

.job-map-local-explore strong {
  color: var(--acid);
  font-size: 8px;
}

.job-map-local-explore span {
  color: var(--shell-muted);
  font-size: 7px;
}

.job-map-inspector-estimates,
.job-map-list-estimates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 5px;
  margin: 0;
}

.job-map-inspector-estimates > div,
.job-map-list-estimates > div {
  min-width: 0;
  padding: 5px 6px;
  border-left: 1px solid var(--shell-border);
}

.job-map-inspector-estimates dd,
.job-map-list-estimates dd {
  margin: 3px 0 0;
  color: var(--shell-text);
  font-size: 7px;
  font-weight: 720;
  line-height: 1.3;
}

.path-inspector-links {
  color: var(--shell-muted);
  font-size: 8px;
}

.path-inspector-content > button {
  justify-self: start;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgb(215 255 67 / .3);
  border-radius: 8px;
  background: transparent;
  color: var(--shell-text);
  font-size: 9px;
  font-weight: 780;
  cursor: pointer;
}

.job-map-inspector-threshold {
  display: grid;
  gap: 3px;
  padding: 8px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--paths-commitment) 38%, transparent);
  color: var(--paths-commitment);
}

.job-map-inspector-threshold strong {
  font-size: 8px;
  text-transform: uppercase;
}

.job-map-inspector-threshold p,
.job-map-inspector-threshold small {
  margin: 0;
  color: inherit;
  font-size: 8px;
  line-height: 1.4;
}

.job-map-after-canvas {
  display: grid;
  width: var(--map-width);
  min-width: 100%;
  gap: 10px;
  padding: 0 18px 26px;
  background: transparent;
}

.path-goal-hint,
.job-map-bounded-notice {
  max-width: 520px;
  margin: 0;
  color: var(--shell-muted);
  font-size: 9px;
  line-height: 1.5;
}

.path-goal-hint strong { color: var(--shell-text); }

.job-map-list-fallback {
  max-width: 720px;
  border-top: 1px solid var(--shell-border);
  color: var(--shell-muted);
}

.job-map-list-fallback summary {
  padding: 11px 2px;
  color: var(--shell-text);
  font-size: 10px;
  font-weight: 780;
  cursor: pointer;
}

.job-map-list-fallback > p {
  margin: 0 0 8px;
  font-size: 8px;
  line-height: 1.5;
}

.job-map-list-fallback section { padding: 7px 0; }
.job-map-list-fallback h3 { margin: 0 0 6px; color: var(--shell-text); font-size: 11px; }
.job-map-list-fallback ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.job-map-list-fallback li { display: grid; gap: 5px; padding: 8px 0; border-top: 1px solid rgb(255 255 255 / .07); }
.job-map-list-fallback li > strong { color: var(--shell-text); font-size: 10px; }
.job-map-list-fallback li > small { font-size: 8px; }
.job-map-list-threshold { margin: 2px 0 0; color: var(--paths-commitment); font-size: 8px; line-height: 1.45; }

.job-map-loading,
.job-map-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: min(70svh, 620px);
  padding: 28px;
  background: transparent;
  text-align: center;
}

.job-map-loading > span {
  width: 34px;
  height: 34px;
  border: 2px solid rgb(215 255 67 / .18);
  border-top-color: var(--acid);
  border-radius: 50%;
  animation: job-map-spin 900ms linear infinite;
}

.job-map-loading h2,
.job-map-empty h2 {
  margin: 15px 0 5px;
  font-size: 22px;
  letter-spacing: -.04em;
}

.job-map-loading p,
.job-map-empty p {
  max-width: 340px;
  margin: 0;
  color: var(--shell-muted);
  font-size: 11px;
  line-height: 1.5;
}

.job-map-empty small {
  max-width: 340px;
  margin-top: 10px;
  color: var(--shell-muted);
  font-size: 9px;
}

.job-map-empty button { margin-top: 16px; }
.job-map-empty.is-error h2 { color: var(--shell-amber-text); }

@keyframes job-map-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .job-map-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    min-height: 54px;
    padding: 5px 7px;
  }

  .job-map-lens { min-height: 30px; padding: 0 7px; font-size: 8px; }
  .job-map-boundary { display: none; }
  .job-map-annotation.is-desktop { display: none; }

  .job-map-annotation.is-phone {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    display: block;
    width: auto;
    max-height: 38%;
  }

  .job-map-scroll { overflow: auto; }
  .conversation-scrubber-preview { width: min(230px, calc(100vw - 82px)); }
}

@media (max-width: 520px) {
  .path-back-to-now { min-height: 34px; }
  .job-map-workfield.is-away-from-now .path-back-to-now { max-width: 82px; padding-right: 7px; padding-left: 7px; }
  .job-map-lenses { gap: 0; }
  .job-map-lens { padding: 0 6px; }
  .job-map-lens > span { width: 4px; height: 4px; flex-basis: 4px; }
  .job-map-annotation { border-radius: 13px; }
  .job-map-inspector-estimates dd,
  .job-map-list-estimates dd { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .job-map-loading > span {
    animation: none;
    border-color: var(--acid);
  }

  html:not(.force-motion) .job-map-workfield,
  html:not(.force-motion) .job-map-node,
  html:not(.force-motion) .job-map-edge,
  html:not(.force-motion) .job-map-scroll {
    scroll-behavior: auto;
    transition: none;
  }

  html:not(.force-motion) .conversation-scrubber-beat-line { transition: none; }
}
