/* Casca Alçada */
#loading-container {
  background-color: #0b1f3a !important;
}
html,
body {
  background-color: #0b1f3a;
  overflow-x: clip;
  max-width: 100%;
}
html.alcada-pula,
html.alcada-pula body {
  background: #0b1f3a !important;
}
html.alcada-pula #root,
html.alcada-pula #loading-container {
  visibility: hidden !important;
}
html.alcada-bloqueio,
html.alcada-bloqueio body {
  background: #0b1f3a !important;
}
html.alcada-bloqueio #root,
html.alcada-bloqueio #loading-container,
html.alcada-bloqueio #alcada-login-pack {
  display: none !important;
}
#alcada-bloqueio {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0b1f3a;
  padding: 1.5rem;
}
#alcada-bloqueio .cartao {
  width: min(26.5rem, 100%);
  background: #f4f0e8;
  color: #0b1f3a;
  border-top: 4px solid #1e5aa8;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 2.25rem 1.75rem 1.6rem;
  text-align: center;
}
#alcada-bloqueio .dagua {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: min(118vw, 1080px);
  opacity: 0.11;
}
#alcada-bloqueio .cartao,
#alcada-bloqueio .powered {
  position: relative;
  z-index: 1;
}
#alcada-bloqueio .placa {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5.4rem;
  width: min(16rem, 100%);
  margin: 0 auto 1.1rem;
  padding: 0.85rem 1.15rem;
  box-sizing: border-box;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
#alcada-bloqueio .placa.clara {
  background: #10243f;
}
#alcada-bloqueio .placa img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  margin: 0;
  object-fit: contain;
}
#alcada-bloqueio h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
#alcada-bloqueio .linha {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #3d4d5e;
}
#alcada-bloqueio .aviso {
  margin: 0.85rem 0 0;
  line-height: 1.5;
  font-size: 1rem;
}
#alcada-bloqueio .powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1;
  color: #9eb0c6;
}
#alcada-bloqueio .powered a {
  display: inline-flex;
  align-items: center;
  color: #d5e2f4;
  text-decoration: none;
}
#alcada-bloqueio .powered img {
  display: block;
  height: 1.15em;
  width: auto;
}
#alcada-bloqueio button {
  margin-top: 1.35rem;
  width: 100%;
  height: 2.85rem;
  background: #1e5aa8;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
#alcada-bloqueio button:hover {
  background: #174a8c;
}
html.dark #alcada-bloqueio .cartao,
html.alcada-bloqueio.dark #alcada-bloqueio .cartao {
  background: #22262e;
  color: #eceae4;
}
@media (prefers-color-scheme: dark) {
  html:not(.light) #alcada-bloqueio .cartao {
    background: #22262e;
    color: #eceae4;
  }
}

/* Splash do chat é cartão branco: lockup azul. Login navy continua no logo.png. */
div.mt-6.h-10.w-full.bg-cover {
  height: 4.6rem !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
  background-color: transparent !important;
  background-image: url("/images/alcada/logo-claro.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  border-radius: 0 !important;
  padding: 0 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}
/* Logo clara (ex. wordmark branco) some no cartão do login; placa navy só nesse caso. */
div.mt-6.h-10.w-full.bg-cover.alcada-login-logo-clara {
  background-color: #0b1f3a !important;
  border-radius: 0.55rem !important;
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
  height: 5.2rem !important;
  padding: 0.45rem 0.85rem !important;
  box-sizing: content-box;
}
div.mt-6.h-10.w-full.bg-cover img,
div.mt-6 img[src*="logo.svg"],
div.mt-6 img[src*="logo.png"],
img[src="assets/logo.svg"],
img[src="assets/logo.png"] {
  opacity: 0 !important;
}
body:has(#alcada-login-pack) [class*="min-h-screen"] {
  justify-content: flex-start !important;
  gap: 0.9rem !important;
}
#alcada-login-pack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  overflow: visible !important;
  transform: none !important;
  animation: none !important;
}
#alcada-login-pack > a,
#alcada-login-pack > button {
  width: auto !important;
  max-width: 20rem !important;
  align-self: center !important;
}
body:has(#alcada-login-pack) button:has(.lucide-sun),
body:has(#alcada-login-pack) button:has(.lucide-moon),
body:has(#alcada-login-pack) [aria-label*="theme" i],
body:has(#alcada-login-pack) [aria-label*="tema" i],
body:has(#alcada-login-pack) [aria-label*="Dark" i],
body:has(#alcada-login-pack) [aria-label*="Light" i] {
  display: none !important;
}
#alcada-login-welcome {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1.25rem;
  text-align: left;
  position: relative;
  z-index: 1;
  overflow: visible !important;
}
#alcada-login-welcome .alcada-welcome-mark {
  flex-shrink: 0;
  margin-top: 0.2rem;
}
#alcada-login-welcome p {
  margin: 0;
  color: #0b1f3a;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: pre-line;
  overflow: visible !important;
}
em.alcada-welcome-trust {
  font-style: italic;
  font-weight: inherit;
}
.alcada-login-cursor {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 0.35rem;
  vertical-align: middle;
  background: url("/images/alcada/cursor.svg") center / contain no-repeat;
  animation: alcada-login-cursor-op 0.9s ease-in-out infinite;
  transform: none;
}
@keyframes alcada-login-cursor-op {
  0%,
  100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@media (max-width: 900px) {
  #alcada-login-welcome,
  #alcada-login-welcome p {
    white-space: pre-line;
  }
}
html.dark body:has(#alcada-login-pack) {
  background: #14171c !important;
  color: #eceae4;
}
html.dark body:has(#alcada-login-pack) [class*="min-h-screen"],
html.dark body:has(#alcada-login-pack) .bg-white,
html.dark body:has(#alcada-login-pack) .bg-surface-primary,
html.dark body:has(#alcada-login-pack) .bg-surface-secondary,
html.dark body:has(#alcada-login-pack) .bg-presentation {
  background: #14171c !important;
  background-color: #14171c !important;
  color: #eceae4 !important;
}
html.dark #alcada-login-welcome p {
  color: #eceae4;
}
html.dark #alcada-login-pack > a,
html.dark #alcada-login-pack > button {
  background: #1e5aa8 !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Gostei / não gostei: ícone próprio do canal (path do SVG), sem classe lucide. */
.message-render button:has(svg.lucide-thumbs-up),
.message-render button:has(svg.lucide-thumbs-down),
.message-render button:has(svg path[d^="M12.1318"]),
.message-render button:has(svg path[d^="M12.592"]),
.message-render button:has(svg path[d^="M11.8727"]),
.message-render button:has(svg path[d^="M11.4079"]) {
  display: none !important;
}
button[data-alcada-reportar] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: inherit;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}
button[data-alcada-reportar].reportado {
  opacity: 0.5;
}
.alcada-reportar-linha {
  display: block;
  flex: 1 0 100%;
  width: 100%;
  clear: both;
  margin: 0.35rem 0 0.15rem;
  padding: 0;
  font-family: Segoe UI, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: #5c6670;
}
.alcada-reportar-linha button[data-alcada-reportar] {
  display: inline !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #1e5aa8;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.alcada-reportar-linha.enviado,
.alcada-reportar-linha button[data-alcada-reportar].reportado {
  color: #5c6670;
  text-decoration: none;
  cursor: default;
  opacity: 1;
}
#alcada-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 5000;
  transform: translateX(-50%);
  max-width: 22rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.75rem;
  background: #0b1f3a;
  color: #f4f0e8;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
#alcada-toast.ligado {
  opacity: 1;
}
/* TTS lê o path do /media no vídeo/arquivo. Some nessas msgs. */
.message-render:has(video) button:has(svg[class*="lucide-volume"]),
.message-render:has(audio) button:has(svg[class*="lucide-volume"]),
.message-render:has(img[src*="/media/"]) button:has(svg[class*="lucide-volume"]),
.message-render:has(a[href*="/media/"]) button:has(svg[class*="lucide-volume"]) {
  display: none !important;
}

/* Header do chat: some a pena. A marca vai na lateral. */
header svg.lucide-feather,
.sticky.top-0 svg.lucide-feather {
  display: none !important;
}

/* Reserva no painel Chats (nav ao lado da faixa de ícones). Header do fio não mexe. */
nav.bg-surface-primary-alt.flex-1 {
  padding-top: 3rem !important;
  padding-bottom: 3.5rem !important;
}

#alcada-admin {
  position: fixed;
  z-index: 40;
  display: none;
  box-sizing: border-box;
  padding: 0.45rem 0.75rem;
  font-family: Segoe UI, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1e5aa8;
  text-decoration: none;
  border-radius: 10px;
  pointer-events: auto;
}
#alcada-admin:hover {
  background: #e8eef6;
  color: #0b1f3a;
}

#alcada-marca {
  position: fixed;
  z-index: 40;
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 36px;
  max-height: 36px;
  max-width: 180px;
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 8px;
  text-decoration: none;
  color: #1e5aa8;
  overflow: hidden;
  pointer-events: auto;
}
#alcada-marca svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
#alcada-marca span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
#alcada-marca.fino span {
  display: none;
}
#alcada-marca img {
  display: block;
  width: auto;
  height: 22px;
  max-width: 140px;
  object-fit: contain;
}
#alcada-marca:not(.fino) {
  width: auto;
}
#alcada-marca:not(.fino) img {
  height: 22px;
  max-width: 140px;
}
#alcada-marca.logo-clara {
  background: #0b1f3a;
  border-radius: 8px;
  padding: 4px 8px;
}
#alcada-marca.logo-escura {
  background: #f4f0e8;
  border-radius: 8px;
  padding: 4px 6px;
}

#alcada-aviso {
  display: none !important;
}

