/* Task-first workspace, using Wivvo's existing theme tokens. */
.look-feedback { margin: 16px 0; min-width: 0; }
.look-feedback summary { cursor: pointer; padding: 10px 0; }
.look-feedback label { display: block; margin: 8px 0; }
.look-feedback textarea.custom { display: block; box-sizing: border-box; max-width: 100%; margin: 8px 0; resize: vertical; }
.look-diversity, .look-difference { overflow-wrap: anywhere; }
.journey-orientation {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 12px 0 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(var(--fg), .12);
  font-size: 14px; color: var(--muted); overflow-wrap: anywhere;
}
.journey-orientation b { color: var(--ink); font-weight: 600; }
#app:not([data-stage="idea"]) h2.q { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
.journey-options { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.journey-options > summary { cursor: pointer; min-height: 32px; }
.journey-orientation > span:last-child { margin-left: auto; }
.journey-location { color: var(--acc-text); font-weight: 600; }
.journey-review-note { margin-left: auto; color: var(--ink2); font-size: 12px; font-weight: 600; }
.journey-tools { margin: 18px 0 6px; border-top: 1px solid rgba(var(--fg), .12); padding-top: 12px; }
.journey-tools summary { color: var(--ink); cursor: pointer; padding: 10px 0; font-size: 14px; }
.journey-tools .linkbtn { display: block; text-align: left; min-height: 44px; width: 100%; line-height: 1.4; }
.journey-stepper { max-width: 100%; }
.journey-stepper ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.journey-stepper button { width: 100%; min-height: 48px; }
.journey-stepper .lbl { white-space: normal; }
.journey-next { margin: 20px 0; border-color: var(--acc); }
.journey-next h3 { margin: 0 0 8px; }
.service-cost-summary { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0; padding: 16px; background: var(--panel); border: 1px solid rgba(var(--fg), .12); border-radius: 12px; }
.service-cost-summary b { width: 100%; }
.service-cost-summary p { margin: 0; }
.journey-detail { margin: 20px 0; padding: 16px; border: 1px solid rgba(var(--fg), .12); border-radius: 14px; }
.journey-detail > summary { cursor: pointer; color: var(--ink); min-height: 28px; font-weight: 600; }
.step-boundary { padding: 12px 16px; border-left: 3px solid var(--acc); background: var(--acc-soft); line-height: 1.6; }
.quick-discovery, .quick-scope { max-width: 840px; }
.quick-discovery h2.q, .quick-scope h2.q, .launch-full > h2.q { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.quick-discovery .lede, .quick-scope .lede { max-width: 64ch; font-size: 16px; }
.discovery-agreed { margin: 20px 0; padding: 16px 20px; border-left: 3px solid var(--acc); background: var(--panel); }
.discovery-agreed p { margin: 8px 0; max-width: 64ch; }
.discovery-summary h4 { margin: 24px 0 12px; }
.understanding-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.understanding-flow li { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 12px; background: var(--panel); }
.understanding-flow span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.understanding-rules { border-top: 1px solid rgba(var(--fg), .12); }
.understanding-rules li { padding: 4px 0; }
.discovery-custom-answer { margin: 16px 0; }
.discovery-custom-answer summary { min-height: 44px; padding: 8px 0; cursor: pointer; color: var(--acc-text); }
.discovery-options .discovery-option { min-height: 64px; }
.discovery-option span, .discovery-option b, .understanding-flow b { overflow-wrap: anywhere; }
.qnav { margin-top: 24px; }
.qnav .btn { min-height: 44px; }
.look-comparison { margin: 24px 0 16px; }
.look-select, .look-select-label { display: none; }
.look-switch, .look-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.look-sizes { margin-top: 12px; }
.look-comparison button { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
.look-comparison button[aria-pressed="true"] { border-color: var(--acc-text); background: var(--acc-soft); color: var(--ink); }
.look-details summary { cursor: pointer; color: var(--acc-text); padding: 12px 0; min-height: 44px; }
.dirs .dir { min-width: 0; overflow-wrap: anywhere; }
.dirs .sketch { overflow: hidden; height: 400px; }
.dirs .sketch iframe { display: block; border: 0; }
.prototype-status { display: grid; gap: 12px; padding: 16px 20px; border: 1px solid rgba(var(--fg), .12); border-radius: 14px; background: var(--surface); }
.prototype-status p { margin: 8px 0 0; max-width: 80ch; color: var(--muted); }
.prototype-status b { font-weight: 600; }
.prototype-attention ul { margin: 6px 0; padding-left: 20px; }
.prototype-status .row { margin-top: 4px; }
.pmeta { flex-wrap: wrap; overflow-wrap: anywhere; }
.pmeta > span { max-width: 100%; }
[data-stage="services"] > p, [data-stage="business"] > p, [data-stage="content"] > p { max-width: 72ch; }
[data-stage="launch"] .launch-full { max-width: 1080px; }
[data-stage="launch"] .launch-full > .lede { max-width: 64ch; }
@media (max-width: 899px) {
  .journey-stepper { display: block; margin: 0 0 20px; padding: 0; border-bottom: 1px solid rgba(var(--fg), .12); }
  .journey-stepper .quick-step-menu > summary {
    display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 4px 10px; padding: 8px 0 14px;
    min-height: 64px; align-items: center; overflow-wrap: anywhere;
  }
  .journey-stepper .quick-step-menu > summary::before { grid-row: 1 / 3; margin: 0 0 0 2px; }
  .journey-menu-location { font-size: 14px; font-weight: 600; color: var(--ink); }
  .journey-menu-task { grid-column: 2; font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--muted); }
  .journey-stepper + .journey-orientation { display: none; }
  .journey-menu { padding: 12px 0; border-top: 1px solid rgba(var(--fg), .12); }
  .journey-menu ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
  .journey-menu li + li::before { display: none; }
  .journey-menu button[data-journey] {
    display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 8px;
    padding: 8px; border-radius: 10px; text-align: left; white-space: normal;
  }
  .journey-menu button[data-journey] .lbl { display: block; font-size: 14px; }
  .journey-menu .journey-review-note { grid-column: 2; margin: 0; }
  .journey-menu [aria-current] .journey-review-note { color: inherit; }
  .journey-stepper .journey-tools { margin: 12px 0 0; padding-top: 8px; }
  .journey-stepper .journey-tools summary { min-height: 44px; }
  .journey-menu > .linkbtn { text-align: left; min-height: 44px; font-size: 14px; color: var(--acc-text); }
}
@media (max-width: 700px) {
  .journey-orientation { gap: 8px; margin-bottom: 12px; padding: 8px 0; }
  .quick-look > .asker, .quick-discovery > .asker, .quick-scope > .asker { display: none; }
  .journey-orientation > span:last-child { margin: 0; width: 100%; }
  .journey-orientation b { flex: 1; min-width: 0; }
  .understanding-flow { grid-template-columns: 1fr; }
  .look-switch { display: none; }
  .look-select, .look-select-label { display: block; }
  .look-select { width: 100%; min-height: 44px; margin: 6px 0 0; }
  .look-comparison { margin: 16px 0; }
  .dirs { display: block; }
  .dirs .dir[data-look-card]:not(.is-comparing) { display: none; }
  .prototype-status { padding: 16px; }
  .prototype-status .row .btn { width: 100%; min-height: 44px; }
  .qnav { align-items: stretch; gap: 10px; }
  .qnav .btn { flex: 1; white-space: normal; }
  .journey-detail { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #app.enter > * { animation: none; }
  .journey-orientation, .look-comparison, .prototype-status { animation: none; scroll-behavior: auto; }
}
