.owner-select-popup {
  position: fixed;
  z-index: 10000;
  min-width: 18rem;
  max-width: 22rem;
  box-sizing: border-box;
  background: var(--surface-overlay, #1c1c24);
  background: color-mix(in srgb, var(--surface-overlay, #1c1c24) 94%, transparent);
  color: var(--ink, #e0e0ea);
  border: 1px solid var(--line, #3a3a48);
  border-radius: 0.35rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 0.65rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: var(--ui-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.owner-select-popup[hidden] {
  display: none !important;
}

.owner-select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.owner-select-title {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #8a8a9a);
}

.owner-select-close {
  border: 1px solid var(--line, #3a3a48);
  border-radius: 0.25rem;
  background: var(--control-surface, #262632);
  color: inherit;
  padding: 0.1rem 0.4rem;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.owner-select-quote {
  margin: 0;
  padding: 0.35rem 0.5rem;
  border-left: 3px solid var(--accent, #4d7cff);
  border-radius: 0.2rem;
  background: var(--surface-subtle, rgba(255, 255, 255, 0.05));
  color: var(--ink, inherit);
  font-size: 12px;
  font-style: italic;
  max-height: 4.5rem;
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.owner-select-comment {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line, #3a3a48);
  border-radius: 0.25rem;
  background: var(--field-surface, #121218);
  color: inherit;
  padding: 0.35rem 0.5rem;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  resize: vertical;
  max-height: 5rem;
}

.owner-select-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.owner-select-send {
  min-height: 28px;
  border: 1px solid var(--accent, #4d7cff);
  border-radius: 0.25rem;
  background: var(--accent-subtle, #253b70);
  color: inherit;
  padding: 0.3rem 0.6rem;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.owner-select-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.owner-select-status {
  font-size: 12px;
  color: var(--status-info, #6bb8ff);
  min-height: 1.2em;
  overflow-wrap: anywhere;
}