/* Recado do órgão: abaixo do seletor, acima do fio. Não é overlay. */
#alcada-org-aviso {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.6rem;
  margin: 0.45rem 1rem 0.2rem;
  padding: 0.55rem 0.7rem 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #d7e0ea;
  border-left: 4px solid #1e5aa8;
  background: #f7fafc;
  color: #0b1f3a;
  font-family: Segoe UI, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.04);
}
#alcada-org-aviso[data-severity="warning"] {
  border-left-color: #c4a35a;
  background: #fbf7ee;
}
#alcada-org-aviso[data-severity="critical"] {
  border-left-color: #b42318;
  background: #fdf4f3;
}
#alcada-org-aviso strong {
  grid-column: 1;
  font-size: 13px;
  font-weight: 650;
}
#alcada-org-aviso span {
  grid-column: 1;
  color: #3d4b5c;
}
#alcada-org-aviso button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  border: 0;
  background: transparent;
  color: #5c6670;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.1rem;
}
#alcada-org-aviso button:hover {
  color: #0b1f3a;
}

/* Aviso entra no fluxo do [role=main]. Sem isso o h-full do fio
   soma com a faixa e aparece segunda barra / some o composer. */
[role="main"] {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  min-height: 0 !important;
}
[role="main"] > header {
  flex: 0 0 auto;
}
[role="main"] > header ~ *:not(#alcada-org-aviso) {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
}
[role="main"] form {
  flex: 0 0 auto;
}

/* Celular: o fio e a mídia cabem na tela. Sem scroll lateral. */
.scrollbar-gutter-stable {
  overflow-x: hidden !important;
  scrollbar-gutter: auto !important;
}
[role="presentation"],
#root,
#root > div {
  max-width: 100%;
  overflow-x: clip;
}
.markdown img,
.prose img,
[data-testid="message-content"] img,
.message-content img,
.markdown video,
.prose video,
.markdown audio,
.prose audio,
audio,
video {
  max-width: 100% !important;
  height: auto !important;
}

html body .message-render .markdown p:has(img),
html body .message-render .markdown p:has(video),
html body .message-render .markdown p:has(audio),
html body .message-render .prose p:has(img),
html body .message-render .prose p:has(video),
html body .message-render .prose p:has(audio),
html body .message-render [data-testid="message-content"] p:has(img),
html body .message-render [data-testid="message-content"] p:has(video),
html body .message-render [data-testid="message-content"] p:has(audio) {
  margin-top: 0.15rem !important;
  margin-bottom: 0.15rem !important;
  line-height: 0 !important;
}
html body .message-render .markdown > p:only-child:has(img),
html body .message-render .markdown > p:only-child:has(video),
html body .message-render .markdown > p:only-child:has(audio),
html body .message-render .prose > p:only-child:has(img),
html body .message-render .prose > p:only-child:has(video),
html body .message-render .prose > p:only-child:has(audio) {
  margin: 0 !important;
}
html body .message-render [data-testid="message-body"] img:not([src*="logo-"]):not([src*="/images/alcada/"]),
html body .message-render [data-testid="message-body"] video,
html body .message-render [data-testid="message-body"] audio {
  display: block !important;
  margin-top: 0.1rem !important;
  margin-bottom: 0.1rem !important;
}
html body .message-render [data-testid="message-body"] div:has(> img[src*="/media/"]),
html body .message-render [data-testid="message-body"] div:has(> img[src*="/images/"]),
html body .message-render [data-testid="message-body"] figure {
  margin-top: 0.15rem !important;
  margin-bottom: 0.15rem !important;
}

/* Player nativo no fio: áudio/vídeo de /media, sem plugin. */
.alcada-player {
  display: block;
  width: 100%;
  max-width: 36rem;
  margin: 0.15rem 0;
}
.alcada-player video,
.alcada-player-video video {
  display: block;
  width: 100%;
  max-height: min(70vh, 28rem);
  object-fit: contain;
  background: #0b1f3a;
  border-radius: 0.75rem;
}
.alcada-player-audio audio {
  display: block;
  width: 100%;
  height: 2.75rem !important;
}
.message-render a[data-alcada-player] {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.85em;
}

/* Tabela markdown: rola por dentro. Não aplicar overflow no .markdown inteiro —
   isso corta a frase do perímetro no chat vazio. */
.markdown table,
.prose table,
[data-testid="message-content"] table {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.6rem 0;
}
div:has(> [data-alcada-welcome]) {
  flex-wrap: wrap !important;
  align-items: center !important;
  max-width: 100% !important;
  overflow: visible !important;
}
div:has(> [data-alcada-welcome]) p.split-parent {
  overflow: visible !important;
  max-width: min(46rem, 100%);
  white-space: normal;
  word-wrap: break-word;
}
span.alcada-welcome-trust {
  font-style: italic;
}
.markdown th,
.markdown td,
.prose th,
.prose td,
[data-testid="message-content"] th,
[data-testid="message-content"] td {
  border: 1px solid rgba(196, 163, 90, 0.35);
  padding: 0.4rem 0.65rem;
  vertical-align: top;
}
.markdown thead th,
.prose thead th,
[data-testid="message-content"] thead th {
  background: #0b1f3a;
  color: #f4f0e8;
  font-weight: 600;
}

/* Chat novo: placas Alçada na frase do perímetro. Seletor/mensagens ficam com a logo do modelo. */
div.relative.size-10[data-alcada-welcome],
div.relative.w-10.h-10[data-alcada-welcome] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.alcada-welcome-mark {
  display: block !important;
  width: auto !important;
  height: 28px !important;
  max-width: 4.5rem !important;
  object-fit: contain;
  filter: none !important;
}
.alcada-welcome-mark.clara {
  background: #0b1f3a;
  border-radius: 4px;
  padding: 3px 5px;
  box-sizing: content-box;
}
#alcada-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.4rem;
  width: 100%;
  max-width: min(40rem, 100%);
  margin: 0.4rem auto 0.15rem;
  padding: 0.2rem 0;
  position: relative;
  left: auto;
  bottom: auto;
  top: auto;
  transform: none;
  z-index: 1;
  pointer-events: auto;
  box-sizing: border-box;
}
#alcada-cards .card {
  display: inline-flex;
  align-items: center;
  background: #4a86e8;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font: 500 0.82rem/1.2 Outfit, Segoe UI, sans-serif;
}
#alcada-cards .card:hover,
#alcada-cards .card.ativo {
  background: #1e5aa8;
  outline: none;
}

img[src*="logo-xai.svg"],
img[src*="logo-openai.svg"],
img[src*="logo-anthropic.svg"],
img[src*="logo-google.svg"] {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.dark img[src*="logo-xai.svg"],
.dark img[src*="logo-openai.svg"],
.dark img[src*="logo-anthropic.svg"],
.dark img[src*="logo-google.svg"] {
  filter: invert(1);
}

/* A bandeira no fim do parágrafo piscava em cada frase enquanto o texto era escrito e sumia no fim. O status Pensando já marca a espera. */
html body .result-streaming > :not(ol):not(ul):not(pre):last-child:after,
html body .result-streaming > :not(ol):not(ul):not(pre):last-child > :not(ol):not(ul):not(pre):last-child:after,
html body .result-streaming > pre:last-child code:after,
html body .result-streaming > :is(ul, ol):last-child > li:last-child:after,
html body .result-streaming > :is(ul, ol):last-child > li:last-child:not(:has(> :is(ul, ol, pre))):after,
html body .result-streaming > ol:last-child > li:last-child:after,
html body .result-streaming > ul:last-child > li:last-child:after,
html body .markdown.result-streaming > :last-child:after,
html body .result-streaming.markdown > :last-child:after,
html body .result-streaming p:last-child:after,
html body .result-streaming li:last-child:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  background: none !important;
  animation: none !important;
}
#alcada-cursor-fio {
  position: fixed;
  z-index: 70;
  width: 20px;
  height: 20px;
  pointer-events: none;
  display: none;
}
#alcada-cursor-fio.ligado {
  display: none;
}
#alcada-cursor-fio svg {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
}

