@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   PORTFÓLIO CHAT
   Preto Puro #000000
   ========================================================================== */

:root {
  --bg-color: #000000;
  --bubble-incoming: #26252a;
  --bubble-text: #ffffff;
  --accent-blue: #3274ff;
  --dot-color: #8e8e93;
  --font-main: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --avatar-size: 34px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: inherit;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-color);
  color: var(--bubble-text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   INTRODUÇÃO
   ========================================================================== */
.intro-container {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-container.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-container.fade-out .intro-pfp-box {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.intro-container.fade-out .intro-badge,
.intro-container.fade-out .intro-pulse-ring {
  animation: none !important;
  opacity: 0 !important;
}

.loader-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: elasticZoomIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.7s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.intro-content.has-hint .loader-wrap {
  transform: translateY(-16px);
}


@keyframes elasticZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  60% {
    opacity: 1;
    transform: scale(1.15);
  }
  80% {
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.loader-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.45s ease;
  transform-origin: center center;
}

.loader-svg.fade-out {
  transform: rotate(-90deg) scale(0);
  opacity: 0;
  pointer-events: none;
}

.loader-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3.5;
}

.loader-circle-progress {
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 276.46;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.loader-circle-progress.active {
  stroke-dashoffset: 0;
}

.intro-pfp-box {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border: none;
  outline: none;
}

.intro-pfp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  outline: none;
}

.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.intro-content.ready {
  cursor: pointer;
}

/* Efeito de pulso na introdução */
.intro-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin-top: -38px;
  margin-left: -38px;
  border-radius: 50%;
  border: 1.5px solid rgba(50, 116, 255, 0.45);
  box-shadow: 0 0 16px rgba(50, 116, 255, 0.22);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: scale(0.96);
}

.intro-content.ready .intro-pulse-ring {
  animation: introPulseWave 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.intro-content.ready .intro-pulse-ring.ring-2 {
  animation-delay: 1.2s;
}

@keyframes introPulseWave {
  0% {
    transform: scale(0.96);
    opacity: 0.8;
  }
  50% {
    opacity: 0.35;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.intro-content.ready .intro-pfp-box {
  animation: introPfpBreathe 2.4s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.intro-content.ready:hover .intro-pfp-box {
  animation-play-state: paused;
  transform: scale(1.06);
}

.intro-content.ready:active .intro-pfp-box {
  animation-play-state: paused;
  transform: scale(0.95);
}

@keyframes introPfpBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

/* Indicador de notificação no PFP da intro */
.intro-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: none;
  animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35) forwards,
             badgePulse 2s 0.4s infinite ease-in-out;
  pointer-events: none;
}

.intro-badge.hidden {
  display: none !important;
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.intro-hint {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  font-size: 13.5px;
  font-weight: 500;
  color: #8e8e93;
  letter-spacing: 0.01em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, transform 0.7s cubic-bezier(0.34, 1.35, 0.64, 1), visibility 0.65s;
  pointer-events: none;
  white-space: nowrap;
}

.intro-hint.visible {
  opacity: 0.85;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  animation: hintBreathe 2.5s infinite ease-in-out 0.7s;
}

.intro-hint.hidden {
  display: none;
}

@keyframes hintBreathe {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}

/* ==========================================================================
   BARRA SUPERIOR E GRADIENTE
   ========================================================================== */
.top-gradient-overlay {
  position: fixed;
  top: -160px;
  left: 0;
  right: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
  z-index: 85;
  background: linear-gradient(
    to bottom,
    #000000 0%,
    rgba(0, 0, 0, 0.95) 25%,
    rgba(0, 0, 0, 0.8) 45%,
    rgba(0, 0, 0, 0.45) 70%,
    rgba(0, 0, 0, 0.15) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.top-gradient-overlay.visible {
  top: 0;
  opacity: 1;
}

.top-bar {
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: max(10px, env(safe-area-inset-top));
  padding-bottom: 8px;
  opacity: 0;
  transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.top-bar.visible {
  top: 0;
  opacity: 1;
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  user-select: none;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.top-bar-content:hover {
  transform: scale(1.02);
}

.top-bar-content:active {
  transform: scale(0.97);
  opacity: 0.8;
}

.top-bar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #18181b;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  border: none;
  outline: none;
  flex-shrink: 0;
}

.top-bar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
}

.top-bar-name-card {
  margin-top: 5px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 3.5px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.top-bar-content:hover .top-bar-name-card {
  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.22);
}

.top-bar-name {
  font-size: 11.5px;
  font-weight: 500;
  color: #f4f4f5;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ==========================================================================
   CONVERSA
   ========================================================================== */
.messages-container {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(88px, calc(env(safe-area-inset-top) + 64px)) 20px 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: opacity 0.4s ease;
}

.messages-container.hidden {
  display: none;
  opacity: 0;
}

.messages-thread {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Avatar dinâmico */
.dynamic-avatar {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 5;
  border: none;
  outline: none;
  opacity: 0;
  transition: top 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.25s ease;
  will-change: top;
}

.dynamic-avatar.visible {
  opacity: 1;
}

.dynamic-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
}

.messages-column {
  margin-left: calc(var(--avatar-size) + 10px);
  width: calc(100% - var(--avatar-size) - 10px);
  max-width: calc(100% - var(--avatar-size) - 10px);
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  min-width: 0;
  box-sizing: border-box;
}

/* Balão de mensagem */
.msg-bubble {
  position: relative;
  background-color: var(--bubble-incoming);
  color: var(--bubble-text);
  font-size: 15.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding: 9px 15px 10px 15px;
  width: fit-content;
  max-width: min(90%, 460px);
  min-height: calc(1.4em + 19px);
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
  animation: bubblePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: left bottom;
}

.bubble-text {
  position: relative;
  z-index: 2;
  display: block;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Links em mensagens */
.chat-link {
  color: #3b82f6;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: normal;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
  transition: color 0.2s ease;
}

.chat-link:hover {
  color: #60a5fa;
}

/* Cartão de anexo */
.msg-bubble.has-attachment {
  max-width: min(90%, 460px);
}

.chat-attachment-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  padding: 10px 12px;
  margin-top: 10px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.chat-attachment-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(50, 116, 255, 0.5);
  transform: translateY(-1px);
}

.attachment-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-file-icon {
  width: 28px;
  height: 34px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

.attachment-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.attachment-filename {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-filesize {
  font-size: 11px;
  color: #8e8e93;
}

.attachment-download-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.chat-attachment-card:hover .attachment-download-btn {
  background: #3274ff;
  color: #ffffff;
  transform: scale(1.06);
}

.attachment-download-btn svg {
  width: 16px;
  height: 16px;
}

/* Cards de projetos */
.standalone-projects-wrap {
  width: 100%;
  margin: 10px 0 14px 0;
  animation: bubblePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.project-card {
  background: #141417;
  border: none;
  outline: none;
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  background: #1a1a20;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.project-card:hover .project-card-btn {
  color: #60a5fa;
  text-decoration: underline;
}

.project-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.project-card-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #a1a1aa;
  margin-bottom: 12px;
  flex: 1;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #e4e4e7;
  padding: 3px 8px;
  border-radius: 6px;
}

.project-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s ease;
}

.project-card-btn:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Carrossel horizontal em telas menores */
@media (max-width: 640px) {
  .projects-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 12px;
  }

  .projects-grid::-webkit-scrollbar {
    height: 4px;
  }

  .projects-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
  }

  .projects-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
  }

  .project-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }
}

@keyframes bubblePop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Cantos dos balões agrupados */
.msg-bubble.first {
  border-radius: 18px 18px 18px 4px;
}

.msg-bubble.middle {
  border-radius: 4px 18px 18px 4px;
}

.msg-bubble.last {
  border-radius: 4px 18px 18px 18px;
}

.msg-bubble.last.has-tail {
  border-radius: 4px 18px 18px 4px;
}

.msg-bubble.single {
  border-radius: 18px;
}

.msg-bubble.single.has-tail {
  border-radius: 18px 18px 18px 4px;
}

/* Rabo do balão */
.bubble-tail {
  position: absolute;
  bottom: 0;
  left: -9.5px;
  width: 12px;
  height: 20px;
  color: var(--bubble-incoming);
  display: none;
  pointer-events: none;
  z-index: 1;
}

.msg-bubble.has-tail .bubble-tail,
.typing-bubble.has-tail .bubble-tail {
  display: block;
}

/* Indicador de digitação */
.typing-bubble {
  position: relative;
  background-color: var(--bubble-incoming);
  font-size: 15.5px;
  line-height: 1.4;
  padding: 9px 15px 10px 15px;
  min-height: calc(1.4em + 19px);
  height: calc(1.4em + 19px);
  box-sizing: border-box;
  border-radius: 18px 18px 18px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  width: fit-content;
  animation: bubblePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.typing-bubble.hidden {
  display: none !important;
}

.typing-bubble .dot {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--dot-color);
  animation: dotPulse 1.3s infinite ease-in-out;
}

.typing-bubble .dot:nth-child(1) { animation-delay: 0s; }
.typing-bubble .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  40% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Resposta do usuário */
.outgoing-prompt-row {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-right: 2px;
  box-sizing: border-box;
  animation: bubblePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: right bottom;
  transition: gap 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.outgoing-prompt-row.sending {
  gap: 0;
}

.msg-bubble.outgoing-blue {
  background-color: var(--accent-blue);
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
  max-width: calc(100% - 48px);
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 16px rgba(50, 116, 255, 0.25);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), filter 0.2s ease;
  word-break: break-word;
}

.msg-bubble.outgoing-blue:hover {
  filter: brightness(1.08);
}

.bubble-tail-right {
  position: absolute;
  bottom: 0;
  right: -9.5px;
  width: 12px;
  height: 20px;
  color: var(--accent-blue);
  pointer-events: none;
  z-index: 1;
}

/* Botão de envio */
.send-plane-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(50, 116, 255, 0.45);
  animation: pulsePlane 2s infinite ease-in-out;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), 
              opacity 0.28s ease, 
              transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1),
              margin 0.4s cubic-bezier(0.2, 0.9, 0.3, 1),
              padding 0.4s ease;
}

.send-plane-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  transform: translate(-1px, 1px);
}

