/* Eco's palette and reading scale; the route is navigable, not a wizard. */
.journey-band {
  position: sticky;
  top: 0;
  z-index: 8;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  margin: 0 0 24px;
  padding: 12px 16px;
  box-shadow: 0 4px 14px #173e6809;
}
.journey-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  margin-bottom: 10px;
}
.journey-band-head #journey-count {
  color: var(--muted);
  font-size: 12px;
}
.journey-band-head #follow-dot {
  margin-left: auto;
  margin-top: 0;
  padding: 2px;
  font-size: 12px;
}
/* Stations and recorded-work dots follow Digital Lab's interaction grammar. */
.journey-band .flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.journey-band .flow > li {
  position: relative;
  padding: 0;
  min-width: 0;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 2px;
}
.journey-band .flow > li::before {
  content: "";
  display: block;
  position: absolute;
  top: 26px;
  height: 1px;
  background: var(--line);
  left: calc(-50% + 20px);
  right: calc(50% + 20px);
}
.journey-band .flow > li:first-child::before,
.journey-band .flow > li::after {
  display: none;
}
.journey-band .node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 72px;
  height: auto;
  align-items: center;
  padding: 8px 2px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: center;
  box-shadow: none;
}
.journey-band .number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px dashed var(--muted);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}
.journey-band .node strong {
  font-size: 14px;
  min-width: 0;
  line-height: 1.25;
}
.journey-band .node-state,
.journey-band .node-summary {
  display: none;
}
.journey-band .node[aria-expanded="true"],
.journey-band .node:hover {
  background: var(--pale);
}
.journey-band .node[data-state="current"] .number,
.journey-band .node[data-state="you"] .number {
  border: 2px solid var(--blue);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 4px var(--blue);
  color: white;
  background: var(--blue);
}
.journey-band .node[data-state="you"] .number {
  background: var(--paper);
  color: var(--blue);
}
.journey-band .node[data-state="saved"] .number {
  border-style: solid;
  border-color: var(--green);
  color: var(--green);
}
.journey-band .node[data-state="available"] .number {
  border-style: solid;
}
.journey-band .journey-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.journey-band .journey-steps li {
  margin: 0;
  padding: 0;
}
.journey-steps li::before,
.journey-steps li::after {
  display: none;
}
.journey-band .journey-step {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: transparent;
  color: var(--muted);
}
.step-dot,
.recorded-mark {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  font: 700 11px/1 sans-serif;
  border: 1px solid var(--muted);
  border-radius: 50%;
  color: var(--muted);
}
.journey-step[data-state="saved"] .step-dot,
.recorded-mark[data-state="saved"] {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.journey-step:is([data-state="pending"], [data-state="next"]) .step-dot {
  border-style: dotted;
}
.journey-step[data-state="current"] .step-dot {
  border-color: var(--blue);
  background: linear-gradient(90deg, var(--blue) 50%, transparent 50%);
}
.journey-step[data-state="you"] .step-dot {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
}
.step-tip {
  display: none;
  position: absolute;
  z-index: 12;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(240px, 60vw);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 4px 10px #173e6815;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  pointer-events: none;
}
.journey-step:hover .step-tip,
.journey-step:focus-visible .step-tip {
  display: block;
}
.journey-step[aria-expanded="true"] .step-tip {
  display: none;
}
.flow > li:first-child .step-tip {
  left: 0;
  transform: none;
}
.flow > li:last-child .step-tip {
  left: auto;
  right: 0;
  transform: none;
}
.journey-inspect {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding: 12px 4px 0;
  font-size: 14px;
}
.journey-inspect-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
#journey-inspect-state {
  color: var(--muted);
  font-size: 12px;
}
#journey-close {
  margin-left: auto;
  margin-top: 0;
  min-width: 32px;
  min-height: 32px;
  padding: 2px;
  font-size: 20px;
}
#journey-inspect-summary {
  color: var(--muted);
  margin: 8px 0;
}
#journey-inspect-summary:empty {
  display: none;
}
#journey-inspect-steps {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  max-height: 200px;
  overflow: auto;
}
#journey-inspect-steps li {
  padding: 0;
}
#journey-inspect-steps summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  cursor: pointer;
}
#journey-inspect-steps p {
  padding-left: 24px;
  color: var(--muted);
  font-size: 13px;
}
#journey-deep {
  font-size: 13px;
  padding: 4px 0;
}
.assistant-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}
.assistant-case {
  top: 160px;
}
.case-tools h3 {
  margin-top: 0;
}
#case-tools {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
#case-tools a {
  padding: 6px 0;
  text-decoration-thickness: 1px;
}
.case-tools .small,
#timing-help {
  font-size: 12px;
  color: var(--muted);
}
#work-timing {
  margin: 18px 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 14px;
}
#work-timing summary,
.steering > summary {
  cursor: pointer;
  font-weight: 650;
}
#work-timing form {
  margin-top: 12px;
}
#work-timing input {
  width: 100%;
  min-width: 0;
  font-size: 14px;
  padding: 8px;
}
#work-timing button {
  font-size: 12px;
  padding: 8px 10px;
}
.steering {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.steering .assistant-message {
  margin-top: 12px;
}
#detail-app-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
#detail-app-link:empty {
  display: none;
}
#detail-app-link a {
  font-size: 14px;
}
.reference-focus {
  border-left: 3px solid var(--blue);
  padding-left: 12px;
}
.oruk-return-bar {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  background: #e2edf7;
  color: #173e68;
  border-bottom: 1px solid #b5c8d8;
  padding: 12px max(20px, calc((100vw - 1360px) / 2));
  font-size: 14px;
}
.oruk-return-bar a {
  color: inherit;
  font-weight: 700;
}
.oruk-return-bar span {
  font-size: 12px;
}
@media (max-width: 900px) {
  .assistant-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .assistant-case {
    position: static;
  }
  .journey-band {
    padding: 10px;
  }
}
@media (max-width: 480px) {
  .journey-band .flow {
    gap: 2px;
  }
  .journey-band-head {
    gap: 6px;
    font-size: 12px;
  }
  .journey-band-head #follow-dot {
    margin-left: auto;
  }
  .journey-band #journey-count {
    display: none;
  }
  .journey-band .node strong {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .journey-band .node {
    min-height: 70px;
  }
  .journey-band .number {
    width: 30px;
    height: 30px;
  }
  .journey-band .flow > li::before {
    top: 23px;
  }
}
@media print {
  .journey-band,
  .oruk-return-bar {
    display: none;
  }
}

