/* Heddle's own look, on the control library's portal look (the platform's ADR-0047). The
   structure and its default look are the library's; what is here is Heddle's alone, and is
   loaded after the library's, so it wins. */

/* Heddle's brand, said here so that it stays Heddle's whatever the library's default becomes. */
:root {
  --ui-brand-mark: linear-gradient(135deg, #1F6FE0, #7A45D1 60%, #C93B86);
  --ui-brand-mark-ink: #FFFFFF;
}

/* Who is signing in, once their address is given (ADR-0017 item 4). */
.h-signing-in { padding: 4px 4px 4px 12px; border: 1px solid var(--ui-hairline);
  border-radius: var(--ui-radius-control); }

/* An organisation's brand, as its administrators preview it (ADR-0017). */
.h-brand-preview { display: flex; align-items: center; gap: 12px; padding: 16px;
  border: 1px solid var(--ui-hairline); border-radius: var(--ui-radius-card); }
.h-brand-logo { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.h-brand-name { font-size: 18px; font-weight: 600; }

/* Every page's foot: who provides the service, and the copyright (ADR-0017 item 9). */
.h-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px;
  margin-top: 24px; color: var(--ui-ink-2); font-size: 12px; line-height: 16px;
  text-align: center; }
.ui-door-theme .h-legal { flex-basis: 100%; }

/* Long addresses and identifiers in a table wrap, rather than widen it. */
.h-wrap { overflow-wrap: anywhere; }
/* A sheet opened from a table's cell keeps none of the cell's alignment or wrapping (the
   platform does the same from its next version). */
.ui-dialog { text-align: start; white-space: normal; }

/* A door with nothing in its foot, such as sign-in while sign-up is closed, has no foot. */
.ui-door-foot:empty { display: none; }