@keyframes alcada-pulso-cursor {
  0%,
  100% {
    transform: scale(0.75);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Composer: some busca na web, artefatos e o menu de ferramentas. Fica o anexo. */
#tools-dropdown-button,
#tools-dropdown-menu {
  display: none !important;
}

/* Lateral: some Prompts e Marcadores (ícones da trilha). */
html body [data-testid="nav-panel-prompts"],
html body [data-testid="nav-panel-bookmarks"] {
  display: none !important;
}

/* Ao lado do seletor: some adicionar marcador e multi-conversa. */
html body [data-testid="bookmark-menu"],
html body #bookmark-menu-button,
html body [data-testid="add-multi-convo-button"] {
  display: none !important;
}

/* Nome do modelo no fio: some o "GPT" / "Alçada" em toda mensagem. */
html body .agent-turn > h2,
html body [data-testid="author-header"] h2 {
  display: none !important;
}

.alcada-quando {
  margin: 0 0.35rem 0 0;
  font-size: 11px;
  line-height: 1.2;
  color: #8a93a0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  align-self: center;
  pointer-events: none;
}
html body .agent-turn .alcada-quando {
  margin: 0 0 0 0.35rem;
}

html body [role="main"] div.px-4.py-3:has(.message-render) {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
}

@media (hover: hover) {
  html body .message-render [data-testid="message-body"] + div {
    opacity: 0;
    pointer-events: none;
    min-height: 1.35rem;
    transition: opacity 0.12s ease;
  }
  html body .message-render:hover [data-testid="message-body"] + div,
  html body .message-render:focus-within [data-testid="message-body"] + div {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Primeira resposta do fio e cada troca de modelo. */
html body .message-render.alcada-mudou {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.45rem;
  row-gap: 0.75rem;
  align-items: start;
}
html body .message-render.alcada-mudou > :first-child {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}
html body .message-render.alcada-mudou > .agent-turn {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}
html body .message-render.alcada-mudou > .agent-turn:has(> #alcada-estagio:first-child) {
  margin-top: 0.5rem;
}
html body .message-render.alcada-mudou::before {
  content: attr(data-alcada-troca);
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #5c6670;
  margin: 0;
  padding-bottom: 0;
}
/* Anexos lado a lado, dentro da bolha. O botão nativo é w-56 e vazava do slot. */
body:not(:has(#alcada-login-pack)) .message-render:has(.user-turn) .user-turn {
  max-width: 100%;
}
body:not(:has(#alcada-login-pack)) .message-render .user-turn .text-message {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 0.4rem !important;
}
body:not(:has(#alcada-login-pack)) .message-render .user-turn .text-message > .group {
  flex: 0 1 14rem;
  max-width: 14rem;
  min-width: 0;
  overflow: hidden;
}
body:not(:has(#alcada-login-pack)) .message-render .user-turn .text-message > .group button,
body:not(:has(#alcada-login-pack)) .message-render .user-turn .text-message > .group .w-56 {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body:not(:has(#alcada-login-pack)) .message-render .user-turn .text-message > :not(.group) {
  flex: 1 0 100%;
}
/* Faixa da hora abaixo da bolha. A altura fica reservada; o hover só troca a opacidade. */
@media (hover: hover) {
  html body .message-render:has(.user-turn) [data-testid="message-body"] + div {
    position: static;
    height: 2.25rem;
    min-height: 2.25rem;
    max-height: 2.25rem;
    margin-top: 0.2rem;
    overflow: hidden;
  }
}

/* Espera: uma linha (placas + frase) na bolha. Nada acima do campo. */
#alcada-camadas-float {
  position: fixed;
  z-index: 80;
  width: 22px;
  height: 22px;
  pointer-events: none;
  display: none;
}
#alcada-camadas-float.ligado {
  display: block;
}
#alcada-camadas-float svg {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
}
#alcada-camadas-float .placa,
#alcada-cursor-fio .placa,
#alcada-estagio .placa,
.alcada-hero-bandeira .placa {
  transform-box: fill-box;
  transform-origin: center;
  animation: alcada-placa 1.7s ease-in-out infinite !important;
}
#alcada-camadas-float .p1,
#alcada-cursor-fio .p1,
#alcada-estagio .p1,
.alcada-hero-bandeira .p1 {
  animation-delay: 0s;
}
#alcada-camadas-float .p2,
#alcada-cursor-fio .p2,
#alcada-estagio .p2,
.alcada-hero-bandeira .p2 {
  animation-delay: 0.2s;
}
#alcada-camadas-float .p3,
#alcada-cursor-fio .p3,
#alcada-estagio .p3,
.alcada-hero-bandeira .p3 {
  animation-delay: 0.4s;
}
@keyframes alcada-placa {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(-6px);
  }
  22%,
  68% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes alcada-pulso {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 90, 168, 0);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(30, 90, 168, 0.28);
  }
}

html body .submitting .result-thinking:empty:last-child:after,
html body .result-thinking:empty:after,
html body.alcada-estagio-on .submitting .result-thinking:empty:last-child:after,
html body.alcada-estagio-on .result-thinking:empty:after,
html body.alcada-estagio-on .result-thinking:after,
html body.alcada-estagio-on .result-streaming:after,
html body.alcada-estagio-on .result-streaming > :last-child:after,
html body.alcada-estagio-on .result-streaming *:after,
html body.alcada-estagio-on .markdown.result-streaming:after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  animation: none !important;
}

#alcada-estagio {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #4a5560;
  font-family: Segoe UI, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  pointer-events: none;
  white-space: nowrap;
}
#alcada-estagio.ligado {
  display: flex;
  z-index: 5;
  pointer-events: auto;
}
form:has(textarea[data-testid="text-input"]) {
  position: relative;
  z-index: 30;
}
body.alcada-estagio-on .alcada-quando {
  display: none !important;
}
.message-render:has(.result-streaming) button[data-alcada-reportar] {
  display: none !important;
}
body:not(:has(#alcada-login-pack)) form:has(textarea) {
  position: relative;
  z-index: 40;
}
#alcada-estagio .marca {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
#alcada-estagio .marca svg {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
}
#alcada-estagio .linha {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}
#alcada-estagio .fala {
  white-space: nowrap;
}
#alcada-estagio .tempo {
  display: none;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}
#alcada-estagio .tempo:not(:empty)::before {
  content: " ";
}
#alcada-estagio.analise .tempo,
#alcada-estagio.ligado .tempo:not(:empty),
#alcada-estagio .passos li.atual .tempo {
  display: inline !important;
}
#alcada-estagio.ligado .passos:not(:empty) {
  display: block;
}
#alcada-estagio.ligado:has(.passos:not(:empty)) {
  white-space: normal;
  align-items: flex-start;
}
#alcada-estagio.analise {
  white-space: normal;
  align-items: flex-start;
}
#alcada-estagio .corpo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.15rem;
  min-width: 0;
  overflow: visible;
}
#alcada-estagio .passos {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: normal;
  overflow: hidden;
}
#alcada-estagio.aberto .passos {
  overflow: visible;
}
#alcada-estagio.analise .passos {
  display: block;
}
#alcada-estagio .passos li {
  margin: 0.1rem 0;
  white-space: normal;
}
#alcada-estagio .passos li:not(.atual) {
  display: none;
}
#alcada-estagio:not(.aberto) .passos li:last-child {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
#alcada-estagio.aberto .passos li:not(.atual) {
  display: block;
}
#alcada-estagio .passos li.atual {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}
#alcada-estagio .passos li.atual::after {
  content: "▸";
  flex: 0 0 auto;
  opacity: 0.45;
  font-size: 0.75rem;
}
#alcada-estagio.aberto .passos li.atual::after {
  content: "▾";
}
#alcada-estagio .passos li:only-child.atual::after {
  content: none;
}
#alcada-estagio .passos li.atual .rotulo {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#alcada-estagio .passos li.atual .tempo {
  flex: 0 0 auto;
  margin-left: auto;
}
#alcada-estagio.fim .placa {
  animation: none !important;
  opacity: 1;
  transform: none;
}
#alcada-estagio.recado {
  align-items: flex-start;
  white-space: normal;
  max-width: min(42rem, calc(100vw - 3rem));
}
#alcada-estagio.recado .fala {
  white-space: normal;
}

#alcada-uso {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.55);
  font-family: Segoe UI, system-ui, sans-serif;
}
#alcada-uso.ligado {
  display: flex;
}
#alcada-uso .cartao {
  width: min(22rem, calc(100vw - 2rem));
  background: #fff;
  color: #0b1f3a;
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.1rem;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.28);
}
#alcada-uso h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 650;
}
#alcada-uso .linha {
  margin: 0 0 0.7rem;
}
#alcada-uso .linha span {
  display: block;
  font-size: 12px;
  color: #5c6670;
}
#alcada-uso .linha strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0b1f3a;
  margin-top: 0.12rem;
}
#alcada-uso .nota {
  margin: 0.75rem 0 0;
  font-size: 12px;
  color: #5c6670;
  line-height: 1.4;
}
#alcada-uso .acoes {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.85rem;
}
#alcada-uso .fechar {
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
  background: #0b1f3a;
  color: #fff;
}
body:has(#alcada-login-pack) #alcada-uso {
  display: none !important;
}

@media (max-width: 640px) {
  #alcada-estagio {
    max-width: calc(100vw - 1.2rem);
    overflow: hidden;
  }
  #alcada-org-aviso {
    margin: 0.35rem 0.55rem 0.15rem;
  }
  [role="contentinfo"] {
    display: none !important;
  }
  [role="contentinfo"] > span:nth-of-type(1),
  [role="contentinfo"] > div[class*="border-r"] {
    display: none !important;
  }
}

[data-alcada-hide="1"] {
  display: none !important;
}

[data-alcada-data="1"] {
  overflow: visible !important;
  text-overflow: unset !important;
  min-width: 6.6em;
  flex-shrink: 0 !important;
  white-space: nowrap;
}

html[data-alcada-sem-ajuda="1"] .account-settings-popover [role="menuitem"]:has(.lucide-circle-help),
html[data-alcada-sem-ajuda="1"] .account-settings-popover [role="menuitem"]:has(.lucide-chevron-right),
html[data-alcada-sem-ajuda="1"] .popover-from-left {
  display: none !important;
}

.account-settings-popover [data-alcada-atalhos]:hover,
.account-settings-popover [data-alcada-atalhos]:focus,
.account-settings-popover [data-alcada-atalhos][data-active-item],
.account-settings-popover [data-alcada-senha]:hover,
.account-settings-popover [data-alcada-senha]:focus,
.account-settings-popover [data-alcada-senha][data-active-item],
.account-settings-popover [data-alcada-uso]:hover,
.account-settings-popover [data-alcada-uso]:focus,
.account-settings-popover [data-alcada-uso][data-active-item],
.account-settings-popover [data-alcada-guia]:hover,
.account-settings-popover [data-alcada-guia]:focus,
.account-settings-popover [data-alcada-guia][data-active-item],
.account-settings-popover [data-alcada-mcp]:hover,
.account-settings-popover [data-alcada-mcp]:focus,
.account-settings-popover [data-alcada-mcp][data-active-item] {
  background-color: #e3e3e3;
  background-color: rgb(var(--surface-hover));
  color: rgb(var(--text-primary));
}

#alcada-guia-cartao {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.55);
  font-family: Segoe UI, system-ui, sans-serif;
}
#alcada-guia-cartao .cartao {
  width: min(24rem, calc(100vw - 2rem));
  background: #fff;
  color: #0b1f3a;
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.1rem;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.28);
}
#alcada-guia-cartao h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 650;
}
#alcada-guia-cartao p {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  color: #4a5560;
  line-height: 1.45;
}
#alcada-guia-cartao .acoes {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
#alcada-guia-cartao .acoes button {
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
}
#alcada-guia-cartao .agora {
  background: transparent;
  color: #4a5560;
}
#alcada-guia-cartao .abrir {
  background: #0b1f3a;
  color: #fff;
}
body:has(#alcada-login-pack) #alcada-guia-cartao {
  display: none !important;
}

