.support-launcher {
  position: fixed;
  z-index: 23;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  inline-size: 56px;
  block-size: 56px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 15px #0003;
}
.support-launcher:hover { background: #343231; }
.support-launcher svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.support-launcher-badge {
  position: absolute; inset-block-start: 0; inset-inline-end: 0;
  inline-size: 13px; block-size: 13px;
  border: 2px solid var(--paper); border-radius: 50%; background: #167949;
}
.support-dialog {
  position: fixed;
  inset: auto 18px calc(72px + env(safe-area-inset-bottom)) auto;
  width: min(410px, calc(100% - 36px));
  max-width: none;
  max-height: min(650px, calc(100dvh - 106px));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 30px #0002;
  overflow: hidden;
}
.support-dialog::backdrop { background: #0004; }
.support-dialog-inner { display: flex; flex-direction: column; max-height: inherit; min-height: 0; }
.support-dialog-head {
  display: flex; align-items: start; justify-content: space-between; gap: 14px;
  padding: 16px; background: var(--ink); color: #fff;
}
.support-dialog-head h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.support-dialog-head p { margin: 2px 0 0; color: #eee; font-size: 12px; }
.support-dialog-head .icon-button { margin: -5px -4px -5px 0; }
.support-dialog-head .icon-button:focus-visible { outline-color: #fff; outline-offset: 1px; }
.support-loading, .support-guest { padding: 16px; }
.support-loading { margin: 0; }
.support-guest p { margin: 0 0 15px; }
.support-guest .solid-button { margin-bottom: 8px; }
.support-guest .outline-button { width: 100%; }
.support-conversation { display: flex; flex-direction: column; min-height: 0; }
.support-greeting { margin: 0; padding: 16px 16px 4px; }
.support-quick, .support-links { display: flex; flex-wrap: wrap; gap: 7px 13px; padding: 8px 16px 12px; }
.support-quick button {
  padding: 6px 11px; min-height: 32px; border: 1px solid var(--line); border-radius: 20px;
  background: transparent; cursor: pointer; font-size: 13px;
}
.support-links { font-size: 12px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.support-links .text-link { font-size: inherit; }
.support-older { align-self: center; margin: 7px auto 0; }
.support-messages {
  display: flex; flex-direction: column; gap: 12px; min-height: 0;
  margin: 0; padding: 15px 16px; list-style: none; overflow-y: auto; overscroll-behavior: contain;
}
.support-messages:empty { padding-block: 0; }
.support-message { align-self: flex-start; max-width: min(90%, 67ch); padding: 8px 11px; border-radius: 9px; background: #f1efec; }
.support-message--own { align-self: flex-end; background: var(--ink); color: #fff; }
.support-message--system { align-self: center; padding: 0 5px; background: transparent; color: var(--muted); text-align: center; }
.support-message-byline { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 650; }
.support-message p { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-message--system p { font-size: 12px; }
.support-composer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 11px 16px 7px; border-top: 1px solid var(--line); }
.support-composer textarea {
  flex: 1; min-width: 0; min-height: 44px; resize: vertical; max-height: 115px; padding: 8px;
  color: var(--ink); border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font: inherit;
}
.support-composer textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.support-composer .solid-button { width: auto; min-height: 44px; padding-inline: 12px; }
.support-feedback { flex-basis: 100%; margin: 0; font-size: 13px; }
.support-feedback:empty { display: none; }

.admin-nav { flex-wrap: wrap; column-gap: clamp(12px, 4vw, 22px); }
.support-unread-dot {
  display: inline-block; flex: none; inline-size: 9px; block-size: 9px;
  border-radius: 50%; background: #167949;
}
.admin-support-badge { margin-inline-start: 6px; vertical-align: .08em; }
.support-inbox { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 24px; margin-top: 20px; }
.support-thread-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 8px; margin-bottom: 14px; }
.support-thread-search :is(input[type="search"], select) {
  min-width: 0; width: 100%; min-height: 44px; padding-inline: 10px; border: 1px solid var(--line);
  border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit;
}
.support-thread-search .outline-button { min-height: 44px; padding-inline: 12px; }
.support-thread-search :is(.text-link, .support-feedback) { grid-column: 1 / -1; justify-self: start; font-size: 13px; }
.support-thread-search .support-feedback { color: var(--accent); }
.support-thread-list ul { list-style: none; margin: 0; padding: 0; }
.support-thread-list li > a { display: grid; gap: 3px; padding: 11px 8px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.support-thread-list li:last-child > a { border-bottom: 1px solid var(--line); }
.support-thread-list a:is(:hover,[aria-current]) { background: #f5f3ef; }
.support-thread-list li > a > span:not(:first-child), .support-thread-topic, .support-inbox-empty { color: var(--muted); font-size: 13px; }
.support-thread-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 9px; }
.support-thread-name .support-unread-dot { margin-block-start: 7px; }
.support-thread-name .support-unread-dot--count {
  display: inline-grid; place-items: center; inline-size: auto; min-inline-size: 20px; block-size: 20px;
  margin-block-start: 1px; padding-inline: 4px; border-radius: 999px; color: #fff;
  font-size: 11px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums;
}
.support-thread-snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.support-thread-list li > a > .support-thread-timestamp { font-size: 12px; font-variant-numeric: tabular-nums; }
.support-thread-list .admin-pages { margin: 10px 0; }
.support-admin-conversation { min-width: 0; padding: 15px; border: 1px solid var(--line); }
.support-admin-head { display: flex; align-items: start; justify-content: space-between; gap: 9px; flex-wrap: wrap; }
.support-admin-head h2, .support-admin-head p, .support-thread-topic { margin: 0 0 4px; overflow-wrap: anywhere; }
.support-admin-head p, #supportThreadMode { font-size: 13px; }
.support-admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
.support-admin-actions .outline-button { min-height: 36px; padding-inline: 10px; }
.support-admin-conversation .support-messages { max-height: min(55dvh, 530px); min-height: 120px; padding-inline: 0; }
.support-admin-conversation .support-composer { padding-inline: 0; }
.support-quick-replies { flex-basis: 100%; min-width: 0; }
.support-quick-replies summary { min-height: 44px; padding-block: 11px; font-size: 14px; font-weight: 600; cursor: pointer; }
.support-quick-replies p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.support-reply-categories { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 5px; }
.support-quick-replies .outline-button { min-height: 44px; padding-inline: 11px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.support-reply-categories .outline-button[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.support-reply-options { display: grid; gap: 6px; padding-block: 5px; }
.support-reply-options .outline-button { justify-content: flex-start; padding-block: 8px; font-weight: 500; text-align: start; }
.support-admin-conversation .support-feedback { color: var(--accent); }
.support-back { display: none; }
@media (max-width: 650px) {
  .support-dialog {
    inset: auto 0 0; width: 100%; max-height: min(700px, 86dvh);
    border-radius: 16px 16px 0 0;
  }
  .support-inbox { grid-template-columns: minmax(0, 1fr); }
  .support-inbox:not(.support-inbox--open) .support-admin-conversation,
  .support-inbox--open .support-thread-list { display: none; }
  .support-back { display: inline-flex; margin-bottom: 13px; }
}

.cancellation-tabs,
.cancellation-filters,
.cancellation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.cancellation-tabs { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.cancellation-tabs a { padding: 10px 0; text-decoration: none; }
.cancellation-tabs a[aria-current="page"] { border-bottom: 2px solid; font-weight: 600; }
.cancellation-filters { margin: 0 0 12px; }
.cancellation-filters a { font-size: .9rem; padding: 6px 0; }
.cancellation-filters a[aria-current="page"] { font-weight: 600; }
.cancellation-list { margin: 16px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cancellation-list li + li { border-top: 1px solid var(--line); }
.cancellation-list__row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px 18px;
  padding: 14px 0;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cancellation-list__row strong { display: block; font-size: 1rem; }
.cancellation-list__row div > span { font-size: .875rem; }
.cancellation-list__row:hover strong { text-decoration: underline; }
.cancellation-list__status { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; text-align: right; }
.cancellation-list__action { width: 100%; text-decoration: underline; text-underline-offset: .16em; }
.cancellation-status {
  display: inline-block;
  width: fit-content;
  flex-shrink: 0;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 4px;
  background: #efeeeb;
  color: #272523;
  font-size: .875rem;
}
.cancellation-status[data-stage="pix_requested"] { background: #fff0da; color: #744112; }
.cancellation-status[data-stage="pix_received"],
.cancellation-status[data-stage="finance"] { background: #e4eef9; color: #194467; }
.cancellation-status[data-stage="refunded"] { background: #e2f0e6; color: #205734; }
.cancellation-back { display: inline-block; margin: 8px 0 20px; }
.cancellation-conversation { max-width: 46rem; }
.cancellation-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 10px 18px; }
.cancellation-head h2 { margin: 0 0 4px; }
.cancellation-order-total { margin: 6px 0 0; font-size: .875rem; }
.cancellation-controls:not(:empty) { margin: 18px 0; }
.cancellation-form { max-width: 32rem; margin: 12px 0; }
.cancellation-form input[type="file"] { width: 100%; overflow: hidden; }
.cancellation-form textarea, .cancellation-reply textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font: inherit;
  resize: vertical;
}
.cancellation-pix { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; overflow-wrap: anywhere; }
.cancellation-pix summary { cursor: pointer; font-weight: 650; }
.cancellation-pix span { user-select: all; margin-block-start: .5rem; }
.cancellation-messages { min-height: 9rem; max-height: 26rem; margin: 14px 0; padding: 12px; border: 1px solid var(--line); }
.cancellation-message-edit { min-height: 32px; margin-top: 3px; font-size: 12px; text-transform: none; }
.cancellation-messages [data-edit-cancellation-body] { cursor: pointer; }
.cancellation-messages .support-message--editing { width: min(100%, 28rem); max-width: 100%; }
.cancellation-message-edit-form { width: 100%; margin: 9px 0 0; }
.cancellation-message-edit-form textarea { min-height: 76px; padding: 9px; border: 1px solid var(--line); border-radius: 5px; font: inherit; resize: vertical; }
.cancellation-reply label { font-weight: 500; }
.cancellation-reply .solid-button { justify-self: start; }
@media (min-width: 900px) {
  .cancellation-conversation--staff {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    column-gap: 28px;
    align-items: start;
  }
  .cancellation-conversation--staff .cancellation-head,
  .cancellation-conversation--staff > .support-feedback { grid-column: 1 / -1; }
  .cancellation-conversation--staff .cancellation-side { grid-area: 2 / 2; min-width: 0; }
  .cancellation-conversation--staff .cancellation-dialogue { grid-area: 2 / 1; min-width: 0; }
}
@media (max-width: 420px) {
  .cancellation-list__status { max-width: 48%; }
  .cancellation-status { flex-shrink: 1; }
  .cancellation-actions .outline-button { width: 100%; }
}

.cancellation-request {
  max-width: 46rem;
  padding: clamp(1.05rem, 3vw, 1.75rem);
  border: 1px solid #ded3d6;
  border-radius: 1rem;
  background: #fcf8f8;
}
.cancellation-request h2 { margin: 0 0 .45rem; color: #3a2a2d; font-size: 1.45rem; letter-spacing: -.025em; }
.cancellation-request .cancellation-order-total { color: #5e4d50; font-variant-numeric: tabular-nums; }
.cancellation-request > p { line-height: 1.55; }
.cancellation-optional, .cancellation-policy-link {
  color: var(--admin-muted, var(--muted, #514b4c));
  font-size: .88rem;
}
.cancellation-policy-link { margin-block-start: 1.75rem; }
.cancellation-progress {
  margin-block: 1rem;
  padding: clamp(.85rem, 3vw, 1.2rem);
  border: 1px solid var(--admin-border, #e1d7da);
  border-radius: .8rem;
  background: var(--admin-white, #fbf8f8);
}
.cancellation-progress h3 { margin: 0; font-size: 1.1rem; }
.cancellation-progress p { margin: .35rem 0 0; line-height: 1.5; color: var(--admin-muted, #514b4c); }
.cancellation-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.cancellation-progress li {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  padding-top: .55rem;
  border-top: 2px solid #e6dfe1;
  color: var(--admin-muted, #514b4c);
  font-size: .82rem;
}
.cancellation-progress li span {
  display: inline-grid;
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
}
.cancellation-progress li.is-complete { border-color: #7e9f8a; color: #29573c; }
.cancellation-progress li[aria-current] { border-color: #a32149; color: #8d1b3d; font-weight: 700; }
.cancellation-conversation:has([data-case-stage][data-stage="refunded"]) .cancellation-progress li[aria-current] {
  border-color: #4a825b;
  color: #29573c;
}
.cancellation-conversation .cancellation-progress--receipt {
  --refund-ink: #203d31;
  --refund-muted: #4a6255;
  --refund-line: #c9d9cf;
  margin-block: 1.1rem 1.4rem;
  padding: clamp(1.05rem, 3vw, 1.75rem);
  border-color: var(--refund-line);
  border-radius: 1rem;
  background: #f8faf6;
  color: var(--refund-ink);
}
.refund-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .9rem; }
.cancellation-progress--receipt .refund-heading h3 {
  margin: 0;
  color: var(--refund-ink);
  font-size: 1.5rem;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.cancellation-progress--receipt .refund-heading p {
  max-width: 46ch;
  margin-top: .38rem;
  color: var(--refund-muted);
  font-size: .94rem;
}
.refund-seal {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid #bbd2c2;
  border-radius: 50%;
  background: #e3efe5;
  color: #29573c;
}
.refund-seal.is-confirmed::before, .refund-history .is-complete .refund-history__mark::before {
  content: '';
  display: block;
  width: .44rem;
  height: .83rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-.1rem) rotate(45deg);
}
.refund-receipt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .95rem 1.3rem;
  margin-block: 1.15rem;
  padding: .95rem 0;
  border-block: 1px dashed var(--refund-line);
}
.refund-receipt__details {
  display: grid;
  gap: .25rem;
  color: var(--refund-muted);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}
.refund-receipt__details strong {
  color: var(--refund-ink);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.cancellation-conversation .refund-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .56rem;
  min-height: 44px;
  min-width: 0;
  padding: .6rem 1rem;
  border-radius: .55rem;
  background: #285440;
  color: #fff;
  font-size: .91rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease;
}
.cancellation-conversation .refund-download:hover { background: #1d4332; }
.cancellation-conversation .refund-download:focus-visible { outline: 2px solid #285440; outline-offset: 3px; }
.refund-download__icon {
  position: relative;
  width: .95rem;
  height: .85rem;
  flex: none;
  border: 1px solid currentColor;
  border-top: 0;
  border-radius: 0 0 .16rem .16rem;
}
.refund-download__icon::before {
  content: '';
  position: absolute;
  top: -.1rem;
  left: 50%;
  width: 1px;
  height: .55rem;
  background: currentColor;
}
.refund-download__icon::after {
  content: '';
  position: absolute;
  top: .18rem;
  left: 50%;
  width: .34rem;
  height: .34rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateX(-50%) rotate(45deg);
}
.refund-history h4 { margin: 0; font-size: .88rem; font-weight: 650; color: var(--refund-ink); }
.cancellation-progress--receipt .refund-history ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  margin-top: .7rem;
}
.cancellation-progress--receipt .refund-history li {
  position: relative;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: .36rem;
  padding: 0;
  border: 0;
  color: var(--refund-muted);
  font-size: .79rem;
  font-weight: 500;
}
.cancellation-progress--receipt .refund-history li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: .76rem;
  left: 1.95rem;
  right: -.05rem;
  border-top: 1px solid var(--refund-line);
}
.cancellation-progress--receipt .refund-history__mark {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid #b1c9b8;
  border-radius: 50%;
  background: #e8f1e9;
  color: #29573c;
}
.refund-history .is-complete .refund-history__mark::before { width: .29rem; height: .57rem; border-width: 0 1.5px 1.5px 0; }
.cancellation-progress--receipt .refund-history li[aria-current] { color: var(--refund-ink); font-weight: 700; }
.cancellation-progress--receipt .refund-history li[aria-current] .refund-history__mark,
.cancellation-progress--receipt .refund-history .is-complete[aria-current] .refund-history__mark {
  border-color: var(--refund-active);
  background: var(--refund-active);
  color: #fff;
}
.cancellation-progress--receipt { --refund-active: #8d1b3d; }
.cancellation-progress--receipt[data-customer-stage="refunded"] { --refund-active: #285440; }
.cancellation-conversation .cancellation-progress--receipt:not([data-customer-stage="refunded"]) {
  --refund-ink: #3a2a2d;
  --refund-muted: #5e4d50;
  --refund-line: #ded3d6;
  background: #fcf8f8;
}
.cancellation-progress--receipt .refund-seal:not(.is-confirmed) { background: #f0e2e6; border-color: #e2cbd3; color: #8d1b3d; }
.cancellation-progress--receipt .refund-seal:not(.is-confirmed)::before {
  content: '';
  width: .9rem;
  height: .9rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) 50% 30% / 1px 38% no-repeat;
}
.cancellation-progress--receipt .refund-seal.needs-action { background: #f8ebd9; border-color: #e7d0ac; color: #744112; }
.cancellation-progress--receipt .refund-history li:not(.is-complete):not([aria-current]) .refund-history__mark {
  background: transparent;
  border-color: var(--refund-line);
  color: var(--refund-muted);
}
.refund-next {
  display: grid;
  gap: .25rem;
  max-width: 29ch;
  color: var(--refund-muted);
  font-size: .86rem;
  line-height: 1.45;
}
.refund-next strong { color: var(--refund-ink); }
.cancellation-conversation:not(.cancellation-conversation--staff) .cancellation-controls:has([data-case-pix]) {
  padding: .2rem 1rem .75rem;
  border: 1px solid #ded3d6;
  border-radius: .8rem;
  background: #fff;
}
@media (max-width: 420px) {
  .refund-heading { gap: .65rem; }
  .cancellation-progress--receipt .refund-heading h3 { font-size: 1.28rem; }
  .refund-seal { width: 2.35rem; height: 2.35rem; }
  .cancellation-conversation .refund-download { width: 100%; }
  .cancellation-progress--receipt .refund-history ol { gap: .35rem; }
  .cancellation-progress--receipt .refund-history li { font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cancellation-conversation .refund-download { transition: none; }
}
.cancellation-dialogue > h3 { margin: 0 0 .45rem; font-size: 1rem; }
.cancellation-confirm { display: flex; align-items: start; gap: .5rem; }
.cancellation-confirm input { margin-top: .25em; accent-color: var(--admin-focus, #a32149); }
.admin-document:has(.cancellation-tabs) { overflow-x: clip; }
.admin-shell .cancellation-tabs { gap: .45rem 1rem; margin-bottom: 1.15rem; border-color: var(--admin-border); }
.admin-shell .cancellation-tabs a { display: inline-flex; gap: .3rem; align-items: center; padding: .7rem .18rem; }
.admin-shell .cancellation-tabs a[aria-current] { color: var(--admin-focus); }
.admin-shell :is(.support-inbox, .cancellation-conversation--staff) { margin-top: .65rem; }
.admin-shell .support-inbox { gap: clamp(.8rem, 2.4vw, 1.6rem); grid-template-columns: minmax(15rem, .85fr) minmax(0, 1.3fr); }
.admin-shell .support-thread-list h2 { margin: 0 0 .65rem; }
.admin-shell .support-thread-list li > a { padding-inline: .75rem; border-color: var(--admin-border); }
.admin-shell .support-thread-list li > a:is(:hover, [aria-current]) { background: var(--admin-tint); }
.admin-shell .support-admin-conversation {
  padding: clamp(.85rem, 2.4vw, 1.25rem);
  border-color: var(--admin-border);
  border-radius: .8rem;
  background: var(--admin-white);
}
.admin-shell .support-admin-conversation .support-messages { border-block-start: 1px solid var(--admin-border); }
.admin-shell .support-admin-conversation .support-inbox-empty { margin: 0; }
.admin-shell .support-mode-label {
  display: inline-flex;
  width: fit-content;
  padding: .24rem .56rem;
  border-radius: 999px;
  background: var(--admin-control);
  color: var(--admin-ink-soft);
}
.admin-shell .support-mode-label[data-mode="human"] { background: var(--admin-tint); color: var(--admin-focus); }
.admin-shell .cancellation-filters { gap: .5rem; }
.admin-shell .cancellation-filters a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.45rem;
  padding: .35rem .7rem;
  border: 1px solid var(--admin-border);
  border-radius: 999px;
  color: var(--admin-ink-soft);
  background: var(--admin-white);
  text-decoration: none;
}
.admin-shell .cancellation-filters a:is(:hover, [aria-current]) { background: var(--admin-tint); color: var(--admin-focus); }
.admin-shell .cancellation-filters a[aria-current] { border-color: var(--admin-focus); }
.admin-shell .cancellation-filters span { font-size: .76rem; font-variant-numeric: tabular-nums; }
.admin-shell .cancellation-list__identity > span { display: block; margin-top: .25rem; color: var(--admin-muted); font-variant-numeric: tabular-nums; }
.admin-shell :is(.cancellation-back, .cancellation-head, .cancellation-controls, .support-inbox) :is(.text-link, .solid-button, .outline-button),
.admin-shell .cancellation-back { letter-spacing: normal; text-transform: none; }
.admin-shell .cancellation-conversation--staff .cancellation-controls:not(:empty) {
  padding: .95rem;
  border: 1px solid var(--admin-border);
  border-radius: .8rem;
  background: var(--admin-white);
}
.cancellation-conversation:has([data-case-stage][data-stage="refunded"]) .cancellation-progress {
  border-color: #cbddcf;
  background: #f2f8f3;
}
.admin-shell .cancellation-queue h2 { margin: 0 0 .85rem; font-size: 1.18rem; }
.admin-shell .cancellation-queue-head,
.admin-shell .cancellation-list--staff .cancellation-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(5.4rem, .7fr) minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: .55rem 1rem;
  padding: .78rem 1rem;
}
.admin-shell .cancellation-queue-head {
  border: 1px solid var(--admin-border);
  border-bottom: 0;
  border-radius: .75rem .75rem 0 0;
  background: var(--admin-paper);
  color: var(--admin-muted);
  font-size: .79rem;
  font-weight: 650;
}
.admin-shell .cancellation-list--staff {
  overflow: clip;
  margin: 0;
  border: 1px solid var(--admin-border);
  border-radius: 0 0 .75rem .75rem;
  background: var(--admin-white);
}
.admin-shell .cancellation-list--staff li + li { border-color: var(--admin-border); }
.admin-shell .cancellation-list--staff .cancellation-list__row:hover { background: var(--admin-tint); }
.admin-shell .cancellation-list--staff .cancellation-list__row:focus-visible { outline-offset: -3px; }
.admin-shell .cancellation-list--staff .cancellation-list__status { max-width: none; justify-content: flex-start; text-align: left; }
.admin-shell .cancellation-queue-value { font-weight: 650; font-variant-numeric: tabular-nums; }
.admin-shell .cancellation-queue-date { color: var(--admin-muted); font-size: .81rem; font-variant-numeric: tabular-nums; }
.admin-shell .cancellation-queue-empty {
  padding: 1.3rem;
  border: 1px solid var(--admin-border);
  border-radius: .75rem;
  background: var(--admin-white);
}
.admin-shell .cancellation-queue-empty p { margin: 0; }
.admin-shell .cancellation-queue-empty .text-link { display: inline-flex; margin-top: .55rem; }
.admin-shell .cancellation-conversation--staff .cancellation-controls > h3 { margin: 0 0 .7rem; font-size: .96rem; }
.admin-shell .cancellation-conversation--staff .cancellation-head { row-gap: .6rem; }
.admin-shell .cancellation-conversation--staff .cancellation-head h2 { margin-bottom: .35rem; }
@media (max-width: 820px) {
  .admin-shell .cancellation-queue-head { display: none; }
  .admin-shell .cancellation-list--staff { border-radius: .75rem; }
  .admin-shell .cancellation-list--staff .cancellation-list__row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: .4rem .8rem;
    padding: .78rem .75rem;
  }
  .admin-shell .cancellation-queue-value, .admin-shell .cancellation-queue-date { justify-self: end; text-align: right; }
}
@media (min-width: 900px) {
  .cancellation-conversation--staff .cancellation-progress { grid-area: 2 / 1 / 3 / -1; }
  .cancellation-conversation--staff .cancellation-side { grid-area: 3 / 2; }
  .cancellation-conversation--staff .cancellation-dialogue { grid-area: 3 / 1; }
}
@media (max-width: 650px) {
  .admin-shell .support-inbox { grid-template-columns: minmax(0, 1fr); }
  .cancellation-progress ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cancellation-progress li { font-size: .8rem; }
}

.cancellation-pix-safety {
  margin: .15rem 0 .45rem;
  padding: .65rem .75rem;
  color: #51424a;
  background: #f7f1f4;
  border-radius: .55rem;
  font-size: .85rem;
  line-height: 1.45;
}
.refund-next .text-link { align-self: flex-start; margin-top: .15rem; }
.support-message-edit-notice { margin-top: .35rem; }

.support-message-quote, .support-quote-draft {
  margin: 0 0 .4rem;
  padding: .38rem .55rem;
  border-inline-start: 2px solid #a55172;
  border-radius: .25rem;
  background: #f0e5eb;
  color: #522b42;
  font-size: .79rem;
  overflow-wrap: anywhere;
}
.support-message-quote :is(strong,span), .support-quote-draft :is(strong,span) { display: block; }
.support-quote-draft {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .55rem;
  width: 100%; margin: 0; flex-basis: 100%;
}
.support-quote-draft[hidden] { display: none; }
.support-quote-draft button { flex-shrink: 0; font-size: inherit; }
.support-message-actions { display: flex; gap: .65rem; margin-top: .28rem; flex-wrap: wrap; }
.support-message-actions button { min-height: 1.65rem; font-size: .72rem; color: #70224c; }
.support-message-actions [aria-pressed=true] { font-weight: 700; }
.support-attach {
  display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .5rem;
  flex-basis: 100%; color: #522b42; font-size: .75rem;
}
.support-attach input { min-width: 0; max-width: 100%; font: inherit; }
.support-attach input::file-selector-button {
  padding: .25rem .45rem; border: 1px solid #d5c7ce; border-radius: .35rem;
  background: #f7f1f4; color: #522b42; font: inherit;
}
.support-message-attachment { display: inline-block; font-size: .8rem; }
.support-attach { min-height: 1.8rem; cursor: pointer; }
.support-attach > span {
  padding: .2rem .4rem; border: 1px solid #d5c7ce; border-radius: .35rem; background: #f7f1f4;
}
.support-attach:focus-within > span { outline: 2px solid #a55172; outline-offset: 2px; }
.support-attach small { max-width: 13rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.support-attach small:empty { display: none; }

/* Storefront messenger */
.support-messenger {
  --chat-surface: #fcfafb;
  --chat-line: #eee5e9;
  --chat-text: #2b2026;
  --chat-muted: #68545e;
  --chat-accent: #6d2d49;
  --chat-tint: #f0e2e8;
  inset: auto max(22px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) auto;
  width: min(440px, calc(100% - 44px));
  height: min(675px, calc(100dvh - 40px));
  max-height: none;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--chat-text);
  box-shadow: 0 16px 65px #29142236;
}
.support-messenger[open] { animation: messenger-in 230ms cubic-bezier(.2,.8,.2,1) both; }
.support-messenger::backdrop { background: #241a2138; }
.support-messenger :focus-visible { outline: 2px solid var(--chat-accent); outline-offset: 2px; }
.support-messenger .support-dialog-inner { height: 100%; }
.support-messenger .support-dialog-head {
  flex: 0 0 auto; align-items: center; justify-content: flex-start; gap: 12px;
  padding: 14px 15px 14px 18px; border-bottom: 1px solid var(--chat-line);
  background: #fff; color: var(--chat-text);
}
.support-messenger-brand {
  display: grid; flex: 0 0 auto; place-items: center; padding: 10px 7px;
  width: 70px; height: 40px; border-radius: 12px; background: var(--chat-tint);
}
.support-messenger-brand img { display: block; width: 100%; height: auto; }
.support-messenger-heading { flex: 1; min-width: 0; }
.support-messenger .support-dialog-head h2 { font-size: 17px; font-weight: 680; }
.support-messenger .support-dialog-head p { color: var(--chat-muted); font-size: .79rem; line-height: 1.3; }
.support-messenger .support-dialog-head .icon-button {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; margin: 0; border-radius: 50%; color: var(--chat-muted);
}
.support-messenger .support-dialog-head .icon-button:hover { background: var(--chat-surface); color: var(--chat-text); }
.support-messenger .support-dialog-head .icon-button:focus-visible { outline-color: var(--chat-accent); }
.support-messenger :is(.support-loading,.support-guest) { padding: 24px 20px; }
.support-messenger .support-conversation {
  flex: 1; min-height: 0; overflow: hidden; background: var(--chat-surface);
}
.support-messenger .support-greeting { margin: auto 0 0; padding: 20px 20px 4px; }
.support-messenger .support-greeting strong { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.025em; }
.support-messenger .support-greeting p { margin: .35rem 0 0; color: var(--chat-muted); font-size: .89rem; }
.support-messenger .support-greeting:not([hidden]) + .support-messages:empty { flex: 0; }
.support-messenger .support-quick { padding: 12px 20px 16px; }
.support-messenger .support-quick button {
  min-height: 38px; border-color: var(--chat-line); background: #fff; color: var(--chat-accent);
}
.support-messenger .support-quick button:hover { border-color: var(--chat-accent); }
.support-messenger .support-older { flex: 0 0 auto; min-height: 34px; color: var(--chat-accent); text-transform: none; }
.support-messenger .support-messages {
  flex: 1; gap: 10px; padding: 16px 18px 20px; overflow-y: auto;
  scrollbar-color: #c6adb9 transparent;
}
.support-messenger .support-date {
  align-self: center; margin: 2px 0 5px; padding: 4px 10px; border-radius: 99px;
  background: #f0e9ed; color: var(--chat-muted); font-size: .73rem; font-weight: 650;
}
.support-messenger .support-message {
  position: relative; max-width: 88%; padding: 9px 36px 9px 11px;
  border: 1px solid var(--chat-line); border-radius: 13px 13px 13px 4px;
  background: #fff; color: var(--chat-text);
}
.support-messenger .support-message--own {
  border-color: transparent; border-radius: 13px 13px 4px 13px; background: var(--chat-tint);
}
.support-messenger .support-message:not(:has(.support-message-actions)) { padding-inline-end: 11px; }
.support-messenger .support-message--system { padding: 2px 6px; border: 0; background: transparent; color: var(--chat-muted); }
.support-messenger .support-message-byline { margin-bottom: 4px; font-size: .71rem; color: var(--chat-muted); }
.support-messenger .support-message-byline time { font-weight: 450; font-variant-numeric: tabular-nums; }
.support-messenger .support-message p { font-size: .91rem; line-height: 1.46; }
.support-messenger .support-message--system p { font-size: .8rem; }
.support-messenger .support-message-quote {
  margin: 0 0 6px; padding: 5px 8px; border: 1px solid #e3d3db; border-radius: 7px;
  background: #f6eef2; color: var(--chat-muted); font-size: .78rem;
}
.support-messenger .support-message-actions { position: absolute; inset: auto 4px 4px auto; margin: 0; }
.support-messenger .support-reply {
  display: grid; place-items: center; width: 30px; height: 30px;
  padding: 0; border: 0; border-radius: 50%; background: transparent;
  color: var(--chat-accent); cursor: pointer;
}
.support-messenger .support-reply:hover { background: #ead9e2; }
.support-messenger :is(.support-reply,.support-send,.support-attach) svg {
  display: block; width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.support-messenger .support-composer {
  display: grid; flex: 0 0 auto; gap: 7px; padding: 11px 14px 5px;
  border-color: var(--chat-line); background: #fff;
}
.support-messenger .support-compose-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 5px; min-width: 0;
  padding: 4px; border: 1px solid var(--chat-line); border-radius: 19px; background: var(--chat-surface);
}
.support-messenger .support-compose-row:focus-within { border-color: #b98da2; }
.support-messenger .support-composer textarea {
  flex: 1 1 0; padding: 10px 4px; min-height: 40px; max-height: 104px;
  resize: none; border: 0; border-radius: 0; background: transparent;
  box-shadow: none; outline: none; color: var(--chat-text); font-size: 16px; line-height: 1.25;
}
.support-messenger .support-composer textarea::placeholder { color: var(--chat-muted); }
.support-messenger .support-attach {
  display: contents;
}
.support-messenger .support-attach > span {
  align-self: flex-end; display: grid; place-items: center; width: 40px; height: 40px;
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--chat-accent);
}
.support-messenger .support-attach > span:hover { background: var(--chat-tint); }
.support-messenger .support-attach small { order: 1; max-width: calc(100% - 15px); margin: 4px 8px; }
.support-messenger .support-send {
  flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px;
  padding: 0; border: 0; border-radius: 50%; background: var(--chat-accent); color: #fff; cursor: pointer;
}
.support-messenger .support-send:hover:not(:disabled) { background: #56213a; }
.support-messenger .support-send:disabled { background: var(--chat-tint); color: var(--chat-muted); cursor: default; }
.support-messenger .support-quote-draft { border: 1px solid var(--chat-line); border-radius: 9px; }
.support-messenger .support-feedback { color: var(--chat-accent); }
.support-messenger .support-links { flex: 0 0 auto; gap: 0 13px; padding: 1px 17px 7px; background: #fff; }
.support-messenger .support-links .text-link {
  display: inline-flex; align-items: center; min-height: 33px; border: 0;
  color: var(--chat-accent); text-decoration: none; text-transform: none; letter-spacing: 0; font-size: .77rem;
}
.support-messenger .support-links .text-link:hover { text-decoration: underline; }
@keyframes messenger-in {
  from { opacity: .6; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 650px) {
  .support-messenger {
    inset: auto 0 env(safe-area-inset-bottom) 0;
    width: 100%; height: min(700px, calc(100dvh - 16px)); border-radius: 18px 18px 0 0;
  }
  .support-messenger .support-dialog-head { padding: 9px 12px; }
  .support-messenger .support-messages { padding-inline: 12px; }
  .support-messenger .support-composer { padding-inline: 9px; }
  .support-messenger .support-links { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .support-messenger[open] { animation: none; }
}
