@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/mona/MonaSansVF-875ad1fa.woff2?v=875ad1fab0c1") format("woff2-variations");
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

#merchantSurface,
#merchantSurface button,
#merchantSurface textarea,
#merchantSurface input,
#merchantSurface select {
  font-family: "Mona Sans", ui-sans-serif, sans-serif;
  font-stretch: 100%;
  font-optical-sizing: auto;
  font-synthesis: none;
}

#merchantSurface {
  grid-template-rows: 64px minmax(0, 1fr);
}

#merchantSurface .brand {
  font-weight: 600;
  letter-spacing: 0;
}

#merchantSurface .header-actions .link-button,
#merchantSurface .suggestion {
  font-weight: 500;
  letter-spacing: 0;
}

#merchantSurface #storeAction {
  display: inline-flex;
  align-items: center;
}

#merchantSurface .store-label-short {
  display: none;
}

#merchantSurface .open-lens-title h1 {
  font-size: 62px;
  font-weight: 500;
  font-stretch: 92%;
  font-variation-settings: "wdth" 92, "opsz" 64, "wght" 500;
  letter-spacing: 0;
  line-height: 1.04;
}

#merchantSurface .open-lens-title p {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

#merchantSurface .chat-status {
  font-weight: 400;
  letter-spacing: 0;
}

#merchantSurface .chat-status strong {
  font-weight: 600;
}

#merchantSurface .bubble {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
}

#merchantSurface .message.merchant .bubble {
  font-weight: 400;
}

#merchantSurface .artifact h2,
#merchantSurface .artifact h3,
#merchantSurface .provider-name {
  font-weight: 500;
  letter-spacing: 0;
}

#merchantSurface .eyebrow,
#merchantSurface .badge,
#merchantSurface .fit,
#merchantSurface .brief-item button,
#merchantSurface .criterion-status,
#merchantSurface .field label,
#merchantSurface .action {
  font-weight: 600;
}

#merchantSurface #composer {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  max-height: max(132px,5lh);
}

@supports (field-sizing: content) {
  #merchantSurface #composer {
    field-sizing: content;
    height: auto !important;
  }
}

#merchantSurface[data-bootstrap-error="true"] .composer-dock {
  display: none;
}

#merchantSurface .bootstrap-error {
  width: min(720px,100%);
  margin: 0 auto;
  padding: 28px 0;
  align-self: center;
}

#merchantSurface .bootstrap-error h2 {
  margin: 0;
  color: var(--miles-ink);
  font-size: 26px;
  font-weight: 500;
}

#merchantSurface .bootstrap-error > p:not(.eyebrow) {
  margin: 8px 0 18px;
  color: var(--miles-graphite);
}

.operator-surface > .bootstrap-error {
  width: min(620px,calc(100% - 32px));
  margin: 15vh auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf6;
}

.operator-surface > .bootstrap-error h2 {
  margin: 0;
}

.operator-surface > .bootstrap-error > p:not(.eyebrow) {
  margin: 8px 0 18px;
}

#merchantSurface .brief-item strong,
#merchantSurface .numbers {
  font-variant-numeric: tabular-nums;
}

#merchantSurface .brief-label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px 10px;
  flex-wrap: wrap;
}

#merchantSurface .brief-label .provenance {
  color: var(--miles-graphite);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

#merchantSurface .artifact {
  scroll-margin-block-end: 150px;
}

#merchantSurface .store-connect {
  max-width: 610px;
  padding: 16px 18px;
}

#merchantSurface .store-connect .artifact-head {
  align-items: center;
  margin-bottom: 8px;
}

#merchantSurface .store-connect .artifact-head h2 {
  font-size: 20px;
}

#merchantSurface .store-connect .badge {
  margin-top: 0;
}

#merchantSurface .store-connect > p,
#merchantSurface .store-snapshot > p {
  max-width: 640px;
  color: var(--miles-graphite);
}

#merchantSurface .store-connect > p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
}

#merchantSurface .store-connect .inline-fields {
  gap: 0;
}

#merchantSurface .store-connect .field input {
  min-height: 40px;
}

#merchantSurface .store-connect .store-read-boundary {
  margin: 8px 0 0;
  padding: 0;
  color: var(--miles-graphite);
  font-size: 11px;
  line-height: 1.35;
}

#merchantSurface .store-connect .artifact-actions {
  margin-top: 10px;
}

#merchantSurface .snapshot-error {
  margin: 12px 0 0;
  color: var(--miles-danger);
  font-size: 13px;
}

#merchantSurface .snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 26px;
  margin-top: 18px;
}