#alcada-senha,
#alcada-mcp-caixa {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.55);
  font-family: Segoe UI, system-ui, sans-serif;
}
#alcada-senha.ligado,
#alcada-mcp-caixa.ligado {
  display: flex;
}
#alcada-senha .cartao,
#alcada-mcp-caixa .cartao {
  width: min(22rem, calc(100vw - 2rem));
  background: #fff;
  color: #0b1f3a;
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.1rem;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.28);
}
#alcada-mcp-caixa .cartao {
  width: min(32rem, calc(100vw - 2rem));
  max-height: min(40rem, calc(100vh - 2rem));
  overflow: auto;
}
#alcada-senha h2,
#alcada-mcp-caixa h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 650;
}
#alcada-senha .lead,
#alcada-mcp-caixa .lead {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: #4a5560;
  line-height: 1.35;
}
#alcada-senha label,
#alcada-mcp-caixa label {
  display: grid;
  gap: 0.3rem;
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}
#alcada-senha input,
#alcada-mcp-caixa input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: #0b1f3a;
}
#alcada-senha input:focus,
#alcada-mcp-caixa input:focus {
  outline: 2px solid #1e5aa8;
  outline-offset: 1px;
}
#alcada-senha .erro,
#alcada-mcp-caixa .erro {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  color: #9b1c1c;
}
#alcada-mcp-caixa .ok {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  color: #1a6b46;
  line-height: 1.35;
}
#alcada-mcp-caixa .pronto {
  margin: 0 0 0.85rem;
  padding: 0.9rem 1rem 0.85rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 107, 70, 0.28);
  box-shadow: inset 3px 0 0 #1a6b46;
}
#alcada-mcp-caixa .pronto h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
#alcada-mcp-caixa .pronto p {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: #3a4a5c;
  line-height: 1.4;
}
#alcada-mcp-caixa .pronto ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#alcada-mcp-caixa .pronto li {
  margin: 0.28rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
}
#alcada-mcp-caixa .pronto b {
  font-weight: 650;
}
#alcada-mcp-caixa .lista .uso {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.85rem;
  color: #0b1f3a;
  line-height: 1.4;
}
#alcada-mcp-caixa .lista .uso .rotulo {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  color: #1a6b46;
  margin-bottom: 0.15rem;
}
#alcada-mcp-caixa .lista li.ligada .estado {
  color: #1a6b46;
  font-weight: 650;
}
#alcada-senha .acoes,
#alcada-mcp-caixa .acoes {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
#alcada-senha .acoes button,
#alcada-mcp-caixa .acoes button,
#alcada-mcp-caixa .ligar,
#alcada-mcp-caixa .google,
#alcada-mcp-caixa .tirar {
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
}
#alcada-senha .cancelar,
#alcada-mcp-caixa .cancelar,
#alcada-mcp-caixa .tirar {
  background: transparent;
  color: #4a5560;
}
#alcada-senha .guardar,
#alcada-mcp-caixa .ligar,
#alcada-mcp-caixa .google {
  background: #0b1f3a;
  color: #fff;
}
#alcada-senha .guardar:disabled {
  opacity: 0.6;
  cursor: wait;
}
#alcada-mcp-caixa .lista {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
}
#alcada-mcp-caixa .lista li {
  border-top: 1px solid #e6ebe8;
  padding: 0.75rem 0 0.35rem;
}
#alcada-mcp-caixa .lista .nome {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  align-items: center;
}
#alcada-mcp-caixa .lista .marca {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.12);
}
#alcada-mcp-caixa .lista .marca svg {
  display: block;
}
#alcada-mcp-caixa .lista .nome b {
  flex: 1;
  min-width: 0;
}
#alcada-mcp-caixa .lista .estado {
  font-size: 0.75rem;
  color: #4a5560;
}
#alcada-mcp-caixa .lista .dica {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.75rem;
  color: #4a5560;
}
#alcada-mcp-caixa .howto {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  color: #3a4a5c;
}
#alcada-mcp-caixa .howto summary {
  cursor: pointer;
  font-weight: 600;
  color: #0b1f3a;
}
#alcada-mcp-caixa .howto ol {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}
#alcada-mcp-caixa .howto li {
  border: 0;
  padding: 0.15rem 0;
}
#alcada-mcp-caixa .howto a {
  color: #1e5aa8;
  word-break: break-all;
}
#alcada-mcp-caixa {
  background: rgba(11, 31, 58, 0.62);
  backdrop-filter: blur(8px);
}
#alcada-mcp-caixa .cartao {
  width: min(46rem, calc(100vw - 1.5rem));
  max-height: min(44rem, calc(100vh - 1.5rem));
  background: #f4f0e8;
  color: #0b1f3a;
  border-radius: 22px;
  padding: 1.15rem 1.15rem 1.2rem;
  border-top: 3px solid #1e5aa8;
  box-shadow: 0 28px 70px rgba(11, 31, 58, 0.38);
}
#alcada-mcp-caixa .topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
#alcada-mcp-caixa .olho {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e5aa8;
  font-weight: 650;
}
#alcada-mcp-caixa h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
#alcada-mcp-caixa .lead {
  max-width: 38rem;
  margin-bottom: 0;
}
#alcada-mcp-caixa .cancelar {
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: #0b1f3a;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
}
#alcada-mcp-caixa .lista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0;
}
@media (min-width: 760px) {
  #alcada-mcp-caixa .lista {
    grid-template-columns: 1fr 1fr;
  }
}
#alcada-mcp-caixa .lista li {
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 16px;
  background: #fff;
  padding: 0.85rem 0.9rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
#alcada-mcp-caixa .lista li.ligada {
  border-color: rgba(26, 107, 70, 0.28);
  box-shadow: inset 3px 0 0 #1a6b46;
}
#alcada-mcp-caixa .lista .nome {
  justify-content: flex-start;
  margin-bottom: 0.35rem;
}
#alcada-mcp-caixa .lista .marca {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
}
#alcada-mcp-caixa .lista .estado {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  background: #eef1f4;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#alcada-mcp-caixa .lista li.ligada .estado {
  background: #e7f5ee;
  color: #1a6b46;
}
#alcada-mcp-caixa .lista .dica {
  margin: 0 0 0.45rem;
  line-height: 1.35;
}
#alcada-mcp-caixa .lista .uso {
  margin: 0 0 0.45rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: #f4f0e8;
}
#alcada-mcp-caixa .google,
#alcada-mcp-caixa .ligar {
  width: 100%;
  margin-top: auto;
  border-radius: 11px;
  padding: 0.58rem 0.85rem;
}
#alcada-mcp-caixa .google:disabled {
  opacity: 0.6;
  cursor: wait;
}
#alcada-mcp-caixa .tirar {
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.15rem 0;
  background: transparent;
  color: #6a6258;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.78rem;
}
#alcada-mcp-caixa .confirma {
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #f4f0e8;
}
#alcada-mcp-caixa .confirma p {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  line-height: 1.35;
}
#alcada-mcp-caixa .confirma .acoes {
  display: flex;
  gap: 0.45rem;
}
#alcada-mcp-caixa .confirma .ficar,
#alcada-mcp-caixa .confirma .perigo {
  flex: 1;
  border-radius: 11px;
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
}
#alcada-mcp-caixa .confirma .ficar {
  background: transparent;
  color: #1e5aa8;
}
#alcada-mcp-caixa .confirma .perigo {
  background: #8c3a32;
  color: #fff;
}
#alcada-mcp-caixa .howto {
  margin: 0 0 0.45rem;
}
#alcada-mcp-caixa .howto summary {
  font-weight: 550;
  font-size: 0.75rem;
  color: #1e5aa8;
}
#alcada-mcp-caixa .howto summary::-webkit-details-marker {
  display: none;
}
html.dark #alcada-mcp-caixa .cartao {
  background: #1c2128;
  color: #eceae4;
  border-top-color: #8eb0ea;
}
html.dark #alcada-mcp-caixa .olho,
html.dark #alcada-mcp-caixa .howto summary,
html.dark #alcada-mcp-caixa .howto a {
  color: #8eb0ea;
}
html.dark #alcada-mcp-caixa .lead,
html.dark #alcada-mcp-caixa .lista .dica,
html.dark #alcada-mcp-caixa .tirar {
  color: #c4bfb6;
}
html.dark #alcada-mcp-caixa .cancelar {
  background: #2a3038;
  color: #eceae4;
}
html.dark #alcada-mcp-caixa .lista li {
  background: #22262e;
  border-color: #3a404a;
}
html.dark #alcada-mcp-caixa .lista .estado {
  background: #2a3038;
  color: #c4bfb6;
}
html.dark #alcada-mcp-caixa .lista li.ligada .estado {
  background: #1a3330;
  color: #8dccb0;
}
html.dark #alcada-mcp-caixa .lista .uso,
html.dark #alcada-mcp-caixa .confirma {
  background: #1c2128;
  color: #eceae4;
}
html.dark #alcada-mcp-caixa .confirma .ficar {
  color: #8eb0ea;
}
html.dark #alcada-mcp-caixa .ok {
  color: #8dccb0;
}
html.dark #alcada-mcp-caixa .pronto {
  background: #22262e;
  border-color: #1a3330;
  color: #eceae4;
}
html.dark #alcada-mcp-caixa .pronto p {
  color: #c4bfb6;
}

