/* Kody r2 · restore diploma, kill dead chat box, clear doodles, hero glance */

/* ---- Margin doodles: purple/white, recognizable, away from content ---- */
.margin-doodles { z-index: 1; }
.doodle {
  color: rgba(180, 160, 230, 0.42);
  opacity: 1;
}
.doodle-star.s1 { top: 14%; left: 2.2%; }
.doodle-star.s2 { top: 68%; left: 1.6%; }
.doodle-star.s3 { top: 22%; right: 2.4%; }
.doodle-squiggle.s4 {
  top: auto;
  bottom: 12%;
  right: 3%;
  left: auto;
  color: rgba(210, 200, 240, 0.38);
}
.doodle-plane {
  top: 78%;
  left: 3%;
  color: rgba(170, 150, 220, 0.4);
  animation: plane-drift 36s linear infinite;
}
.doodle-sat {
  top: 10%;
  left: -4%;
  color: rgba(200, 190, 235, 0.4);
  background: none !important;
  width: 28px !important;
  height: 16px !important;
  font-size: unset !important;
  box-shadow: none !important;
}
.doodle-sat::before,
.doodle-sat::after { display: none !important; }
@keyframes plane-drift {
  0% { transform: translate(0, 0) rotate(-12deg); }
  100% { transform: translate(8vw, -6vh) rotate(-8deg); }
}

/* Keep doodles out of the content column / card */
@media (min-width: 901px) {
  .doodle-star.s1 { left: 1.5%; }
  .doodle-star.s3 { right: 1.8%; }
  .doodle-plane { left: 1.8%; }
  .doodle-squiggle.s4 { right: 1.8%; }
}
@media (max-width: 1100px) {
  .doodle-plane,
  .doodle-squiggle.s4 { display: none; }
}
@media (min-width: 501px) and (max-height: 560px) {
  .margin-doodles .doodle-star.s2,
  .margin-doodles .doodle-plane { display: none; }
  .doodle-sat { opacity: 0.3; top: 8%; right: 2%; left: auto; }
}

/* ---- Progress traveler: clear little rocket ---- */
.progress-traveler,
.progress-traveler.is-rocket {
  font-size: 0 !important;
  width: 22px !important;
  height: 14px !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  filter: drop-shadow(0 0 4px rgba(180, 150, 255, 0.45));
}
.progress-traveler::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 14px;
  height: 8px;
  background: linear-gradient(90deg, #9b7cf0, #c4b0ff);
  border-radius: 40% 70% 70% 40%;
  clip-path: polygon(0 30%, 70% 0, 100% 50%, 70% 100%, 0 70%);
}
.progress-traveler::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 4px;
  background: #e8c478;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(232, 196, 120, 0.7);
  inset: auto !important;
}

/* ---- Hero glance ---- */
.chalk-underline {
  height: 0.32em !important;
  bottom: -0.02em !important;
  background:
    radial-gradient(ellipse at 12% 55%, rgba(232,196,120,0.95) 0 48%, transparent 72%),
    radial-gradient(ellipse at 48% 45%, rgba(232,196,120,0.85) 0 52%, transparent 75%),
    radial-gradient(ellipse at 82% 60%, rgba(232,196,120,0.9) 0 46%, transparent 72%) !important;
  opacity: 0.95;
}
.frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(200, 180, 255, 0.55);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.frame-corner.tl {
  top: 6%;
  left: 4%;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0 0;
}
.frame-corner.br {
  right: 5%;
  bottom: 7%;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px 0;
}
.chalk-hi {
  position: absolute;
  right: -0.35rem;
  bottom: 12%;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: rgba(210, 195, 255, 0.7);
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 0 12px rgba(140, 120, 220, 0.25);
}
.chalk-hi::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -8%;
  bottom: 0.05em;
  height: 0.14em;
  background: rgba(232, 196, 120, 0.55);
  border-radius: 40%;
  transform: rotate(-2deg);
}
.portrait-spark { display: none; }

/* Beat static whimsy accents (clearer) */
.panel[data-step="1"]::before,
.panel[data-step="2"]::before,
.panel[data-step="3"]::before,
.panel[data-step="4"]::before,
.panel[data-step="5"]::before {
  color: rgba(190, 170, 240, 0.7) !important;
  font-size: 1.15rem !important;
  top: 0.15rem !important;
  right: 0.35rem !important;
}
.panel:not([data-step="0"]):not([data-step="6"]) > h2::after {
  width: min(10ch, 48%) !important;
  height: 4px !important;
  background: rgba(190, 170, 240, 0.45) !important;
}

