.login-copy {
  margin: 0 0 1rem;
}

.header-button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-bar-wide {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.settings-card {
  max-width: 720px;
}

.settings-form {
  display: grid;
  gap: 1rem;
}

.settings-actions {
  display: flex;
  justify-content: flex-start;
}

.picture-preview {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
}

.empty-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.8rem;
}

.amount-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.amount-chip.positive {
  color: #166534;
  background: rgba(34, 197, 94, 0.14);
}

.amount-chip.negative {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.12);
}

.uid-text,
.remark-text {
  word-break: break-word;
}

.remark-text {
  max-width: 260px;
}

@media (max-width: 768px) {
  .header-button-row,
  .settings-actions,
  .modal-actions {
    width: 100%;
  }

  .header-button-row .ghost-button,
  .settings-actions .ghost-button,
  .modal-actions .ghost-button {
    width: 100%;
  }

  .remark-text {
    max-width: none;
  }
}
