/*
 * FluxAgri and the company's brand: the title slot of the top bars (TopBarBrand), the company
 * above the title of the screens shown before work starts (AccessBrand), "powered by FluxAgri"
 * at their bottom (PoweredBy). The hosts adapt them to their bars (site color, photo).
 */
.erp-flux-mark {
    display: block;
    flex: none;
    width: auto;
}

.erp-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--erp-space-2);
    min-width: 0;
    max-width: 100%;
    color: var(--erp-color-text);
    font-size: var(--erp-font-size);
}

.erp-brand__flux {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    color: var(--erp-color-brand);
}

.erp-brand__wordmark {
    font-size: 15px;
    white-space: nowrap;
}

.erp-brand__separator {
    flex: none;
    width: 1px;
    height: 22px;
    background: currentColor;
    opacity: 0.4;
}

.erp-brand__pill {
    display: flex;
    flex: none;
}

.erp-brand__logo {
    display: block;
    width: auto;
    height: 24px;
}

.erp-brand--phone .erp-brand__logo {
    height: 28px;
}

.erp-brand__name {
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-brand__dot {
    flex: none;
    opacity: 0.7;
}

.erp-brand__site {
    flex: none;
    font-size: var(--erp-font-size-small);
    font-weight: 600;
    white-space: nowrap;
}

.erp-access-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--erp-space-2);
    max-width: 520px;
    text-align: center;
}

.erp-access-brand__logo {
    display: block;
    width: auto;
    max-width: 100%;
}

.erp-access-brand__logo--square {
    height: 56px;
}

.erp-access-brand__logo--horizontal {
    height: 40px;
}

.erp-access-brand__name {
    font-size: 18px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.erp-access-brand--small .erp-access-brand__logo--square {
    height: 42px;
}

.erp-access-brand--small .erp-access-brand__logo--horizontal {
    height: 30px;
}

.erp-access-brand--small .erp-access-brand__name {
    font-size: 14px;
}

.erp-powered-by {
    position: absolute;
    right: 0;
    bottom: var(--erp-space-4);
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--erp-color-text-muted);
    font-size: var(--erp-font-size-small);
    pointer-events: none;
}

.erp-powered-by__brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--erp-color-brand);
    font-size: 13px;
}
