/* Measurements follow SALMA's mobile ui.tsx and salma-feed.tsx. */
.home-feed,
.conversation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 544px;
  margin: 0 auto;
}
.home-feed > h1:not(.sr-only) {
  padding: 0 4px;
  margin: 0;
}
.voice-line {
  margin: 14px 0 18px;
}
.conversation > .voice-line {
  margin: 0;
}
.voice-name {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 12px;
}
.voice-name img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.speech {
  max-width: 92%;
  background: #eeeeef;
  border-radius: 6px 18px 18px 18px;
  padding: 10px 14px;
}
.speech p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 15px;
  line-height: 1.42;
}
.feed-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feed-card + .feed-card {
  margin-top: 0;
}
.feed-card .feed-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
}
.feed-label span {
  text-transform: none;
  letter-spacing: 0;
  text-align: right;
}
.feed-card h2 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}
.feed-card > p:not(.feed-label) {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
.feed-card .actions {
  margin: 0;
  gap: 6px;
}
.briefing {
  border-radius: 22px;
  background: var(--graphite);
  color: white;
  padding: 18px 18px 16px;
}
.briefing .briefing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #c7c7cb;
  margin: 0;
}
.briefing-meta > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.briefing h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  margin: 10px 0 6px;
}
.briefing > p:not(.briefing-meta) {
  font-size: 14.5px;
  line-height: 1.45;
  color: #e0e0e0;
  margin: 0;
}
.briefing-facts {
  display: flex;
  gap: 8px;
}
.briefing-facts > div {
  flex: 1;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: #f3f3f4;
}
.briefing-facts b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.briefing-facts span {
  font-size: 11.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.briefing .briefing-facts {
  margin-top: 14px;
}
.briefing .briefing-facts > div {
  border: 0;
  background: #414146;
  padding: 8px 10px;
}
.briefing .briefing-facts span {
  color: #c7c7cb;
}
.content-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 11px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
}
.content-row > span:not(.row-marker) {
  min-width: 0;
  flex: 1;
}
.content-row b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15.5px;
  font-weight: 600;
}
.content-row small {
  display: block;
  font-size: 12px;
}
.content-row .icon {
  align-self: center;
  color: #919195;
  width: 16px;
}
.row-marker {
  width: 4px;
  border-radius: 4px;
  background: #c5c5c9;
  flex-shrink: 0;
}
.ask-socci {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.suggestions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.suggestions button {
  background: white;
  font-weight: 500;
}
.suggestions button:first-child {
  background: #eeeeef;
  border-color: #d6d6d9;
}
.conversation-proposal {
  border-color: #b3c4b9;
}
.conversation-composer {
  margin: 0;
  padding: 0;
}
.conversation-composer > p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 4px 0;
}
.composer-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 8px;
  background: var(--panel);
  border: 1.5px solid var(--text);
  border-radius: 999px;
}
.composer-input > img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.composer-input label {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.composer-input input {
  margin: 0;
  border: 0;
  padding: 5px 0;
  background: transparent;
  min-height: 34px;
  font-size: 15px;
}
.composer-input button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  flex-shrink: 0;
  padding: 7px;
  display: grid;
  place-items: center;
}
#chatAnswer .actions .primary {
  margin-left: auto;
  order: 3;
  min-width: 100px;
}

.interview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.interview-heading button {
  font-size: 12px;
}
.interview-history {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.interview-history .voice-line {
  margin: 0;
}
.user-message {
  align-self: flex-end;
  max-width: 90%;
  padding: 12px 16px;
  background: #e9e9eb;
  border-radius: 18px 18px 4px 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.interview .speech,
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.interview-composer {
  margin-top: 4px;
}
.interview-composer textarea {
  min-height: 92px;
}
.interview-composer .actions {
  justify-content: space-between;
}
.interview-composer small {
  flex: 1;
  color: var(--muted);
  font-size: 11px;
}
.interview-notes summary {
  cursor: pointer;
  font-weight: 600;
}
.interview-note {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.interview-note blockquote {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.interview-note .check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.interview-note input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}
.interview-note button {
  font-size: 12px;
}

.journey-status {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #e9e9eb;
  font-size: 12px;
  font-weight: 600;
}
.interview-coverage {
  padding: 8px 4px;
  font-size: 13px;
  color: var(--muted);
}
.interview-coverage summary {
  cursor: pointer;
}
.brand-design details {
  margin: 16px 0;
}
.brand-design summary {
  cursor: pointer;
  font-weight: 600;
}
.brand-design details p,
.design-result p {
  font-size: 13px;
}
.design-result {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 12px;
}
.design-gallery {
  display: grid;
  gap: 18px;
}
.design-gallery figure {
  margin: 0;
  min-width: 0;
}
.design-gallery img,
.design-gallery video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.design-gallery video {
  max-height: 70vh;
  background: #000;
}
.design-gallery figcaption {
  padding: 12px 4px;
}
.design-gallery small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}
.interview fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
}
.interview fieldset legend {
  padding: 0 6px;
  font-size: 14px;
}
.proposal-card {
  border-color: #b3c4b9;
  margin: 0;
}
.proposal-card h2 {
  margin-top: 4px;
}
.proposal-card.is-closed {
  border-color: var(--line);
  background: transparent;
}
.proposal-card dl {
  display: grid;
  gap: 4px 0;
  margin: 0 0 12px;
}
.proposal-card dt {
  font-size: 13px;
  color: var(--muted);
}
.proposal-card dd {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.proposal-card ul {
  margin: 4px 0;
  padding-left: 18px;
}
.card-pair {
  display: block;
}
.card-pair small {
  color: var(--muted);
}
.user-message.is-card {
  font-size: 14px;
  color: var(--muted);
}
.card-edit {
  margin: 8px 0 12px;
}
.card-edit summary {
  cursor: pointer;
  font-weight: 600;
  padding: 6px 0;
}
.proposal-card a.button {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}
