/* Home composer: quiet controls, shared baseline, and one spacing rhythm. */
.constellation-home .constellation-composer {
  padding: 10px 12px 10px 20px;
  border: 0;
  border-radius: 32px;
  background: #11121f;
  box-shadow: none;
  transition: background .18s ease, box-shadow .18s ease;
}
.constellation-home .constellation-composer:focus-within {
  border: 0;
  background: #141522;
  box-shadow: 0 0 0 1px rgba(224, 204, 220, .2);
}
.constellation-home .signal-question-row {
  grid-template-columns: auto minmax(0, 1fr) 40px;
  align-items: center;
  gap: 18px;
  min-height: 40px;
}
.constellation-home .constellation-person {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  max-width: min(34vw, 300px);
  height: 30px;
  min-height: 30px;
  padding: 0 18px 0 0;
  border-right: 1px solid rgba(210, 199, 219, .16);
  border-radius: 0;
  background: transparent;
}
.constellation-home .constellation-person-control {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}
.constellation-home .constellation-person-initial {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  color: #ded5df;
  font: 500 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.constellation-home .constellation-person-control:has(.web-select-shell) .constellation-person-initial { display: none; }
body.has-desktop-rail .constellation-home .constellation-person-control .web-select-shell {
  position: relative;
  inset: auto;
  width: max-content;
  max-width: 100%;
  height: auto;
}
body.has-desktop-rail .constellation-home .constellation-person-control .web-select-trigger {
  justify-content: flex-start;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: #ded5df;
  font: 500 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: color .18s ease;
}
body.has-desktop-rail .constellation-home .constellation-person-control .web-select-trigger:hover,
body.has-desktop-rail .constellation-home .constellation-person-control .web-select-trigger[aria-expanded="true"] {
  background: transparent;
  color: #f1dfb8;
}
body.has-desktop-rail .constellation-home .constellation-person-control .web-select-trigger:focus-visible {
  outline: 1px solid rgba(241, 213, 167, .65) !important;
  outline-offset: 4px !important;
  box-shadow: none !important;
}
body.has-desktop-rail .constellation-home .constellation-person-control .web-select-value { max-width: 100%; }
body.has-desktop-rail .constellation-home .constellation-person-control .web-select-chevron {
  position: static;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 0;
  background: currentColor;
  -webkit-mask: url('/web-static/icons/feather/chevron-down.svg') center / 16px 16px no-repeat;
  mask: url('/web-static/icons/feather/chevron-down.svg') center / 16px 16px no-repeat;
  opacity: .65;
  transform: none;
  transition: transform .18s ease, opacity .18s ease;
}
body.has-desktop-rail .constellation-home .web-select-trigger[aria-expanded="true"] .web-select-chevron { transform: rotate(180deg); opacity: 1; }
body.has-desktop-rail .constellation-home .signal-question-row textarea[data-signal-question] {
  min-height: 40px;
  padding: 8px 0;
  font: 400 16px/24px -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #eee9ef;
}
.constellation-home .signal-question-row textarea::placeholder { color: #9c96a8; }
.constellation-home .signal-question-row > button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: #d9b0c1;
  box-shadow: none;
  transition: background .18s ease, transform .18s ease;
}
.constellation-home .signal-question-row > button img { width: 20px; height: 20px; filter: none; }
.constellation-home .signal-question-row:has(textarea:placeholder-shown) > button { background: #302733; }
.constellation-home .signal-question-row:has(textarea:placeholder-shown) > button img { filter: invert(.82); }
.constellation-home .signal-question-row > button:hover { background: #e4c0cf; }
.constellation-home .signal-question-row:has(textarea:placeholder-shown) > button:hover { background: #413345; }
.constellation-home .signal-question-row > button:active { transform: scale(.96); }
.web-select-menu.is-home-person {
  padding: 6px;
  border: 1px solid rgba(210, 199, 219, .16);
  border-radius: 12px;
  background: #171724;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .3);
}
.web-select-menu.is-home-person .web-select-option { min-height: 40px; padding: 10px 12px; border-radius: 7px; font-size: 14px; }
.web-select-menu.is-home-person .web-select-option[aria-selected="true"] { background: rgba(222, 200, 218, .08); color: #f1dfb8; }
@media (max-width: 600px) {
  .constellation-home .constellation-composer { padding: 8px 10px 8px 16px; border-radius: 28px; }
  .constellation-home .signal-question-row { grid-template-columns: auto minmax(0, 1fr) 36px; gap: 12px; min-height: 36px; }
  .constellation-home .constellation-person { max-width: 36vw; padding-right: 12px; }
  body.has-desktop-rail .constellation-home .constellation-person-control .web-select-trigger { font-size: 14px; gap: 6px; min-height: 36px; }
  body.has-desktop-rail .constellation-home .signal-question-row textarea[data-signal-question] { font-size: 14px; min-height: 36px; padding: 6px 0; }
  .constellation-home .signal-question-row > button { width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .constellation-home .constellation-composer,
  .constellation-home .signal-question-row > button,
  body.has-desktop-rail .constellation-home .constellation-person-control .web-select-chevron { transition: none; }
}
