/* notes: segment tabs, chat bubbles, composer. Mounted inside the My Santa screen. */

.notes { display: flex; flex-direction: column; gap: 10px; text-align: left; }

.notes-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--kraft-dark);
}
.notes-tab {
  flex: 1;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--kraft-deep);
  font: 600 13px/1.15 var(--body);
  cursor: pointer;
}
.notes-tab.is-on { background: var(--tag); color: var(--ink); box-shadow: 0 1px 0 oklch(0.8 0.03 75); }

.notes-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  max-height: 300px;
  overflow-y: auto;
  padding: 12px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.note {
  max-width: 82%;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: var(--tag);
}
.note--right { align-self: flex-end; background: var(--red); border-bottom-right-radius: 5px; }
.note--left { align-self: flex-start; background: var(--pine); border-bottom-left-radius: 5px; }

.notes-empty { margin: auto; padding: 18px 8px; text-align: center; font-size: 24px; color: var(--soft); }
.notes-caption { margin: -2px 0 0; text-align: center; font-size: 12px; color: var(--soft); }

.notes-composer { display: flex; gap: 8px; align-items: center; }
.notes-composer .field { flex: 1; min-width: 0; }
.notes-send { flex: none; min-height: 48px; padding: 0 22px; }

.notes-error { min-height: 1em; margin: 0; text-align: center; font-size: 12px; color: var(--red); }