#filename-filter {
  max-width: 100%;
}
[role="region"]:has(#filename-filter) table.table-fixed th:last-child,
[role="region"]:has(#filename-filter) table.table-fixed td:last-child {
  width: 7.4em !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: nowrap !important;
}
[role="region"]:has(#filename-filter) table.table-fixed th:first-child,
[role="region"]:has(#filename-filter) table.table-fixed td:first-child {
  width: auto !important;
  max-width: none !important;
}

/* Cara de app: smartphone e tablet. Desktop (≥1024) não entra. */
@media (max-width: 1023px) {
  #alcada-cards {
    width: calc(100% - 1.5rem);
    gap: 0.35rem;
  }
  #alcada-cards .card {
    font-size: 0.78rem;
    padding: 0.38rem 0.7rem;
  }
  html {
    height: 100%;
    height: 100dvh;
  }
  html,
  body {
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
  }
  body {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
  }
  body:has(#alcada-login-pack) {
    overflow: auto;
    height: auto;
    min-height: 100dvh;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  }
  #root,
  #root > div {
    height: 100%;
    max-height: 100dvh;
    max-width: 100%;
  }
  body:has(#alcada-login-pack) #root,
  body:has(#alcada-login-pack) #root > div {
    height: auto;
    max-height: none;
    min-height: 100dvh;
  }
  header.sticky,
  .sticky.top-0 {
    padding-top: env(safe-area-inset-top, 0px);
  }
  html,
  body,
  #root,
  #root > div {
    background: #fff;
  }
  [role="contentinfo"] {
    display: none !important;
  }
  [role="main"] form {
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom, 0px)) !important;
    margin-bottom: 0 !important;
  }
  #alcada-uso {
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  }
  #messages-end {
    height: 1px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  [data-testid="stop-generation-button"],
  [data-testid="during-run-send-button"],
  [role="main"] form button.rounded-full {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 0 !important;
  }
  [data-testid="stop-generation-button"] svg,
  [data-testid="during-run-send-button"] svg,
  [role="main"] form button.rounded-full svg {
    display: block !important;
    margin: 0 !important;
  }
  .alcada-legal-menu {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0.85rem 0.65rem;
    border-top: 1px solid rgba(11, 31, 58, 0.08);
  }
  .alcada-legal-menu a {
    color: #1e5aa8;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 0.35rem 0;
  }
  [role="main"] textarea,
  [role="main"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    font-size: 16px !important;
  }
  [role="main"] form button {
    min-width: 44px;
    min-height: 44px;
  }
  #alcada-toast {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
  #alcada-senha,
  #alcada-mcp-caixa {
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  }
  #alcada-marca,
  #alcada-admin {
    top: calc(0.55rem + env(safe-area-inset-top, 0px));
  }
  .alcada-welcome-copy,
  div:has(> [data-alcada-welcome]) p.split-parent {
    max-width: min(46rem, calc(100vw - 2.5rem));
  }
  button,
  a,
  [role="button"] {
    -webkit-tap-highlight-color: transparent;
  }
}

[role="contentinfo"] {
  display: none !important;
}