/* One concise work surface; explanations stay on drill. */
.assistant-main {
  max-width: 1240px;
  padding-top: 20px;
}
.assistant-heading {
  margin: 0 0 18px;
  gap: 12px;
}
.assistant-heading h1 {
  font-size: 26px;
  margin: 0;
}
.assistant-heading .eyebrow {
  display: none;
}
.assistant-heading #saved {
  font-size: 13px;
  padding: 8px 12px;
}
.assistant-composer,
.assistant-stage {
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
}
.assistant-composer > label {
  font-size: 20px;
}
.assistant-composer textarea {
  font-size: 17px;
  padding: 12px;
  min-height: 100px;
  margin-top: 12px;
}
.composer-help {
  font-size: 14px;
  margin: 8px 0 12px;
}
.example-picker {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.example-picker summary {
  cursor: pointer;
}
.prompt-examples {
  margin: 10px 0;
}
.composer-actions {
  gap: 8px;
}
.composer-actions :is(button, a) {
  font-size: 14px;
  padding: 9px 14px;
}
.assistant-stage .dot-identity {
  margin-bottom: 16px;
}
.assistant-stage .dot-symbol {
  width: 34px;
  height: 34px;
  font-size: 17px;
}
.assistant-stage h2 {
  font-size: 22px;
  margin: 12px 0;
}
.assistant-stage[data-mode="question"] > #assistant-title {
  display: none;
}
.assistant-stage #assistant-explanation {
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0 12px;
}
.assistant-question {
  border-width: 1px;
  border-radius: 12px;
  padding: 18px;
  margin-top: 16px;
}
.assistant-question h3 {
  font-size: 20px;
}
.question-choices {
  margin: 14px 0;
  gap: 8px;
}
.question-choices button {
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 22px;
}
.finding-card {
  border-radius: 10px;
}
.finding-card > summary h3 {
  font-size: 16px;
}
.finding-card .finding-preview {
  display: none;
}
.assistant-case .case-head h2 {
  font-size: 16px;
}
.assistant-case :is(h3, summary) {
  font-size: 14px;
}
.assistant-case #assistant-case-summary {
  font-size: 13px;
  margin: 10px 0 16px;
}
#assistant-more,
#assistant-why,
.steering,
.assistant-thread {
  font-size: 13px;
}
@media (max-width: 480px) {
  .assistant-heading h1 {
    font-size: 22px;
  }
  .assistant-heading #saved {
    max-width: 135px;
  }
  .assistant-composer,
  .assistant-stage {
    padding: 16px;
  }
  .assistant-stage h2 {
    font-size: 20px;
  }
  .assistant-question {
    padding: 14px;
  }
}