/* Soft choice / fuse / workflow chalk marks */
.panel[data-step="1"] .choices::before {
  content: "pick one ✦";
  position: absolute;
  top: -1.1rem;
  right: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(190, 170, 240, 0.55);
  font-style: italic;
  pointer-events: none;
}
.panel[data-step="1"] .choices { position: relative; }
.panel[data-step="2"] .fuse::after {
  content: "park both ✧";
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(190, 170, 240, 0.5);
  font-style: italic;
  text-align: right;
}
.panel[data-step="3"] .workflow::before {
  content: "cut the junk";
  position: absolute;
  top: -0.95rem;
  right: 0.2rem;
  font-size: 0.72rem;
  color: rgba(190, 170, 240, 0.5);
  font-style: italic;
  pointer-events: none;
}
.panel[data-step="3"] .workflow { position: relative; }

/* ---- Diploma restored: big heading + bio, card doesn't eat them ---- */
.panel[data-step="6"] {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: flex-start !important;
}
.diploma-restored {
  flex: 0 0 auto;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 0.5rem;
}
.diploma-restored .eyebrow { margin-bottom: 0.25rem !important; }
.diploma-restored h2 {
  font-size: clamp(1.65rem, 3.2vh + 0.6rem, 2.45rem) !important;
  margin: 0 0 0.45rem !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}
.diploma-restored .diploma-bio {
  display: block !important;
  margin: 0 auto !important;
  max-width: 40ch;
  font-size: clamp(0.92rem, 1.1vh + 0.35rem, 1.05rem) !important;
  line-height: 1.4 !important;
  color: rgba(210, 218, 235, 0.88);
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}
.panel[data-step="6"] .contact-box {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100% - 7.5rem); /* leave room for heading+bio */
}

/* ---- Contact left: balanced note, no LinkedIn–Back canyon ---- */
.contact-host {
  justify-content: flex-start !important;
  gap: 0.55rem !important;
}
.contact-host .btn-li {
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
}
.note-preview {
  display: block !important;
  flex: 0 0 auto !important;
  max-width: 100% !important;
  width: 100%;
  padding: 0.75rem 0.85rem 0.85rem !important;
  transform: rotate(-0.4deg);
  margin-bottom: 0.15rem;
}
.note-label {
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  color: rgba(210, 195, 255, 0.75) !important;
  margin-bottom: 0.45rem !important;
}
.note-preview p {
  font-size: 1.02rem !important;
  line-height: 1.4 !important;
  color: rgba(236, 240, 248, 0.92) !important;
  font-style: normal !important;
}
.note-empty {
  color: rgba(180, 190, 210, 0.55) !important;
  font-style: italic;
}
.contact-actions {
  margin-top: 0.35rem !important;
}

/* ---- Chat: no dead box. Messages from the top ---- */
.form-chat-v2 {
  justify-content: flex-start !important;
  gap: 0.5rem !important;
}
.chat-thread {
  justify-content: flex-start !important;
  flex: 0 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background: transparent !important;
  padding: 0.1rem 0.1rem 0.2rem !important;
  overflow: visible !important;
}
.chat-bubble {
  font-size: clamp(1.02rem, 1.4vh + 0.4rem, 1.14rem) !important;
  padding: 0.7rem 0.95rem !important;
}
.chat-composer {
  margin-top: 0.15rem;
}

/* Short screens: keep bio one compressed block, smaller card */
@media (min-width: 501px) and (max-height: 700px) {
  .diploma-restored h2 {
    font-size: clamp(1.35rem, 2.6vh + 0.4rem, 1.75rem) !important;
  }
  .diploma-restored .diploma-bio {
    font-size: 0.9rem !important;
    max-width: 48ch;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }
  .panel[data-step="6"] .contact-box {
    max-height: calc(100% - 5.5rem);
  }
  .contact-host-shot {
    width: 88px !important;
    height: 88px !important;
  }
}
@media (min-width: 501px) and (max-height: 560px) {
  .diploma-restored .eyebrow { display: none; }
  .diploma-restored h2 {
    font-size: 1.2rem !important;
    margin-bottom: 0.2rem !important;
  }
  .diploma-restored .diploma-bio {
    -webkit-line-clamp: 1;
    font-size: 0.85rem !important;
    margin-bottom: 0.15rem !important;
  }
  .panel[data-step="6"] .contact-box {
    max-height: calc(100% - 3.2rem);
  }
  .note-preview { display: none !important; }
  .chalk-hi { font-size: 1.05rem; }
}