#alcada-operado {
  position: fixed;
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 20;
  white-space: normal;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: #6b6a66;
  padding: 0.35rem 0.85rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  pointer-events: none;
  background: #f6f5f2;
  box-sizing: border-box;
}
#alcada-operado a {
  pointer-events: auto;
  color: #1e5aa8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body:has(#alcada-login-pack) #alcada-operado {
  display: none !important;
}
body:not(:has(#alcada-login-pack)):not(:has(#loading-container)) [role="main"] form {
  padding-bottom: calc(1.85rem + env(safe-area-inset-bottom, 0px)) !important;
}

[data-alcada-erro="1"] {
  white-space: pre-wrap;
  line-height: 1.45;
}

/* Pele do chat: off-white, Inter, resposta no fundo, pessoa num bloco, arquivo em linha. */
body:not(:has(#alcada-login-pack)) {
  background: #f6f5f2;
  color: #1c1c1a;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
body:not(:has(#alcada-login-pack)) #root,
body:not(:has(#alcada-login-pack)) [role="main"],
body:not(:has(#alcada-login-pack)) .bg-presentation,
body:not(:has(#alcada-login-pack)) .bg-white,
body:not(:has(#alcada-login-pack)) .bg-surface-primary {
  background-color: #f6f5f2 !important;
  color: #1c1c1a;
}
body:not(:has(#alcada-login-pack)) nav,
body:not(:has(#alcada-login-pack)) aside,
body:not(:has(#alcada-login-pack)) .bg-surface-primary-alt,
body:not(:has(#alcada-login-pack)) .bg-surface-secondary {
  background-color: #f0efea !important;
  border-color: transparent !important;
  font-size: 14px;
}
body:not(:has(#alcada-login-pack)) nav a[href*="/c/"] svg,
body:not(:has(#alcada-login-pack)) nav a[href*="/c/"] img {
  display: none !important;
}
body:not(:has(#alcada-login-pack)) nav,
[data-testid="convo-item"] {
  --gray-50: 240 239 234;
  --gray-200: 232 230 224;
  --surface-primary-alt: 240 239 234;
  --surface-active-alt: 232 230 224;
}
[data-testid="convo-item"] .w-20.bg-gradient-to-l {
  display: none !important;
}
body:not(:has(#alcada-login-pack)) [data-testid="convo-item"] a,
body:not(:has(#alcada-login-pack)) [data-testid="convo-item"] [class*="truncate"] {
  -webkit-mask-image: none;
  mask-image: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 1.75rem;
}
body:not(:has(#alcada-login-pack)) header,
body:not(:has(#alcada-login-pack)) header.sticky,
body:not(:has(#alcada-login-pack)) .sticky.top-0,
body:not(:has(#alcada-login-pack)) [role="main"] > header {
  background: #f6f5f2 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #1c1c1a !important;
}
body:not(:has(#alcada-login-pack)) nav a,
body:not(:has(#alcada-login-pack)) [data-testid="convo-item"],
body:not(:has(#alcada-login-pack)) [data-testid="convo-item"] span,
body:not(:has(#alcada-login-pack)) [data-testid="convo-item"] p {
  color: #3a3834 !important;
}
body:not(:has(#alcada-login-pack)) [data-testid="message-body"],
body:not(:has(#alcada-login-pack)) .markdown,
body:not(:has(#alcada-login-pack)) textarea {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1c1c1a;
}
body:not(:has(#alcada-login-pack)) div:has(> p.split-parent) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
}
body:not(:has(#alcada-login-pack)) p.split-parent {
  display: inline !important;
  gap: 0 !important;
  font-size: 22px;
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  color: #1c1c1a;
}
body:not(:has(#alcada-login-pack)) p.split-parent > span {
  letter-spacing: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.alcada-hero-bandeira {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
.alcada-hero-bandeira svg {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
}
div.relative.size-10[data-alcada-welcome],
div.relative.w-10.h-10[data-alcada-welcome] {
  display: none !important;
}
div:has(> p.split-parent) > img,
div:has(> p.split-parent) > svg,
div:has(> p.split-parent) > div:not(:has(p.split-parent)) {
  display: none !important;
}
[data-alcada-hero-off="1"] {
  display: none !important;
}
#alcada-cards {
  display: none !important;
}
body:not(:has(#alcada-login-pack)) .message-render:has(.user-turn) [data-testid="message-body"] {
  background: #e8e6e0;
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
}
body:not(:has(#alcada-login-pack)) .message-render:not(:has(.user-turn)) {
  background: transparent;
}
body:not(:has(#alcada-login-pack)) .markdown a[href*="/media/"] {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4e1d8;
  color: #1c1c1a;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}
body:not(:has(#alcada-login-pack)) .markdown a[href*="/media/"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #1e5aa8;
  flex: 0 0 auto;
}
body:not(:has(#alcada-login-pack)) form:has(textarea),
body:not(:has(#alcada-login-pack)) form:has(textarea)::before,
body:not(:has(#alcada-login-pack)) form:has(textarea)::after,
body:not(:has(#alcada-login-pack)) div:has(> form:has(textarea))::before,
body:not(:has(#alcada-login-pack)) div:has(> form:has(textarea))::after {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
body:not(:has(#alcada-login-pack)) form:has(textarea) :is([class*="rounded-2xl"], [class*="rounded-3xl"]) {
  background: #fff !important;
  box-shadow: none !important;
  border: 1px solid #e4e1d8 !important;
}
body:not(:has(#alcada-login-pack)) form button[data-testid="send-button"] {
  background: #1e5aa8 !important;
  color: #fff !important;
}

/* Escuro só quando a pessoa escolhe. Mesma pele, invertida: tinta quente, não preto. */
html.dark body:not(:has(#alcada-login-pack)) {
  background: #14171c;
  color: #eceae4;
}
html.dark body:not(:has(#alcada-login-pack)) #root,
html.dark body:not(:has(#alcada-login-pack)) [role="main"],
html.dark body:not(:has(#alcada-login-pack)) .bg-presentation,
html.dark body:not(:has(#alcada-login-pack)) .bg-white,
html.dark body:not(:has(#alcada-login-pack)) .bg-surface-primary {
  background-color: #14171c !important;
  color: #eceae4;
}
html.dark body:not(:has(#alcada-login-pack)) nav,
html.dark body:not(:has(#alcada-login-pack)) aside,
html.dark body:not(:has(#alcada-login-pack)) .bg-surface-primary-alt,
html.dark body:not(:has(#alcada-login-pack)) .bg-surface-secondary {
  background-color: #1c2128 !important;
}
html.dark body:not(:has(#alcada-login-pack)) header,
html.dark body:not(:has(#alcada-login-pack)) header.sticky,
html.dark body:not(:has(#alcada-login-pack)) .sticky.top-0,
html.dark body:not(:has(#alcada-login-pack)) [role="main"] > header {
  background: #14171c !important;
  color: #eceae4 !important;
}
html.dark body:not(:has(#alcada-login-pack)) nav a,
html.dark body:not(:has(#alcada-login-pack)) [data-testid="convo-item"],
html.dark body:not(:has(#alcada-login-pack)) [data-testid="convo-item"] span,
html.dark body:not(:has(#alcada-login-pack)) [data-testid="convo-item"] p,
html.dark body:not(:has(#alcada-login-pack)) aside button,
html.dark body:not(:has(#alcada-login-pack)) nav button {
  color: #d9d4cb !important;
}
html.dark body:not(:has(#alcada-login-pack)) [data-testid="convo-item"]:hover {
  background: #2a3038 !important;
}
html.dark [data-testid="convo-item"] .w-20.bg-gradient-to-l {
  display: none !important;
}
html.dark [data-testid="convo-item"] {
  --gray-50: 28 33 40;
  --gray-200: 42 48 56;
  --surface-primary-alt: 28 33 40;
  --surface-active-alt: 42 48 56;
  --surface-active: 42 48 56;
}
html.dark body:not(:has(#alcada-login-pack)) [data-testid="convo-item"].bg-surface-active-alt,
html.dark body:not(:has(#alcada-login-pack)) [data-testid="convo-item"][aria-current="page"] {
  background-color: #2a3038 !important;
  color: #eceae4 !important;
}
html.dark body:not(:has(#alcada-login-pack)) [data-testid="message-body"],
html.dark body:not(:has(#alcada-login-pack)) .markdown,
html.dark body:not(:has(#alcada-login-pack)) .message-content,
html.dark body:not(:has(#alcada-login-pack)) .user-turn,
html.dark body:not(:has(#alcada-login-pack)) .agent-turn,
html.dark body:not(:has(#alcada-login-pack)) textarea,
html.dark body:not(:has(#alcada-login-pack)) p.split-parent {
  color: #eceae4;
}
html.dark body:not(:has(#alcada-login-pack)) textarea::placeholder {
  color: #8d897f;
}
html.dark body:not(:has(#alcada-login-pack)) .message-render:has(.user-turn) [data-testid="message-body"] {
  background: #2a3038;
  color: #eceae4;
}
html.dark body:not(:has(#alcada-login-pack)) .markdown a[href*="/media/"] {
  background: #22262e;
  border-color: #3a404a;
  color: #eceae4;
}
html.dark body:not(:has(#alcada-login-pack)) .markdown a[href*="/media/"]::before {
  background: #8eb0ea;
}
html.dark body:not(:has(#alcada-login-pack)) form:has(textarea) :is([class*="rounded-2xl"], [class*="rounded-3xl"]) {
  background: #22262e !important;
  border-color: #3a404a !important;
}
html.dark body:not(:has(#alcada-login-pack)) form button:not([data-testid="send-button"]) {
  color: #d9d4cb !important;
}
html.dark #alcada-operado {
  background: #14171c;
  color: #c4bfb6;
}
html.dark #alcada-operado a {
  color: #8eb0ea;
}
html.dark #alcada-estagio {
  color: #b7b2a8;
}
#alcada-estagio {
  position: fixed;
  z-index: 5;
  width: auto;
  margin: 0;
  padding: 0;
  color: #6b6a66;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  justify-content: flex-start;
}
.message-render #alcada-estagio,
.message-render .alcada-hero-bandeira {
  display: none !important;
}
.message-render #alcada-estagio.ligado {
  display: flex !important;
  width: 100% !important;
  margin: 0.4rem 0 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
.message-render #alcada-estagio .marca {
  display: none !important;
}
html body.alcada-estagio-on .result-streaming > :last-child:after,
html body.alcada-estagio-on .result-streaming p:last-child:after,
html body.alcada-estagio-on .result-streaming li:last-child:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  background: none !important;
  animation: none !important;
}
.message-render[data-alcada-avatar-off] > :first-child {
  visibility: hidden !important;
}

#alcada-estagio .marca {
  display: inline-flex !important;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  animation: alcada-pulso 1.35s ease-in-out infinite;
}
#alcada-estagio .marca svg {
  width: 16px;
  height: 16px;
}
#alcada-estagio.fim .marca {
  animation: none;
  opacity: 0.55;
}
#alcada-estagio .placa {
  animation: none !important;
}
@keyframes alcada-pulso {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
body.alcada-estagio-on #alcada-cursor-fio {
  display: none !important;
}
/* Projeto com base de documentos (librechat/projetos.plan.md). Cores do tema do chat: claro e escuro.
   As variáveis do chat são canais ("205 205 205"): sempre dentro de rgb(), senão a regra inteira cai. */
.alcada-proj {
  display: grid;
  gap: 0.75rem;
  margin: 0.9rem 0 1.1rem;
}
.alcada-proj-bloco {
  border: 1px solid rgb(var(--border-light, 217 222 229));
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: rgb(var(--surface-primary, 255 255 255));
  color: rgb(var(--text-primary, 11 31 58));
}
.alcada-proj-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.alcada-proj h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.alcada-proj-dica {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.8rem;
  color: rgb(var(--text-secondary, 74 85 96));
}
.alcada-proj-instr {
  width: 100%;
  box-sizing: border-box;
  min-height: 5.5rem;
  resize: vertical;
  border: 1px solid rgb(var(--border-medium, 197 208 220));
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.9rem;
  background: rgb(var(--surface-secondary, 255 255 255));
  color: inherit;
}
.alcada-proj-instr:focus,
.alcada-proj-botao:focus-visible,
.alcada-proj-tira:focus-visible {
  outline: 2px solid #1e5aa8;
  outline-offset: 1px;
}
.alcada-proj-acoes {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.alcada-proj-conta {
  font-size: 0.75rem;
  color: rgb(var(--text-secondary, 74 85 96));
  font-variant-numeric: tabular-nums;
}
.alcada-proj-botao {
  border: 1px solid rgb(var(--border-medium, 197 208 220));
  border-radius: 8px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  background: rgb(var(--surface-secondary, 244 246 249));
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.alcada-proj-botao:hover:not(:disabled) {
  background: rgb(var(--surface-hover, 233 237 242));
}
.alcada-proj button:disabled,
.alcada-proj textarea:disabled {
  opacity: 0.55;
  cursor: default;
}
.alcada-proj-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}
.alcada-proj-lista li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgb(var(--border-light, 227 231 236));
  font-size: 0.85rem;
}
.alcada-proj-lista li:first-child {
  border-top: 0;
}
.alcada-proj-nome {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alcada-proj-tam,
.alcada-proj-vazio,
.alcada-proj-uso {
  color: rgb(var(--text-secondary, 74 85 96));
  font-size: 0.8rem;
}
.alcada-proj-uso {
  margin: 0.5rem 0 0;
}
.alcada-proj-tira {
  border: 0;
  background: none;
  color: rgb(var(--text-secondary, 74 85 96));
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}
.alcada-proj-msg {
  margin: 0;
  min-height: 1.1rem;
  font-size: 0.8rem;
  color: rgb(var(--text-secondary, 74 85 96));
}
.alcada-proj-msg.erro {
  color: #b42318;
}
/* Memória da pessoa (librechat/memoria.plan.md): o cérebro só aparece com a memória ligada; o overlay põe a
   classe em <html> quando sabe. Dossiê "Trazer das minhas conversas" no painel Memórias. */
html:not(.alcada-memoria-on) [data-testid="nav-panel-memories"] {
  display: none !important;
}
.alcada-dossie {
  display: grid;
  gap: 0.45rem;
  margin: 0.25rem 0 0.75rem;
  font-size: 0.82rem;
  color: rgb(var(--text-primary, 11 31 58));
}
.alcada-dossie .alcada-proj-botao {
  justify-self: start;
}
.alcada-dossie button:disabled {
  opacity: 0.55;
  cursor: default;
}
.alcada-dossie-dica,
.alcada-dossie-origem,
.alcada-dossie-msg {
  margin: 0;
  font-size: 0.75rem;
  color: rgb(var(--text-secondary, 74 85 96));
}
.alcada-dossie-msg.erro {
  color: #b42318;
}
.alcada-dossie-titulo {
  margin: 0;
  font-weight: 600;
}
.alcada-dossie-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 22rem;
  overflow-y: auto;
  border: 1px solid rgb(var(--border-light, 217 222 229));
  border-radius: 10px;
}
.alcada-dossie-lista li {
  padding: 0.45rem 0.6rem;
  border-top: 1px solid rgb(var(--border-light, 227 231 236));
}
.alcada-dossie-lista li:first-child {
  border-top: 0;
}
.alcada-dossie-lista label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  cursor: pointer;
}
.alcada-dossie-lista input {
  margin-top: 0.15rem;
}
.alcada-dossie-origem {
  display: block;
  margin: 0.15rem 0 0 1.5rem;
}
.alcada-dossie-acoes {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.alcada-dossie-primario {
  background: #1e5aa8;
  border-color: #1e5aa8;
  color: #fff;
}
.alcada-dossie-primario:hover:not(:disabled) {
  background: #184a8a;
}
/* Idioma fora das Configurações (fundador, 2026-10-30): o overlay já força pt-BR a cada carga e boa parte da
   tradução é feita na tela, frase a frase; outro idioma ficaria pela metade. */
[role="dialog"] div:has(> div > #language-selector-label) {
  display: none !important;
}
/* Opções que não fazem nada aqui ou que o fundador tirou (2026-10-30). Pelo id que o chat põe em cada linha,
   não pelo texto. Prompts, emblemas, chat temporário e links: permissão desligada no papel USER. Pensamento e
   ferramentas: o perímetro não mostra. Direção: só para idioma da direita para a esquerda. Idioma da fala: o
   overlay força pt-BR. Voz e vozes na nuvem: o overlay escolhe a voz pt-BR; a nuvem manda o texto para fora.
   "@": o comando fica, a opção sai. Chaves de API: não há chave da pessoa. Excluir conta: ALLOW_ACCOUNT_DELETION. */
[role="dialog"] div.px-4:has(#chat-direction-label),
[role="dialog"] div.px-4:has(#showBadges),
[role="dialog"] div.px-4:has(#showThinking),
[role="dialog"] div.px-4:has(#autoExpandTools),
[role="dialog"] div.px-4:has(#defaultTemporaryChat),
[role="dialog"] div.px-4:has(#language-stt-dropdown-label),
[role="dialog"] div.px-4:has(#browser-voice-dropdown-label),
[role="dialog"] div.px-4:has(#CloudBrowserVoices),
[role="dialog"] div.px-4:has(#shared-links-label),
[role="dialog"] div.px-4:has(#delete-account-label),
[role="dialog"] section:has(#atCommand),
[role="dialog"] section:has([data-testid="advancedPrompts"]),
[role="dialog"] section:has(#revoke-info-label),
[role="dialog"] section:has(#delete-account-label) {
  display: none !important;
}

/* ===== Layout como o claude.ai (html.alcada-claude) =====
   Lateral numa coluna só: a faixa de ícones do chat fica por cima (só o recolher no canto e a conta no pé),
   os itens da Alçada no topo do painel e "Recentes" só com o título. Cores pelos canais do tema
   (rgb(var(--x, r g b))): claro e escuro vêm juntos. */
html.alcada-claude.alcada-lateral-aberta div:has(> nav) > div:has(> #close-sidebar-button) {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
html.alcada-claude.alcada-lateral-aberta div:has(> nav) > div:has(> #close-sidebar-button) > * {
  display: none;
}
html.alcada-claude.alcada-lateral-aberta div:has(> nav) > div:has(> #close-sidebar-button) > #close-sidebar-button {
  display: inline-flex;
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  pointer-events: auto;
}
html.alcada-claude.alcada-lateral-aberta div:has(> nav) > div:has(> #close-sidebar-button) > .mt-auto,
html.alcada-claude.alcada-lateral-aberta div:has(> nav) > div:has(> #close-sidebar-button) > div:has([data-testid="nav-user"]) {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.4rem 0.5rem 0.5rem;
  border-top: 1px solid rgb(var(--border-light, 227 227 227));
  background: rgb(var(--surface-primary-alt, 247 247 248));
  pointer-events: auto;
}
html.alcada-claude.alcada-lateral-aberta div:has(> nav) [data-testid="nav-user"] {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 2.75rem;
  justify-content: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.6rem;
  text-align: left;
}
html.alcada-claude.alcada-lateral-aberta div:has(> nav) [data-testid="nav-user"]::after {
  content: attr(data-alcada-nome) "\A" attr(data-alcada-orgao);
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  color: rgb(var(--text-primary, 33 33 33));
}
/* Menu da conta em cima do botão, na largura dele (o chat posiciona à direita, com transform inline).
   Com a lateral recolhida, o botão vai para a faixa de ícones e o menu abre ao lado, como no claude.ai. */
html.alcada-claude.alcada-lateral-aberta div:has(> .account-settings-popover) {
  position: fixed !important;
  transform: none !important;
  top: auto !important;
  left: var(--alcada-conta-x, 8px) !important;
  bottom: var(--alcada-conta-base, 64px) !important;
}
html.alcada-claude.alcada-lateral-aberta .account-settings-popover {
  width: var(--alcada-conta-w, 244px) !important;
  translate: none !important;
  transform-origin: left bottom !important;
}
html.alcada-claude.alcada-lateral-aberta nav.bg-surface-primary-alt.flex-1 {
  display: flex !important;
  flex-direction: column;
  padding-bottom: 3.75rem !important;
}
html.alcada-claude.alcada-lateral-aberta nav.bg-surface-primary-alt.flex-1 > div:not(#alcada-lateral) {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}
html.alcada-claude.alcada-lateral-aberta body:has(#alcada-admin[style*="block"]) nav.bg-surface-primary-alt.flex-1 {
  padding-bottom: 6.25rem !important;
}
html.alcada-claude:not(.alcada-lateral-aberta) #alcada-lateral {
  display: none;
}

#alcada-lateral {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem 0.5rem;
}
#alcada-lateral .alcada-lat-paineis {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
#alcada-lateral .alcada-lat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  height: 2.1rem;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: rgb(var(--text-primary, 33 33 33));
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
#alcada-lateral .alcada-lat-item svg {
  flex: 0 0 auto;
  color: rgb(var(--text-secondary, 66 66 66));
}
#alcada-lateral .alcada-lat-item:hover,
#alcada-lateral .alcada-lat-item:focus-visible {
  background: rgb(var(--surface-hover, 227 227 227));
  outline: none;
}
#alcada-lateral .alcada-lat-item.ativo {
  background: rgb(var(--surface-active-alt, 227 227 227));
  font-weight: 600;
}
#alcada-lateral .alcada-lat-rotulo {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#alcada-lateral .alcada-lat-dica {
  font-family: inherit;
  font-size: 11px;
  color: rgb(var(--text-tertiary, 89 89 89));
  opacity: 0;
  transition: opacity 0.15s;
}
#alcada-lateral .alcada-lat-item:hover .alcada-lat-dica {
  opacity: 1;
}
/* Prompts e Marcadores seguem fora; Memórias só com a memória ligada (mesma regra do cérebro). */
#alcada-lateral [data-painel="prompts"],
#alcada-lateral [data-painel="bookmarks"],
html:not(.alcada-memoria-on) #alcada-lateral [data-painel="memories"] {
  display: none;
}

/* Lista: sem a seção de projetos (vira o item "Projetos"), sem os títulos de data e sem o ícone do modelo.
   "Chats" vira "Recentes". O título de data some antes de a linha medir (altura 0, sem buraco). */
html.alcada-claude [aria-label="Histórico de Chat"] > div:has(button[aria-label="Novo projeto"]),
html.alcada-claude [aria-label="Histórico de Chat"] > div:has(button[aria-label="New project"]) {
  display: none !important;
}
html.alcada-claude [data-testid="convo-list-row"]:has(> h2) {
  display: none !important;
}
html.alcada-claude [data-testid="convo-item"] {
  height: 2.1rem !important;
}
html.alcada-claude [data-testid="convo-item"] > div:first-child > div:first-child:has(img),
html.alcada-claude [data-testid="convo-item"] > div:first-child > div:first-child:has(svg):not([aria-label]) {
  display: none !important;
}
html.alcada-claude [aria-label="Histórico de Chat"] div.px-3 > div.h-8 > button span.truncate {
  font-size: 0 !important;
}
html.alcada-claude [aria-label="Histórico de Chat"] div.px-3 > div.h-8 > button span.truncate::before {
  content: "Recentes";
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--text-secondary, 66 66 66));
}

/* Seletor de modelo dentro da caixa, à esquerda do microfone/enviar. Só o nome (nada de effort). */
html.alcada-claude .alcada-modelo-caixa {
  position: fixed !important;
  z-index: 30;
  top: var(--alcada-modelo-top, 0);
  right: var(--alcada-modelo-dir, 0);
  left: auto !important;
  width: auto !important;
  max-width: var(--alcada-modelo-max, 220px) !important;
  transform: translateY(-50%);
  align-items: flex-end !important;
}
html.alcada-claude .alcada-modelo-caixa [data-testid="model-selector-button"] {
  height: 2rem;
  width: auto !important;
  max-width: 100%;
  padding: 0 0.55rem;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  color: rgb(var(--text-secondary, 66 66 66));
}
html.alcada-claude .alcada-modelo-caixa [data-testid="model-selector-button"]:hover {
  background: rgb(var(--surface-hover, 227 227 227)) !important;
  color: rgb(var(--text-primary, 33 33 33));
}
html.alcada-claude .alcada-modelo-caixa [data-testid="model-selector-button"] img,
html.alcada-claude .alcada-modelo-caixa [data-testid="model-selector-button"] > svg:first-child,
html.alcada-claude .alcada-modelo-caixa [data-testid="model-selector-button"] > div:first-child:has(img, svg) {
  display: none !important;
}
html.alcada-claude .alcada-modelo-caixa [data-testid="model-selector-button"] span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.alcada-claude .alcada-camada-modelo {
  z-index: 45 !important;
}
/* Effort, raciocínio e temperatura são fixos da Alçada: nenhum painel ou chip para a pessoa mudar. */
html.alcada-claude #parameters,
html.alcada-claude [data-testid*="effort" i],
html.alcada-claude [data-testid*="reasoning" i],
html.alcada-claude [data-testid*="thinking" i],
html.alcada-claude [data-testid*="temperature" i] {
  display: none !important;
}

/* Inicial: projeto e arquivos recentes embaixo da caixa. */
#alcada-inicio {
  width: 100%;
  max-width: var(--alcada-inicio-larg, 48rem);
  margin: 0 auto;
  padding: 0 0.75rem;
  box-sizing: border-box;
}
#alcada-inicio .alcada-inicio-linha {
  display: flex;
  gap: 0.5rem;
}
#alcada-inicio .alcada-chip-projeto {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2rem;
  padding: 0 0.65rem;
  border: 1px solid rgb(var(--border-medium, 205 205 205));
  border-radius: 999px;
  background: rgb(var(--surface-primary, 255 255 255));
  color: rgb(var(--text-secondary, 66 66 66));
  font-size: 13px;
  cursor: pointer;
}
#alcada-inicio .alcada-chip-projeto:hover {
  background: rgb(var(--surface-hover, 227 227 227));
  color: rgb(var(--text-primary, 33 33 33));
}
#alcada-inicio .alcada-chip-projeto svg {
  width: 15px;
  height: 15px;
}
#alcada-inicio .alcada-inicio-titulo {
  margin: 1.25rem 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--text-secondary, 66 66 66));
}
#alcada-inicio .alcada-inicio-cartoes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.6rem;
}
#alcada-inicio .alcada-cartao-arq {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgb(var(--border-light, 227 227 227));
  border-radius: 0.8rem;
  background: rgb(var(--surface-primary, 255 255 255));
  color: rgb(var(--text-primary, 33 33 33));
  text-align: left;
  cursor: pointer;
}
#alcada-inicio .alcada-cartao-arq:hover {
  border-color: rgb(var(--border-medium, 205 205 205));
  background: rgb(var(--surface-primary-alt, 247 247 248));
}
#alcada-inicio .alcada-cartao-ext {
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
  background: rgb(var(--surface-tertiary, 236 236 236));
  color: rgb(var(--text-secondary, 66 66 66));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
#alcada-inicio .alcada-cartao-nome {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
#alcada-inicio .alcada-cartao-sub {
  font-size: 11px;
  color: rgb(var(--text-tertiary, 89 89 89));
}
#alcada-menu-projeto {
  position: fixed;
  z-index: 60;
  min-width: 14rem;
  max-width: min(22rem, calc(100vw - 2rem));
  max-height: 50vh;
  overflow-y: auto;
  padding: 0.3rem;
  border: 1px solid rgb(var(--border-light, 227 227 227));
  border-radius: 0.75rem;
  background: rgb(var(--surface-dialog, 255 255 255));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
#alcada-menu-projeto .alcada-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: rgb(var(--text-primary, 33 33 33));
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
#alcada-menu-projeto .alcada-menu-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#alcada-menu-projeto .alcada-menu-item:hover {
  background: rgb(var(--surface-hover, 227 227 227));
}
#alcada-menu-projeto .alcada-menu-todos {
  margin-top: 0.2rem;
  border-top: 1px solid rgb(var(--border-light, 227 227 227));
  border-radius: 0 0 0.5rem 0.5rem;
  color: rgb(var(--text-secondary, 66 66 66));
}

/* Procurar (Ctrl+K). */
#alcada-busca {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1rem 1rem;
  background: rgba(0, 0, 0, 0.32);
}
#alcada-busca.aberta {
  display: flex;
}
#alcada-busca .alcada-busca-caixa {
  display: flex;
  flex-direction: column;
  width: min(40rem, 100%);
  max-height: 72vh;
  border: 1px solid rgb(var(--border-light, 227 227 227));
  border-radius: 1rem;
  background: rgb(var(--surface-dialog, 255 255 255));
  color: rgb(var(--text-primary, 33 33 33));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
#alcada-busca .alcada-busca-topo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgb(var(--border-light, 227 227 227));
  color: rgb(var(--text-secondary, 66 66 66));
}
#alcada-busca .alcada-busca-campo {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: rgb(var(--text-primary, 33 33 33));
  font-size: 16px;
}
#alcada-busca .alcada-busca-abas {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem 0.25rem;
  overflow-x: auto;
}
#alcada-busca .alcada-busca-aba {
  padding: 0.3rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgb(var(--text-secondary, 66 66 66));
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
#alcada-busca .alcada-busca-aba:hover {
  background: rgb(var(--surface-hover, 227 227 227));
}
#alcada-busca .alcada-busca-aba.ativa {
  border-color: rgb(var(--border-medium, 205 205 205));
  background: rgb(var(--surface-secondary, 247 247 248));
  color: rgb(var(--text-primary, 33 33 33));
  font-weight: 600;
}
#alcada-busca .alcada-busca-lista {
  flex: 1 1 auto;
  min-height: 6rem;
  overflow-y: auto;
  padding: 0.25rem 0.5rem 0.5rem;
}
#alcada-busca .alcada-busca-lista[aria-busy="true"] {
  opacity: 0.6;
}
#alcada-busca .alcada-busca-grupo {
  padding: 0.6rem 0.5rem 0.25rem;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--text-tertiary, 89 89 89));
}
#alcada-busca .alcada-busca-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
#alcada-busca .alcada-busca-item > svg {
  flex: 0 0 auto;
  color: rgb(var(--text-secondary, 66 66 66));
}
#alcada-busca .alcada-busca-item.sel {
  background: rgb(var(--surface-hover, 227 227 227));
}
#alcada-busca .alcada-busca-corpo {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
#alcada-busca .alcada-busca-titulo,
#alcada-busca .alcada-busca-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#alcada-busca .alcada-busca-titulo {
  font-size: 14px;
}
#alcada-busca .alcada-busca-sub {
  font-size: 12px;
  color: rgb(var(--text-secondary, 66 66 66));
}
#alcada-busca mark {
  padding: 0 1px;
  border-radius: 3px;
  background: rgba(250, 204, 21, 0.35);
  color: inherit;
}
#alcada-busca .alcada-busca-quando {
  flex: 0 0 auto;
  font-size: 12px;
  color: rgb(var(--text-tertiary, 89 89 89));
}
#alcada-busca .alcada-busca-vazio {
  padding: 1.5rem 0.5rem;
  text-align: center;
  font-size: 13px;
  color: rgb(var(--text-secondary, 66 66 66));
}
#alcada-busca .alcada-busca-rodape {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.55rem 1rem;
  border-top: 1px solid rgb(var(--border-light, 227 227 227));
  font-size: 12px;
  color: rgb(var(--text-tertiary, 89 89 89));
}
#alcada-busca kbd {
  padding: 0 0.3rem;
  border: 1px solid rgb(var(--border-medium, 205 205 205));
  border-radius: 0.3rem;
  font-family: inherit;
  font-size: 11px;
}

/* Página do projeto: "Contexto" (instruções e arquivos) numa coluna à direita, conversas embaixo do título. */
@media (min-width: 1100px) {
  html.alcada-claude main div.max-w-3xl:has(> section.alcada-proj) {
    position: relative;
    max-width: 72rem;
    padding-right: calc(21rem + 2.5rem);
  }
  html.alcada-claude main div.max-w-3xl:has(> section.alcada-proj) > section.alcada-proj {
    position: absolute;
    top: 3.25rem;
    right: 1rem;
    width: 21rem;
    margin: 0;
  }
}
section.alcada-proj .alcada-proj-contexto {
  margin: 0 0 0.5rem;
  font-size: 15px;
  font-weight: 600;
  color: rgb(var(--text-primary, 33 33 33));
}
section.alcada-proj .alcada-proj-barra {
  height: 6px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgb(var(--surface-tertiary, 236 236 236));
  overflow: hidden;
}
section.alcada-proj .alcada-proj-barra > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1e5aa8;
}

@media (max-width: 767px) {
  #alcada-busca {
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  }
  #alcada-busca .alcada-busca-caixa {
    max-height: calc(100vh - 1.5rem);
  }
  #alcada-busca .alcada-busca-rodape {
    display: none;
  }
  /* Celular: a caixa já fica embaixo e os cartões empurravam a saudação para fora da tela. */
  #alcada-inicio .alcada-inicio-titulo,
  #alcada-inicio .alcada-inicio-cartoes {
    display: none;
  }
}
/* ===== Ajuda da lista de Projetos (fundador, 2026-11-02) ===== */
.alcada-ajuda-proj {
  border: 1px solid rgb(var(--border-light, 227 227 227));
  border-radius: 0.9rem;
  background: rgb(var(--surface-primary, 255 255 255));
  padding: 1.1rem 1.25rem 1rem;
  color: rgb(var(--text-primary, 33 33 33));
}
.alcada-ajuda-proj-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.alcada-ajuda-proj-topo h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.alcada-ajuda-proj-x {
  border: 0;
  background: transparent;
  color: rgb(var(--text-secondary, 102 102 102));
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.15rem 0.4rem;
  border-radius: 0.4rem;
  cursor: pointer;
}
.alcada-ajuda-proj-x:hover {
  background: rgb(var(--surface-hover, 236 236 236));
}
.alcada-ajuda-proj-lead {
  margin: 0.35rem 0 0.9rem;
  font-size: 0.9rem;
  color: rgb(var(--text-secondary, 102 102 102));
}
.alcada-ajuda-proj-pontos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.alcada-ajuda-proj-pontos li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 0.7rem;
  background: rgb(var(--surface-secondary, 247 247 248));
}
.alcada-ajuda-proj-ic {
  flex: none;
  display: inline-flex;
  margin-top: 0.1rem;
  color: rgb(var(--text-secondary, 102 102 102));
}
.alcada-ajuda-proj-pontos strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.alcada-ajuda-proj-pontos span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgb(var(--text-secondary, 102 102 102));
}
.alcada-ajuda-proj-ex {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgb(var(--text-secondary, 102 102 102));
}
.alcada-ajuda-proj-pe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.alcada-ajuda-proj-nota {
  font-size: 0.75rem;
  color: rgb(var(--text-tertiary, 140 140 140));
}
.alcada-ajuda-proj-acoes {
  display: flex;
  gap: 0.5rem;
}
.alcada-ajuda-proj-criar,
.alcada-ajuda-proj-ok {
  border-radius: 0.55rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgb(var(--border-medium, 205 205 205));
  background: rgb(var(--surface-primary, 255 255 255));
  color: rgb(var(--text-primary, 33 33 33));
}
.alcada-ajuda-proj-ok:hover,
.alcada-ajuda-proj-criar:hover {
  background: rgb(var(--surface-hover, 236 236 236));
}
.alcada-ajuda-proj-link {
  border: 0;
  background: transparent;
  padding: 0.2rem 0.35rem;
  margin-left: 0.25rem;
  font-size: 0.8125rem;
  color: rgb(var(--text-secondary, 102 102 102));
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  border-radius: 0.4rem;
}
.alcada-ajuda-proj-link:hover {
  color: rgb(var(--text-primary, 33 33 33));
}
@media (max-width: 720px) {
  .alcada-ajuda-proj-pontos {
    grid-template-columns: minmax(0, 1fr);
  }
}
