* {
  box-sizing: border-box;
}

body {
  background: #ffffff;
  color: #181818;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

.shell {
  border: 1px solid #d8dde6;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.header {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

h1 {
  font-size: 16px;
  line-height: 20px;
  margin: 0;
}

.header p {
  color: #5f6b7a;
  font-size: 12px;
  margin: 2px 0 0;
}

.icon-button {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  height: 32px;
  line-height: 1;
  width: 32px;
}

.messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding: 14px;
}

.message {
  display: flex;
}

.message.user {
  justify-content: flex-end;
}

.message.onara {
  justify-content: flex-start;
}

.bubble {
  border-radius: 8px;
  max-width: 85%;
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.message.onara .bubble {
  background: #f3f3f3;
}

.message.user .bubble {
  background: #111111;
  color: #ffffff;
}

.composer {
  align-items: flex-end;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 12px;
}

textarea {
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  font: inherit;
  min-height: 44px;
  padding: 9px 10px;
  resize: vertical;
}

.composer button {
  background: #111111;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  padding: 0 14px;
}
