/* Scoped additions only: reuse Hub tokens, shell, cards, buttons and spacing. */
.customer-journey { overflow-wrap: anywhere; }
.customer-journey [hidden] { display: none !important; }
.customer-journey .cj-test-banner {
  border-color: var(--orange);
  background: var(--orange-soft);
  align-items: flex-start;
}
.customer-journey .cj-test-banner strong { color: var(--navy); font-size: 14px; }
.customer-journey .cj-test-banner p { color: var(--text); font-size: 13px; }
.customer-journey h2, .customer-journey h3 { margin: 0; color: var(--navy); }
.customer-journey h2 { font-size: 20px; }
.customer-journey h3 { font-size: 17px; }
.customer-journey .stack > p { margin: 0; }
.customer-journey .cj-feedback { min-height: 24px; color: var(--text-muted); }
.customer-journey .cj-feedback.cj-error { color: var(--red); font-weight: 650; }
.customer-journey .btn { min-height: 44px; padding: 10px 14px; white-space: normal; text-align: center; }
.customer-journey .btn:disabled { cursor: not-allowed; opacity: .6; }
.customer-journey :is(button, a, textarea, input, select):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.customer-journey .status { white-space: normal; width: fit-content; }
.customer-journey .status::before { flex-shrink: 0; }
.customer-journey .product-card > .btn { margin-top: auto; }
.customer-journey .product-grid { align-items: stretch; }
.customer-journey .product-grid > *, .customer-journey .stack > * { min-width: 0; }
.customer-journey .cj-details { margin: 0; }
.customer-journey .cj-details dt { color: var(--text-muted); font-size: 12px; }
.customer-journey .cj-details dd { margin: 4px 0 0; font-weight: 700; font-size: 14px; }
.customer-journey .cj-copy-payload {
  display: block;
  width: 100%;
  min-height: 120px;
  max-height: 400px;
  padding: var(--space-3);
  resize: vertical;
  color: var(--text);
  background: var(--surface-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: 14px/1.6 ui-monospace, monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.customer-journey .cj-pix-qr {
  display: block;
  width: min(280px, 100%);
  height: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
.customer-journey .cj-pagination { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.customer-journey .search-wrap { width: min(100%, 480px); min-width: 0; }
.customer-journey .search-wrap input { min-width: 0; min-height: 44px; }
.customer-journey .cj-access-table { width: 100%; min-width: 0; border-collapse: collapse; }
.customer-journey .cj-access-table :is(th, td) { padding: 14px; text-align: left; border-bottom: 1px solid var(--border); }
.customer-journey .cj-access-table th { font-size: 12px; color: var(--text-muted); }
.customer-journey .cj-access-table td { font-size: 14px; white-space: normal; }
.customer-journey .cj-access-table tr:last-child td { border-bottom: 0; }
.customer-journey .cj-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .customer-journey .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .customer-journey .product-grid, .customer-journey .detail-list { grid-template-columns: minmax(0, 1fr); }
  .customer-journey .cj-table-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .customer-journey .cj-access-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .customer-journey .cj-access-table,
  .customer-journey .cj-access-table tbody { display: block; }
  .customer-journey .cj-access-table tr {
    display: block;
    margin-bottom: var(--space-3);
    padding: var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }
  .customer-journey .cj-access-table td { display: block; padding: 8px 0; border: 0; }
  .customer-journey .cj-access-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 650;
  }
  .customer-journey .product-actions > .btn { flex: 1 1 180px; }
  .customer-journey .cj-pagination { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-journey *, .customer-journey *::before { animation: none; transition: none; }
}