.send-plane-btn:hover {
  transform: scale(1.08);
  background: #4d89ff;
}

.send-plane-btn:active {
  transform: scale(0.95);
}

.send-plane-btn.sent {
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  transform: scale(0.4) translateX(15px);
  pointer-events: none;
  box-shadow: none;
}

@keyframes pulsePlane {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(50, 116, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(50, 116, 255, 0);
  }
}

/* Ajustes responsivos para telas móveis */
@media (max-width: 640px) {
  :root {
    --avatar-size: 30px;
  }

  .messages-container {
    max-width: 100%;
    padding: max(88px, calc(env(safe-area-inset-top) + 68px)) 12px 140px;
  }

  .messages-column {
    margin-left: calc(var(--avatar-size) + 8px);
    width: calc(100% - var(--avatar-size) - 8px);
    max-width: calc(100% - var(--avatar-size) - 8px);
  }

  .msg-bubble {
    font-size: 14.5px;
    line-height: 1.42;
    padding: 8.5px 13px;
    max-width: 94%;
  }

  .projects-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 10px;
  }

  .project-card {
    flex: 0 0 220px;
    min-width: 200px;
    scroll-snap-align: start;
    padding: 14px 12px;
  }

  .project-card-name {
    font-size: 15px;
  }

  .project-card-desc {
    font-size: 12px;
    line-height: 1.4;
  }

  .project-tag {
    font-size: 9.5px;
    padding: 2.5px 7px;
  }
}

@media (max-width: 380px) {
  :root {
    --avatar-size: 26px;
  }

  .messages-container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .messages-column {
    margin-left: calc(var(--avatar-size) + 6px);
    width: calc(100% - var(--avatar-size) - 6px);
    max-width: calc(100% - var(--avatar-size) - 6px);
  }

  .msg-bubble {
    font-size: 14px;
    padding: 8px 12px;
    min-height: calc(1.4em + 16px);
    max-width: 96%;
  }

  .typing-bubble {
    font-size: 14px;
    padding: 8px 12px;
    min-height: calc(1.4em + 16px);
    height: calc(1.4em + 16px);
  }

  .project-card {
    flex: 0 0 200px;
    min-width: 190px;
  }

  .send-plane-btn {
    width: 34px;
    height: 34px;
  }

  .send-plane-btn svg {
    width: 16px;
    height: 16px;
  }
}