/* 1024-ish: doodles must not cross speech / card */
@media (min-width: 900px) and (max-width: 1100px) and (max-height: 560px) {
  .margin-doodles .doodle-star.s1,
  .margin-doodles .doodle-star.s2,
  .margin-doodles .doodle-plane,
  .margin-doodles .doodle-squiggle { display: none !important; }
  .doodle-sat { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .doodle-plane { animation: none !important; }
}
.panel[data-step="6"] .diploma-restored .diploma-bio,
.panel[data-step="6"] .diploma .diploma-bio {
  display: block !important;
}
@media (min-width: 501px) and (max-height: 460px) {
  .panel[data-step="6"] .diploma-restored .diploma-bio,
  .panel[data-step="6"] .diploma .diploma-bio {
    display: none !important;
  }
}
@media (min-width: 501px) and (min-height: 461px) and (max-height: 560px) {
  .panel[data-step="6"] .diploma-restored .diploma-bio {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }
}

/* Left column: note fills canyon; actions are grid sibling again */
.contact-grid-v2 {
  align-items: stretch !important;
  grid-template-columns: minmax(200px, 0.95fr) minmax(260px, 1.25fr) !important;
  grid-template-rows: 1fr auto !important;
  gap: 0.55rem 1.1rem !important;
}
.contact-grid-v2 .contact-host {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  height: auto !important;
  max-height: 100% !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  gap: 0.45rem !important;
}
.contact-grid-v2 .form-chat-v2 {
  grid-column: 2 !important;
  grid-row: 1 / -1 !important;
  align-self: stretch !important;
  height: auto !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  justify-content: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
}
.contact-grid-v2 .contact-actions {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: start !important;
  width: 100% !important;
  margin-top: 0.15rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.45rem 0.65rem !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Note fills leftover left-column space with readable type */
.note-preview {
  flex: 1 1 auto !important;
  min-height: 5.5rem !important;
  max-height: none !important;
  padding: 0.75rem 0.9rem 0.85rem !important;
  margin-top: 0.15rem !important;
}
.note-preview .note-label {
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(200, 190, 230, 0.75) !important;
  font-style: normal !important;
  margin: 0 0 0.35rem !important;
}
.note-preview p {
  font-size: 1rem !important;
  line-height: 1.35 !important;
  color: rgba(235, 232, 245, 0.92) !important;
  font-style: normal !important;
  margin: 0.2rem 0 !important;
}
.note-preview .note-empty {
  color: rgba(180, 170, 210, 0.55) !important;
  font-style: normal !important;
}
.contact-host .btn-li {
  margin-top: 0.35rem !important;
  margin-bottom: 0 !important;
  flex: 0 0 auto !important;
}

/* Chat thread: fill from the top, no dead dark box */
.chat-thread {
  justify-content: flex-start !important;
  flex: 1 1 auto !important;
  min-height: 6.5rem !important;
  max-height: none !important;
  overflow: auto !important;
}
.chat-bubble {
  font-size: 0.98rem !important;
  padding: 0.55rem 0.8rem !important;
  max-width: min(42ch, 100%);
}
.form-chat-v2 .chat-composer {
  flex: 0 0 auto !important;
  margin-top: auto;
}

/* Diploma stays big; card must contain actions */
.diploma-restored h2 {
  font-size: clamp(1.55rem, 3.2vh, 2.15rem) !important;
  line-height: 1.15 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diploma-restored .diploma-bio {
  display: block !important;
  font-size: clamp(0.95rem, 1.7vh, 1.12rem) !important;
  line-height: 1.45 !important;
  max-width: 62ch;
  margin: 0 auto 0.55rem !important;
  color: #b4b4ba !important;
}

/* Short desktop / laptop: compress so actions stay inside the card */
@media (min-width: 901px) and (max-height: 820px) {
  .diploma-restored .eyebrow { display: none !important; }
  .diploma-restored h2 { font-size: clamp(1.25rem, 2.6vh, 1.7rem) !important; margin-bottom: 0.2rem !important; }
  .diploma-restored .diploma-bio {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }
  .note-preview { min-height: 4.25rem !important; padding: 0.55rem 0.7rem !important; }
  .note-preview p { font-size: 0.92rem !important; }
  .chat-thread { min-height: 4.5rem !important; }
  .contact-host-shot { width: 64px !important; height: 64px !important; }
  .panel[data-step="6"] .ab-inner { padding: 0.55rem 0.75rem !important; }
}

@media (min-width: 901px) and (max-height: 700px) {
  .diploma-restored .diploma-bio { -webkit-line-clamp: 1; }
  .note-preview { display: none !important; }
  .chat-thread { min-height: 3.25rem !important; }
  .speech-text { font-size: 0.9rem !important; }
  .contact-host-shot { width: 52px !important; height: 52px !important; }
}

/* Mid tablets: stack host → form → actions; form sizes to content */
@media (min-width: 501px) and (max-width: 900px) {
  .contact-grid-v2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    height: auto !important;
    max-height: 100% !important;
  }
  .contact-grid-v2 .contact-host {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.4rem 0.65rem !important;
    height: auto !important;
    max-height: none !important;
  }
  .contact-host-shot { flex: 0 0 auto; }
  .speech-intro { flex: 1 1 200px; max-width: none !important; }
  .note-preview { display: none !important; }
  .contact-host .btn-li { margin: 0 !important; }
  .contact-grid-v2 .form-chat-v2 {
    order: 2 !important;
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }
  .contact-grid-v2 .contact-actions {
    order: 3 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    margin-top: 0.1rem !important;
  }
  .contact-grid-v2 .contact-host { order: 1 !important; }
  .chat-thread {
    min-height: 3.5rem !important;
    max-height: 18vh !important;
    flex: 0 1 auto !important;
  }
  .panel[data-step="6"] .form {
    overflow: visible !important;
    height: auto !important;
  }
}

@media (min-width: 501px) and (max-width: 900px) and (max-height: 700px) {
  .diploma-restored .eyebrow { display: none !important; }
  .diploma-restored h2 { font-size: 1.15rem !important; margin-bottom: 0.12rem !important; }
  .diploma-restored .diploma-bio {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.15rem !important;
  }
  .contact-host-shot { width: 48px !important; height: 48px !important; }
  .speech-intro { padding: 0.35rem 0.5rem !important; }
  .speech-text { font-size: 0.85rem !important; }
  .chat-thread { min-height: 2.5rem !important; max-height: 12vh !important; }
  .form-chat-v2 .field input,
  .form-chat-v2 .field textarea {
    min-height: 2rem !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.88rem !important;
  }
  .form-chat-v2 .btn-send { min-height: 2.1rem !important; }
  .panel[data-step="6"] .ab-inner { padding: 0.4rem 0.55rem !important; }
}

/* Beat 05 short: prevent lesson-clip from chalk aside + content */
@media (min-width: 501px) and (max-height: 520px) {
  .panel[data-step="5"] .stack::after,
  .panel[data-step="4"] .mission::after,
  .panel[data-step="3"] .workflow::before,
  .panel[data-step="2"] .fuse::after,
  .panel[data-step="1"] .choices::before {
    display: none !important;
  }
  .panel[data-step="5"] .builds-intro { display: none !important; }
  .panel[data-step="5"] .build-card p { display: none !important; }
  .panel[data-step="5"] .archive-line { display: none !important; }
}

/* Ultra-short any width: keep contact in viewport */
@media (min-width: 501px) and (max-height: 560px) {
  .note-preview { display: none !important; }
  .diploma-restored .eyebrow { display: none !important; }
}

/* Louby: big one-line contact heading on roomy viewports */
@media (min-width: 901px) and (min-height: 820px) {
  .diploma-restored h2 {
    font-size: clamp(1.85rem, 3.6vh, 2.35rem) !important;
  }
}

/* H2 must not clip (assert scrollHeight); keep one line without overflow:hidden */
.diploma-restored h2 {
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.2 !important;
}

/* Bio never below assert font floor (13.5px) */
.diploma-restored .diploma-bio,
.panel[data-step="6"] .diploma-bio,
.panel[data-step="6"] .lede.diploma-bio {
  font-size: max(0.875rem, clamp(0.875rem, 1.7vh, 1.12rem)) !important;
}

@media (min-width: 501px) and (max-width: 900px) and (max-height: 700px) {
  .diploma-restored .diploma-bio {
    font-size: 0.875rem !important;
  }
}

/* Ultra-short: keep LI and actions from overlapping */
@media (min-width: 501px) and (max-height: 460px) {
  .diploma-restored .eyebrow { display: none !important; }
  .diploma-restored .diploma-bio,
  .panel[data-step="6"] .diploma-restored .diploma-bio,
  .panel[data-step="6"] .diploma .diploma-bio { display: none !important; }
  .diploma-restored h2 { font-size: 1.05rem !important; margin-bottom: 0.1rem !important; }
  /* Keep speech visible for contact-line assert; just compress */
  .panel[data-step="6"] .speech-intro,
  .contact-host .speech-intro,
  .speech-intro {
    display: block !important;
    padding: 0.25rem 0.4rem !important;
    flex: 1 1 140px !important;
  }
  .speech-text { font-size: 0.85rem !important; line-height: 1.25 !important; }
  .note-preview { display: none !important; }
  .contact-host-shot { width: 36px !important; height: 36px !important; }
  .chat-thread {
    min-height: 1.5rem !important;
    max-height: 8vh !important;
    overflow: hidden !important;
  }
  .contact-grid-v2 {
    grid-template-rows: auto auto !important;
  }
  .contact-grid-v2 .contact-host {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .contact-grid-v2 .contact-actions {
    margin-top: 0 !important;
  }
  .contact-host .btn-li {
    min-height: 2rem !important;
    padding: 0.25rem 0.55rem !important;
    font-size: 0.85rem !important;
  }
  .contact-actions .btn-ghost {
    min-height: 2rem !important;
    padding: 0.25rem 0.55rem !important;
    font-size: 0.8rem !important;
  }
}

/* Any short fit viewport: thread must not be a scroller */
@media (min-width: 501px) and (max-height: 700px) {
  .chat-thread {
    overflow: hidden !important;
  }
}


/* Kill chat dead box: form sizes to content; thread does not flex-grow into a void */
@media (min-width: 901px) {
  .contact-grid-v2 .form-chat-v2 {
    align-self: stretch !important;
    height: 100% !important;
    justify-content: flex-start !important;
  }
  .chat-thread {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  /* Decorative soft empty-state fills remaining thread room without a blank slab */
  .chat-thread::after {
    content: "✦  soft landing  ✧";
    display: block;
    margin-top: 0.85rem;
    padding: 0.55rem 0.35rem;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(180, 165, 230, 0.35);
    border: 1px dashed rgba(160, 145, 220, 0.18);
    border-radius: 12px;
    background:
      radial-gradient(circle at 20% 40%, rgba(180,160,230,0.06), transparent 45%),
      radial-gradient(circle at 80% 60%, rgba(232,196,120,0.05), transparent 40%);
  }
  .form-chat-v2.is-chatting .chat-thread::after,
  .form-chat-v2.is-success .chat-thread::after {
    display: none;
  }
  .form-chat-v2 .chat-composer {
    margin-top: auto !important;
  }
  .chat-bubble {
    font-size: 1.05rem !important;
    padding: 0.65rem 0.9rem !important;
  }
}

/* Host spark stays inside the seal, never on the card edge */
.contact-host-shot {
  position: relative;
  overflow: visible;
}
.contact-host-shot .host-spark {
  position: absolute !important;
  right: 4px !important;
  bottom: 6px !important;
  left: auto !important;
  top: auto !important;
  font-size: 0.7rem !important;
  color: rgba(232, 196, 120, 0.75) !important;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 4px rgba(232,196,120,0.35));
}

/* Clearer little rocket traveler */
.progress-traveler,
.progress-traveler.is-rocket {
  width: 28px !important;
  height: 18px !important;
  background: none !important;
  overflow: visible !important;
}
.progress-traveler::before {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  top: 3px !important;
  width: 18px !important;
  height: 11px !important;
  background: linear-gradient(90deg, #8b6cf0, #d4c4ff) !important;
  clip-path: polygon(0% 30%, 62% 0%, 100% 50%, 62% 100%, 0% 70%, 10% 50%) !important;
  border-radius: 0 !important;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.55) !important;
}
.progress-traveler::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 5px !important;
  width: 8px !important;
  height: 7px !important;
  background: radial-gradient(circle, #ffe08a 0%, #e8a84a 70%, transparent 75%) !important;
  border-radius: 50% !important;
  box-shadow:
    -2px 0 6px rgba(255, 180, 80, 0.85),
    -5px 0 10px rgba(255, 140, 60, 0.45) !important;
  inset: auto !important;
}
.chat-thread:has(.chat-row:nth-child(2))::after {
  display: none !important;
}

/* Final: shrink chat column to content — no dead slab between bubble and composer */
@media (min-width: 901px) {
  .contact-grid-v2 .form-chat-v2 {
    align-self: start !important;
    height: auto !important;
    max-height: 100% !important;
  }
  .form-chat-v2 .chat-composer {
    margin-top: 0.55rem !important;
  }
  .chat-thread {
    flex: 0 0 auto !important;
  }
  .chat-thread::after {
    margin-top: 0.55rem;
    padding: 0.45rem 0.35rem;
  }
}
