/* Painel de pedidos do GCHAT.
   No computador ocupa a coluna ao lado do chat; em telas menores o mesmo
   conteúdo vira off-canvas. A listagem usa uma linha compacta de conversa. */
.gss-chat-desktop-layout {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gss-chat-side-panel,
.gss-chat-side-panel * {
  box-sizing: border-box;
}

.gss-chat-side-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
}

.gss-chat-side-close {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  box-shadow: none;
  cursor: pointer;
}

.gss-chat-side-close:hover,
.gss-chat-side-close:focus-visible {
  background: #f8fafc;
  color: #111827;
  outline: 0;
}

.gss-chat-side-close svg {
  display: block;
  width: 18px;
  height: 18px;
}

.gss-chat-side-overlay {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(15, 23, 42, .34);
}

.gss-chat-side-user {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding: 18px 18px 16px;
  border-bottom: 1px solid #eef1f5;
  background: #fff;
}

.gss-chat-side-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  box-shadow: 0 0 0 1px #e5e7eb;
  text-decoration: none;
}

.gss-chat-side-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gss-chat-side-avatar > span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.gss-chat-side-user-copy {
  min-width: 0;
}

.gss-chat-side-kicker {
  display: block;
  margin-bottom: 3px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gss-chat-side-user-copy > strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #111827;
  font-size: 19px;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gss-chat-side-user-copy > p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.gss-chat-side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 0 auto;
  padding: 15px 18px 11px;
}

.gss-chat-side-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.25;
}

.gss-chat-side-heading p {
  margin: 3px 0 0;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
}

.gss-chat-side-heading > a {
  flex: 0 0 auto;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.gss-chat-side-heading > a:hover,
.gss-chat-side-heading > a:focus-visible {
  color: #111827;
  text-decoration: none;
}

.gss-chat-side-heading > a[hidden] {
  display: none;
}

.gss-chat-side-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 12px 12px;
}

.gss-chat-side-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Lista em formato de conversa: cada pedido fica visualmente separado,
   sem depender de divisórias entre itens. */
.gss-chat-side-ticket {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 9px;
  overflow: hidden;
  border: 1px solid #e3e7ec;
  border-radius: 12px;
  background: #f7f8fa;
}

.gss-chat-side-ticket:last-of-type {
  margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
  .gss-chat-side-ticket:hover {
    border-color: #d9dee5;
    background: #f3f5f7;
  }
}

.gss-chat-side-ticket.is-removing {
  opacity: .45;
  pointer-events: none;
}

.gss-chat-side-ticket-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) max-content;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 3px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 80px;
  padding: 12px 10px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.gss-chat-side-ticket-link:hover,
.gss-chat-side-ticket-link:focus,
.gss-chat-side-ticket-link:active {
  color: inherit;
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.gss-chat-side-ticket-link:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(17, 24, 39, .12);
}

.gss-chat-side-company-logo {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #f8fafc;
  color: #475569;
}

.gss-chat-side-company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gss-chat-side-company-logo b {
  font-size: 12px;
  font-weight: 800;
}

