.fp-compose-area {
  grid-column: 1;
  grid-row: 5;
  min-height: 0;
}
.fp-draft-tray {
  margin: 0;
  border: 0;
  border-top: 1px solid #e4eaf3;
  background: #fff;
}
.fp-draft-tray > summary {
  padding: 9px 16px;
  font-size: 13px;
  color: #9b5500;
  cursor: pointer;
}
.fp-draft-items {
  max-height: min(240px, 25dvh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 12px 8px;
}
.fp-draft-tray .fp-operation {
  margin: 0 0 8px;
  padding: 10px;
  max-width: none;
  width: auto;
  background: #f8fafc;
}
.fp-draft-tray .fp-operation p {
  margin: 6px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fp-draft-heading, .fp-draft-actions, .fp-selection-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.fp-draft-heading strong, .fp-draft-tray small {
  font-size: 12px;
}
.fp-draft-tray small {
  display: block;
  margin-top: 6px;
}
.fp-human-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fp-selection-bar {
  padding: 8px 12px;
  background: #edf5ff;
  font-size: 13px;
}
.fp-selection-bar small {
  width: 100%;
}
.fp-select-message {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1764ca;
  cursor: pointer;
}
.fp-select-message input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
}
.fp-chat-body,
.shell[data-client-tab='inbox'] .fp-chat-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
}
.fp-messages,
.shell[data-client-tab='inbox'] .fp-messages {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow-anchor: none;
}
.fp-messages > * {
  flex-shrink: 0;
}
@media (max-width: 1279px) {
  .fp-chat.has-tools .fp-chat-body,
  .shell[data-client-tab='inbox'] .fp-chat.has-tools .fp-chat-body {
    display: none;
  }
}
@media (max-width: 600px) {
  .fp-human-buttons {
    justify-content: flex-end;
  }
  .fp-human-buttons button {
    font-size: 12px;
    padding: 6px 8px;
  }
  .fp-draft-items {
    max-height: 20dvh;
  }
}