/* Digital Lab's visual hierarchy, in Eco's blue, cream and green. */
body.oruk-app > header {
  background: var(--ink);
  color: var(--paper);
  max-width: none;
  padding-left: max(24px, calc((100vw - 1240px) / 2 + 40px));
  padding-right: max(24px, calc((100vw - 1240px) / 2 + 40px));
}
body.oruk-app > header a {
  color: inherit;
}
body.oruk-app > header select {
  background: var(--paper);
}
.dot-strip {
  background: var(--pale);
  border-bottom: 2px solid var(--ink);
}
.dot-strip-inner {
  max-width: 1240px;
  margin: auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.strip-orb {
  width: 24px;
  height: 24px;
  border: 2px dotted var(--blue);
  border-radius: 50%;
  flex: 0 0 24px;
}
#dot-strip[data-state="ready"] .strip-orb,
#dot-strip[data-state="done"] .strip-orb {
  border-style: solid;
  background: var(--green);
  box-shadow: inset 0 0 0 5px var(--pale);
}
#dot-strip[data-state="question"] .strip-orb,
#dot-strip[data-state="approval"] .strip-orb {
  border-style: solid;
  background: var(--blue);
}
.strip-orb[data-live="true"] {
  border-style: solid;
  background: linear-gradient(90deg, var(--blue) 50%, transparent 50%);
}
.strip-words {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}
.strip-words strong {
  font-size: 16px;
}
#strip-line {
  margin: 0;
  font-size: 13px;
  text-decoration: none;
  text-align: left;
}
#strip-contact {
  font-size: 12px;
  color: var(--muted);
}
.strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.strip-actions :is(button, a),
.composer-actions :is(button, a) {
  border-radius: 24px;
  border-width: 2px;
  box-shadow: 2px 3px 0 var(--ink);
}
.strip-actions :is(button, a) {
  padding: 8px 14px;
  font-size: 14px;
}
.assistant-heading {
  margin-bottom: 12px;
}
.journey-band {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
}
.journey-band-head {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.journey-band-head #follow-dot {
  letter-spacing: 0;
  text-transform: none;
}
.journey-band .number {
  width: 38px;
  height: 38px;
  border-width: 2px;
}
.journey-band .flow > li::before {
  top: 28px;
}
.journey-band .node {
  min-height: 78px;
}
.journey-band .node strong {
  font-size: 14px;
  max-width: 150px;
}
.journey-band .journey-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 2px;
  padding: 0;
  margin: 2px 0 0;
  max-width: 100%;
}
.journey-actions li {
  padding: 0;
  margin: 0;
}
.journey-actions li::before,
.journey-actions li::after {
  display: none;
}
.journey-action {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  text-decoration: none;
  border-radius: 50%;
}
.action-orb {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
}
.action-orb svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.journey-action:hover .action-orb,
.journey-action:focus-visible .action-orb {
  color: var(--paper);
  background: var(--blue);
}
.journey-action[aria-disabled="true"] {
  color: var(--muted);
}
.journey-action[aria-disabled="true"] .action-orb {
  border-style: dotted;
  border-color: var(--muted);
}
.journey-action:hover .step-tip,
.journey-action:focus-visible .step-tip {
  display: block;
}
.journey-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
}
#journey-shortcuts-label {
  color: var(--muted);
  margin-right: auto;
}
.journey-shortcuts a {
  font-weight: 650;
}
.journey-shortcuts [aria-disabled="true"] {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}
.journey-inspect {
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: 14px;
  background: var(--pale);
}
.assistant-stage {
  background: transparent;
  border: 0;
  padding: 0;
}
.assistant-stage .dot-identity {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.assistant-controls {
  display: none;
}
.assistant-composer {
  border: 2px solid var(--ink) !important;
  box-shadow: 3px 4px 0 var(--ink);
}
.assistant-case {
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--pale);
  padding: 22px;
  box-shadow: 3px 4px 0 var(--ink);
  position: static;
}
.assistant-case .case-head {
  align-items: start;
}
.assistant-case .case-head h2 {
  font-size: 18px;
}
#findings-heading {
  font-size: 20px;
  margin: 24px 0 14px;
}
.assistant-findings .finding-card {
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 3px 4px 0 var(--ink);
  background: var(--pale);
}
.finding-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.finding-head .action-orb {
  background: var(--paper);
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}
.finding-kind {
  font:
    700 11px/1.4 ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.finding-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}