.gss-chat-side-ticket-copy {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.gss-chat-side-company-line {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.gss-chat-side-company-name {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #172033;
  font-size: 14.5px;
  font-weight: 760;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mesmo selo azul de verificação usado no cabeçalho do chat. */
.gss-chat-side-company-line .gss-verified-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #0095f6;
  line-height: 0;
  vertical-align: middle;
}

.gss-chat-side-company-line .gss-verified-seal svg,
.gss-chat-side-company-line .gss-verified-seal .gss-verified-seal-icon {
  display: block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  max-width: 15px;
  max-height: 15px;
  border: 0;
  box-shadow: none;
}

.gss-chat-side-ticket-title {
  display: -webkit-box;
  min-width: 0;
  max-width: 100%;
  max-height: 2.7em;
  overflow: hidden;
  color: #667085;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* Sino de recados: mesmo desenho usado no detalhe do envio em Minha Conta,
   em escala menor para não competir com o conteúdo do card. */
.gss-chat-side-recado-badge {
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  color: #667085;
  line-height: 1;
  pointer-events: none;
}

.gss-chat-side-recado-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.gss-chat-side-recado-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gss-chat-side-recado-count {
  position: absolute;
  top: -5px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  min-width: 15px;
  max-width: 15px;
  height: 15px;
  min-height: 15px;
  max-height: 15px;
  padding: 0;
  overflow: hidden;
  border: 2px solid #f7f8fa;
  border-radius: 50%;
  background: #ff3131;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
}

/* A coluna de expiração é sempre preservada inteira; quando faltar espaço,
   quem encolhe e trunca são o nome da empresa e o título do pedido. */
.gss-chat-side-ticket-expiration {
  display: flex;
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: max-content;
  max-width: none;
  overflow: visible;
  white-space: nowrap;
}

.gss-chat-side-ticket-expiration .gss-expiration-tag--chat-side {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-height: 24px;
  padding: 4px 8px;
  overflow: visible;
  font-size: 9.5px;
  line-height: 1.1;
  text-overflow: clip;
  white-space: nowrap;
}

.gss-chat-side-ticket-expiration .gss-expiration-tag--chat-side > span:last-child {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.gss-chat-side-expiration-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-height: 24px;
  padding: 4px 8px;
  overflow: visible;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: clip;
  white-space: nowrap;
}


.gss-chat-side-more-sentinel {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.gss-chat-side-empty,
.gss-chat-side-guest {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.gss-chat-side-empty > span,
.gss-chat-side-guest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 13px;
  border: 1px solid #e3e8ef;
  border-radius: 50%;
  background: #f8fafc;
  color: #667085;
  font-size: 20px;
  font-weight: 800;
}

.gss-chat-side-guest-icon svg {
  width: 24px;
  height: 24px;
}

.gss-chat-side-empty > strong,
.gss-chat-side-guest > h2 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 760;
  line-height: 1.3;
}

.gss-chat-side-empty > p,
.gss-chat-side-guest > p {
  max-width: 290px;
  margin: 7px 0 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.gss-chat-side-guest > .gss-chat-side-kicker {
  margin-bottom: 7px;
}

.gss-chat-side-guest > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 9px 15px;
  border: 1px solid #d8dee7;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}

.gss-chat-side-guest > a:hover,
.gss-chat-side-guest > a:focus-visible {
  border-color: #c7ced8;
  background: #f8fafc;
  outline: 0;
}

/* Tablet e celular: o painel vira off-canvas à esquerda do próprio chat. */
@media (max-width: 1049px) {
  .gss-chat-desktop-layout > .gss-chat-side-panel {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(380px, 92vw);
    max-width: 92vw;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: 18px 0 44px rgba(15, 23, 42, .16);
    transform: translate3d(-100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .28s;
  }

  .gss-chat-desktop-layout > .gss-chat-side-panel.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .gss-chat-desktop-layout > .gss-chat-side-overlay {
    position: absolute;
    inset: 0;
    z-index: 110;
    visibility: hidden;
    transition: opacity .24s ease, visibility 0s linear .24s;
  }

  .gss-chat-desktop-layout > .gss-chat-side-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .gss-chat-side-user {
    min-height: 76px;
    padding: 9px 54px 9px 14px;
    gap: 10px;
  }

  .gss-chat-side-avatar {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .gss-chat-side-ticket-link {
    grid-template-columns: 48px minmax(0, 1fr) max-content;
    grid-template-rows: auto auto;
    min-height: 78px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
}


/* No modo off-canvas, o botão de fechar tem aparência própria e não herda
   estilos de botões do tema/Elementor. A regra é escopada ao painel. */
@media (max-width: 1049px) {
  .gss-chat-desktop-layout > .gss-chat-side-panel > button.gss-chat-side-close {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #e5e7eb;
    background-color: #f1f3f5;
    background-image: none;
    color: #64748b;
    box-shadow: none;
  }

  .gss-chat-desktop-layout > .gss-chat-side-panel > button.gss-chat-side-close:hover,
  .gss-chat-desktop-layout > .gss-chat-side-panel > button.gss-chat-side-close:focus,
  .gss-chat-desktop-layout > .gss-chat-side-panel > button.gss-chat-side-close:focus-visible,
  .gss-chat-desktop-layout > .gss-chat-side-panel > button.gss-chat-side-close:active {
    border-color: #dfe3e8;
    background-color: #e7eaee;
    background-image: none;
    color: #334155;
    box-shadow: none;
    outline: 0;
  }
}

/* O chat mobile existente ocupa o viewport em uma camada fixa. */
@media (max-width: 640px) {
  .gss-chat-desktop-layout > .gss-chat-side-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 2147483202;
    width: 85vw;
    max-width: 85vw;
    min-width: 280px;
    height: 100dvh;
    max-height: 100dvh;
  }

  .gss-chat-desktop-layout > .gss-chat-side-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483201;
    border-radius: 0;
  }

  .gss-chat-side-user {
    height: 74px;
    min-height: 74px;
    padding: 8px 50px 8px 14px;
    overflow: hidden;
  }

  .gss-chat-side-avatar {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .gss-chat-side-kicker {
    display: none;
  }

  .gss-chat-side-user-copy > strong {
    font-size: 16px;
    line-height: 1.15;
  }

  .gss-chat-side-user-copy > p {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.3;
  }

  .gss-chat-side-heading {
    padding: 13px 14px 10px;
  }

  .gss-chat-side-list {
    padding: 4px 9px 12px;
  }

  .gss-chat-side-ticket {
    margin-bottom: 8px;
    border-radius: 11px;
  }

  .gss-chat-side-ticket-link {
    grid-template-columns: 46px minmax(0, 1fr) max-content;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 7px;
    min-height: 102px;
    padding: 11px 9px 10px;
  }

  .gss-chat-side-company-logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: 46px;
    height: 46px;
  }

  .gss-chat-side-ticket-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding: 1px 0 0;
  }

  .gss-chat-side-company-name {
    font-size: 14px;
  }

  .gss-chat-side-ticket-title {
    margin-top: 1px;
    max-height: 2.7em;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .gss-chat-side-recado-badge {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    width: 23px;
    height: 23px;
    min-width: 23px;
    min-height: 23px;
    margin-top: 1px;
  }

  .gss-chat-side-recado-count {
    border-color: #f7f8fa;
  }

  .gss-chat-side-ticket-expiration {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    justify-content: flex-end;
    width: auto;
    min-width: max-content;
    max-width: 100%;
    overflow: visible;
  }

  .gss-chat-side-ticket-expiration .gss-expiration-tag--chat-side,
  .gss-chat-side-expiration-date {
    max-width: none;
    min-height: 23px;
    padding-right: 7px;
    padding-left: 7px;
    font-size: 9px;
    white-space: nowrap;
  }

  .gss-chat-side-ticket-expiration .gss-expiration-tag--chat-side > span:last-child {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }


  @supports not (height: 100dvh) {
    .gss-chat-desktop-layout > .gss-chat-side-panel {
      height: 100vh;
      max-height: 100vh;
    }
  }
}

/* Computador: painel e chat dividem a largura definida pelo container/Elementor. */
@media (min-width: 1050px) {
  .gss-chat-desktop-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    margin: 0;
    overflow: visible;
  }

  .gss-chat-desktop-layout > .gss-chat-side-panel {
    position: relative;
    z-index: 20;
    width: 100%;
    height: var(--gss-chat-desktop-height, 72dvh);
    min-height: 320px;
    max-width: none;
    max-height: 100dvh;
    border-radius: 22px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .07);
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .gss-chat-desktop-layout > .gss-chat-side-overlay,
  .gss-chat-side-close {
    display: none;
  }

  .gss-chat-desktop-layout > .gss-wrap {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: var(--gss-chat-desktop-height, var(--gss-form-height));
    margin: 0;
    box-sizing: border-box;
  }
}


/* Resumo rápido do pedido. Usa a mesma lógica visual leve dos modais de
   planos, mas permanece isolado no módulo do chat. */
.gss-chat-ticket-modal-overlay,
.gss-chat-ticket-modal-overlay * {
  box-sizing: border-box;
  text-shadow: none;
}

.gss-chat-ticket-modal-overlay {
  position: fixed;
  z-index: 2147483500;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(8, 16, 30, .46);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .08s linear, visibility 0s linear .08s;
}

.gss-chat-ticket-modal-overlay[hidden] {
  display: none;
}

.gss-chat-ticket-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.gss-chat-ticket-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(450px, 100%);
  max-height: calc(100dvh - 40px);
  padding: 22px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d7dde8;
  border-radius: 18px;
  background: #fff;
  color: #14213d;
  box-shadow: 0 18px 46px rgba(7, 16, 32, .22);
  contain: layout paint;
}

.gss-chat-ticket-modal button,
.gss-chat-ticket-modal a {
  font: inherit;
}

.gss-chat-ticket-modal button {
  -webkit-appearance: none;
  appearance: none;
  background-image: none;
  text-shadow: none;
}

.gss-chat-ticket-modal button.gss-chat-ticket-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid #e1e5eb;
  border-radius: 50%;
  background-color: #f2f4f7;
  background-image: none;
  color: #667085;
  box-shadow: none;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.gss-chat-ticket-modal button.gss-chat-ticket-modal-close svg {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.gss-chat-ticket-modal button.gss-chat-ticket-modal-close:hover,
.gss-chat-ticket-modal button.gss-chat-ticket-modal-close:focus,
.gss-chat-ticket-modal button.gss-chat-ticket-modal-close:focus-visible,
.gss-chat-ticket-modal button.gss-chat-ticket-modal-close:active {
  border-color: #d6dbe3;
  background-color: #e9edf2;
  background-image: none;
  color: #475467;
  box-shadow: none;
  outline: 0;
}

.gss-chat-ticket-modal-company {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding-right: 48px;
}

.gss-chat-ticket-modal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid #e4e8ef;
  border-radius: 50%;
  background: #f7f9fc;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.gss-chat-ticket-modal-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gss-chat-ticket-modal-company-copy {
  min-width: 0;
}

.gss-chat-ticket-modal-company-line {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.gss-chat-ticket-modal-company-line > strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gss-chat-ticket-modal-company-line > span:last-child {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.gss-chat-ticket-modal-company-line .gss-verified-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #0095f6;
  line-height: 0;
  vertical-align: middle;
}

.gss-chat-ticket-modal-company-line .gss-verified-seal svg,
.gss-chat-ticket-modal-company-line .gss-verified-seal .gss-verified-seal-icon {
  display: block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  max-width: 15px;
  max-height: 15px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #0095f6;
}

.gss-chat-ticket-modal-company-copy > small {
  display: block;
  margin-top: 3px;
  color: #8a94a6;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.3;
}

.gss-chat-ticket-modal-copy {
  margin-top: 18px;
}

.gss-chat-ticket-modal-copy h3 {
  display: -webkit-box;
  max-width: 100%;
  max-height: 2.5em;
  margin: 0;
  overflow: hidden;
  color: #14213d;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gss-chat-ticket-modal-copy p {
  display: -webkit-box;
  max-height: 6.4em;
  margin: 9px 0 0;
  overflow: hidden;
  color: #536078;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.gss-chat-ticket-modal-expiration {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-top: 14px;
}

.gss-chat-ticket-modal-expiration[hidden] {
  display: none;
}

.gss-chat-ticket-modal-expiration .gss-expiration-tag--chat-side,
.gss-chat-ticket-modal-expiration .gss-chat-side-expiration-date {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  min-height: 26px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gss-chat-ticket-modal-message {
  margin-top: 13px;
  padding: 11px 12px;
  border: 1px solid #e4e8ef;
  border-radius: 11px;
  background: #f7f9fc;
  color: #5d687b;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.gss-chat-ticket-modal-message[hidden],
.gss-chat-ticket-modal-delete-confirm[hidden],
.gss-chat-ticket-modal-actions[hidden] {
  display: none;
}

.gss-chat-ticket-modal-actions {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 9px;
  margin-top: 18px;
}

.gss-chat-ticket-modal-actions button,
.gss-chat-ticket-modal-actions a,
.gss-chat-ticket-modal-confirm-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.gss-chat-ticket-modal-delete {
  border: 1px solid #d5dbe5;
  background: #fff;
  color: #667085;
}

.gss-chat-ticket-modal-delete:hover,
.gss-chat-ticket-modal-delete:focus-visible {
  border-color: #c5ccd7;
  background: #f7f9fc;
  color: #344054;
  outline: 0;
}

.gss-chat-ticket-modal-view {
  border: 1px solid #1769e0;
  background: #1769e0;
  color: #fff;
}

.gss-chat-ticket-modal-view:hover,
.gss-chat-ticket-modal-view:focus-visible {
  background: #125ecb;
  color: #fff;
  text-decoration: none;
  outline: 0;
}

.gss-chat-ticket-modal-delete-confirm {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid #dfe4ec;
  border-radius: 13px;
  background: #f7f9fc;
}

.gss-chat-ticket-modal-delete-confirm > strong,
.gss-chat-ticket-modal-delete-confirm > span {
  display: block;
}

.gss-chat-ticket-modal-delete-confirm > strong {
  color: #263247;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.gss-chat-ticket-modal-delete-confirm > span {
  margin-top: 3px;
  color: #667085;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

.gss-chat-ticket-modal-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.gss-chat-ticket-modal-confirm-actions button:first-child {
  border: 1px solid #d5dbe5;
  background: #fff;
  color: #475467;
}

.gss-chat-ticket-modal-confirm-actions button:last-child {
  border: 1px solid #d7dde8;
  background: #fff;
  color: #b42318;
}

.gss-chat-ticket-modal-confirm-actions button:hover,
.gss-chat-ticket-modal-confirm-actions button:focus-visible {
  background: #eef1f5;
  outline: 0;
}

.gss-chat-ticket-modal-confirm-actions button:disabled,
.gss-chat-ticket-modal-delete:disabled {
  opacity: .55;
  cursor: wait;
}

@media (max-width: 640px) {
  .gss-chat-ticket-modal-overlay {
    padding: 14px;
  }

  .gss-chat-ticket-modal {
    width: min(450px, 100%);
    max-height: calc(100dvh - 28px);
    padding: 19px 17px;
    border-radius: 15px;
  }

  .gss-chat-ticket-modal button.gss-chat-ticket-modal-close {
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .gss-chat-ticket-modal-company {
    padding-right: 42px;
  }

  .gss-chat-ticket-modal-copy h3 {
    font-size: 20px;
  }

  .gss-chat-ticket-modal-copy p {
    max-height: 6em;
    font-size: 13.5px;
    line-height: 1.5;
  }

  .gss-chat-ticket-modal-actions {
    grid-template-columns: 1fr;
  }

  .gss-chat-ticket-modal-actions button,
  .gss-chat-ticket-modal-actions a,
  .gss-chat-ticket-modal-confirm-actions button {
    min-height: 44px;
  }
}
