/* Original visual storytelling, distinct from actual customer account data. */
.pain-section .section-heading {
  margin-bottom: 24px;
}
.visual-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}
.visual-switch > div {
  display: flex;
  padding: 5px;
  background: var(--mb-subtle);
  border: 1px solid var(--mb-line);
  border-radius: 999px;
}
.visual-switch button {
  min-height: 44px;
  padding: 10px 20px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: var(--mb-muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
}
.visual-switch [aria-pressed="true"] {
  color: var(--mb-white);
  background: var(--mb-panel-raised);
  box-shadow: 0 5px 12px
    color-mix(in srgb, var(--mb-panel-raised) 12.55%, transparent);
}
.visual-switch > span {
  font-size: 12px;
  color: var(--mb-muted);
}
.pain-grid .pain-card {
  min-width: 0;
  padding: 17px 17px 24px;
}
.pain-grid .pain-card h3 {
  margin: 10px 6px 14px;
  font-size: 20px;
}
.pain-art {
  position: relative;
  height: 235px;
  padding: 0;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: 16px;
}
.art-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.art-before {
  background:
    radial-gradient(ellipse at top left, var(--mb-subtle), transparent 65%),
    var(--mb-subtle);
}
.art-after {
  background:
    radial-gradient(ellipse at top right, var(--mb-soft), transparent 70%),
    var(--mb-subtle);
}
.art-caption {
  padding-inline: 6px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--mb-accent);
}
[data-visual-mode="after"] .art-caption {
  color: var(--mb-accent);
}
.pain-grid .visual-explainer {
  margin: auto 6px 10px;
  font-size: 12px;
  color: var(--mb-muted);
}
.visual-explainer > summary,
.workflow-explainer > summary {
  padding-block: 7px;
  cursor: pointer;
}
.visual-explainer p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--mb-muted);
}
:where(.pain-grid) .pain-card > .text-link {
  margin: 4px 6px 0;
  font-size: 12px;
}
.art-bubble {
  position: relative;
  display: block;
  width: fit-content;
  padding: 10px 15px;
  font-size: 12px;
  color: var(--mb-muted);
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--mb-accent) 6.27%, transparent);
}
.question-pile {
  position: absolute;
  top: 25px;
  left: 20px;
  display: grid;
  gap: 10px;
  width: 58%;
}
.question-pile .art-bubble:nth-child(2) {
  margin-left: 24px;
}
.question-pile .art-bubble:nth-child(3) {
  margin-left: 7px;
}
.art-shopper {
  position: absolute;
  right: 19px;
  bottom: 13px;
  width: 85px;
  text-align: center;
}
.art-shopper svg,
.handoff-people svg {
  width: 75px;
  height: 94px;
}
.art-shopper > span,
.handoff-people div > span {
  display: block;
  font-size: 10px;
  font-weight: 650;
  color: var(--mb-muted);
}
.art-alert {
  position: absolute;
  top: 18px;
  right: 14px;
  max-width: 100px;
  padding: 7px 10px;
  font-size: 9px;
  color: var(--mb-accent);
  background: var(--mb-line-strong);
  border-radius: 999px;
}
.typing-keys {
  position: absolute;
  bottom: 18px;
  left: 30px;
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--mb-line-strong);
  border-radius: 7px;
  transform: rotate(-7deg);
}
.typing-keys i {
  width: 11px;
  height: 8px;
  background: var(--mb-surface);
  border-radius: 2px;
}
.art-document {
  position: absolute;
  top: 25px;
  left: 18px;
  width: 122px;
  min-height: 146px;
  padding: 18px 15px;
  background: var(--mb-white);
  border-radius: 8px 20px 8px 8px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--mb-muted) 7.06%, transparent);
  transform: rotate(-7deg);
}
.art-document > span {
  display: block;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 750;
  color: var(--mb-muted);
}
.art-document i {
  display: block;
  height: 5px;
  margin-bottom: 8px;
  background: var(--mb-line);
  border-radius: 4px;
}
.art-document i:nth-of-type(2) {
  width: 72%;
}
.art-document strong {
  display: block;
  margin-top: 14px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--mb-muted);
}
.art-ai {
  position: absolute;
  top: 36px;
  left: 46%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--mb-subtle);
  background: var(--mb-accent);
  border: 5px solid var(--mb-subtle);
  border-radius: 16px;
  box-shadow: 0 6px 12px
    color-mix(in srgb, var(--mb-accent) 13.33%, transparent);
  transform: rotate(8deg);
}
.art-ai .icon {
  width: 26px;
  height: 26px;
}
.art-arrow {
  position: absolute;
  top: 93px;
  right: 48px;
  font-size: 36px;
  color: var(--mb-muted);
  transform: rotate(42deg);
}
.art-answer {
  position: absolute;
  right: 17px;
  bottom: 48px;
  max-width: 160px;
  color: var(--mb-panel-raised);
  background: var(--mb-white);
  border-color: var(--mb-line-strong);
}
.art-result {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: var(--mb-muted);
}
.art-result .icon {
  width: 15px;
  height: 15px;
}
.scattered-channels > span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  padding: 12px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  border-radius: 15px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--mb-muted) 7.06%, transparent);
}
.scattered-channels > span:nth-child(1) {
  top: 20px;
  left: 20px;
  transform: rotate(-11deg);
}
.scattered-channels > span:nth-child(2) {
  top: 31px;
  right: 19px;
  transform: rotate(8deg);
}
.scattered-channels > span:nth-child(3) {
  bottom: 27px;
  left: 29px;
  transform: rotate(5deg);
}
.scattered-channels > span:nth-child(4) {
  right: 20px;
  bottom: 22px;
  transform: rotate(-9deg);
}
.scattered-channels > span:nth-child(5) {
  top: 16px;
  left: 45%;
  transform: rotate(-4deg);
}
.scattered-channels i {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  background: var(--mb-accent-bright);
  border: 2px solid var(--mb-surface);
  border-radius: 50%;
}
.art-shopper-center {
  right: calc(50% - 43px);
  bottom: 28px;
}
.broken-path {
  position: absolute;
  top: 88px;
  left: calc(50% - 35px);
  font-size: 18px;
  color: var(--mb-faint);
}
.art-inbox {
  position: absolute;
  top: 23px;
  right: 23px;
  left: 23px;
  padding: 15px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  border-radius: 12px;
  box-shadow: 0 12px 24px
    color-mix(in srgb, var(--mb-accent) 7.06%, transparent);
}
.art-inbox-title {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 10px;
  font-size: 11px;
  color: var(--mb-panel-raised);
}
.art-inbox-title .icon {
  width: 18px;
  height: 18px;
}
.art-conversation {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--mb-subtle);
}
.art-conversation .channel-mark {
  width: 22px;
  height: 22px;
}
.art-conversation > span {
  display: grid;
  flex: 1;
  gap: 6px;
}
.art-conversation i {
  display: block;
  height: 5px;
  background: var(--mb-line);
  border-radius: 5px;
}
.art-conversation i:last-child {
  width: 60%;
  background: var(--mb-subtle);
}
.art-conversation b {
  font-size: 11px;
  color: var(--mb-muted);
}
.art-context-tag {
  display: block;
  width: fit-content;
  padding: 5px 9px;
  font-size: 9px;
  color: var(--mb-muted);
  background: var(--mb-line);
  border-radius: 7px;
}
.art-after > .art-context-tag {
  position: absolute;
  right: 24px;
  bottom: 14px;
}
.handoff-people {
  position: absolute;
  top: 50px;
  right: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.handoff-people > div {
  text-align: center;
}
.handoff-people > div:last-child svg {
  filter: hue-rotate(45deg);
}
.handoff-gap {
  font-size: 17px;
  color: var(--mb-faint);
  white-space: nowrap;
}
.context-question {
  position: absolute;
  top: 18px;
  right: 24px;
  padding: 8px 15px;
  font-size: 20px;
  font-weight: 700;
}
.empty-context {
  position: absolute;
  right: 30px;
  bottom: 21px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  padding: 10px 13px;
  font-size: 11px;
  color: var(--mb-muted);
  border: 1px dashed var(--mb-faint);
  border-radius: 7px;
}
.context-card {
  position: absolute;
  top: 26px;
  right: 25px;
  left: 25px;
  padding: 16px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  border-radius: 11px;
  box-shadow: 0 9px 20px color-mix(in srgb, var(--mb-muted) 7.45%, transparent);
}
.context-card-top {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 11px;
  color: var(--mb-muted);
}
.context-card-top .icon {
  width: 18px;
  height: 18px;
}
.context-card-top .icon:last-child {
  margin-left: auto;
  color: var(--mb-accent);
}
.context-chat-line {
  display: block;
  width: 84%;
  height: 8px;
  margin: 9px 0;
  background: var(--mb-line);
  border-radius: 6px;
}
.context-chat-line:nth-of-type(3) {
  width: 56%;
}
.context-card .art-context-tag {
  margin-top: 12px;
}
.handoff-receipt {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 33px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--mb-muted);
}
.handoff-receipt > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  color: var(--mb-panel-raised);
  background: var(--mb-line-strong);
  border: 2px solid var(--mb-white);
  border-radius: 50%;
}
.handoff-receipt > span:nth-of-type(2) {
  background: var(--mb-line);
}
.handoff-receipt > strong {
  margin-left: auto;
  font-size: 10px;
}
.workflow-board {
  padding: 32px;
  color: var(--mb-subtle);
  background:
    radial-gradient(ellipse at top right, var(--mb-muted), transparent 65%),
    var(--mb-panel);
  border: 1px solid var(--mb-panel-raised);
  border-radius: 25px;
  box-shadow: 0 24px 50px
    color-mix(in srgb, var(--mb-panel-raised) 12.55%, transparent);
}
.workflow-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.workflow-picker button {
  min-height: 44px;
  padding: 10px 18px;
  font: inherit;
  font-size: 13px;
  color: var(--mb-line-strong);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--mb-muted);
  border-radius: 999px;
}
.workflow-picker [aria-pressed="true"] {
  color: var(--mb-panel-raised);
  background: var(--mb-soft);
  border-color: var(--mb-soft);
}
.workflow-route > ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.workflow-route li {
  position: relative;
  min-width: 0;
}
.workflow-route button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 174px;
  padding: 25px 13px;
  font: inherit;
  color: var(--mb-subtle);
  cursor: pointer;
  background: color-mix(in srgb, var(--mb-white) 3.53%, transparent);
  border: 1px solid color-mix(in srgb, var(--mb-muted) 34.12%, transparent);
  border-radius: 17px;
}
.workflow-route [aria-current="step"] {
  background: color-mix(in srgb, var(--mb-white) 7.06%, transparent);
  border-color: var(--mb-line-strong);
  box-shadow: 0 0 0 4px
    color-mix(in srgb, var(--mb-line-strong) 8.63%, transparent);
}
.workflow-symbol {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--mb-muted);
  background: var(--mb-line);
  border-radius: 19px;
  box-shadow: 0 8px 17px color-mix(in srgb, var(--mb-ink) 14.12%, transparent);
}
.workflow-symbol .icon {
  width: 31px;
  height: 31px;
}
.workflow-route strong {
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.workflow-number {
  position: absolute;
  top: 10px;
  right: 12px;
  font:
    500 9px ui-monospace,
    monospace;
  color: var(--mb-faint);
}
.workflow-arrow {
  position: absolute;
  top: 66px;
  right: -24px;
  font-size: 28px;
  color: var(--mb-faint);
}
.workflow-caption {
  min-height: 28px;
  margin: 26px 0 19px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mb-line);
  text-align: center;
}
.workflow-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  padding-top: 19px;
  border-top: 1px solid var(--mb-muted);
}
.workflow-bottom small {
  max-width: 650px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--mb-faint);
}
.workflow-bottom .text-link {
  font-size: 12px;
  color: var(--mb-soft);
}
.workflow-explainer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--mb-line-strong);
}
.workflow-explainer p,
.workflow-explainer li {
  line-height: 1.8;
}
.workflow-section button:focus-visible,
.visual-switch button:focus-visible {
  outline: 3px solid var(--mb-faint);
  outline-offset: 4px;
}
@keyframes art-arrive {
  from {
    opacity: 0.4;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .art-after:not([hidden]) {
    animation: art-arrive 0.4s ease;
  }
}
@media (max-width: 950px) {
  .pain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }
  .pain-grid .pain-card {
    padding: 12px 12px 20px;
  }
  .pain-art {
    height: 210px;
  }
  .pain-grid .pain-card h3 {
    font-size: 17px;
  }
  .workflow-board {
    padding: 25px;
  }
}
@media (max-width: 700px) {
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pain-grid .pain-card {
    padding: 16px 16px 22px;
  }
  .pain-grid .pain-card h3 {
    font-size: 20px;
  }
  .pain-art {
    height: 230px;
  }
  .visual-switch > div {
    width: 100%;
  }
  .visual-switch button {
    flex: 1;
    padding-inline: 13px;
  }
  .visual-switch > span {
    font-size: 11px;
  }
  .workflow-board {
    padding: 24px 20px;
  }
  .workflow-picker {
    gap: 6px;
    margin-bottom: 24px;
  }
  .workflow-picker button {
    padding: 10px 12px;
    font-size: 11px;
  }
  .workflow-route > ol {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .workflow-route button {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 98px;
    padding: 18px;
  }
  .workflow-symbol {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }
  .workflow-route strong {
    font-size: 14px;
    text-align: left;
  }
  .workflow-arrow {
    top: auto;
    right: calc(50% - 11px);
    bottom: -25px;
    transform: rotate(90deg);
  }
  .workflow-caption {
    font-size: 13px;
    text-align: left;
  }
}