#merchantSurface .store-snapshot {
  max-width: 800px;
}

#merchantSurface .store-snapshot.is-pending > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

#merchantSurface .snapshot-profile-summary {
  margin-top: 10px !important;
  color: var(--miles-ink) !important;
  font-size: 13px !important;
}

#merchantSurface .snapshot-signal-band {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(130px,1fr));
  margin-top: 20px;
  border-top: 1px solid var(--miles-line-strong);
  border-bottom: 1px solid var(--miles-line-strong);
}

#merchantSurface .snapshot-signal-band > div {
  min-width: 0;
  padding: 14px 14px 13px 0;
}

#merchantSurface .snapshot-signal-band > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--miles-line);
}

#merchantSurface .snapshot-signal-band strong {
  display: block;
  color: var(--miles-ink);
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  line-height: 1.1;
}

#merchantSurface .snapshot-signal-band span {
  display: block;
  margin-top: 5px;
  color: var(--miles-graphite);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
}

#merchantSurface .snapshot-profile-section {
  margin-top: 24px;
}

#merchantSurface .snapshot-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 5px;
}

#merchantSurface .snapshot-section-head h3 {
  font-size: 17px;
}

#merchantSurface .snapshot-section-head span {
  color: var(--miles-graphite);
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
}

#merchantSurface .snapshot-profile-section dl {
  margin: 0;
}

#merchantSurface .snapshot-row {
  display: grid;
  grid-template-columns: minmax(126px,.3fr) minmax(0,1fr);
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--miles-line);
}

#merchantSurface .snapshot-row dt,
#merchantSurface .snapshot-row dd {
  margin: 0;
}

#merchantSurface .snapshot-row dt {
  color: var(--miles-graphite);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

#merchantSurface .snapshot-row dd {
  color: var(--miles-ink);
  font-size: 13px;
  line-height: 1.45;
}

#merchantSurface .snapshot-quality {
  margin-top: 20px;
  padding: 12px 14px;
  border-left: 2px solid #b07a27;
  background: color-mix(in srgb,var(--miles-warn) 65%,transparent);
  color: var(--miles-ink);
  font-size: 12px;
  line-height: 1.45;
}

#merchantSurface .snapshot-quality > strong {
  font-size: 11px;
  font-weight: 650;
}

#merchantSurface .snapshot-quality ul {
  margin: 5px 0 0;
  padding-left: 17px;
}

#merchantSurface .snapshot-confirmed-boundary {
  margin: 10px 0 0 !important;
  color: var(--miles-graphite) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

#merchantSurface .store-snapshot.is-confirmed {
  max-width: 700px;
  padding: 15px 18px 13px;
  border: 1px solid var(--miles-line);
  border-radius: 14px;
  background: color-mix(in srgb,var(--miles-canvas) 88%,white);
}

#merchantSurface .store-snapshot.is-confirmed .artifact-head {
  align-items: center;
  margin-bottom: 6px;
}

#merchantSurface .store-snapshot.is-confirmed h2 {
  font-size: 20px;
}

#merchantSurface .store-snapshot.is-confirmed .snapshot-signal-band {
  margin-top: 12px;
}

#merchantSurface .store-snapshot.is-confirmed .snapshot-signal-band strong {
  font-size: 17px;
}

#merchantSurface .store-summary {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--miles-ink);
  font-size: 14px;
  line-height: 1.45;
}

#merchantSurface .store-context-meta {
  margin: 8px 0 0;
  color: var(--miles-graphite);
  font-size: 11px;
}

#merchantSurface .snapshot-item {
  min-width: 0;
  padding: 11px 0 12px;
  border-bottom: 1px solid var(--miles-line);
}

#merchantSurface .snapshot-item span,
#merchantSurface .snapshot-brief-context > span {
  display: block;
  color: var(--miles-graphite);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#merchantSurface .snapshot-item strong,
#merchantSurface .snapshot-brief-context > strong {
  display: block;
  margin-top: 3px;
  color: var(--miles-ink);
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

#merchantSurface .snapshot-item small,
#merchantSurface .snapshot-brief-context > small {
  display: block;
  margin-top: 4px;
  color: var(--miles-graphite);
  font-size: 11px;
}

#merchantSurface .snapshot-item-store-summary {
  grid-column: 1 / -1;
}

#merchantSurface .snapshot-boundary,
#merchantSurface .snapshot-empty {
  display: grid;
  grid-template-columns: 116px minmax(0,1fr);
  gap: 16px;
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--miles-line-strong);
  border-bottom: 1px solid var(--miles-line-strong);
}

