/* ── Org Mark Component ─────────────────────────────────────────── */
.org-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 1;
    background: var(--primary);
}

.org-mark__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.org-mark__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
}

/* Size scale (matches x-ui.avatar) */
.org-mark--size-xs {
    width: 24px;
    height: 24px;
    font-size: 10px;
}
.org-mark--size-sm {
    width: 32px;
    height: 32px;
    font-size: 12px;
}
.org-mark--size-md {
    width: 40px;
    height: 40px;
    font-size: 14px;
}
.org-mark--size-lg {
    width: 48px;
    height: 48px;
    font-size: 16px;
}
.org-mark--size-xl {
    width: 64px;
    height: 64px;
    font-size: 22px;
}
.org-mark--size-2xl {
    width: 80px;
    height: 80px;
    font-size: 28px;
}

/* Rounded variants */
.org-mark--rounded-none {
    border-radius: 0;
}
.org-mark--rounded-sm {
    border-radius: 4px;
}
.org-mark--rounded-md {
    border-radius: 8px;
}
.org-mark--rounded-lg {
    border-radius: 12px;
}
.org-mark--rounded-full {
    border-radius: 50%;
}
