/*
 * Shared TRN ARCH identity image.
 * Keep the uploaded transparent artwork intact: natural 3:1 proportions,
 * no crop, decoration, background, or image treatment.
 */
.trn-logo {
  display: block;
  flex: none;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.trn-logo--login { width: 166px; }
.trn-logo--sidebar { width: min(168px, 100%); }
.trn-logo--header { width: 82px; }
.trn-logo--loading { width: min(160px, 60vw); }

/* A single light header surface, not a separate box behind the artwork. */
.top, .dark .top {
  --muted: #69655e;
  background: #f2eee6;
  color: #282a29;
}
.top button.quiet, .dark .top button.quiet,
.top .profile-avatar-button, .dark .top .profile-avatar-button {
  background: transparent;
  color: inherit;
}
.top-brand { background: transparent; }

@media (max-width: 850px) {
  .trn-logo--login { width: 154px; }
  .trn-logo--header { width: 68px; }
  .top { gap: 4px; padding: 8px; }
  .top-brand { padding: 0; }
  .top button.quiet {
    flex: none;
    width: 32px;
    min-width: 32px;
    min-height: 40px;
    gap: 3px;
    padding: 5px;
    font-size: 11px;
  }
  .top button[data-page="approvals"] { width: 38px; min-width: 38px; }
  .top .profile-avatar-button { width: 34px; min-width: 34px; padding: 1px; }
}
@media (max-width: 380px) {
  .trn-logo--header { width: 60px; }
}