.finding-card .finding-preview {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.finding-card > details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 13px;
}
.finding-card > details summary {
  cursor: pointer;
}
.finding-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .dot-strip-inner {
    padding: 12px 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .strip-actions {
    margin-left: 34px;
  }
  .strip-words {
    min-width: 180px;
  }
  .journey-band .number {
    width: 30px;
    height: 30px;
  }
  .journey-band .flow > li::before {
    top: 23px;
  }
  .journey-band .node strong {
    font-size: 11px;
  }
  .journey-action {
    width: 24px;
    height: 28px;
    min-height: 28px;
  }
  .action-orb {
    width: 20px;
    height: 20px;
  }
  .action-orb svg {
    width: 12px;
    height: 12px;
  }
  .journey-band .flow > li {
    gap: 0;
  }
  .assistant-case,
  .assistant-findings .finding-card {
    padding: 18px;
    border-radius: 18px;
  }
  .finding-card h3 {
    font-size: 18px;
  }
  .journey-shortcuts {
    gap: 8px 14px;
  }
  #journey-shortcuts-label {
    width: 100%;
  }
}
body.oruk-app > header select {
  color: var(--ink);
}
/* The strip carries status; the body is for the question and findings. */
.assistant-stage .dot-identity {
  display: none;
}
.assistant-stage > #assistant-title {
  display: none;
}
.assistant-case .assistant-request {
  font-size: 13px;
  margin: 14px 0;
}
.assistant-case .assistant-goal {
  font-size: 13px;
  margin: 10px 0;
}
.connection-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.connection-options :is(button, a) {
  font-size: 13px;
  padding: 8px 12px;
}
.flow > li:nth-child(-n + 2) .step-tip {
  left: 0;
  right: auto;
  transform: none;
}
.flow > li:nth-last-child(-n + 2) .step-tip {
  left: auto;
  right: 0;
  transform: none;
}
.finding-card h3,
#assistant-case-summary,
.assistant-case .assistant-goal {
  overflow-wrap: anywhere;
}

.pickup-status { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 20px; margin:0 0 24px; border:1px solid var(--line); border-radius:14px; background:var(--pale); }
.pickup-status h2 { font-size:18px; margin:0 0 6px; }
.pickup-status p { font-size:14px; max-width:70ch; margin:6px 0; }
.pickup-timing { display:flex; flex-wrap:wrap; gap:8px 20px; color:var(--muted); font-variant-numeric:tabular-nums; }
.pickup-status button { flex:0 0 auto; }
@media (max-width:600px) { .pickup-status { align-items:flex-start; flex-direction:column; } }