#merchantSurface .snapshot-boundary span,
#merchantSurface .snapshot-empty span {
  color: var(--miles-graphite);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#merchantSurface .snapshot-boundary strong,
#merchantSurface .snapshot-empty strong {
  color: var(--miles-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

#merchantSurface .snapshot-provenance {
  margin-top: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--miles-line);
  border-bottom: 1px solid var(--miles-line);
  color: var(--miles-graphite);
  font-size: 12px;
}

#merchantSurface .is-confirmed .snapshot-provenance {
  margin-top: 10px;
  padding: 8px 0 0;
  border-bottom: 0;
}

#merchantSurface .snapshot-technical {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
}

#merchantSurface .snapshot-provenance summary {
  width: fit-content;
  cursor: pointer;
  color: var(--miles-ink);
  font-weight: 600;
}

#merchantSurface .snapshot-provenance ul {
  margin: 10px 0 0;
  padding-left: 19px;
}

#merchantSurface .snapshot-provenance .snapshot-sources {
  padding-left: 0;
  list-style: none;
}

#merchantSurface .snapshot-sources li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-top: 1px solid var(--miles-line);
}

#merchantSurface .snapshot-sources span {
  color: var(--miles-graphite);
  font-size: 10px;
  text-align: right;
}

#merchantSurface .snapshot-limits {
  color: var(--miles-graphite);
}

#merchantSurface .snapshot-provenance a {
  color: #456454;
  text-underline-offset: 2px;
}

#merchantSurface .snapshot-brief-context {
  margin-top: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--miles-line-strong);
  border-bottom: 1px solid var(--miles-line-strong);
}

#merchantSurface .snapshot-brief-context .provenance {
  margin-left: 8px;
  color: var(--miles-graphite);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

#merchantSurface .action:disabled {
  opacity: .52;
  cursor: wait;
}

#merchantSurface .chat-frame[data-engaged="false"] .composer-meta {
  display: none;
}

#merchantSurface .composer-meta {
  color: var(--miles-graphite);
  font-size: 11px;
  flex-wrap: wrap;
}

#merchantSurface .composer-meta .link-button {
  font-size: 11px;
}

#merchantSurface #send svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#merchantSurface .chat-frame[data-engaged="false"] .open-lens-title {
  max-height: none;
}

@media (max-width: 720px) {
  #merchantSurface {
    grid-template-rows: 56px minmax(0, 1fr) auto;
  }

  #merchantSurface .open-lens-title h1 {
    font-size: 43px;
    line-height: 1.1;
  }

  #merchantSurface .composer-meta .link-button {
    font-size: 11px;
  }

  #merchantSurface #composer {
    max-height: max(114px,5lh);
  }

  #merchantSurface .store-label-long {
    display: none;
  }

  #merchantSurface .store-label-short {
    display: inline;
  }

  #merchantSurface .snapshot-grid {
    grid-template-columns: 1fr;
  }

  #merchantSurface .snapshot-signal-band {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  #merchantSurface .snapshot-signal-band > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--miles-line);
  }

  #merchantSurface .snapshot-signal-band > div:nth-child(4) {
    border-top: 1px solid var(--miles-line);
  }

  #merchantSurface .snapshot-section-head {
    display: block;
  }

  #merchantSurface .snapshot-section-head span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  #merchantSurface .snapshot-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  #merchantSurface .snapshot-sources li {
    display: block;
  }

  #merchantSurface .snapshot-sources span {
    display: block;
    margin-top: 2px;
    text-align: left;
  }

  #merchantSurface .snapshot-item-store-summary {
    grid-column: auto;
  }

  #merchantSurface .snapshot-boundary,
  #merchantSurface .snapshot-empty {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  #merchantSurface .snapshot-brief-context .provenance {
    display: block;
    margin: 3px 0 0;
  }

  #merchantSurface .bootstrap-error {
    padding: 20px 0;
  }
}

@media (max-width: 360px) and (max-height: 600px) {
  #merchantSurface .chat-frame:has(.store-connect) .suggestions {
    display: none !important;
  }

  #merchantSurface .chat-frame:has(.store-connect) .transcript {
    padding-bottom: 10px;
  }

  #merchantSurface .store-connect {
    margin-bottom: 10px;
    padding-top: 12px;
  }

  #merchantSurface .store-connect > p {
    margin-bottom: 8px;
  }

  #merchantSurface .store-connect .artifact-actions {
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #merchantSurface .composer-tools {
    transition: none;
  }
}
